Class v.c.p.OSPlugin(object):

Part of vmc.common.plugin View In Hierarchy

Known subclasses: vmc.common.oses.unix.UnixPlugin

Implements interfaces: twisted.plugin.IPlugin, vmc.common.interfaces.IOSPlugin

Base class from which all the OSPlugins should inherit from
Method __init__ Undocumented
Method are_privileges_needed Sets self.privileges_needed to True if pppd is suid
Method get_timezone Returns the timezone of the OS
Method get_tzinfo Returns a tzinfo instance relative to the timezone
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
Method initialize Undocumented
def __init__(self):
Undocumented
def are_privileges_needed(self):

Sets self.privileges_needed to True if pppd is suid

This should take into account SELinux stuff
def get_timezone(self):
Returns the timezone of the OS
Returns (type: str )
def get_tzinfo(self):
Returns a tzinfo instance relative to the timezone
Returns (type: datetime.tzinfo )
def get_iface_stats(self, iface):
Returns a list with bits recv, sent for iface
def is_valid(self, os_info=None):
Returns True if we are on the given OS/Distro
def initialize(self):
Undocumented
API Documentation for vodafone-mobile-connect-card-driver-for-linux, generated by pydoctor at 2008-01-10 13:06:31.