Hi Tanvir,

If I understand correctly, you would like to specify the IP address of the 
hosting machine of Ryu. I think you can specify the IP by adding parameter 
“ofp-listen-host” when you start Ryu.

Best regards,
Tao

> On 13 Apr 2017, at 02:40, tanvir.ulhu...@data61.csiro.au wrote:
> 
> Hi Tao
> 
> 
> Thanks for your helps.
> 
> Let me tell you the scenario first to avoid any confusion,
> Scenario: 
> - Two switches (S1, S2), two controllers (C1, C2) in a network
> - both switches are connected with both of these controllers. That means, 
> S1--C1--S2, and S1--C2--S2
> - but controllers have no common connection between them. That means, 
> C1--><-C2.
> 
> What do I want: 
> Now, I want to push rules from both of these controllers(C1, C2) into the 
> same switch. So, I simply want to run two RYU controllers controlling the 
> same network. 
> 
> Problem:
> I can add different IP/listening port for different RYU controllers in 
> mininet script. But, I am not understanding how can I add IP information in 
> RYU controller (python script)? 
> ​It will be great help, if you kindly share some example code structure (if 
> you have/know).
> 
> 
> Thank you again for your help :)
>  -Tanvir
> 
> From: Tao Li <tao...@tu-dresden.de>
> Sent: Wednesday, 12 April 2017 6:08 PM
> To: Ul Huque, Tanvir (Data61, Eveleigh ATP)
> Cc: ryu-devel@lists.sourceforge.net
> Subject: Re: [Ryu-devel] multiple controller scenario using RYU
>  
> Hi,
> 
> There is almost no difference to run multiple Ryu controller, compared with 
> running a single one. You only need to configure different IP/listening port 
> for multiple Ryu instances, and add such information into the Mininet script. 
> 
> 
> Regards,
> Tao
> 
>> On 12 Apr 2017, at 08:52, tanvir.ulhu...@data61.csiro.au 
>> <mailto:tanvir.ulhu...@data61.csiro.au> wrote:
>> 
>> Hi
>> 
>> I am working on multiple controllers scenario. 
>> 
>> (1) I want to run multiple controllers separately (without ONOS, or 
>> Zookeeper type platform) for the following Mininet topology,
>> http://windysdn.blogspot.com.au/2013/10/mininet-script-for-multiple-controllers.html
>>  
>> <http://windysdn.blogspot.com.au/2013/10/mininet-script-for-multiple-controllers.html>
>> 
>> could you please tell how can I do it?
>> 
>> Thanks
>> -Tanvir
>> ------------------------------------------------------------------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org <http://slashdot.org/>! 
>> http://sdm.link/slashdot_______________________________________________ 
>> <http://sdm.link/slashdot_______________________________________________>
>> Ryu-devel mailing list
>> Ryu-devel@lists.sourceforge.net <mailto:Ryu-devel@lists.sourceforge.net>
>> https://lists.sourceforge.net/lists/listinfo/ryu-devel 
>> <https://lists.sourceforge.net/lists/listinfo/ryu-devel>
> 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to