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

Class NoHooksLU

source code


Simple LU which runs no hooks.

This LU is intended as a parent for other LogicalUnits which will run no hooks, in order to reduce duplicate code.

Instance Methods [hide private]
 
BuildHooksEnv(self)
Empty BuildHooksEnv for NoHooksLu.
source code

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

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

Class Variables [hide private]
  HPATH = None
  HTYPE = None

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 

Empty BuildHooksEnv for NoHooksLu.

This just raises an error.

Overrides: LogicalUnit.BuildHooksEnv