Re: [Ryu-devel] Ryu + Devstack multinode: not able access Guest VMs on Compute Node

2014-03-24 Thread arjun jayaprakash
Thanks !!! Got it working. It is a compatibility issue with OVS version. Regards, Shankar. On Monday, 24 March 2014 3:29 PM, Yoshihiro Kaneko wrote: Hi, Please confirm console log of VM. -- $ nova console-log --

Re: [Ryu-devel] Load Balancing based on source IP and Source port

2014-03-24 Thread Vasiliy Tolstov
2014-03-25 7:26 GMT+04:00 FUJITA Tomonori : > I think that there are many ways to do load balancing with > OpenFlow. What actions and matches do you plan to use? > > The following might be useful for you: > > http://courses.cs.washington.edu/courses/cse561/10sp/project_files/cse561_openflow_project

[Ryu-devel] [PATCH 3/8] ryu.cfg: re-export some more stuff for convenience

2014-03-24 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/cfg.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ryu/cfg.py b/ryu/cfg.py index 62ce33a..2495961 100644 --- a/ryu/cfg.py +++ b/ryu/cfg.py @@ -36,10 +36,13 @@ CONF = oslo.config.cfg.CONF # re-export for convenience +from oslo.config.cfg impo

[Ryu-devel] [PATCH 7/8] add bin/ryu to PYLINT_INCLUDE

