[Ryu-devel] [PATCH] Implement nx_action_reg_move for OpenFlow 1.3

2015-01-18 Thread YAMAMOTO Takashi
Also, improve experimenter action related code so that it can handle unknown actions as unknown. Only OpenFlow 1.3 for now because this is planned to be used for Neutron OVS agent and 1.3 is the version to be used there. (https://blueprints.launchpad.net/neutron/+spec/ovs-ofctl-to-python) Followi

Re: [Ryu-devel] Format of group table flow entries in OF1.3

2015-01-18 Thread Padma Jayasankar
Hi, I tried to install two action buckets with fast fail over types. Though the entries are installed properly, the packets are not flowing. I think that the weight,atch_port or watch_group may be wrong..I didn't understand the values set for these fields clearly..what does these fields denote.

[Ryu-devel] How to find available bandwidth of a link in OpenFlow

2015-01-18 Thread Padma Jayasankar
Hi, For my project i have to do load balancing based on available bandwidth. How to find the available bandwidth from the no of bytes transmitted on a link. Please clarify. Further,if i use 'select' group type of group tables then what should be the range of 'weight' value to be specified in th

Re: [Ryu-devel] Push tables to the switchs using curl

2015-01-18 Thread Yusuke Iwase
Hi, On 2015年01月16日 19:24, Clément Rault wrote: > So I went back to using an older VM and it works. At least the simple example. > > But I try to do something more advanced the group entry is not present :/. > > ubuntu@sdnhubvm:~[02:21]$ curl -X POST -d '{ > "dpid": 1, > "type": "FF"

[Ryu-devel] [PATCH 4/4] doc/app/ofctl_rest: Add description for OFPAggregateStats message

2015-01-18 Thread Yusuke Iwase
Signed-off-by: IWASE Yusuke --- doc/source/app/ofctl_rest.rst | 96 +++ 1 file changed, 96 insertions(+) diff --git a/doc/source/app/ofctl_rest.rst b/doc/source/app/ofctl_rest.rst index 81baa96..715707b 100644 --- a/doc/source/app/ofctl_rest.rst +++ b/doc/

[Ryu-devel] [PATCH 3/4] ofctl_rest: support OFPAggregateStats message

2015-01-18 Thread Yusuke Iwase
this patch makes ofctl_rest enable use of OFPAggregateStats message. Get aggregate flow stats: usage) URI:/stats/aggregateflow/ method: GET e.g.) $ curl -X GET http://localhost:8080/stats/aggregateflow/1 { "1": [ { "packet_count": 18, "

[Ryu-devel] [PATCH 2/4] doc/app/ofctl_rest: Add description for OFPQueueStats message

2015-01-18 Thread Yusuke Iwase
Signed-off-by: IWASE Yusuke --- doc/source/app/ofctl_rest.rst | 57 +++ 1 file changed, 57 insertions(+) diff --git a/doc/source/app/ofctl_rest.rst b/doc/source/app/ofctl_rest.rst index 3437e44..81baa96 100644 --- a/doc/source/app/ofctl_rest.rst +++ b/doc/

[Ryu-devel] [PATCH 1/4] ofctl_rest: support OFPQueueStats message

2015-01-18 Thread Yusuke Iwase
this patch makes ofctl_rest enable use of OFPQueueStats message. usage) URI:/stats/queue/ method: GET e.g.) $ curl -X GET http://localhost:8080/stats/queue/1 { "1": [ { "port_no": 1, "queue_id": 0, "tx_bytes": 0, "tx_packets": 0, "tx

Re: [Ryu-devel] [PATCH 2/4] doc/app/ofctl_rest: Add description for OFPQueueStats message

2015-01-18 Thread Yusuke Iwase
Dear Mr.Fujita > #1 and #4 are missing? If so, please repost the all? I did send the all patches at the same time... I guess some posts were lost on Ryu-devel mailing list... --- The mail log that I have posted --- Subject: [PATCH 1/4] ofctl_rest: support OFPQueueStats message Date: Fri, 16

Re: [Ryu-devel] Experimenter Match Field in Flow Mod..

2015-01-18 Thread YAMAMOTO Takashi
> hi, > > currently experimenter OXM support in Ryu is somehow specific > to EXT-256. > > with the patch set i posted last week, it should be trivial > to add your OXM. > see http://sourceforge.net/p/ryu/mailman/message/33236847/ for example. > > YAMAMOTO Takashi > >> Hi All, >> >> I am tr

Re: [Ryu-devel] [PATCH 01/10] Cleanup isinstance(foo, (int, long))

2015-01-18 Thread FUJITA Tomonori
On Fri, 16 Jan 2015 17:19:57 +0900 YAMAMOTO Takashi wrote: > Use numbers where appropriate. > > Signed-off-by: YAMAMOTO Takashi > --- > ryu/app/ofctl/api.py | 4 +++- > ryu/app/ofctl/event.py | 4 +++- > ryu/app/ofctl/service.py

Re: [Ryu-devel] Experimenter Match Field in Flow Mod..

2015-01-18 Thread YAMAMOTO Takashi
hi, currently experimenter OXM support in Ryu is somehow specific to EXT-256. with the patch set i posted last week, it should be trivial to add your OXM. see http://sourceforge.net/p/ryu/mailman/message/33236847/ for example. YAMAMOTO Takashi > Hi All, > > I am trying to write a RYU scrip

Re: [Ryu-devel] [PATCH] doc/app/ofctl_rest: Add descriptions for duration_nsec field

2015-01-18 Thread FUJITA Tomonori
On Fri, 16 Jan 2015 09:20:30 +0900 Yusuke Iwase wrote: > Signed-off-by: IWASE Yusuke > --- > doc/source/app/ofctl_rest.rst | 106 > +- > 1 file changed, 53 insertions(+), 53 deletions(-) Applied, thanks.

Re: [Ryu-devel] [PATCH 2/4] doc/app/ofctl_rest: Add description for OFPQueueStats message

2015-01-18 Thread FUJITA Tomonori
#1 and #4 are missing? If so, please repost the all? Thanks, On Fri, 16 Jan 2015 10:02:08 +0900 Yusuke Iwase wrote: > Signed-off-by: IWASE Yusuke > --- > doc/source/app/ofctl_rest.rst | 57 > +++ > 1 file changed, 57 insertions(+) > > diff --git a/doc