Update nic.py

Exclude veth* interfaces created by minimesos
This commit is contained in:
hubertst 2016-11-30 11:07:27 +01:00 committed by GitHub
parent bf381794bd
commit e9731b1063

View file

@ -10,7 +10,7 @@ def parameters():
class Module(bumblebee.module.Module): class Module(bumblebee.module.Module):
def __init__(self, output, config, alias): def __init__(self, output, config, alias):
super(Module, self).__init__(output, config, alias) super(Module, self).__init__(output, config, alias)
self._exclude = ( "lo", "virbr", "docker", "vboxnet" ) self._exclude = ( "lo", "virbr", "docker", "vboxnet", "veth" )
self._state = "down" self._state = "down"
self._typecache = {} self._typecache = {}