mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-08 22:06:10 +02:00
lacplib: set the max priority to LACP flow entries
The measure against the default priority of OFPFlowMod of OFP1.2/1.3 being 0. Signed-off-by: Yuichi Ito <ito.yuichi0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
75586c6a57
commit
2da9a7cf1f
@ -300,7 +300,8 @@ class LacpLib(app_manager.RyuApp):
|
||||
mod = parser.OFPFlowMod(
|
||||
datapath=datapath, match=match, cookie=0,
|
||||
command=ofproto.OFPFC_ADD, idle_timeout=timeout,
|
||||
flags=ofproto.OFPFF_SEND_FLOW_REM, actions=actions)
|
||||
priority=65535, flags=ofproto.OFPFF_SEND_FLOW_REM,
|
||||
actions=actions)
|
||||
datapath.send_msg(mod)
|
||||
|
||||
def _add_flow_v1_2(self, src, port, timeout, datapath):
|
||||
@ -317,8 +318,9 @@ class LacpLib(app_manager.RyuApp):
|
||||
ofproto.OFPIT_APPLY_ACTIONS, actions)]
|
||||
mod = parser.OFPFlowMod(
|
||||
datapath=datapath, command=ofproto.OFPFC_ADD,
|
||||
idle_timeout=timeout, flags=ofproto.OFPFF_SEND_FLOW_REM,
|
||||
match=match, instructions=inst)
|
||||
idle_timeout=timeout, priority=65535,
|
||||
flags=ofproto.OFPFF_SEND_FLOW_REM, match=match,
|
||||
instructions=inst)
|
||||
datapath.send_msg(mod)
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user