No subject


Fri Jun 29 21:31:54 UTC 2012


fail_mode: optional string, either secure or standalone
              When a controller is configured, it is, ordinarily,
 responsible
              for setting up all flows on the switch.  Thus, if the
connection
              to the controller fails, no new network connections can  be
 set
              up.  If the connection to the controller stays down long
enough,
              no packets can pass through the switch  at  all.   This
 setting
              determines the switch=E2=80=99s response to such a situation.=
  It may
be
              set to one of the following:

              standalone
                     If no message is received from the controller  for
 three
                     times   the   inactivity  probe  interval  (see
 inactiv=E2=80=90
                     ity_probe), then Open vSwitch will take over
responsibil=E2=80=90
                     ity  for  setting  up  flows.  In this mode, Open
vSwitch
                     causes the bridge to act like  an  ordinary
 MAC-learning
                     switch.   Open  vSwitch will continue to retry
connecting
                     to the controller in the background and, when the
connec=E2=80=90
                     tion  succeeds, it will discontinue its standalone
behav=E2=80=90
                     ior.

              secure Open vSwitch will not set up flows on its  own  when
 the
                     controller  connection  fails  or when no controllers
are
                     defined.  The bridge will continue to retry connecting
to
                     any defined controllers forever


On Sun, Jun 30, 2013 at 10:51 PM, Alexander Shalimov <ashalimov at arccn.ru>wr=
ote:

> Hi all,
>
> Two questions:
> 1. Even without a controller the default OVS acts like L2 learning switch=
.
> Is this correct? Or I've miss configured something that it processes
> unmatched packets.
> 2. How can I switch off the default OVSd activity? I would like just to
> use ovs-ofctl.
>
> Thanks and Regards,
> Alexander.
> ______________________________**_________________
> discuss mailing list
> discuss at openvswitch.org
> http://openvswitch.org/**mailman/listinfo/discuss<http://openvswitch.org/=
mailman/listinfo/discuss>
>

--089e0112d190db048f04e07a270d
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div>This is probably what you want to do:</div><div>ovs-vsctl add-br br2 -=
- set bridge br2 fail-mode=3D&quot;secure&quot;</div><div><br></div>From ov=
s-vswitchd.conf.db manpage for Bridge table&#39;s &quot;fail_mode&quot; col=
umn,<div>
<br></div><div><div>fail_mode: optional string, either secure or standalone=
</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 When a controll=
er is configured, it is, ordinarily, =C2=A0responsible</div><div>=C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 for setting up all flows on the swit=
ch. =C2=A0Thus, if the connection</div>
<div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 to the controller fai=
ls, no new network connections can =C2=A0be =C2=A0set</div><div>=C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 up. =C2=A0If the connection to the c=
ontroller stays down long enough,</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 no packets can pass through the switch =C2=A0at =C2=A0all=
. =C2=A0 This =C2=A0setting</div>
<div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 determines the switch=
=E2=80=99s response to such a situation. =C2=A0It may be</div><div>=C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 set to one of the following:</div=
><div><br></div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 stand=
alone</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0If no message is received from the controller =C2=A0for =
=C2=A0three</div>
<div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0times =C2=A0 the =C2=A0 inactivity =C2=A0probe =C2=A0interval =C2=A0(=
see =C2=A0inactiv=E2=80=90</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0ity_probe), then Open vSwitch will ta=
ke over responsibil=E2=80=90</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0ity =C2=A0for =C2=A0setting =C2=A0=
up =C2=A0flows. =C2=A0In this mode, Open vSwitch</div>
<div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0causes the bridge to act like =C2=A0an =C2=A0ordinary =C2=A0MAC-learn=
ing</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0switch. =C2=A0 Open =C2=A0vSwitch will continue to retry c=
onnecting</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0to the controller in the background and, when the conn=
ec=E2=80=90</div>
<div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0tion =C2=A0succeeds, it will discontinue its standalone behav=E2=80=
=90</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0ior.</div><div><br></div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 secure Open vSwitch will not set up flows on its =C2=
=A0own =C2=A0when =C2=A0the</div>
<div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0controller =C2=A0connection =C2=A0fails =C2=A0or when no controllers =
are</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0defined. =C2=A0The bridge will continue to retry connectin=
g to</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0any defined controllers forever</div>
<div><br><br><div class=3D"gmail_quote">On Sun, Jun 30, 2013 at 10:51 PM, A=
lexander Shalimov <span dir=3D"ltr">&lt;<a href=3D"mailto:ashalimov at arccn.r=
u" target=3D"_blank">ashalimov at arccn.ru</a>&gt;</span> wrote:<br><blockquot=
e class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc sol=
id;padding-left:1ex">
Hi all,<br>
<br>
Two questions:<br>
1. Even without a controller the default OVS acts like L2 learning switch. =
Is this correct? Or I&#39;ve miss configured something that it processes un=
matched packets.<br>
2. How can I switch off the default OVSd activity? I would like just to use=
 ovs-ofctl.<br>
<br>
Thanks and Regards,<br>
Alexander.<br>
______________________________<u></u>_________________<br>
discuss mailing list<br>
<a href=3D"mailto:discuss at openvswitch.org" target=3D"_blank">discuss at openvs=
witch.org</a><br>
<a href=3D"http://openvswitch.org/mailman/listinfo/discuss" target=3D"_blan=
k">http://openvswitch.org/<u></u>mailman/listinfo/discuss</a><br>
</blockquote></div><br></div></div>

--089e0112d190db048f04e07a270d--


More information about the discuss mailing list