Discussion:
[Ryu-devel] Multiple RYU controllers
T***@data61.csiro.au
2017-07-11 05:22:53 UTC
Permalink
Hi


Although I am bit familiar with RYU controller, I did not use its multiple scenario before. I want to run multiple ryu controllers which will be executed in parallel, and share their information among themselves. Please help me sharing information links, codes supporting multiple RYU controllers scenarios.


Thanks

-Tanvir
Yi Tseng
2017-07-11 06:09:29 UTC
Permalink
Hi,

Can you provide more detail?

For example, which kinds of mechanism you will use to share data between
controllers?
REST? IPC? TCP/UDP? Linux socket?


Yi

2017-07-10 22:22 GMT-07:00 <***@data61.csiro.au>:

> Hi
>
>
> Although I am bit familiar with RYU controller, I did not use its multiple
> scenario before. I want to run multiple ryu controllers which will be
> executed in parallel, and share their information among themselves. Please
> help me sharing information links, codes supporting multiple RYU
> controllers scenarios.
>
>
> Thanks
>
> -Tanvir
>
> ------------------------------------------------------------
> ------------------
> 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-***@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>
>


--
Yi Tseng (a.k.a Takeshi)
Taiwan National Chiao Tung University
Department of Computer Science
W2CNLab

https://takeshi.tw
Rishi Sahay
2017-07-11 08:32:50 UTC
Permalink
Hi,

You can use REST API to run multiple controllers and share the
informations.

On Tue, Jul 11, 2017 at 8:09 AM, Yi Tseng <***@gmail.com> wrote:

> Hi,
>
> Can you provide more detail?
>
> For example, which kinds of mechanism you will use to share data between
> controllers?
> REST? IPC? TCP/UDP? Linux socket?
>
>
> Yi
>
> 2017-07-10 22:22 GMT-07:00 <***@data61.csiro.au>:
>
>> Hi
>>
>>
>> Although I am bit familiar with RYU controller, I did not
>> use its multiple scenario before. I want to run multiple ryu controllers
>> which will be executed in parallel, and share their information among
>> themselves. Please help me sharing information links, codes supporting
>> multiple RYU controllers scenarios.
>>
>>
>> Thanks
>>
>> -Tanvir
>>
>> ------------------------------------------------------------
>> ------------------
>> 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-***@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>>
>>
>
>
> --
> Yi Tseng (a.k.a Takeshi)
> Taiwan National Chiao Tung University
> Department of Computer Science
> W2CNLab
>
> https://takeshi.tw
>
> ------------------------------------------------------------
> ------------------
> 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-***@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>
>


--
Best regards
Rishikesh Sahay
Researcher
University of Pierre and Marie Curie
https://sites.google.com/site/basusahay/
MOB: +33-782103830
T***@data61.csiro.au
2017-07-12 02:42:18 UTC
Permalink
This post might be inappropriate. Click to display it.
Yi Tseng
2017-07-14 00:16:33 UTC
Permalink
Hi

The easily way is to create TCP/UDP socket in your Ryu application

You can use general python socket library to do that

Yi

2017-07-11 19:42 GMT-07:00 <***@data61.csiro.au>:

> Hi Rishi
>
>
> Thank you very much for your prompt response.
>
> As far as I know that REST API is used to control switches directly. I do
> not know how to control multiple controllers using REST API.
>
> Could you please share more information, resource links, relevant coding
> in this regards?
>
>
> Thanks,
>
> -Tanvir
>
>
>
> ------------------------------
> *From:* Rishi Sahay <***@gmail.com>
> *Sent:* Tuesday, 11 July 2017 6:32 PM
> *To:* Yi Tseng
> *Cc:* Ul Huque, Tanvir (Data61, Eveleigh ATP); ryu-devel
> *Subject:* Re: [Ryu-devel] Multiple RYU controllers
>
> Hi,
>
> You can use REST API to run multiple controllers and share the
> informations.
>
> On Tue, Jul 11, 2017 at 8:09 AM, Yi Tseng <***@gmail.com> wrote:
>
>> Hi,
>>
>> Can you provide more detail?
>>
>> For example, which kinds of mechanism you will use to share data between
>> controllers?
>> REST? IPC? TCP/UDP? Linux socket?
>>
>>
>> Yi
>>
>> 2017-07-10 22:22 GMT-07:00 <***@data61.csiro.au>:
>>
>>> Hi
>>>
>>>
>>> Although I am bit familiar with RYU controller, I did not
>>> use its multiple scenario before. I want to run multiple ryu controllers
>>> which will be executed in parallel, and share their information among
>>> themselves. Please help me sharing information links, codes supporting
>>> multiple RYU controllers scenarios.
>>>
>>>
>>> Thanks
>>>
>>> -Tanvir
>>>
>>> ------------------------------------------------------------
>>> ------------------
>>> 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-***@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>>>
>>>
>>
>>
>> --
>> Yi Tseng (a.k.a Takeshi)
>> Taiwan National Chiao Tung University
>> Department of Computer Science
>> W2CNLab
>>
>> https://takeshi.tw
>>
>> ------------------------------------------------------------
>> ------------------
>> 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-***@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>>
>>
>
>
> --
> Best regards
> Rishikesh Sahay
> Researcher
> University of Pierre and Marie Curie
> https://sites.google.com/site/basusahay/
> MOB: +33-782103830 <+33%207%2082%2010%2038%2030>
>
> ------------------------------------------------------------
> ------------------
> 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-***@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>
>


--
Yi Tseng (a.k.a Takeshi)
Taiwan National Chiao Tung University
Department of Computer Science
W2CNLab

