From: Isaku Yamahata <[email protected]>
Signed-off-by: Isaku Yamahata <[email protected]>
---
ryu/controller/controller.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/ryu/controller/controller.py b/ryu/controller/controller.py
index 7c33e4a..4680f9a 100644
--- a/ryu/controller/controller.py
+++ b/ryu/controller/controller.py
@@ -290,6 +290,9 @@ class Datapath(object):
self.send_msg(set_format)
self.send_barrier()
+ def is_reserved_port(self, port_no):
+ return port_no > self.ofproto.OFPP_MAX
+
def datapath_connection_factory(socket, address):
LOG.debug('connected socket:%s address:%s', socket, address)
--
1.7.12
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel