mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-28 04:42:14 +01:00
** This is a clean patch against Master ** Version bump to 2.0.1 Init scripts improved to start ovsdb-server & ovs-vswitchd before networking comes up. ovs-dbserver is now a hard dependency for ovs-vswitchd to keep them in sync & prevent a hanging boot process. LXC Guests now autostart correctly on reboots. MACVLAN interfaces work out of the box with LXC. To use VETH interfaces with LXC do *NOT* set 'lxc.network.link' in /var/lib/lxc/guest/config - the VETH must be added manually with: ovs-vsctl --may-exist add-br $BRIDGE ovs-vsctl --may-exist add-port $BRIDGE $PORT I removed ovs-controller as it's not needed to run openvswitch & is no longer part of the current git. ovs-monitor will be removed from a default installation in the next release as it is poorly maintained & nobody really uses it. I've tested openvswitch 2.0.1 & have it bridging VETH across NAT & bridging MACVLAN interfaces internally without any problems. Bonding should also work.
17 lines
544 B
Plaintext
17 lines
544 B
Plaintext
# Socket for bringing the server up
|
|
DB_SOCKET="/var/run/openvswitch/db.sock"
|
|
|
|
# Remote sockets are defined in the database by default
|
|
REMOTE_DB="db:Open_vSwitch,Open_vSwitch,manager_options"
|
|
|
|
# All certificates and keys are stored in the database (if any)
|
|
PRIVATE_KEY="db:Open_vSwitch,SSL,private_key"
|
|
CERTIFICATE="db:Open_vSwitch,SSL,certificate"
|
|
BOOTSTRAP_CA_CERT="db:Open_vSwitch,SSL,ca_cert"
|
|
|
|
# Alternative path for the database (default is /etc/openvswitch/conf.db)
|
|
# DATABASE="/etc/openvswitch/conf.db"
|
|
|
|
# Additional options
|
|
# OPTIONS=""
|