[Ryu-devel] [PATCH v2 2/3] ofproto: Add ovs-ofctl style action string parser

2017-05-02 Thread IWAMOTO Toshihiro
This commit adds a new method called ofp_instruction_from_str, which takes an ovs-ofctl style action string and returns a list of OFPInstructionActions. Currently only a few action strings are understood. Signed-off-by: IWAMOTO Toshihiro --- ryu/exception.py | 4 ++ ryu/ofpro

[Ryu-devel] [PATCH v2 0/3] Add ovs-ofctl style action string parser

2017-05-02 Thread IWAMOTO Toshihiro
This set of patches allow users to use ovs-ofctl style action strings to build OFPInstructionActions, which may help transition from ovs-ofctl. Support is currently very limited and many from_string() method should be added for this to be useful. v1 -> v2: - py3 compatibility - added goto_tabl

[Ryu-devel] [PATCH v2 3/3] ofproto: Add some tests for ofp_instruction_from_str

2017-05-02 Thread IWAMOTO Toshihiro
Signed-off-by: IWAMOTO Toshihiro --- ryu/tests/unit/ofproto/test_ofctl_string.py | 154 1 file changed, 154 insertions(+) create mode 100644 ryu/tests/unit/ofproto/test_ofctl_string.py diff --git a/ryu/tests/unit/ofproto/test_ofctl_string.py b/ryu/tests/unit/ofprot

[Ryu-devel] [PATCH v2 1/3] nicira_ext: Define some CT constants

2017-05-02 Thread IWAMOTO Toshihiro
Signed-off-by: IWAMOTO Toshihiro --- ryu/ofproto/nicira_ext.py | 5 + 1 file changed, 5 insertions(+) diff --git a/ryu/ofproto/nicira_ext.py b/ryu/ofproto/nicira_ext.py index 411ed48..416c625 100644 --- a/ryu/ofproto/nicira_ext.py +++ b/ryu/ofproto/nicira_ext.py @@ -269,6 +269,11 @@ NX_LEARN

Re: [Ryu-devel] The options for openflow controller

2017-05-02 Thread Iwase Yusuke
Hi, $ ryu-manager --help ...(snip) --ofp-listen-host OFP_LISTEN_HOST openflow listen host (default 0.0.0.0) --ofp-ssl-listen-port OFP_SSL_LISTEN_PORT openflow ssl listen port (default: 6653) --ofp-tcp-listen-port OFP_TCP_LISTEN_PORT

Re: [Ryu-devel] How to add flows and delete while station is moving from one Access Point to other

2017-05-02 Thread varun hrithik
As you directed me not to miss table-miss entry, i used it, now ITS WORKING PERFECTLY, handoff is performing at its best , with 3 packets loss in mininet, now the problem is, BUT FOR DEPLOYING THIS CODE ON WU MESH, i heard that HARD_TIMEOUT does not work on WU mesh test bed, so what i think is to u

Re: [Ryu-devel] The options for openflow controller

2017-05-02 Thread Iwase Yusuke
Oops, sorry I just made a typo. "--ofp-ssl-listen-port" is the SSL/TLS port number on which Ryu listening. "--ofp-tcp-listen-port" is the TCP port number on which Ryu listening. On 2017年05月02日 21:49, Iwase Yusuke wrote: > Hi, > > $ ryu-manager --help > ...(snip) > --ofp-listen-host OFP_LISTEN_

[Ryu-devel] life cycle of Ryu modules

2017-05-02 Thread yltsou
Dear Sir/Madam, Can the applications/modules running on official Ryu controller being notified when its life cycle is going to be terminated? in other words, is there any state or life cycle concept in Ryu? In fact, we want to do something right before the module is going to be unloaded. For exam

Re: [Ryu-devel] How to add flows and delete while station is moving from one Access Point to other

2017-05-02 Thread Yi Tseng
Hi, Basically, you need to create another thread to send flow modification message. To create a simple thread, you can use *spawn *method in ryu.lib.hub --Yi 2017-05-02 5:49 GMT-07:00 varun hrithik : > As you directed me not to miss table-miss entry, i used it, now ITS > WORKING PERFECTLY, han

Re: [Ryu-devel] life cycle of Ryu modules

2017-05-02 Thread Yi Tseng
Hi, The *stop* method of application will be invoke when we uninstantiate an application. --Yi 2017-05-02 7:37 GMT-07:00 yltsou : > Dear Sir/Madam, > > Can the applications/modules running on official Ryu controller being > notified when its life cycle is going to be terminated? > in other word