| Trees | Index | Help |
|
|---|
| Package Products :: Package ZenUtils :: Module ZenScriptBase :: Class ZenScriptBase |
|
CmdBase --+
|
ZenScriptBase
Migration,
TestRunner,
zendmd,
ZenPackCmd| Method Summary | |
|---|---|
__init__(self,
noopts,
app,
connect)
| |
basic options setup sub classes can add more options here | |
Close all connections in both free an inuse pools. | |
closedb(self)
| |
connect(self)
| |
return a device based on its FQDN | |
Return a wrapped app connection from the connection pool. | |
getContext(self,
app)
| |
getDataRoot(self)
| |
return an object based on a path starting from the dmd | |
Logs in. | |
Logs out. | |
opendb(self)
| |
syncdb(self)
| |
Inherited from CmdBase:
buildParser,
parseOptions,
setupLogging
| |
| Class Variable Summary | |
|---|---|
Inherited from CmdBase:
doesLogging
|
| Method Details |
|---|
buildOptions(self)basic options setup sub classes can add more options here |
closeAll(self)Close all connections in both free an inuse pools. |
findDevice(self, name)return a device based on its FQDN |
getConnection(self)Return a wrapped app connection from the connection pool. |
getDmdObj(self, path)return an object based on a path starting from the dmd |
login(self, name='admin', userfolder=None)Logs in. |
logout(self)Logs out. |
| Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Thu Aug 16 09:55:12 2007 | http://epydoc.sf.net |