P4G_COMMENT#

# set
<module-index>/<port-index> P4G_COMMENT [<group_index>] <comment>

# get
<module-index>/<port-index> P4G_COMMENT [<group_index>] ?

Description#

The description of a CG.

Actions#

set, get

Parameters#

comment: string, the description of a CG.

Example#

# set
input:  0/1 P4G_COMMENT [0] "this is a comment"
output: <OK>

# get
input:  0/1 P4G_COMMENT [0] ?
output: 0/1 P4G_COMMENT [0] "this is a comment"