Class v.c.o._.LinuxPlugin(UnixPlugin):

Part of vmc.common.oses View In Hierarchy

OSPlugin for Linux-based distros
Method __init__ Undocumented
Method check_dialer_assumptions Returns a message with whatever error happened configuring the dialer
Method check_permissions Undocumented
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 is_valid Returns True if we are on the given OS/Distro

Inherited from UnixPlugin:

Method get_timezone Returns the timezone of the OS

Inherited from OSPlugin (via UnixPlugin):

Method are_privileges_needed Sets self.privileges_needed to True if pppd is suid
Method get_tzinfo Returns a tzinfo instance relative to the timezone
Method initialize Undocumented
def __init__(self):
Undocumented
def check_dialer_assumptions(self):

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 met
def check_permissions(self):
Undocumented
def get_connection_args(self, dialer):

Returns 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.
def get_disconnection_args(self, dialer):
Returns the args necessary to stop wvdial
def get_iface_stats(self, iface='ppp0'):
Returns a list with bits recv, sent for iface
def is_valid(self, os_info=lsb_info):
Returns True if we are on the given OS/Distro
API Documentation for vodafone-mobile-connect-card-driver-for-linux, generated by pydoctor at 2008-01-10 13:06:31.