[pve-devel] pve-manager: add bridge_vlan option to bridge in /etc/network/interface v2

Dietmar Maurer dietmar at proxmox.com
Mon Jan 6 09:13:20 CET 2014


> >>But that script calles 'ifdown ..'
> 
> Isn't it only for allow-ovs   interfaces ?
> 
> network_interfaces () {
>     [ -z "${RUNLEVEL}" ] && return
>     INTERFACES="/etc/network/interfaces"
>     [ -e "${INTERFACES}" ] || return
>     bridges=`awk '{ if ($1 == "allow-ovs") { print $2; } }' "${INTERFACES}"`
>     [ -n "${bridges}" ] && $1 --allow=ovs ${bridges} } stop () {
>     network_interfaces ifdown
>     ovs_ctl stop
> }

Oh - I guess I need to run further test.


More information about the pve-devel mailing list