Package ZenRelations :: Module ExportRM :: Class ExportRM
[hide private]
[frames] | no frames]

Class ExportRM

source code

Products.ZenUtils.ZCmdBase.ZCmdBase --+
                                      |
                                     ExportRM

Wrapper class around exportXml() to create XML exports of relations.

Instance Methods [hide private]
 
__init__(self)
Initializer that creates an output file, or if nothing is specified with the command-line option --outfile, sends to stdout.
source code
 
buildOptions(self)
Command-line options setup
source code
string
getVersion(self)
Gather our current version information
source code
string
getServerName(self)
Gather our Zenoss server name
source code
 
export(self, root=None)
Create XML header and then call exportXml() for all objects starting at root.
source code
Method Details [hide private]

getVersion(self)

source code 
Gather our current version information
Returns: string
Zenoss version information

getServerName(self)

source code 
Gather our Zenoss server name
Returns: string
Zenoss server name

export(self, root=None)

source code 
Create XML header and then call exportXml() for all objects starting at root.
Parameters:
  • root (object) - DMD object root