[Ryu-devel] [PATCH 1/6] nx_actions: Remove redundant initializations

2015-01-22 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/ofproto/nx_actions.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/ryu/ofproto/nx_actions.py b/ryu/ofproto/nx_actions.py index b8879e6..dbe7c8a 100644 --- a/ryu/ofproto/nx_actions.py +++ b/ryu/ofproto/nx_actions.py @@ -64,7 +64,6 @@ def generate(of

[Ryu-devel] [PATCH 2/6] type_desc: Separate type conversion classes from oxm_fields

2015-01-22 Thread YAMAMOTO Takashi
Will be used for NX learn implementation. Signed-off-by: YAMAMOTO Takashi --- ryu/lib/type_desc.py| 73 + ryu/ofproto/ofproto_v1_2.py | 73 +++-- ryu/ofproto/ofproto_v1_3.py | 89 +++--

[Ryu-devel] [PATCH 4/6] test_nx_flow_spec: Add UTs for NX flow_mod_spec

2015-01-22 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/tests/unit/ofproto/test_nx_flow_spec.py | 95 + 1 file changed, 95 insertions(+) create mode 100644 ryu/tests/unit/ofproto/test_nx_flow_spec.py diff --git a/ryu/tests/unit/ofproto/test_nx_flow_spec.py b/ryu/tests/unit/ofproto/

[Ryu-devel] [PATCH 5/6] nx_actions: Implement nx_action_learn

2015-01-22 Thread YAMAMOTO Takashi
This is planned to be used for upcoming Neutron OVS agent changes. (https://blueprints.launchpad.net/neutron/+spec/ovs-ofctl-to-python) Signed-off-by: YAMAMOTO Takashi --- ryu/ofproto/nx_actions.py | 83 +++ 1 file changed, 83 insertions(+) diff --git

[Ryu-devel] [PATCH 3/6] nx_actions: Implement NX flow_mod_spec

2015-01-22 Thread YAMAMOTO Takashi
Will be used for NX learn implementation. Signed-off-by: YAMAMOTO Takashi --- ryu/ofproto/nx_actions.py | 129 -- 1 file changed, 124 insertions(+), 5 deletions(-) diff --git a/ryu/ofproto/nx_actions.py b/ryu/ofproto/nx_actions.py index dbe7c8a..a9b1e

[Ryu-devel] [PATCH 6/6] nx_actions: Avoid confusing StringifyMixin

2015-01-22 Thread YAMAMOTO Takashi
Having class attributes and instance attributes of the same name confuses StringifyMixin. Signed-off-by: YAMAMOTO Takashi --- ryu/ofproto/nx_actions.py | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/ryu/ofproto/nx_actions.py b/ryu/ofproto/nx_actions.py index 2

Re: [Ryu-devel] how to set watch_port and watch_group and weigths in case of fast fail over group type

2015-01-22 Thread Minoru TAKAHASHI
Hi, > sudo ovs-ofctl -O OpenFlow13 dump-flows s12 > OFPST_FLOW reply (OF1.3) (xid=0x2): > cookie=0x0, duration=16.213s, table=0, n_packets=3856, n_bytes=161952, > priority=65535,in_port=3,dl_dst=12:70:1d:ab:fe:4c actions=goto_table:1 I think that action is to be specify "GROUP" (Process the pac

[Ryu-devel] Ryu integration with OpenStack

2015-01-22 Thread Jordi Baranda
Dear all, For a project in my organization they have asked me to integrate a SDN controller with OpenStack. I have thought about Ryu due to the support of the different versions of Open Flow protocol and in fact I have seen that there is already an integration with OpenStack. Nevertheless, makin

Re: [Ryu-devel] how to set watch_port and watch_group and weigths in case of fast fail over group type

2015-01-22 Thread Padma Jayasankar
Hi, I tried to install Fast fail over group entry from the controller. I am able to see the following entry in the switch sudo ovs-ofctl -O OpenFlow13 dump-flows s12 OFPST_FLOW reply (OF1.3) (xid=0x2): cookie=0x0, duration=16.213s, table=0, n_packets=3856, n_bytes=161952, priority=65535,in_port=

Re: [Ryu-devel] issues about linc-swith and Ryu

2015-01-22 Thread YAMAMOTO Takashi
> 2. I’m not sure if the reason is that the linc-switch version is old, > so I want to update it. While I updated(reinstalled) the latest linc-switch > in the Raspberry pi in Jan. 2015, there is an error like this: have you updated your sys.config too? iirc LINC changed its way to configur

[Ryu-devel] issues about linc-swith and Ryu

2015-01-22 Thread ZHAO Mingyu
Hi, Dear all, I have two issues about linc-swtich and Ryu. 1. I installed linc-switch in the Raspberry pi devices in Dec. 2013, and Ryu controller in a PC. The linc-switch can connect to the controller, and the Ryu controlled the linc-switch well. I connected a host to a server through t