On Sat, 14 Jul 2018 18:19:20 +0900, Soe Ye Htet wrote: > > [1 <text/plain; UTF-8 (7bit)>] > 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.
So you have all those datapaths and IDs in one controller. Yes, it should be doable. > 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 Is this graph correct? Isn't it like this? ------------------------------------------- | | | ..... gw1 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 > >> > > > > > [2 <text/html; UTF-8 (quoted-printable)>] ------------------------------------------------------------------------------ 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