Re: [Ryu-devel] about partial SDN network

2014-11-24 Thread Gautam Pathak
Dear, Fujita, Thanks for response. I am creating non-OF switch in mininet by setting the failmode to 'standalone'. Can you please explain me "how OF switch communicate with non-OF switches via BGP ?" BRs, Goutam On Tue, Nov 25, 2014 at 1:20 PM, FUJITA Tomonori < [email protected]>

Re: [Ryu-devel] TCP Flags in ryu

2014-11-24 Thread Minoru TAKAHASHI
Hi, > File "/home/ubuntu/ryu/ryu/lib/packet/packet.py", line 96, in get_protocols > assert issubclass(protocol, packet_base.PacketBase) The above error, which means that "tcp.tcp" is not an instance of the following class. ryu/lib/packet/tcp.py: class tcp (packet_base.PacketBase): Hmm,

Re: [Ryu-devel] about partial SDN network

2014-11-24 Thread FUJITA Tomonori
On Tue, 25 Nov 2014 13:11:27 +0800 Gautam Pathak wrote: > I want to create a partially deployed SDN network. i.e. some switches in > the network are OF and some are non-OF. > I am able to create the network in mininet. But the OF-switch unable to > communicate the non-OF switch. It's up to how y

[Ryu-devel] about partial SDN network

2014-11-24 Thread Gautam Pathak
Hi, I want to create a partially deployed SDN network. i.e. some switches in the network are OF and some are non-OF. I am able to create the network in mininet. But the OF-switch unable to communicate the non-OF switch. Please give me some idea how to do this? BRs, Goutam --

Re: [Ryu-devel] [PATCH] bgp: bug fix of handling nexthop for eBGP peering

2014-11-24 Thread Toshiki Tsuboi
Hi, Fujita-san I’ve confirmed it works well to handle next_hop_self option in case of iBGP peering. https://github.com/osrg/ryu/commit/75753841aa66ce1aab5f56d83ea618ede8d82193 best regards. > 2014/11/25 12:41、FUJITA Tomonori のメール: > > On Sun, 23 Nov 2014 14:14:14 +0900 > Toshiki Tsuboi wro

Re: [Ryu-devel] Some question about ryu controller

2014-11-24 Thread FUJITA Tomonori
On Mon, 24 Nov 2014 21:07:00 +0800 Shih-Hong Shen wrote: > Hi, > > I'm a new for ryu controller. > I am trying to understand the code of simple_switch_13.py. If you are a new for Ryu, I would recommend you to read only simple_switch_13.py instead of the core of Ryu, which use some complicated P

Re: [Ryu-devel] Problem registering new datapaths

2014-11-24 Thread FUJITA Tomonori
On Mon, 24 Nov 2014 03:58:10 -0800 Lucio Agostinho Rocha wrote: > Hi, > > I'm trying to run a large simulation, with more than 100 switches, with many > links between them. > However, after 100 switches connected, Ryu controller with 'ryu-manager > --verbose ryu/app/ofctl_rest.py' shows: > >

Re: [Ryu-devel] About the inserting switch rules

2014-11-24 Thread FUJITA Tomonori
On Sat, 22 Nov 2014 19:04:51 -0500 Ali Reza Zamani wrote: > Hi all, > > I have a question regarding defining the rules for a switch in in Ryu > controller. > I am running my data plane using mininet. How can I insert some > forwarding rule for the switches. for example I want that all of the

Re: [Ryu-devel] [PATCH] bgp: bug fix of handling nexthop for eBGP peering

2014-11-24 Thread FUJITA Tomonori
On Sun, 23 Nov 2014 14:14:14 +0900 Toshiki Tsuboi wrote: > RyuBGP doesn't work properly becase of handling wrong nexthop address. > Therefore, in spite of receiving BGP UPDATE Message in the peering router, > the router fails to learn a new route entry from RyuBGP in BGP table. > (Memo: this issu

Re: [Ryu-devel] [PATCH 2/3] ofctl_v1_/2/3: Modify to_match() to use new match api

2014-11-24 Thread FUJITA Tomonori
On Tue, 25 Nov 2014 10:53:02 +0900 Yusuke Iwase wrote: > Signed-off-by: Minoru TAKAHASHI > Signed-off-by: IWASE Yusuke > --- > ryu/lib/ofctl_v1_2.py | 218 + > ryu/lib/ofctl_v1_3.py | 221 > +- > 2

[Ryu-devel] [PATCH] Workaround of os.path.samefile

2014-11-24 Thread FUJITA Tomonori
I've applied the following patch. Chris says: When trying out ryu under windows (and Python 2.7) I ran into a error because os.path.samefile is not implemented. I did a quick workaround in ryu/utils.py to use the os.stat(file) output instead if on the "win32" platform. Change seems to allow appl

[Ryu-devel] [PATCH] Simple ARP proxy application can use to reply ARP requests even in a loop topology.

2014-11-24 Thread ????
From: muzixing <[email protected]> Hi, First of all, I have to make a apologize for my mistake sincerely. Last time is my first to send a PATCH to a maillist, and I did not know you have mentioned some problems among the content of mail, so I just missed the message until my friend told me last

[Ryu-devel] [PATCH 3/3] test_ofctl: Modify to use new match api and field parser

2014-11-24 Thread Yusuke Iwase
Signed-off-by: Minoru TAKAHASHI Signed-off-by: IWASE Yusuke --- ryu/tests/unit/lib/test_ofctl.py | 338 +++ 1 file changed, 161 insertions(+), 177 deletions(-) diff --git a/ryu/tests/unit/lib/test_ofctl.py b/ryu/tests/unit/lib/test_ofctl.py index 52d1b9a..dd7

[Ryu-devel] [PATCH 1/3] ofctl_v1_/2/3: Modify match_to_str() to use new match field parser

2014-11-24 Thread Yusuke Iwase
Signed-off-by: Minoru TAKAHASHI Signed-off-by: IWASE Yusuke --- ryu/lib/ofctl_v1_2.py | 147 ++-- ryu/lib/ofctl_v1_3.py | 152 ++ 2 files changed, 59 insertions(+), 240 deletions(-) diff --git a/ryu/lib/

[Ryu-devel] [PATCH 2/3] ofctl_v1_/2/3: Modify to_match() to use new match api

2014-11-24 Thread Yusuke Iwase
Signed-off-by: Minoru TAKAHASHI Signed-off-by: IWASE Yusuke --- ryu/lib/ofctl_v1_2.py | 218 + ryu/lib/ofctl_v1_3.py | 221 +- 2 files changed, 114 insertions(+), 325 deletions(-) diff --git a/ryu/li

[Ryu-devel] Some question about ryu controller

2014-11-24 Thread Shih-Hong Shen
Hi, I'm a new for ryu controller. I am trying to understand the code of simple_switch_13.py. But I have some problems about this simple file, 1) I cannot understand the decorator how to work, just like the follow code: @set_ev_cls(ofp_event.EventOFPSwitchFeatures, CONFIG_DISPATCHER)def _switch_f

[Ryu-devel] Problem registering new datapaths

2014-11-24 Thread Lucio Agostinho Rocha
Hi, I'm trying to run a large simulation, with more than 100 switches, with many links between them. However, after 100 switches connected, Ryu controller with 'ryu-manager --verbose ryu/app/ofctl_rest.py' shows: " ... DPSET: unregister datapath DPSET: unregister datapath DPSET: unregister d