On May 7, 2014 at 10:42:18 PM, Ji Li ([email protected]) wrote:
>  
> I can get some events of DELETED indicates the flowA and flowB are deleted
> by someone, does OpenvSwitch itself or the controller delete those flow?

OVS shouldn't be deleting the flows.  I suspect it's the controller.

> Actually I find the flows will also be totally deleted after the OVS bridge
> is disconnected from the controller.

That surprises me.  If by disconnected, you mean that the controller is still 
configured but not reachable, then you may be running into behavior based on 
the "fail_mode" described in ovs-vswitchd.conf.db.
 
> Those pre-configured rules are important for my setup, is there any way to
> keep these old flows after connecting to a controller?

I think you'll need to modify your controller application.
 
> Another problem is, after the bridge is connected to the OpenDaylight
> controller, if I add some rules from the OVS host but not remotely from the
> controller, the new flows won't be updated in the OpenDaylight control
> panel, But the flow is indeed added to the flow database. Is it any method
> to make the controller updates all the flows in the OVS database but not
> only the rules added from the controller?

OVS supports a flow monitoring extension that will inform the controller about 
flows that are added to it.  A similar mechanism based on OVS's extension was 
added to OpenFlow 1.4 (and an extension to OpenFlow 1.3).  You'd need to find 
out whether OpenDaylight support one of them.

--Justin



_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to