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

Module instance_migration

source code

Logical units dealing with instance migration an failover.

Classes [hide private]
  LUInstanceFailover
Failover an instance.
  LUInstanceMigrate
Migrate an instance.
  TLMigrateInstance
Tasklet class for instance migration.
Functions [hide private]
 
_ExpandNamesForMigration(lu)
Expands names for use with TLMigrateInstance.
source code
 
_DeclareLocksForMigration(lu, level)
Declares locks for TLMigrateInstance.
source code

Imports: logging, time, constants, errors, locking, iallocator, utils, LogicalUnit, Tasklet, ExpandInstanceUuidAndName, CheckIAllocatorOrNode, ExpandNodeUuidAndName, CheckDiskConsistency, ExpandCheckDisks, ShutdownInstanceDisks, AssembleInstanceDisks, BuildInstanceHookEnvByObject, CheckTargetNodeIPolicy, ReleaseLocks, CheckNodeNotDrained, CopyLockList, CheckNodeFreeMemory, CheckInstanceBridgesExist, ganeti


Function Details [hide private]

_ExpandNamesForMigration(lu)

source code 

Expands names for use with TLMigrateInstance.

Parameters:

_DeclareLocksForMigration(lu, level)

source code 

Declares locks for TLMigrateInstance.

Parameters: