|
- HWaddressList(self)
- returns a list of internet addresses (both IPv4 and IPv6)
associated with this device, including aliases.
- HWenabled(self)
- returns 1 if a device is enabled (up), 0 otherwise.
- HWid(self)
- returns the ID associated with this device, usually a MAC address.
- HWsetId(self, newId)
- set the ID of this device. Returns 0 on failure; 1 on success.
- HWtype(self)
- return the type of device, i.e. "wireless", "ethernet", "loopback", etc.
- __init__(self)
- The initialization routine for an EthernetDevice object
@self The object instance
- addressList(self) from Device.Device
- description(self) from Device.Device
- gateWay(self)
- FIXME: Remove
- getBootProto(self)
- Return the currently configured boot protocol
@self The object instance
- getMACAddress(self)
- Return the currently configured MAC address
@self The object instance
- identifier(self) from Device.Device
- isEnabled(self) from Device.Device
- name(self) from Device.Device
- readConfig(self, filename)
- Read the configuration of this device
from the given file
@self The object instance
- readHardware(self)
- Read the active settings (and hardware specific details, like MAC addresses)
@self The object instance
- setAddressList(self, list) from Device.Device
- setBootProto(self, boot)
- Set the boot protocol for the EthernetDevice object
@self The object instance
@macaddress The new boot protocol
- setDescription(self, description) from Device.Device
- setEnabled(self, enabled) from Device.Device
- setGateway(self, gateway)
- FIXME: Remove
- setIdentifier(self, identifier) from Device.Device
- setMACAddress(self, macaddress)
- Set the MAC address for the EthernetDevice object
@self The object instance
@macaddress The new MAC address
- setName(self, name) from Device.Device
- setType(self, type) from Device.Device
- toString(self)
- Return the current configuration in string
form
- type(self) from Device.Device
- writeConfig(self, profile='default', mode=420) from Device.Device
- writeHardware(self)
- Apply the current configuration to the system
@self The object instance
|