|
- __init__(self)
- The initialization of the common device.
@self The object instance
- addressList(self)
- Return the list of addresses of the Device object, type Address.AddressList
@self The object instance
- description(self)
- Return the description of the Device object
@self The object instance
- identifier(self)
- Return the identifier of the Device object
@self The object instance
- isEnabled(self)
- Return whether or not the Device object is enabled
@self The object instance
- name(self)
- Return the name of the Device object
@self The object instance
- readConfig(self, filename)
- Read the configuration data for the device from the given file
@self The object instance
@filename The file to read the configuration from
- readHardware(self)
- Read the active settings (and hardware specific details, like MAC addresses)
@self The object instance
- setAddressList(self, list)
- Set the AddressList of the Device object
@self The object instance
@list The new list of addresses in the object, type Address.AddressList
- setDescription(self, description)
- Set the description of the Device object
@self The object instance
@description The new description
- setEnabled(self, enabled)
- Set the enabled status of the Device object
@self The object instance
@enabled The new enabled status
- setIdentifier(self, identifier)
- Set the identifier of the Device object
@self The object instance
@identifier The new identifier
- setName(self, name)
- Set the name of the Device object
@self The object instance
@name The new name
- setType(self, type)
- Set the type of the Device object
@self The object instance
@type The new type
- toString(self)
- Return a string representation of the object
@self The object instance
- type(self)
- Return the type of the Device object
@self The object instance
- writeConfig(self, profile='default', mode=420)
- Write the configuration data for the device to the given file
@self The object instance
@filename The profile to apply the data to
@mode The permissons for the configuration file - default 0644
- writeHardware(self)
- Apply the current settings to the device
@self The object instance
|