Dear, The problem is I dont know how to send flowmod message to raspi2 when raspi1 is down to relay the data from raspi3 to gateway1. As far as i know there is two ways to assign flow table to switch ID. By the switch feature message to assign flow table proactively or packet in message to assign flow table reactively. The problem is that i do not want to apply packet in message for rerouting because packet in measage can consume a lot of memory in ryu controller. What I am trying to do,is, monitoring node status all the time, and send flowmod message to raspi2 to,relay data from raspi3 only when raspi1 is down. How to assign the flow table in state change handler function.
Best Regards, Soe Ye Htet On Thu, Oct 18, 2018, 1:56 PM IWAMOTO Toshihiro <iwam...@valinux.co.jp> wrote: > On Fri, 12 Oct 2018 21:44:53 +0900, > Soe Ye Htet wrote: > > I am developing some rerouting scenario when there is some node failure. > I > > have attached my testing topology testbed. RYU controller is at the > gateway > > 1 and raspi 1 and raspi 2 are directly connected to gateway 1. raspi 3 is > > connected to raspi 2 and raspi 1. The primary route for raspi3 to > gateway 1 > > is raspi 3 - raspi 1 - gateway 1. what i am trying to do is when raspi 1 > is > > down, RYU controller want to assign the flow rules to raspi 2 to relay > the > > data from raspi 3 to gateway 1. So that raspi 3 can be connected to the > > I'm not sure this objective is achievable sorely with flows, but let's > go on. > > > gateway 1 through the route of raspi 3 - raspi 2 - gateway 1. But I > cannot > > assign the flow rules to raspi 2 when raspi 1 is failed. Is there any way > > to assign the flow rules to other node when the node is failure. Any > > suggestions are warmly welcomed. > > What errors do you get? > I assume the openflow controller on gateway1 controls raspi 1 and 2. > Isn't it a matter of just monitoring aliveness of raspis and sending > flowmods to raspi 2 when necessary? > > -- > IWAMOTO Toshihiro >
_______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel