SAFplus Runtime Director API  3.0.5
amfclone Namespace Reference

Classes

class  NameMgr
 

Functions

def clone
 

Function Documentation

def amfclone.clone (   sgName,
  newName,
  index,
  numClones = 1,
  _nodeList = None,
  overrides = None 
)
Parameters
sgNameThe Service Group to clone
newNameThe root name for the new service group i.e. newName "foo", index 0 -> SG=fooSGi0 SU=fooSUi0
indexFor repetitive clones an index to create unique instances
numClonesHow many clones to make
_nodeListWhat nodes to clone onto.
overridesDictionary that lets you make some changes during the clone process.
Currently supports:
key: app name, value: command line to run the app