Re: [Ryu-devel] TableFeatureStats not implemented yet

2014-07-29 Thread arne_goetje
Fujita-san, To quote from the code: Line 5222: class OFPTableFeaturesStatsReply(OFPMultipartReply): """ Table features statistics reply message The switch responds with this message to a table features statistics request. This implmentation is still incomplete. Namely,

[Ryu-devel] [ANNOUNCE] Ryu-ready Docker image

2014-07-29 Thread FUJITA Tomonori
Hi, Ryu-ready Docker image is available at Dockerhub so just one command gives you ryu-ready environment: $ docker pull osrg/ryu Then you can start: $ docker run -it --name ryu -p 6633:6633 osrg/ryu /bin/bash root@6764319bab60:~# ryu-manager loading app ryu.controller.ofp_handler instantiati

Re: [Ryu-devel] About wildcard in Ryu

2014-07-29 Thread Yuliang Li
Hi, I can successfully install one wildcard. But when I want to install two wildcards, the latter one will replace the first one. For example: match=parser.OFPMatch(ipv4_dst=('10.0.*2* .0','255.255.255.0'),eth_type=0x800) actions=[parser.OFPActionOutput(5)] inst=[parser.OF

[Ryu-devel] [PATCH] bgp: make 'core.reset_neighbor' API asynchronously

2014-07-29 Thread ISHIDA Wataru
'core.reset_neighbor' was synchronous API and the caller had to wait until neighbor comes up. This behavior doesn't work well with rpc_cli. Signed-off-by: ISHIDA Wataru --- ryu/services/protocols/bgp/api/core.py | 11 +++ ryu/services/protocols/bgp/net_ctrl.py |2 +- 2 files change

Re: [Ryu-devel] bug report for Ryu-bgp

2014-07-29 Thread ISHIDA Wataru
Hi, Oh, I'm sorry. I haven't tested through rpc-cli. I sent a patch that fix this problem. In spite of applying the patch, you may see a debug message like this. DEBUG 2014-07-29 08:40:33,527 speaker 566 Traceback (most recent call last): File "/home/wataru/ryu/ryu/services/protocols/bgp/spea

Re: [Ryu-devel] [PATCH] bgp: make 'core.reset_neighbor' API asynchronously

2014-07-29 Thread FUJITA Tomonori
On Tue, 29 Jul 2014 17:47:00 +0900 ISHIDA Wataru wrote: > 'core.reset_neighbor' was synchronous API and the caller had to wait > until neighbor comes up. This behavior doesn't work well with rpc_cli. > > Signed-off-by: ISHIDA Wataru > --- > ryu/services/protocols/bgp/api/core.py | 11 +++

Re: [Ryu-devel] bug report for Ryu-bgp

2014-07-29 Thread ISHIDA Wataru
Hi KOBAYASHI-san, Thanks for the comment. Yeah, but I can't find where bgp codes touch one socket from multiple threads. When neighbor is reset, it close the internal socket, then create a new one. There are no simultaneous read I think. Thanks (2014/07/29 18:21), Satoshi KOBAYASHI wrote: > Hi

Re: [Ryu-devel] bug report for Ryu-bgp

2014-07-29 Thread Satoshi KOBAYASHI
Hi ISHIDA-san, FYI. If it is a situation as an error message, the socket is read from multiple green-threads. If that is right, it is not a bug of Eventlet but a issue of a design of multithread. Thanks, Satoshi 2014-07-29 17:54 GMT+09:00 ISHIDA Wataru : > Hi, > > Oh, I'm sorry. I haven't teste

Re: [Ryu-devel] OpenStack Grizzly with Ryu plugin

2014-07-29 Thread Digambar Patil
Hi, Thanks for your reply. I'll read given links & get back to you with appropriate blueprints. Should I look into this blueprint - https://blueprints.launchpad.net/neutron/+spec/ofagent-merge-bridges As you have already started this blueprint, is any implementation

Re: [Ryu-devel] bug report for Ryu-bgp

2014-07-29 Thread Toshiki Tsuboi
Hi, ISHIDA-san Thanks you for your response . As you mentioned, this issue needs to investigate deeply about context switch . Regards. Toshiki Tsuboi Jul 29, 2014 5:54 PM、ISHIDA Wataru のメール: > Hi, > > Oh, I'm sorry. I haven't tested through rpc-cli. > I sent a patch that fix this problem. >

Re: [Ryu-devel] some issues to writting ryu app

2014-07-29 Thread 马超
any ideas? 2014-07-23 11:39 GMT+08:00 马超 : > Hi, > >I installed ryu in openstack, and have defined packet_in_handler in my > app, I want to check those packets and then let them go( > *datapath.send_msg(out)*),when I run app, some errors came out: > > > *connmgr|INFO|br-int<->tcp:10.0.0

Re: [Ryu-devel] TableFeatureStats not implemented yet

2014-07-29 Thread YAMAMOTO Takashi
hi, the "body" attribute is a list of OFPTableFeaturesStats (Line 4806) which has the "properties" attribute you are interested in. ryu/tests/unit/ofproto/json/of13/4-56-ofp_table_features_reply.packet.json is an example of a message. YAMAMOTO Takashi > Fujita-san, > > To quote from the code:

Re: [Ryu-devel] some issues to writting ryu app

2014-07-29 Thread YAMAMOTO Takashi
> Hi, > >I installed ryu in openstack, and have defined packet_in_handler in my > app, I want to check those packets and then let them go( > *datapath.send_msg(out)*),when I run app, some errors came out: > > > *connmgr|INFO|br-int<->tcp:10.0.0.201:6633 : > sendi

[Ryu-devel] [PATCH 2/2] ofproto_v1_4_parser: Remove a stale comment on OFPTableFeaturesStatsReply

2014-07-29 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/ofproto/ofproto_v1_4_parser.py | 4 1 file changed, 4 deletions(-) diff --git a/ryu/ofproto/ofproto_v1_4_parser.py b/ryu/ofproto/ofproto_v1_4_parser.py index 2f72756..5394be5 100644 --- a/ryu/ofproto/ofproto_v1_4_parser.py +++ b/ryu/ofproto/ofproto_v

[Ryu-devel] [PATCH 1/2] ofproto_v1_3_parser: Remove a stale comment on OFPTableFeaturesStatsReply

2014-07-29 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/ofproto/ofproto_v1_3_parser.py | 4 1 file changed, 4 deletions(-) diff --git a/ryu/ofproto/ofproto_v1_3_parser.py b/ryu/ofproto/ofproto_v1_3_parser.py index f733f83..3c33556 100644 --- a/ryu/ofproto/ofproto_v1_3_parser.py +++ b/ryu/ofproto/ofproto_v

Re: [Ryu-devel] [PATCH 1/2] ofproto_v1_3_parser: Remove a stale comment on OFPTableFeaturesStatsReply

2014-07-29 Thread FUJITA Tomonori
On Wed, 30 Jul 2014 12:37:13 +0900 YAMAMOTO Takashi wrote: > Signed-off-by: YAMAMOTO Takashi > --- > ryu/ofproto/ofproto_v1_3_parser.py | 4 > 1 file changed, 4 deletions(-) Applied both, thanks. -- Infragistics

[Ryu-devel] [PATCH 1/3] bgp: fix NameError bug

2014-07-29 Thread ISHIDA Wataru
variable 'nlri_str' was not defined in peer.py bgpspeaker.speaker l.566 |DEBUG | Traceback (most recent call last): File "/home/wataru/ryu/ryu/services/protocols/bgp/speaker.py", line 560, in _recv_loop self.data_received(next_bytes) File "/home/wataru/ryu/ryu/services/protocols/bgp/s

[Ryu-devel] [PATCH 2/3] bgp: fix AttributeError bug

2014-07-29 Thread ISHIDA Wataru
for BGPPathAttributeMpUnreachNLRI, use 'withdrawn_routes' instead of 'nlri_list' bgpspeaker.speaker l.566 |DEBUG | Traceback (most recent call last): File "/home/wataru/ryu/ryu/services/protocols/bgp/speaker.py", line 560, in _recv_loop self.data_received(next_bytes) File "/home/watar

[Ryu-devel] [PATCH 3/3] bgp: fix bugs related to filter

2014-07-29 Thread ISHIDA Wataru
previous implementation apply all filters to all paths regardless of its route family. this implementation cause error like one shown below. ryu.lib.hub l.60 |ERROR | hub: uncaught exception: Traceback (most recent call last): File "/home/wataru/ryu/ryu/lib/hub.py", line 52, in _launch

Re: [Ryu-devel] [PATCH 1/3] bgp: fix NameError bug

2014-07-29 Thread FUJITA Tomonori
On Wed, 30 Jul 2014 13:52:53 +0900 ISHIDA Wataru wrote: > variable 'nlri_str' was not defined in peer.py > > bgpspeaker.speaker l.566 |DEBUG | Traceback (most recent call last): > File "/home/wataru/ryu/ryu/services/protocols/bgp/speaker.py", line > 560, in _recv_loop > self.data_rece

Re: [Ryu-devel] Parsing mpBGP Update Message

2014-07-29 Thread ISHIDA Wataru
Hi, Thank you for reporting. Could you kindly send a pcap file of the bgp messages? Then I will check why bgp parser can’t work well. Thanks, On Jul 30, 2014, at 13:31, Toshiki Tsuboi wrote: > Hi > > It looks Ryu BGP can not parse mpBGP Update Message . > In spite of receiving mpBGP Update

[Ryu-devel] [PATCH 2/5] packet lib: ipv6: fix default arguments

2014-07-29 Thread Minoru TAKAHASHI
Reported-by: Arne Goetje Signed-off-by: Minoru TAKAHASHI --- ryu/lib/packet/ipv6.py | 2 +- ryu/tests/unit/packet/test_ipv6.py | 8 +++ ryu/tests/unit/packet/test_packet.py | 42 ++-- 3 files changed, 26 insertions(+), 26 deletions(-) diff -

[Ryu-devel] [PATCH 1/5] packet lib: ipv4: fix default arguments

2014-07-29 Thread Minoru TAKAHASHI
Reported-by: Arne Goetje Signed-off-by: Minoru TAKAHASHI --- ryu/lib/packet/ipv4.py | 4 ++-- ryu/tests/unit/packet/test_packet.py | 20 ++-- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/ryu/lib/packet/ipv4.py b/ryu/lib/packet/ipv4.py index a252

[Ryu-devel] [PATCH 3/5] packet lib: tcp: fix default arguments

2014-07-29 Thread Minoru TAKAHASHI
Reported-by: Arne Goetje Signed-off-by: Minoru TAKAHASHI --- ryu/lib/packet/tcp.py| 2 +- ryu/tests/unit/packet/test_packet.py | 10 +- ryu/tests/unit/packet/test_tcp.py| 12 ++-- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/ryu/lib/packet

[Ryu-devel] [PATCH 5/5] packet lib: sctp: fix default arguments

2014-07-29 Thread Minoru TAKAHASHI
Reported-by: Arne Goetje Signed-off-by: Minoru TAKAHASHI --- ryu/lib/packet/sctp.py | 2 +- ryu/tests/unit/packet/test_packet.py | 16 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/ryu/lib/packet/sctp.py b/ryu/lib/packet/sctp.py index 8dfc28a..180

[Ryu-devel] [PATCH 4/5] packet lib: udp: fix default arguments

2014-07-29 Thread Minoru TAKAHASHI
Reported-by: Arne Goetje Signed-off-by: Minoru TAKAHASHI --- ryu/lib/packet/udp.py| 2 +- ryu/tests/unit/packet/test_packet.py | 14 +++--- ryu/tests/unit/packet/test_udp.py| 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/ryu/lib/packet/udp

Re: [Ryu-devel] Parsing mpBGP Update Message

2014-07-29 Thread Toshiki Tsuboi
Hi ISHIDA-san Please check my bgp packet capture in case of above report . Regards, Toshiki Tsuboi Wireshark_mpBGP.pcapng.gz Description: GNU Zip compressed data 2014/07/30 14:21、ISHIDA Wataru のメール: > Hi, > > Thank you for reporting. > Could you kindly send a pcap file of the bgp message

[Ryu-devel] About snort integration

2014-07-29 Thread 林哲緯
Hi, Everyone, I saw that ryu controller pulished a project that integrates the snort for IDS on The following mailing list: http://sourceforge.net/p/ryu/mailman/ryu-devel/thread/1364197166-9889-3-git-send-email-ohmura@lab.ntt.co.jp/ The Snort-Integration project link : https://github.com/osr