[ovs-discuss] OVS & systemd-netctl : no way to find a proper and stable way to boot ovs

Benoît benoitne at gmail.com
Thu Dec 24 13:35:21 UTC 2015


Hi,

I am using openvswitch for years but I am experimenting issues with 
systemd-netcl to manage openvswitch bridges.
Sometimes my bridges are not up and I have tested a ton of configuration 
I am unable to find the reason.
Trying to get ovs starting in the right order I have added

nano /etc/systemd/system/multi-user.target.wants/ovs-vswitchd.service
After          = sys-subsystem-net-devices-pnic_wan.device
After          = sys-subsystem-net-devices-pnic_free.device
After          = sys-subsystem-net-devices-pnic_wlan.device

netctl example :
nano /etc/netctl/vswitch_wwan
Description='Virtual Switch'
Interface=vswitch_wwan
Connection=openvswitch
BindsToInterfaces=(pnic_wwan)
IP=static
Address='10.20.100.1/24'

It is better but I have still issue to fire up some bridges...
Solution is to manually ip link set bridge up but it is not ok for me as 
it is a server and needs to be independent...

Question : is there a proper way to use ovs with systemd-netctl?
Question : is there a best practice to start ovs at boot time and set 
the ip address and link up the bridges without systemd-netcl? Should I 
use a script for that?

Many thanks in advance,

belette
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20151224/4f59739f/attachment-0002.html>


More information about the discuss mailing list