The nova.compute.claims
Module¶
Claim objects for use with resource tracking.
-
class
Claim
(context, instance, tracker, resources, overhead=None, limits=None)¶ Bases:
nova.compute.claims.NopClaim
A declaration that a compute host operation will require free resources. Claims serve as marker objects that resources are being held until the update_available_resource audit process runs to do a full reconciliation of resource usage.
This information will be used to help keep the local compute hosts’s ComputeNode model in sync to aid the scheduler in making efficient / more correct decisions with respect to host selection.
-
abort
()¶ Compute operation requiring claimed resources has failed or been aborted.
-
disk_gb
¶
-
memory_mb
¶
-
numa_topology
¶
-
vcpus
¶
-
-
class
MoveClaim
(context, instance, instance_type, image_meta, tracker, resources, overhead=None, limits=None)¶ Bases:
nova.compute.claims.Claim
Claim used for holding resources for an incoming move operation.
Move can be either a migrate/resize, live-migrate or an evacuate operation.
-
abort
()¶ Compute operation requiring claimed resources has failed or been aborted.
-
create_migration_context
()¶
-
disk_gb
¶
-
memory_mb
¶
-
numa_topology
¶
-
vcpus
¶
-