Package Products :: Package ZenRRD :: Module zencommand :: Class Cmd
[hide private]
[frames] | no frames]

Class Cmd

source code

  twisted.spread.pb.Copyable --+
                               |
twisted.spread.pb.RemoteCopy --+
                               |
                              Cmd

Holds the config of every command to be run

Instance Methods [hide private]
 
__init__(self) source code
 
processCompleted(self, pr)
Return back the datasource with the ProcessRunner/SshRunner stored in the the 'result' attribute.
source code
 
getEventKey(self, point) source code
 
commandKey(self)
Provide a value that establishes the uniqueness of this command
source code
 
__str__(self) source code
Class Variables [hide private]
  device = ''
  command = None
  ds = ''
  useSsh = False
  cycleTime = None
  eventClass = None
  eventKey = None
  severity = 3
  lastStart = 0
  lastStop = 0
  result = None
  env = None