2014-03-24 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- run_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_tests.sh b/run_tests.sh index e558f1d..50a4b02 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -90,7 +90,7 @@ run_tests() { run_pylint() { echo "Running pylint ..." PYLI

[Ryu-devel] [PATCH 4/8] allow overriding argv and progname

2014-03-24 Thread YAMAMOTO Takashi
this will be used by the comming 'ryu' command. Signed-off-by: YAMAMOTO Takashi --- ryu/cmd/manager.py | 8 +--- ryu/cmd/of_config_cli.py | 5 +++-- ryu/cmd/rpc_cli.py | 4 ++-- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/ryu/cmd/manager.py b/ryu/cmd/manager.p

[Ryu-devel] [PATCH 5/8] add bin/ryu

2014-03-24 Thread YAMAMOTO Takashi
this new command takes a sub-command name as its first positional argument and passes the rest of arguments to the corresponding sub-module. for example, 'manager' sub-command is an equivalent to bin/ryu-manager. this commit does not replace the existing commands like ryu-manager. this merely adds

[Ryu-devel] [PATCH 6/8] rename 'manager' sub-command to 'run'

2014-03-24 Thread YAMAMOTO Takashi
the name 'run' was inspired from trema. Signed-off-by: YAMAMOTO Takashi --- ryu/cmd/ryu_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ryu/cmd/ryu_base.py b/ryu/cmd/ryu_base.py index 467da7b..9ea75c2 100644 --- a/ryu/cmd/ryu_base.py +++ b/ryu/cmd/ryu_base.py @@ -25,7

[Ryu-devel] [PATCH 2/8] doc: remove a stale reference

2014-03-24 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- doc/source/man/ryu_manager.rst | 4 1 file changed, 4 deletions(-) diff --git a/doc/source/man/ryu_manager.rst b/doc/source/man/ryu_manager.rst index 7dabac4..298b9a3 100644 --- a/doc/source/man/ryu_manager.rst +++ b/doc/source/man/ryu_manager.rst @@ -15,

[Ryu-devel] [PATCH 1/8] add ryu-manager to PYLINT_INCLUDE

2014-03-24 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- run_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_tests.sh b/run_tests.sh index e47b4c3..e558f1d 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -90,7 +90,7 @@ run_tests() { run_pylint() { echo "Running pylint ..." PYLI

[Ryu-devel] [PATCH 8/8] document ryu command

2014-03-24 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- doc/source/conf.py | 2 ++ doc/source/man/ryu.rst | 20 2 files changed, 22 insertions(+) create mode 100644 doc/source/man/ryu.rst diff --git a/doc/source/conf.py b/doc/source/conf.py index fcec4c6..56eff88 100644 --- a/doc/source/c

[Ryu-devel] [PATCH 0/8] bin/ryu and sub-commands

2014-03-24 Thread YAMAMOTO Takashi
changes from the previous: - rebase - 'manager' sub-command was renamed to 'run' YAMAMOTO Takashi (8): add ryu-manager to PYLINT_INCLUDE doc: remove a stale reference ryu.cfg: re-export some more stuff for convenience allow overriding argv and progname add bin/ryu rename 'manager' sub-

Re: [Ryu-devel] Load Balancing based on source IP and Source port

2014-03-24 Thread FUJITA Tomonori
Hello, On Mon, 24 Mar 2014 16:26:42 +0530 Sarath Allaka wrote: > Basically, my project is to balance client at the server. So, > there is a switch which has some n servers and based on the IP address and > port of the source the source would be allocated to a particular server.The > cli

Re: [Ryu-devel] Flow entries in RYU_QOS script for providing QoS to the flows

2014-03-24 Thread FUJITA Tomonori
On Mon, 24 Mar 2014 14:13:18 + "Arya, Renuka [BSD] - MED" wrote: > I did check with LINC and it looks like they do support queue > feature, but not sure if the feature is compatible with RYU. Ryu just installs a flow to set queue_id. I think that it's compatible with any switch implementatio

Re: [Ryu-devel] Flow-mod delay

2014-03-24 Thread FUJITA Tomonori
On Mon, 24 Mar 2014 12:54:53 -0300 Eros Spalla wrote: > Fujita, worked perfectly. Thanks for the confirmation. I'll merge the patch. -- Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the defin

Re: [Ryu-devel] Ryu, mininet and VLANs "AttributeError: 'module' object has no attribute 'OFPMatchField' "

2014-03-24 Thread FUJITA Tomonori
On Mon, 24 Mar 2014 16:59:09 +0100 Windhya Rankothge wrote: > field = parser.OFPMatchField.make(ofproto.OXM_OF_VLAN_VID,10) > actions = [datapath. ofproto_parser. OFPActionPushVlan (ETH_TYPE_8021Q), > datapath.ofproto_parser. OFPActionSetField (field)] You can do simply like: actions = [dp.ofpr

[Ryu-devel] Ryu, mininet and VLANs "AttributeError: 'module' object has no attribute 'OFPMatchField' "

2014-03-24 Thread Windhya Rankothge
Hi all, I am running my topology on mininet and I am trying to add VLAN tags for the packets received on switches.. from ryu. ofproto. ether import ETH_TYPE_8021Q // field = parser.OFPMatchField.make(ofproto.OXM_OF_VLAN_VID,10) actions = [datapath. ofproto_parser. OFPAct

Re: [Ryu-devel] Flow-mod delay

2014-03-24 Thread Eros Spalla
Fujita, worked perfectly. Thanks. 2014-03-22 4:00 GMT-03:00 FUJITA Tomonori : > On Fri, 21 Mar 2014 16:40:58 -0300 > Eros Spalla wrote: > > > Hi. Im running some tests, and realized is happening some delay (about > > 40ms) after flowmod messages. Im running on ryu 3.7 a simple-switch-v13 > >

Re: [Ryu-devel] Flow entries in RYU_QOS script for providing QoS to the flows

2014-03-24 Thread Arya, Renuka [BSD] - MED
Hi Fujita, Thanks for replying! I did check with LINC and it looks like they do support queue feature, but not sure if the feature is compatible with RYU. I would also look into the OVS. Thanks! Regards Renuka From: FUJITA Tomonori [fujita.tomon...@l

[Ryu-devel] Load Balancing based on source IP and Source port

2014-03-24 Thread Sarath Allaka
Basically, my project is to balance client at the server. So, there is a switch which has some n servers and based on the IP address and port of the source the source would be allocated to a particular server.The client has destination IP address as switch IP address and thereby the switch

Re: [Ryu-devel] Ryu + Devstack multinode: not able access Guest VMs on Compute Node

2014-03-24 Thread Yoshihiro Kaneko
Hi, Please confirm console log of VM. -- $ nova console-log -- a) success -- Starting netw

[Ryu-devel] [PATCH 2/5] ofp_event: add a function to find Event class for given OFP class

2014-03-24 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/controller/ofp_event.py | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ryu/controller/ofp_event.py b/ryu/controller/ofp_event.py index 2175e50..43e7113 100644 --- a/ryu/controller/ofp_event.py +++ b/ryu/controller/ofp_event.py @

[Ryu-devel] [PATCH 1/5] RyuApp: add methods to listen/unlisten specific event

2014-03-24 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/base/app_manager.py | 26 +- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/ryu/base/app_manager.py b/ryu/base/app_manager.py index 669e58b..6aeb317 100644 --- a/ryu/base/app_manager.py +++ b/ryu/base/app_manager.py @

[Ryu-devel] [PATCH 3/5] ryu.app.ofctl: implement reception of reply message

2014-03-24 Thread YAMAMOTO Takashi
an example: msg = parser.OFPEchoRequest(datapath=datapath) result = ofctl.api.send_msg(self, msg, reply_cls=parser.OFPEchoReply) assert isinstance(result, parser.OFPEchoReply) Signed-off-by: YAMAMOTO Takashi --- ryu/app/ofctl/api.py | 5 +++-- ryu/app/ofctl/event.py | 3 ++-

[Ryu-devel] [PATCH 4/5] ryu.app.ofctl: implement multipart

2014-03-24 Thread YAMAMOTO Takashi
an example: msg = parser.OFPPortDescStatsRequest(datapath=datapath) result = ofctl.api.send_msg(self, msg, reply_cls=parser.OFPPortDescStatsReply, reply_multi=True) Signed-off-by: YAMAMOTO Takashi --- ryu/app/ofctl/api.py

[Ryu-devel] [PATCH 5/5] ryu.app.ofctl: raise exceptions on openflow error messages

2014-03-24 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/app/ofctl/exception.py | 4 ryu/app/ofctl/service.py | 9 - 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/ryu/app/ofctl/exception.py b/ryu/app/ofctl/exception.py index 90113ae..c49f33f 100644 --- a/ryu/app/ofctl/exception.py