updated ovs service to use fail mode secure

This commit is contained in:
Blake Harnden 2019-07-19 11:35:01 -07:00
parent 554f4a570d
commit 2cd0f381ea

View file

@ -38,7 +38,7 @@ class OvsService(SdnService):
cfg = "#!/bin/sh\n"
cfg += "# auto-generated by OvsService (OvsService.py)\n"
cfg += "/etc/init.d/openvswitch-switch start < /dev/null\n"
cfg += "ovs-vsctl add-br ovsbr0\n"
cfg += "ovs-vsctl add-br ovsbr0 -- set Bridge ovsbr0 fail-mode=secure\n"
cfg += "ifconfig ovsbr0 up\n"
for ifc in node.netifs():