P4_PORT_TYPE#
# get
<module-index>/<port-index> P4_PORT_TYPE ?
Description#
Report the port type. The different possible ports are divided into types.
Actions#
get
Parameters#
type_number
: integer, the L47 port type
type_string
: string, the L47 port type
Example#
# get
input: 0/1 P4_PORT_TYPE ?
output: 0/1 P4_PORT_TYPE 1 "type"