The Assimilation Project  based on Assimilation version 1.1.7.1474836767
cma.drawwithdot.FancyDictObj Class Reference
Inheritance diagram for cma.drawwithdot.FancyDictObj:
Collaboration diagram for cma.drawwithdot.FancyDictObj:

Public Member Functions

def __init__ (self, obj, kw=None, failreturn='')
 
- Public Member Functions inherited from cma.drawwithdot.DictObj
def __init__ (self, obj, kw=None, failreturn='')
 
def __contains__ (self, name)
 
def __getitem__ (self, name)
 

Static Public Member Functions

def osinfo (obj, name)
 
def proc_name (obj, _name)
 
def drone_attrs (obj, _name)
 
def service_attrs (obj, _name)
 
def monitor_attrs (obj, _name)
 
def nic_attrs (obj, _name)
 

Static Public Attributes

dictionary os_namemap
 

Additional Inherited Members

- Data Fields inherited from cma.drawwithdot.DictObj
 obj
 
 failreturn
 
 kw
 

Detailed Description

A fancy DictObj that knows how to get some aggregate data
for use as pseudo-attributes of the objects we know and love ;-)

Definition at line 183 of file drawwithdot.py.

Constructor & Destructor Documentation

def cma.drawwithdot.FancyDictObj.__init__ (   self,
  obj,
  kw = None,
  failreturn = '' 
)

Member Function Documentation

def cma.drawwithdot.FancyDictObj.drone_attrs (   obj,
  _name 
)
static

Definition at line 222 of file drawwithdot.py.

def cma.drawwithdot.FancyDictObj.monitor_attrs (   obj,
  _name 
)
static

Definition at line 255 of file drawwithdot.py.

def cma.drawwithdot.FancyDictObj.nic_attrs (   obj,
  _name 
)
static

Definition at line 264 of file drawwithdot.py.

def cma.drawwithdot.FancyDictObj.osinfo (   obj,
  name 
)
static
Provide aliases for various OS attributes for formatting
These will only work on a Drone node

Definition at line 196 of file drawwithdot.py.

def cma.drawwithdot.FancyDictObj.proc_name (   obj,
  _name 
)
static

Definition at line 211 of file drawwithdot.py.

def cma.drawwithdot.FancyDictObj.service_attrs (   obj,
  _name 
)
static

Definition at line 241 of file drawwithdot.py.

Field Documentation

dictionary cma.drawwithdot.FancyDictObj.os_namemap
static
Initial value:
1 = {
2  'description': 'Description',
3  'distro': 'Distributor ID',
4  'distributor': 'Distributor ID',
5  'release': 'Release',
6  'codename': 'Codename',
7  }

Definition at line 188 of file drawwithdot.py.

Referenced by cma.drawwithdot.FancyDictObj.__init__().


The documentation for this class was generated from the following file: