blob: b6d73be8a77ad82c12cac50050a697066c639959 [file] [log] [blame]
Rich Lanec9fc57d2013-05-16 16:39:12 -07001-- binary
204 0b # version, type
300 48 # length
412 34 56 78 # xid
5fe dc ba 98 76 54 32 10 # cookie
642 68 # priority
702 # reason
814 # table_id
900 00 00 0a # duration_sec
1000 00 03 e8 # duration_nsec
1100 05 # idle_timeout
1200 1e # hard_timeout
1300 00 00 00 00 00 00 01 # packet_count
1400 00 00 00 00 00 00 02 # byte_count
1500 01 # match.type
1600 16 # match.length
Yotam Harchol5749dc32013-08-22 15:41:30 -07001780 00 01 08 # match.oxm_list[0].type_len - IN_PORT
Yotam Harchol7ec170e2013-08-22 15:20:24 -07001800 00 00 04 # match.oxm_list[0].value
1900 00 00 05 # match.oxm_list[0].mask
Yotam Harchol5749dc32013-08-22 15:41:30 -07002080 00 2A 02 # match.oxm_list[1].type_len - ARP_OP
Yotam Harchol7ec170e2013-08-22 15:20:24 -07002100 01 # match.oxm_list[1].value
Rich Lanec9fc57d2013-05-16 16:39:12 -07002200 00 # match.pad
23-- python
24ofp.message.flow_removed(
25 xid=0x12345678,
26 cookie=0xFEDCBA9876543210,
27 priority=17000,
28 reason=ofp.OFPRR_DELETE,
29 table_id=20,
30 duration_sec=10,
31 duration_nsec=1000,
32 idle_timeout=5,
33 hard_timeout=30,
34 packet_count=1,
35 byte_count=2,
36 match=ofp.match(oxm_list=[
Yotam Harchol7ec170e2013-08-22 15:20:24 -070037 ofp.oxm.in_port_masked(value=4, value_mask=5),
Yotam Harchol5749dc32013-08-22 15:41:30 -070038 ofp.oxm.arp_op(value=1)
Yotam Harchol7ec170e2013-08-22 15:20:24 -070039 ]))