pymtt
 All Classes Namespaces Files Functions Variables Groups
Public Member Functions | Public Attributes | List of all members
Harasser.Harasser Class Reference
+ Inheritance diagram for Harasser.Harasser:
+ Collaboration diagram for Harasser.Harasser:

Public Member Functions

def __init__
 
def config
 Configures plugin outside of INI file. More...
 
def activate
 Activates plugin. More...
 
def deactivate
 Deactivates plugin. More...
 
def print_name
 
def print_options
 Prints current configuration of plugin. More...
 
def get_running_harassers
 Returns information about what harassers are currently running. More...
 
def parallel_execute
 This function is passed into multiprocessing as a target. More...
 
def start
 Harassment is started on the system. More...
 
def check
 A check to see if harassers are working properly. More...
 
def stop
 Calls the stop-scripts provided with harasser scripts to stop and clean up harassment. More...
 
def execute
 Configure the harasser plugin on whether to run and what to run. More...
 
- Public Member Functions inherited from HarasserMTTTool.HarasserMTTTool
def __init__
 
def print_name
 

Public Attributes

 activated
 
 execution_counter
 
 testDef
 
 running_harassers
 
 options
 

Detailed Description

Definition at line 28 of file Harasser.py.

Constructor & Destructor Documentation

def Harasser.Harasser.__init__ (   self)

Definition at line 29 of file Harasser.py.

Member Function Documentation

def Harasser.Harasser.activate (   self)

Activates plugin.

Definition at line 50 of file Harasser.py.

def Harasser.Harasser.check (   self,
  exec_ids,
  testDef 
)

A check to see if harassers are working properly.

Definition at line 132 of file Harasser.py.

+ Here is the call graph for this function:

def Harasser.Harasser.config (   self,
  cfg 
)

Configures plugin outside of INI file.

Definition at line 43 of file Harasser.py.

def Harasser.Harasser.deactivate (   self)

Deactivates plugin.

Definition at line 59 of file Harasser.py.

+ Here is the call graph for this function:

def Harasser.Harasser.execute (   self,
  log,
  keyvals,
  testDef 
)

Configure the harasser plugin on whether to run and what to run.

Definition at line 171 of file Harasser.py.

def Harasser.Harasser.get_running_harassers (   self)

Returns information about what harassers are currently running.

Definition at line 82 of file Harasser.py.

def Harasser.Harasser.parallel_execute (   self,
  cmds,
  cmdargs,
  testDef 
)

This function is passed into multiprocessing as a target.

Definition at line 87 of file Harasser.py.

+ Here is the caller graph for this function:

def Harasser.Harasser.print_name (   self)

Definition at line 69 of file Harasser.py.

def Harasser.Harasser.print_options (   self,
  testDef,
  prefix 
)

Prints current configuration of plugin.

Definition at line 74 of file Harasser.py.

def Harasser.Harasser.start (   self,
  testDef 
)

Harassment is started on the system.

Definition at line 92 of file Harasser.py.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

def Harasser.Harasser.stop (   self,
  exec_ids,
  testDef 
)

Calls the stop-scripts provided with harasser scripts to stop and clean up harassment.

Definition at line 145 of file Harasser.py.

+ Here is the caller graph for this function:

Member Data Documentation

Harasser.Harasser.activated

Definition at line 31 of file Harasser.py.

Harasser.Harasser.execution_counter

Definition at line 32 of file Harasser.py.

Harasser.Harasser.options

Definition at line 35 of file Harasser.py.

Harasser.Harasser.running_harassers

Definition at line 34 of file Harasser.py.

Harasser.Harasser.testDef

Definition at line 33 of file Harasser.py.


The documentation for this class was generated from the following file: