SAFplus Runtime Director API
3.0.5
|
This class manages all ongoing upgrades in the cluster. More...
Public Member Functions | |
def | __init__ |
def | get |
Get the upgrade session for a service group. More... | |
def | add |
Start an upgrade session for a Service Group. More... | |
def | rem |
Remove a Service Group's upgrade session. More... | |
def | __iter__ |
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 | |
entities | |
Dictionary of all current upgrades indexed by service group name. More... | |
upSgList | |
List of all current upgrades. More... | |
changeFlag | |
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... | |
This class manages all ongoing upgrades in the cluster.
def upgrade.UpgradeMgr.__init__ | ( | self | ) |
def upgrade.UpgradeMgr.__iter__ | ( | self | ) |
def upgrade.UpgradeMgr.add | ( | self, | |
sg | |||
) |
Start an upgrade session for a Service Group.
sg | An object of type aspAmfEntity.AmfServiceGroup |
def upgrade.UpgradeMgr.get | ( | self, | |
sg, | |||
default = None |
|||
) |
Get the upgrade session for a service group.
sg | An object of type aspAmfEntity.AmfServiceGroup |
default | return this if the sg is unknown. |
def upgrade.UpgradeMgr.rem | ( | self, | |
sg | |||
) |
Remove a Service Group's upgrade session.
sg | An object of type aspAmfEntity.AmfServiceGroup |
upgrade.UpgradeMgr.changeFlag |
upgrade.UpgradeMgr.entities |
Dictionary of all current upgrades indexed by service group name.
upgrade.UpgradeMgr.upSgList |
List of all current upgrades.