Re: [Ryu-devel] Assigning Flow Rules to the specific Datapath ID during Failure of node
Brought to you by:
nz_gizmoguy
From: IWAMOTO T. <iw...@va...> - 2018-10-23 08:37:31
|
On Mon, 22 Oct 2018 14:08:47 +0900, Soe Ye Htet wrote: > > [1 <text/plain; UTF-8 (7bit)>] > Dear IWAMOTO, > > Exactly what i want to do. Monitoring aliveness of raspis and sending flow > to raspi2 when necessary. How can I send flowmod message to raspi2? > Normally I define switch feature handler and packet in handler to send flow > mod. Is there another way to send flowmod message when necessary by not > using packet-in message. Switch feature handler can only allow to send flow > mod message to the switch when switch is connected to the controller. In my Why cannot you do that? I think Datapaths can be stored in a global variable and can be used from those handlers. > case, I want to send flowmod message to the switch whenever i want. I use > to get this feature by using packet-in message in order to change routing > scenario. But the problem is controller is stopped due to memory error as > there are a lot of packet -in message. Is there anyway to send flowmod when > i want to send without packet-in message please let me see some of the > example if you have. I am so sorry for my simple question. > > Best regards, > Soe Ye Htet > Future Internet and Wireless Research Group > Chulalongkorn Thailand > > On Thu, Oct 18, 2018 at 1:56 PM IWAMOTO Toshihiro <iw...@va...> > 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 > > > [2 <text/html; UTF-8 (quoted-printable)>] |