[pve-devel] pve-manager: add bridge_vlan option to	bridge	in	/etc/network/interface v2
    Alexandre DERUMIER 
    aderumier at odiso.com
       
    Mon Jan  6 09:01:17 CET 2014
    
    
  
>>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" <dietmar at proxmox.com> 
À: "Alexandre DERUMIER" <aderumier at odiso.com> 
Cc: pve-devel at pve.proxmox.com 
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. 
    
    
More information about the pve-devel
mailing list