Signed-off-by: Isaku Yamahata <[email protected]>
---
ryu/controller/controller.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/ryu/controller/controller.py b/ryu/controller/controller.py
index 1787f3d..f425833 100644
--- a/ryu/controller/controller.py
+++ b/ryu/controller/controller.py
@@ -205,8 +205,10 @@ class Datapath(object):
self.send_msg(packet_out)
def send_flow_mod(self, rule, cookie, command, idle_timeout, hard_timeout,
- priority, buffer_id=0xffffffff,
+ priority=None, buffer_id=0xffffffff,
out_port=None, flags=0, actions=None):
+ if priority is None:
+ priority = self.ofproto.OFP_DEFAULT_PRIORITY
if out_port is None:
out_port = self.ofproto.OFPP_NONE
flow_format = rule.flow_format()
--
1.7.1.1
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel