Signed-off-by: Isaku Yamahata <[email protected]>
---
 ryu/controller/controller.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

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.1.1


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to