Logo Search packages:      
Sourcecode: ganeti version File versions  Download package

def lib::cmdlib::LogicalUnit::Exec (   self,
  feedback_fn 
) [inherited]

Execute the LU.

This method should implement the actual work. It should raise
errors.OpExecError for failures that are somewhat dealt with in
code, or expected.

Reimplemented in lib::cmdlib::LUInitCluster, lib::cmdlib::LUDestroyCluster, lib::cmdlib::LUVerifyCluster, lib::cmdlib::LURenameCluster, lib::cmdlib::LUDiagnoseOS, lib::cmdlib::LURemoveNode, lib::cmdlib::LUQueryNodes, lib::cmdlib::LUQueryNodeVolumes, lib::cmdlib::LUAddNode, lib::cmdlib::LUMasterFailover, lib::cmdlib::LUQueryClusterInfo, lib::cmdlib::LUClusterCopyFile, lib::cmdlib::LUDumpClusterConfig, lib::cmdlib::LURunClusterCommand, lib::cmdlib::LUActivateInstanceDisks, lib::cmdlib::LUDeactivateInstanceDisks, lib::cmdlib::LUStartupInstance, lib::cmdlib::LURebootInstance, lib::cmdlib::LUShutdownInstance, lib::cmdlib::LUReinstallInstance, lib::cmdlib::LURenameInstance, lib::cmdlib::LURemoveInstance, lib::cmdlib::LUQueryInstances, lib::cmdlib::LUFailoverInstance, lib::cmdlib::LUCreateInstance, lib::cmdlib::LUConnectConsole, lib::cmdlib::LUAddMDDRBDComponent, lib::cmdlib::LURemoveMDDRBDComponent, lib::cmdlib::LUReplaceDisks, lib::cmdlib::LUQueryInstanceData, lib::cmdlib::LUSetInstanceParms, lib::cmdlib::LUQueryExports, lib::cmdlib::LUExportInstance, lib::cmdlib::LUGetTags, lib::cmdlib::LUSearchTags, lib::cmdlib::LUAddTags, and lib::cmdlib::LUDelTags.

Definition at line 110 of file cmdlib.py.

00110                              :
    """Execute the LU.

    This method should implement the actual work. It should raise
    errors.OpExecError for failures that are somewhat dealt with in
    code, or expected.

    """
    raise NotImplementedError

  def BuildHooksEnv(self):


Generated by  Doxygen 1.6.0   Back to index