[ovs-discuss] Is of-ctl add-flow persistent across reboots ?

Ben Pfaff blp at ovn.org
Fri Feb 10 18:33:52 UTC 2017


OpenFlow switches generally consider flows to be "soft state".  The
controller is expected to install whatever flows are needed.  If you
need persistent flows, using a controller is the typical way.

On Fri, Feb 10, 2017 at 06:15:19PM +0100, Jannis Ohms wrote:
> 
> Ok 
> Are there any reasons Why this design was chosen?
> Are there other ways to persist a flow in OVS ?
> 
> Am 10.02.17 17:51 schrieb Guru Shetty  <guru at ovn.org>:
> > 
> > 
> > 
> > 
> > 
> > 
> > On 10 February 2017 at 04:43, Jannis Ohms <jannis.ohms2 at ostfalia.de> wrote:
> > 
> > > I am currently using a setup consisting of 2 bridges per switch.
> > > 
> > > Bridge 0 is configured to use an SDN controller
> > > 
> > > Bridge 1 uses a single flow which contains a single flow which uses the normal action to enable classic forwarding.
> > > 
> > > I added the flow using ovs-ofctl, the hard and idle timeouts are both 0 the fail-mode of the bridge is secure.
> > > The flow dose not persist across restarts.
> > > 
> > 
> > > Is this normal or is this a problem of my NOS ?
> > > 
> > 
> > 
> > This is normal.
> > 
> >  
> > 
> > > 
> > > greethings
> > > 
> > > Jannis
> > > 
> > > -- 
> > > Ostfalia University of Applied Sciences
> > > Research Group IP-based Communication Systems
> > > Salzdahlumer Straße 46/48
> > > 38302 Wolfenbüttel, Germany
> > > 
> > > Tel.: + 49 (0)5331 939 43320(tel:%2B%2049%20%280%295331%20939%2043320)
> > > Fax: + 49 (0)5331 939 43322(tel:%2B%2049%20%280%295331%20939%2043322)
> > > E-Mail: jannis.ohms2 at ostfalia.de
> > > Web: http://www.ostfalia.de/cms/de/e
> > > 
> > > _______________________________________________
> > > discuss mailing list
> > > discuss at openvswitch.org
> > > https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
> > > 
> > 
> > 
> > 
> >

> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss



More information about the discuss mailing list