Re: [Ryu-devel] Fwd: Reg: Multiple controller support using RYU

2017-10-05 Thread Subha
Thanks Iwase. Is it possible to run the same instance of ryu and have it acting as master and slave. Or do we need to have two separate machines , with ryu running on each one of them. With respect to HA, what is the time taken for newly elected master to assume its role. Eg: suppose the curre

Re: [Ryu-devel] Using Ryu Controller as a BGPSpeaker

2017-10-05 Thread Iwase Yusuke
Hi Marcio, Not all parameters are required. For 'BGP' dictionary, most of parameters except 'neighbors', 'vrfs' and 'routes' are passed to instantiate BGPSpeaker. So 'local_as' (renamed into 'as_number internally) and 'router_id' are minimal requirements. http://ryu.readthedocs.io/en/latest/l

Re: [Ryu-devel] Fwd: Reg: Multiple controller support using RYU

2017-10-05 Thread Iwase Yusuke
Hi Subha, By default, Ryu will wait for the connection from switches on port 6653 and 6633, So most of the required configuration is on switch side, I guess. If you are using Open vSwitch, please execute the following command on your switches. $ ovs-vsctl set-controller "tcp::6653" "tcp::6

Re: [Ryu-devel] Using Ryu Controller as a BGPSpeaker

2017-10-05 Thread Marcio Vinicius de Queiroz Santos
Iwase, Thanks for the help. I was able to run Ryu as a BGPSpeaker as you sad. Is necessary to specify all the configurations located in the conf file or I can to omit some non-relevant settings for me? I saw that is possible access the router via SSH protocol and show some information about BGP li

[Ryu-devel] Fwd: Reg: Multiple controller support using RYU

2017-10-05 Thread Subha
2nd try!! Thanks, subha. -- Forwarded message -- From: Subha Date: Thu, Oct 5, 2017 at 2:00 PM Subject: Re: Reg: Multiple controller support using RYU To: [email protected] Making it a bit clearer. I want to have two controller running simultaneously with one as M

Re: [Ryu-devel] Have Ryu application function as client instead of server?

2017-10-05 Thread Iwase Yusuke
Hi Matt, I've posted patches to support this feature. Could you try it? [Ryu-devel] [PATCH 1/3] controller: Support proactive connection Note: Currently, Ryu does not aware of whether connections is reactive or proactive, so it is not recommended to use them simultaneously against the same sw

[Ryu-devel] [PATCH 3/3] test_controller: Test cases for _split_addr()

2017-10-05 Thread IWASE Yusuke
Signed-off-by: IWASE Yusuke --- ryu/tests/unit/controller/test_controller.py | 36 +++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/ryu/tests/unit/controller/test_controller.py b/ryu/tests/unit/controller/test_controller.py index 27a2bce..a94e7b4 100644

[Ryu-devel] [PATCH 2/3] controller: APIs to register switch address dynamically

2017-10-05 Thread IWASE Yusuke
This patch introduces APIs to register/unregister switch address after Ryu (ofp_handler) starting. Signed-off-by: IWASE Yusuke --- ryu/controller/controller.py | 14 - ryu/controller/ofp_api.py | 73 +++ ryu/controller/ofp_event.py | 3 ++

[Ryu-devel] [PATCH 1/3] controller: Support proactive connection

2017-10-05 Thread IWASE Yusuke
This patch enables to initiate OpenFlow connection from controller side by using "--ofp-switch-address-list" and "--ofp-switch-connect-interval" options. Signed-off-by: IWASE Yusuke --- ryu/controller/controller.py | 55 +--- ryu/lib/hub.py |

Re: [Ryu-devel] Have Ryu application function as client instead of server?

2017-10-05 Thread Matthew Moskowitz
Awesome! I look forward to trying it out. On Thu, Oct 5, 2017 at 12:34 AM, Iwase Yusuke wrote: > Hi Matt, > > Currently, I'm testing this feature on my branch. > (Still this have some buggy behaviors though...) > https://github.com/iwaseyusuke/ryu/tree/controller-Support_ > proactive_connectio

[Ryu-devel] Red Hat Users list

2017-10-05 Thread rene . peters
style="font-size:12pt;line-height:107%;color:rgb(31,78,121);background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial">Hello there,style="font-size:12pt;line-height:107%;color:rgb(31,78,121)"> style="

Re: [Ryu-devel] BGP session cannot established in Ryu

2017-10-05 Thread Habib Mostafaei
Hi Fujimoto, I used a dedicated machine for each node in the network with this topology: 20.0.3.0/24_ 20.0.4.0/24     |                             |          |                   | c120.0.0.0/24sw120.0.1.0/24sw220.0.2.0/24C2

Re: [Ryu-devel] Reg: Multiple controller support using RYU

2017-10-05 Thread Subha
Making it a bit clearer. I want to have two controller running simultaneously with one as Master and one as Slave. Any pointers on how to achieve this will be helpful. Thanks, subha. On Thu, Oct 5, 2017 at 12:51 PM, Subha wrote: > Hi , > > > Can someone share me some docs or steps to setup mu

[Ryu-devel] Reg: Multiple controller support using RYU

2017-10-05 Thread Subha
Hi , Can someone share me some docs or steps to setup multiple controllers using ryu. Thanks, subha. -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link

Re: [Ryu-devel] Ryu libraries for pcap

2017-10-05 Thread Iwase Yusuke
Hi Sunil, Hummm... have you tried tcpdump? tcpdump needs less resources than tshark, doesn't it? I've never used Ryu pcaplib for the live sniffing, so I don't know how amount of resources it will take and how to use it for such purpose. As the similar library, Scapy provide the live sniffing fe