Re: [ovs-discuss] Switch Flows gets deleted

2014-09-08 Thread Ben Pfaff
On Fri, Sep 05, 2014 at 02:17:57PM -0400, Krishna Pratap wrote: > Could it be the case that the switch expects a controller connection to be > present and that it waits for such a connection for a specific amount of > time. > If it does not get hold of an active connection, it may be going to the >

Re: [ovs-discuss] Switch Flows gets deleted

2014-09-05 Thread Krishna Pratap
Hi Ben, Could it be the case that the switch expects a controller connection to be present and that it waits for such a connection for a specific amount of time. If it does not get hold of an active connection, it may be going to the backoff state and deleting the flows that may have been configur

Re: [ovs-discuss] Switch Flows gets deleted

2014-09-04 Thread Ben Pfaff
Your output below makes it look likely that some controller is actually deleting the flows. This could be, for example, an "ovs-ofctl del-flows" running periodically. You could find out more by turning up the ovs-vswitchd log level with e.g. "ovs-appctl vlog/set vconn" then looking for OpenFlow f

Re: [ovs-discuss] Switch Flows gets deleted

2014-09-04 Thread Krishna Pratap
So here is the monitor output in two cases. 1) when the controller is not started at all and i push down flows. it gets deleted after few seconds of getting added. my flow is the one sending to controller and forwarding to next port in_port=2 actions=CONTROLLER:,output:1 root@ccpu:~/openv

Re: [ovs-discuss] Switch Flows gets deleted

2014-09-04 Thread Ben Pfaff
On Thu, Sep 04, 2014 at 11:49:19AM -0400, Krishna Pratap wrote: > 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 conn

Re: [ovs-discuss] Switch Flows gets deleted

2014-09-04 Thread Krishna Pratap
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

Re: [ovs-discuss] Switch Flows gets deleted

2014-09-04 Thread Ben Pfaff
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 > >

[ovs-discuss] Switch Flows gets deleted

2014-09-03 Thread Krishna Pratap
Hi all, 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)