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 dd5f16b..bc118c8 100644
--- a/ryu/controller/controller.py
+++ b/ryu/controller/controller.py
@@ -261,6 +261,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.10.4


------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to