Part of vmc.common.interfaces View In Hierarchy
Known implementations: vmc.common.plugin.OSPlugin
Attribute | distrib_id | Name of the OS/Distro |
Attribute | distrib_version | Version of the OS/Distro |
Attribute | abstraction | Dict with the 'abstraction_name, value' pairs |
Attribute | customization | Dict with all the abstractions updates |
Method | check_dialer_assumptions | Returns a message with whatever error happened configuring the dialer |
Method | get_connection_args | Returns the args necessary to start wvdial |
Method | get_disconnection_args | Returns the args necessary to stop wvdial |
Method | get_iface_stats | Returns a list with bits recv, sent for iface
|
Method | get_timezone | Returns the timezone of the OS |
Method | get_tzinfo | Returns a tzinfo instance relative to the timezone
|
Method | is_valid | Returns True if we are on the given OS/Distro |
Inherited from IVMCPlugin:
Attribute | name | Plugin's name |
Attribute | version | Plugin's version |
Attribute | author | Plugin's author |
Method | initialize | Initializes the plugin |
Method | shutdown | Closes the plugin |
Returns a message with whatever error happened configuring the dialer
It returns a tuple of message, detail if something went wrong and returns None if every dialer assumption is metReturns the args necessary to start wvdial
Some distributions ship with a setuid pppd, others don't. Thus what we return here will mainly depend on each distribution.