>>We call openvswitch-switch after network is stopped.
>>
>>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
}
----- Mail original -----
De: "Dietmar Maurer" <[email protected]>
À: "Alexandre DERUMIER" <[email protected]>
Cc: [email protected]
Envoyé: Vendredi 3 Janvier 2014 15:37:03
Objet: RE: [pve-devel] pve-manager: add bridge_vlan option to bridge in
/etc/network/interface v2
> >>BTW, I still have problem with OVS when I shutdown my host (error about
> non-existing database).
>
> >>>Ok, I'll check that today
>
> I can't reproduce here.
We call openvswitch-switch after network is stopped.
But that script calles 'ifdown ..'
I guess we can safely remove the ifup/ifdown code there.
_______________________________________________
pve-devel mailing list
[email protected]
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel