blob: 04da9fd81e7ec84bcd0b879565aac34dfe13901f [file] [log] [blame]
Rich Lanec9fc57d2013-05-16 16:39:12 -07001-- binary
201 0c # version / type
300 40 # length
400 00 00 04 # xid
501 # reason
600 00 00 00 00 00 00 # pad
7ff fd # desc.port_no
801 02 03 04 05 06 # desc.hw_addr
966 6f 6f 00 00 00 00 00 # desc.name
1000 00 00 00 00 00 00 00 # ...
1100 00 00 10 # desc.config
1200 00 02 00 # desc.state
1300 00 00 01 # desc.curr
1400 00 00 20 # desc.advertised
1500 00 02 00 # desc.supported
1600 00 08 00 # desc.peer
17-- python
18ofp.message.port_status(
19 xid=4,
20 reason=ofp.OFPPR_DELETE,
21 desc=ofp.port_desc(
22 port_no=ofp.OFPP_CONTROLLER,
23 hw_addr=[1,2,3,4,5,6],
24 name="foo",
25 config=ofp.OFPPC_NO_FLOOD,
26 state=ofp.OFPPS_STP_FORWARD,
27 curr=ofp.OFPPF_10MB_HD,
28 advertised=ofp.OFPPF_1GB_FD,
29 supported=ofp.OFPPF_AUTONEG,
30 peer=ofp.OFPPF_PAUSE_ASYM))