The switches would delete the traffic flows or any flow that i add on it if it is not connected to controller from the beginning or if I remove them later on after getting connected . if the switches have flows and try to connect to controller which is not started, they would eventually delete all the flows that were added on them after few seconds. same happens if i stop the controller separately and l see the flows getting deleted. the flows remain if the controller is active and connected.
Thanks KP On Thu, Sep 4, 2014 at 11:32 AM, Ben Pfaff <b...@nicira.com> wrote: > On Wed, Sep 03, 2014 at 01:54:21PM -0400, Krishna Pratap wrote: > > I am encountering a condition where the traffic flows gets deleted when > the > > switches are not connected to controller. > > while adding the flows, I make the idle_timeout=0,hard_timeout=0 > > > > and this is the flow on the switch > > > > root@ccpu:~# ovs-ofctl dump-flows Switch_S1 > > NXST_FLOW reply (xid=0x4): > > cookie=0x0, duration=5.397s, table=0, n_packets=0, n_bytes=0, > idle_age=5, > > in_port=2 actions=CONTROLLER:6666,output:1 > > Do you add and remove controllers during this time? > > > There is this old list which is related to my problem and someone has > > mentioned that it is not a bug that switch deletes the flows. it says > that > > after 5 secs of inactivity the switches deletes the flows by themselves. > > > > http://openvswitch.org/pipermail/discuss/2010-February/003770.html > > That message is talking about a different kind of flow, so it doesn't > apply to your situation. > -- Best Regards, Krishna Pratap Singh
_______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss