I see! Interesting scenario. I usually only contemplate the controller
being controlling OpenFlow switches and that's it. The hosts don't
even know that the controller is there in the first place.

Thank you for the extra info!

My regards,
Carlos Ferreira

On 14 July 2018 at 14:47, Soe Ye Htet <soeyehtet1...@gmail.com> wrote:
> Dear Carlos Ferreira,
>
> Currently, my set up is based on a proactive approach. RYU controller will
> assign the forwarding rules proactively to the openflow switch. Let me
> recall back my simple topology. GW1------host1-----host2-----GW2. RYU
> controller is in the GW1. host1 & host2 sends the data to the GW1. My
> assumption is, for eg, when host 1 increase CPU utilization or some
> condition, it will send packet-in message to the RYU controller. When RYU
> receives the packet-in message from the host1, it will delete the forwarding
> rules in host 2 and install the forwarding rules in host2 to send its data
> GW2. something like the load-balancing scenario.
>
> Best Regards,
> Soe Ye Htet
>
> On Sat, Jul 14, 2018 at 8:25 PM, Carlos Ferreira <carlosmf...@gmail.com>
> wrote:
>>
>> Dear Soe Ye Htet, I have a question.
>>
>> According to your setup, isn't the controller behaving like a router?
>> Won't the switch be sending the traffic to the controller, which then
>> routes it to through the intended path?
>>
>> My regards,
>>
>> Carlos Ferreira
>>
>> On 14 July 2018 at 10:19, Soe Ye Htet <soeyehtet1...@gmail.com> wrote:
>> > Dear RYU team,
>> >
>> > I have seen then the way of installing the forwarding rules in REST API.
>> > In
>> > the REST API, we need to put the datapath ID to install the forwarding
>> > rules. Can I install the flow rules with the datapath ID in
>> > Packet-In-Event
>> > handler.
>> >
>> > Best regards,
>> > Soe Ye Htet
>> >
>> > On Sat, Jul 14, 2018 at 4:17 PM, Soe Ye Htet <soeyehtet1...@gmail.com>
>> > wrote:
>> >>
>> >> Dear RYU team,
>> >>
>> >> I have only one RYU controller. Actually what I want to do is rerouting
>> >> for load balancing between the gateway.
>> >>
>> >> Best Regards,
>> >> Soe Ye Htet
>> >>
>> >> On Thu, Jul 12, 2018 at 11:14 AM, IWAMOTO Toshihiro
>> >> <iwam...@valinux.co.jp> wrote:
>> >>>
>> >>> On Sun, 08 Jul 2018 01:21:55 +0900,
>> >>> Soe Ye Htet wrote:
>> >>> >
>> >>> > [1  <multipart/alternative (7bit)>]
>> >>> > [1.1  <text/plain; UTF-8 (7bit)>]
>> >>> > Dear,
>> >>> >
>> >>> > I would like to install the forwarding rules from the RYU controller
>> >>> > with
>> >>> > the specific switch ID based on the packet-in message. For eg.
>> >>> > gateway1--------host1-------host2-------host3-----gateway2.
>> >>> > host1,host2
>> >>> > send the data to the gateway1. What I want to do is rerouting the
>> >>> > traffic
>> >>> > from host 2 to gateway1 to host 2 to gateway 2. Rerouting will be
>> >>> > based
>> >>> > on
>> >>> > the when host 1 sends the packet-in message to the controller. For
>> >>> > eg,
>> >>> > when
>> >>> > host 1 sends the packet-in message to the controller, RYU controller
>> >>> > will
>> >>> > delete forwarding rules in the host 2 to reroute the traffic from
>> >>> > host
>> >>> > 2 to
>> >>> > gateway1 to host 2 to gateway2. I am trying to install the
>> >>> > forwarding
>> >>> > rules
>> >>> > directly to the host2 when RYU controller receives the packet-in
>> >>> > message
>> >>> > from host1. Can we install directly from RYU controller with the
>> >>> > specific
>> >>> > switch ID or datapath ID. If there is some command to install like
>> >>> > this,
>> >>> > can you please let me know or how I can perform rerouting process.
>> >>>
>> >>> How many ryu openflow controllers in your setup?
>> >>> Usually flow_mod messeages are sent over the same controller-switch
>> >>> connection channel that you get packet-in messages.
>> >>>
>> >>> --
>> >>> IWAMOTO Toshihiro
>> >>
>> >>
>> >
>> >
>> >
>> > ------------------------------------------------------------------------------
>> > 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
>> >
>
>

------------------------------------------------------------------------------
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