|
__init__(self,
id,
title=None,
buildRelations=True) |
source code
|
|
|
install(self,
app)
Stop daemons, load any loaders, create zProperties, migrate and
start daemons |
source code
|
|
|
upgrade(self,
app)
This is essentially an install() call except that a different
method is called on the loaders. |
source code
|
|
|
remove(self,
app,
leaveObjects=False)
This prepares the ZenPack for removal but does not actually remove
the instance from ZenPackManager.packs This is sometimes called
during the course of an upgrade where the loaders' unload methods
need to be run. |
source code
|
|
|
|
list of objects
|
|
|
|
|
|
|
|
|
getCatalogedObjects(self)
Return a list of objects from the ZenPackPersistence catalog for
this zenpack. |
source code
|
|
|
zmanage_editProperties(self,
REQUEST,
redirect=False)
Edit a ZenPack object |
source code
|
|
|
manage_deletePackable(self,
packables=(),
REQUEST=None)
Delete objects from this ZenPack |
source code
|
|
|
manage_uploadPack(self,
znetProject,
description,
REQUEST=None)
Create a new release of the given project. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
getFilenames(self)
Get the filenames of a ZenPack exclude .svn, .pyc and .xml
files |
source code
|
|
|
getDaemonNames(self)
Return a list of daemons in the daemon subdirectory that should be
stopped/started before/after an install or an upgrade of the
zenpack. |
source code
|
|
|
|
|
|
|
|
|
|
|
isDevelopment(self)
Return True if 1) the pack is an old-style ZenPack (not a Python
egg) or 2) the pack is a Python egg and is a source install (includes
a setup.py file) |
source code
|
|
|
isEggPack(self)
Return True if this is a new-style (egg) zenpack, false
otherwise |
source code
|
|
|
moduleName(self)
Return the importable dotted module name for this zenpack. |
source code
|
|
|
writeSetupValues(self)
Write appropriate values to the setup.py file |
source code
|
|
|
buildEggInfo(self)
Rebuild the egg info to update dependencies, etc |
source code
|
|
|
getDistribution(self)
Return the distribution that provides this zenpack |
source code
|
|
|
getEntryPoint(self)
Return a tuple of (packName, packEntry) that comes from the
distribution entry map for zenoss.zenopacks. |
source code
|
|
|
|
|
eggPath(self,
*parts)
Return the path to the egg supplying this zenpack |
source code
|
|
|
|
|
|
|
getPackageName(self)
Return the name of submodule of zenpacks that contains this
zenpack. |
source code
|
|
|
getEligibleDependencies(self)
Return a list of installed zenpacks that could be listed as
dependencies for this zenpack |
source code
|
|
|
isInZenPacksDir(self)
Return True if the egg is located in the ZenPacks directory, False
otherwise. |
source code
|
|
|
isBroken(self)
Make sure that the ZenPack can be instantiated and that it is
physically present on the filesystem. |
source code
|
|