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

Class CiscoLoader

CmdBase --+            
          |            
  ZenDaemon --+        
              |        
       ZCmdBase --+    
                  |    
        BasicLoader --+
                      |
                     CiscoLoader


Load a machine
Method Summary
  __init__(self)
Handle command line options, get app instance, load caches and setup log file
  buildOptions(self)
basic options setup sub classes can add more options here
  loaderBody(self, line)
loader body override to customize what will load
  parseOptions(self)
Inherited from BasicLoader: loadDatabase, setfields
Inherited from ZCmdBase: closeAll, closedb, findDevice, getConnection, getContext, getDataRoot, getDmdObj, login, logout, opendb, syncdb, zeoConnect
Inherited from ZenDaemon: becomeDaemon, changeUser, setupLogging, sigTerm
Inherited from CmdBase: buildParser

Class Variable Summary
SRE_Pattern lineparser1 = ^(\w+)\s+OBJ.*Products (\d+) \}.*-- (.*)
SRE_Pattern lineparser2 = ^(\w+)\s+OBJ.*Products (\d+) \}.*
SRE_Pattern modelclean = cisco|atalyst
Inherited from ZenDaemon: pidfile
Inherited from CmdBase: doesLogging

Method Details

__init__(self)
(Constructor)

Handle command line options, get app instance, load caches and setup log file
Overrides:
Products.ZenUtils.BasicLoader.BasicLoader.__init__

buildOptions(self)

basic options setup sub classes can add more options here
Overrides:
Products.ZenUtils.BasicLoader.BasicLoader.buildOptions (inherited documentation)

loaderBody(self, line)

loader body override to customize what will load

Class Variable Details

lineparser1

Type:
SRE_Pattern
Value:
^(\w+)\s+OBJ.*Products (\d+) \}.*-- (.*)                               

lineparser2

Type:
SRE_Pattern
Value:
^(\w+)\s+OBJ.*Products (\d+) \}.*                                      

modelclean

Type:
SRE_Pattern
Value:
cisco|atalyst                                                          

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