Package ZenModel :: Module PerformanceConf
[hide private]
[frames] | no frames]

Module PerformanceConf

source code

Classes [hide private]
  PerformanceConf
Configuration for Performance servers
Functions [hide private]
string
urlsafe_b64encode(s)
Encode a string so that it's okay to be used in an URL
source code
string
performancePath(target)
Return the base directory where RRD performance files are kept.
source code
 
manage_addPerformanceConf(context, id, title=None, REQUEST=None)
Make a device class
source code
Variables [hide private]
  __doc__ = """PerformanceC...
  log = logging.getLogger('zen.PerformanceConf')
  PERF_ROOT = None
  addPerformanceConf = DTMLFile('dtml/addPerformanceConf', globa...
Function Details [hide private]

urlsafe_b64encode(s)

source code 
Encode a string so that it's okay to be used in an URL
Parameters:
  • s (string) - possibly unsafe string passed in by the user
Returns: string
sanitized, url-safe version of the string

performancePath(target)

source code 
Return the base directory where RRD performance files are kept.
Parameters:
  • target (string) - path to performance file
Returns: string
sanitized path to performance file

manage_addPerformanceConf(context, id, title=None, REQUEST=None)

source code 
Make a device class
Parameters:
  • context (Zope context object) - Where you are in the Zope acquisition path
  • id (string) - unique identifier
  • title (string) - user readable label (unused)
  • REQUEST (Zope REQUEST object) - Zope REQUEST object

Variables Details [hide private]

__doc__

Value:
"""PerformanceConf
The configuration object for Performance servers
"""

addPerformanceConf

Value:
DTMLFile('dtml/addPerformanceConf', globals())