Package ganeti :: Module cmdlib :: Class LURenameCluster
[hide private]
[frames] | no frames]

Class LURenameCluster

source code


Rename the cluster.

Instance Methods [hide private]
 
BuildHooksEnv(self)
Build hooks env.
source code
 
CheckPrereq(self)
Verify that the passed name is a valid one.
source code
 
Exec(self, feedback_fn)
Rename the cluster.
source code

Inherited from LogicalUnit: CheckArguments, DeclareLocks, ExpandNames, HooksCallBack, __init__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  HPATH = "cluster-rename"
  HTYPE = "CLUSTER"
  _OP_PARAMS = [("name", _NoDefault, _TNonEmptyString)]
a list of opcode attributes, their defaults values they should get if not already defined, and types they must match

Inherited from LogicalUnit: REQ_BGL, ssh

Instance Variables [hide private]

Inherited from LogicalUnit: dry_run_result

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

BuildHooksEnv(self)

source code 

Build hooks env.

Overrides: LogicalUnit.BuildHooksEnv

CheckPrereq(self)

source code 

Verify that the passed name is a valid one.

Overrides: LogicalUnit.CheckPrereq

Exec(self, feedback_fn)

source code 

Rename the cluster.

Overrides: LogicalUnit.Exec