fix Ovm network for bond device

This commit is contained in:
frank 2012-02-27 16:06:11 -08:00
parent 13ecccff66
commit 6070f22209
1 changed files with 4 additions and 3 deletions

7
ovm/scripts/vm/hypervisor/ovm/OvmNetworkModule.py Normal file → Executable file
View File

@ -8,9 +8,10 @@ logger = OvmLogger("OvmNetwork")
class Filter:
class Network:
IFNAME_LO = r'(lo)'
IFNAME_PIF = r'(eth\d+$)'
IFNAME_VLAN = r'(eth\d+.\d+$)'
IFNAME_BRIDGE = r'(xenbr\d+|vlan\d+)'
IFNAME_BRIDGE = r'(xenbr\d+|vlan\d+)'
IFNAME_PIF = r'(eth\d+$|bond\d+$)'
IFNAME_VLAN = r'(eth\d+.\d+$|bond\d+.\d+$)'
class Parser(object):
'''