[ovs-discuss] How can i let the flow entries don't disppear after restart the ovs?

Ben Pfaff blp at nicira.com
Wed Nov 12 06:05:17 UTC 2014


On Tue, Nov 11, 2014 at 06:04:32PM -0800, Srini Seetharaman wrote:
> > It's hard for me to believe that ovs-testcontroller is too heavyweight
> > for any environment.
> 
> The ovs-testcontroller is, of course, not heavyweight. But in our
> scenario I am not able to rely on that. Since we want to avoid
> designate one particular node as a controller or a manager, I'm having
> all the OVS instances listen to ptcp:6634. Then I push rules to them
> either through ovs-ofctl or the test controller (from any external
> orchestration system or from another active node). On restart of any
> one OVS, the rules are not pushed. Even if I make it a periodic
> attempt to push rules, there will be some downtime, which I'd ideally
> like to avoid.

To me, the "obvious" solution is to have each node run its own
controller locally, that talks only to the vswitch on the same node.
Whenever the connection to the vswitch drops and then gets
re-established, it would refresh the flow table as necessary.



More information about the discuss mailing list