Re: [Ryu-devel] Destroy immortal packets

2016-09-12 Thread Iwase Yusuke
Hi, Your code seems to be correct and works correctly on my environment. $ git diff diff --git a/ryu/app/simple_switch_13.py b/ryu/app/simple_switch_13.py index 3e7c598..d275ad6 100644 --- a/ryu/app/simple_switch_13.py +++ b/ryu/app/simple_switch_13.py @@ -48,6 +48,16 @@ class SimpleSwitch13(app_

Re: [Ryu-devel] error simple_switch_stp_13 and forty switch

2016-09-12 Thread Iwase Yusuke
Hi, > File "/usr/lib/python2.7/socket.py", line 224, in meth > return getattr(self._sock,name)(*args) > error: [Errno 98] Address already in use This messages means another application is already using the port 6633 or 6653, which is the default ofp listen port of Ryu. Please check if anoth

Re: [Ryu-devel] Ryu app

2016-09-12 Thread Iwase Yusuke
Hi, How about skipping the ofp event processing for the specific dpid at the top of each event handler? e.g.) If dpid is registered, do switch_features_handler, otherwise skip. $ git diff diff --git a/ryu/app/simple_switch_13.py b/ryu/app/simple_switch_13.py index 3e7c598..c8a9291 100644 --- a/ry

Re: [Ryu-devel] Ho to extract message type (e.g. pktIN/pktOut) from OpenFlow v1.3 header structure?

2016-09-12 Thread Shinpei Muraoka
Hi, sorry. I responded a difficult answer. The following is example of the message type check. diff --git a/ryu/app/simple_switch_13.py b/ryu/app/simple_switch_13.py index 3e7c598..89dedb9 100644 --- a/ryu/app/simple_switch_13.py +++ b/ryu/app/simple_switch_13.py @@ -76,6 +76,9 @@ class SimpleS