Logo Search packages:      
Sourcecode: wicd version File versions

def wicd::wnettools::Interface::__init__ (   self,
  iface,
  verbose = False 
) [inherited]

Initialise the object.

Keyword arguments:
iface -- the name of the interface
verbose -- whether to print every command run

Reimplemented in wicd::wnettools::WiredInterface.

Definition at line 159 of file wnettools.py.

00159                                             :
        """ Initialise the object.

        Keyword arguments:
        iface -- the name of the interface
        verbose -- whether to print every command run

        """
        self.iface = _sanitize_string(iface)
        self.verbose = verbose
        self.DHCP_CLIENT = None
        self.DHCP_CMD = None
        self.DHCP_RELEASE = None
        self.MIITOOL_FOUND = False
        self.ETHTOOL_FOUND = False
        self.IP_FOUND = False
        self.flush_tool = None
        self.link_detect = None
        self.Check()
        
    def SetDebugMode(self, value):


Generated by  Doxygen 1.6.0   Back to index