Package DataCollector :: Module ApplyDataMap :: Class ApplyDataMap
[hide private]
[frames] | no frames]

Class ApplyDataMap

source code

object --+
         |
        ApplyDataMap
Known Subclasses:
ApplyDataMapThread

Instance Methods [hide private]
 
__init__(self, datacollector=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
logChange(self, device, compname, eventClass, msg) source code
 
logEvent(self, device, component, eventClass, msg, severity)
Used to report a change to a device model.
source code
 
processClient(self, device, collectorClient)
Apply datamps to device.
source code
 
applyDataMap(self, device, datamap, relname='', compname='', modname='')
Apply a datamap passed as a list of dicts through XML-RPC.
source code
 
_applyDataMap(self, device, datamap)
Apply a datamap to a device.
source code
 
_updateRelationship(self, device, relmap)
Add/Update/Remote objects to the target relationship.
source code
 
_updateObject(self, obj, objmap)
Update an object using a objmap.
source code
 
_createRelObject(self, device, objmap, relname)
Create an object on a relationship using its objmap.
source code
 
stop(self) source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, datacollector=None)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)

logEvent(self, device, component, eventClass, msg, severity)

source code 
Used to report a change to a device model. Logs the given msg to log.info and creates an event.