Package ZenModel :: Module BasicDeviceLoader :: Class BasicDeviceLoader
[show private | hide private]
[frames | no frames]

Class BasicDeviceLoader

Known Subclasses:
cmdDeviceLoader

Load a machine
Method Summary
  getDevice(self, deviceName, devicePath, snmpCommunity, snmpPort, loginName, loginPassword)
get a device if devicePath is None try classifier
  getGroupPath(self)
override if you need to derive the group name from something else
  getLocationPath(self)
get the location path for an object
  getPerformanceMonitorName(self)
return the performance monitor name, default is localhost
  getStatusMonitorName(self)
return the status monitor name, default is localhost
  getSystemPath(self)
override if you need to derive the system name from something else
  loadDevice(self, deviceName, devicePath, systemPath, manufacturer, model, groupPath, locationPath, rack, statusMonitorName, perfMonitorName, snmpCommunity, snmpPort, loginName, loginPassword)
load a device into the database

Method Details

getDevice(self, deviceName, devicePath, snmpCommunity, snmpPort, loginName, loginPassword)

get a device if devicePath is None try classifier

getGroupPath(self)

override if you need to derive the group name from something else

getLocationPath(self)

get the location path for an object

getPerformanceMonitorName(self)

return the performance monitor name, default is localhost

getStatusMonitorName(self)

return the status monitor name, default is localhost

getSystemPath(self)

override if you need to derive the system name from something else

loadDevice(self, deviceName, devicePath='', systemPath='', manufacturer='', model='', groupPath='', locationPath='', rack='', statusMonitorName='localhost', perfMonitorName='localhost', snmpCommunity='', snmpPort=None, loginName='', loginPassword='')

load a device into the database

Generated by Epydoc 2.1 on Thu Aug 16 09:55:10 2007 http://epydoc.sf.net