1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
================ ======================================================
Attribute Description
================ ======================================================
- buffer_id ID assigned by datapath (0xffffffff if none)
+ buffer_id ID assigned by datapath (OFP_NO_BUFFER if none)
in_port Packet's input port or ``OFPP_CONTROLLER``
actions list of OpenFlow action class
data Packet data
<at> <at> -829,7 +831,7 <at> <at> class OFPFlowMod(MsgBase):
idle_timeout Idle time before discarding (seconds)
hard_timeout Max time before discarding (seconds)
priority Priority level of flow entry
- buffer_id Buffered packet to apply to (or 0xffffffff)
+ buffer_id Buffered packet to apply to (or OFP_NO_BUFFER)
out_port For ``OFPFC_DELETE*`` commands, require matching
entries to include this as an output port
out_group For ``OFPFC_DELETE*`` commands, require matching
<at> <at> -852,7 +854,7 <at> <at> class OFPFlowMod(MsgBase):
table_id = 0
idle_timeout = hard_timeout = 0
priority = 32768
- buffer_id = 0xffffffff
+ buffer_id = ofp.OFP_NO_BUFFER
match = ofp_parser.OFPMatch(in_port=1, eth_dst='ff:ff:ff:ff:ff:ff')
actions = [ofp_parser.OFPActionOutput(ofp.OFPP_NORMAL, 0)]
inst = [ofp_parser.OFPInstructionActions(ofp.OFPIT_APPLY_ACTIONS,
<at> <at> -1014,6 +1016,8 <at> <at> class OFPInstructionActions(StringifyMixin):
OFPIT_CLEAR_ACTIONS
actions list of OpenFlow action class