@clsinit
class LinuxInterface(ResourceManager):
_rtype = "LinuxInterface"
+ _help = "Controls network devices on Linux hosts through the ifconfig tool"
+ _backend = "linux"
@classmethod
def _register_attributes(cls):
self.discover()
self.provision()
except:
- self._state = ResourceState.FAILED
+ self.fail()
raise
super(LinuxInterface, self).deploy()