SAFplus Runtime Director API  3.0.5
upgrade.UpgradeSuTracker Class Reference

This class reflects the state of the upgrade on a particular su/node. More...

Inheritance diagram for upgrade.UpgradeSuTracker:
Collaboration diagram for upgrade.UpgradeSuTracker:

Public Member Functions

def __init__
 
def node
 Helper function to get the node entity (in case it was refreshed by clusterinfo) More...
 
def su
 Helper function to get the service unit entity (in case it was refreshed by clusterinfo) More...
 
def __cmp__
 
def __hash__
 
def Log
 Private function to write out a log. More...
 
- Public Member Functions inherited from upgrade.ChangeTracker
def __init__
 Constructor. More...
 
def changed
 Indicate that state has changed. More...
 
def changeWait
 Wait for a state change. More...
 

Public Attributes

 nodeName
 
 name
 Name of this upgrade tracker (same as the name of the node it is tracking) More...
 
 suName
 Name of the service unit to be upgraded. More...
 
 newSuName
 
 log
 Logging entity. More...
 
 upStatus
 Status of the upgrade (string) More...
 
 upOp
 Current operation (string) More...
 
- Public Attributes inherited from upgrade.ChangeTracker
 parent
 Change tracker hierarchy (if you are changed, your parent is marked as changed as well) More...
 
 generation
 Every time a change occurs, generation is incremented. More...
 
 changeFlag
 Python threading Event Object that implements the fundamental thread blocking mechanism. More...
 

Detailed Description

This class reflects the state of the upgrade on a particular su/node.

Constructor & Destructor Documentation

def upgrade.UpgradeSuTracker.__init__ (   self,
  upsg,
  node,
  su 
)

Member Function Documentation

def upgrade.UpgradeSuTracker.__cmp__ (   self,
  other 
)
def upgrade.UpgradeSuTracker.__hash__ (   self)
def upgrade.UpgradeSuTracker.Log (   s,
  lvl = None 
)

Private function to write out a log.

def upgrade.UpgradeSuTracker.node (   self)

Helper function to get the node entity (in case it was refreshed by clusterinfo)

def upgrade.UpgradeSuTracker.su (   self)

Helper function to get the service unit entity (in case it was refreshed by clusterinfo)

Member Data Documentation

upgrade.UpgradeSuTracker.log

Logging entity.

upgrade.UpgradeSuTracker.name

Name of this upgrade tracker (same as the name of the node it is tracking)

upgrade.UpgradeSuTracker.newSuName
upgrade.UpgradeSuTracker.nodeName
upgrade.UpgradeSuTracker.suName

Name of the service unit to be upgraded.

upgrade.UpgradeSuTracker.upOp

Current operation (string)

upgrade.UpgradeSuTracker.upStatus

Status of the upgrade (string)