#DEBUG = False
DEBUG = True
-__ALL__ = ('Error', 'ExecutionError', 'ItemError', 'ItemAlreadyExistsError',
+__all__ = ('Error', 'ExecutionError', 'ItemError', 'ItemAlreadyExistsError',
'ItemNotFoundError', 'ContainerError', 'ContainerNotFoundError',
'call', 'get_network_devices', 'Persistent', 'Restorable',
'ConfigWriter', 'ServiceHandler', 'RestartHandler',
self.name = name
self.mac = mac
self.ppp = ppp
+ self.active = True
self.addrs = dict()
self.routes = list()
def as_tuple(self):
- return (self.name, self.mac, self.addrs)
+ return (self.name, self.mac, self.active, self.addrs)