https://takeshi.tw
Yi Tseng
2017-07-14 00:20:03 UTC
Permalink
By the way,

I developed a small project before, it allows multiple controller exchange
their routing information via a global controller:
https://github.com/TakeshiTseng/SDN-Work/tree/master/MultiControl/hierarchy

Yi

2017-07-13 17:16 GMT-07:00 Yi Tseng <***@gmail.com>:

> Hi
>
> The easily way is to create TCP/UDP socket in your Ryu application
>
> You can use general python socket library to do that
>
> Yi
>
> 2017-07-11 19:42 GMT-07:00 <***@data61.csiro.au>:
>
>> Hi Rishi
>>
>>
>> Thank you very much for your prompt response.
>>
>> As far as I know that REST API is used to control switches directly. I do
>> not know how to control multiple controllers using REST API.
>>
>> Could you please share more information, resource links, relevant coding
>> in this regards?
>>
>>
>> Thanks,
>>
>> -Tanvir
>>
>>
>>
>> ------------------------------
>> *From:* Rishi Sahay <***@gmail.com>
>> *Sent:* Tuesday, 11 July 2017 6:32 PM
>> *To:* Yi Tseng
>> *Cc:* Ul Huque, Tanvir (Data61, Eveleigh ATP); ryu-devel
>> *Subject:* Re: [Ryu-devel] Multiple RYU controllers
>>
>> Hi,
>>
>> You can use REST API to run multiple controllers and share the
>> informations.
>>
>> On Tue, Jul 11, 2017 at 8:09 AM, Yi Tseng <***@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> Can you provide more detail?
>>>
>>> For example, which kinds of mechanism you will use to share data between
>>> controllers?
>>> REST? IPC? TCP/UDP? Linux socket?
>>>
>>>
>>> Yi
>>>
>>> 2017-07-10 22:22 GMT-07:00 <***@data61.csiro.au>:
>>>
>>>> Hi
>>>>
>>>>
>>>> Although I am bit familiar with RYU controller, I did not
>>>> use its multiple scenario before. I want to run multiple ryu controllers
>>>> which will be executed in parallel, and share their information among
>>>> themselves. Please help me sharing information links, codes supporting
>>>> multiple RYU controllers scenarios.
>>>>
>>>>
>>>> Thanks
>>>>
>>>> -Tanvir
>>>>
>>>> ------------------------------------------------------------
>>>> ------------------
>>>> 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-***@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>>>>
>>>>
>>>
>>>
>>> --
>>> Yi Tseng (a.k.a Takeshi)
>>> Taiwan National Chiao Tung University
>>> Department of Computer Science
>>> W2CNLab
>>>
>>> https://takeshi.tw
>>>
>>> ------------------------------------------------------------
>>> ------------------
>>> 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-***@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>>>
>>>
>>
>>
>> --
>> Best regards
>> Rishikesh Sahay
>> Researcher
>> University of Pierre and Marie Curie
>> https://sites.google.com/site/basusahay/
>> MOB: +33-782103830 <+33%207%2082%2010%2038%2030>
>>
>> ------------------------------------------------------------
>> ------------------
>> 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-***@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>>
>>
>
>
> --
> Yi Tseng (a.k.a Takeshi)
> Taiwan National Chiao Tung University
> Department of Computer Science
> W2CNLab
>
> https://takeshi.tw
>



--
Yi Tseng (a.k.a Takeshi)
Taiwan National Chiao Tung University
Department of Computer Science
W2CNLab

https://takeshi.tw
T***@data61.csiro.au
2017-07-12 02:38:44 UTC
Permalink
Hi Yi


Thank you very much for your prompt response.

At present, I want to share TCP/UDP among RYU controllers.

Could you please share more information, resource links, relevant coding in this regards?


Thanks,

-Tanvir

________________________________
From: Yi Tseng <***@gmail.com>
Sent: Tuesday, 11 July 2017 4:09 PM
To: Ul Huque, Tanvir (Data61, Eveleigh ATP)
Cc: ryu-devel
Subject: Re: [Ryu-devel] Multiple RYU controllers

Hi,

Can you provide more detail?

For example, which kinds of mechanism you will use to share data between controllers?
REST? IPC? TCP/UDP? Linux socket?


Yi

2017-07-10 22:22 GMT-07:00 <***@data61.csiro.au<mailto:***@data61.csiro.au>>:

Hi


Although I am bit familiar with RYU controller, I did not use its multiple scenario before. I want to run multiple ryu controllers which will be executed in parallel, and share their information among themselves. Please help me sharing information links, codes supporting multiple RYU controllers scenarios.


Thanks

-Tanvir

------------------------------------------------------------------------------
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-***@lists.sourceforge.net<mailto:Ryu-***@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/ryu-devel




--
Yi Tseng (a.k.a Takeshi)
Taiwan National Chiao Tung University
Department of Computer Science
W2CNLab

https://takeshi.tw
FUJITA Tomonori
2017-07-14 00:11:07 UTC
Permalink
On Tue, 11 Jul 2017 05:22:53 +0000
<***@data61.csiro.au> wrote:

> Although I am bit familiar with RYU controller, I did not use its
> multiple scenario before. I want to run multiple ryu controllers
> which will be executed in parallel, and share their information
> among themselves. Please help me sharing information links, codes
> supporting multiple RYU controllers scenarios.

OpenStack default OVS plugin runs multiple Ryu controllers.

Imagine that you have the central databese has all the configurations
(for all the controllers). Each controller gets its configuration from
it and configures itself.
Loading...