blob: c3c2e384a3b542d5d84e413662daa4d60933b26e [file] [log] [blame]
Rich Lane9a3f1fd2013-05-10 16:29:17 -07001-- binary
2ff fd # port_no
301 02 03 04 05 06 # hw_addr
466 6f 6f 00 00 00 00 00 00 00 00 00 00 00 00 00 # name
500 00 00 10 # config
600 00 02 00 # state
700 00 00 01 # curr
800 00 00 20 # advertised
900 00 02 00 # supported
1000 00 08 00 # peer
11-- python
12ofp.port_desc(
13 port_no=ofp.OFPP_CONTROLLER,
14 hw_addr=[1,2,3,4,5,6],
15 name="foo",
16 config=ofp.OFPPC_NO_FLOOD,
17 state=ofp.OFPPS_STP_FORWARD,
18 curr=ofp.OFPPF_10MB_HD,
19 advertised=ofp.OFPPF_1GB_FD,
20 supported=ofp.OFPPF_AUTONEG,
21 peer=ofp.OFPPF_PAUSE_ASYM)