ironic.conductor.allocations module

ironic.conductor.allocations module

Functionality related to allocations.

ironic.conductor.allocations.do_allocate(context, allocation)[source]

Process the allocation.

This call runs in a separate thread on a conductor. It finds suitable nodes for the allocation and reserves one of them.

This call does not raise exceptions since it’s designed to work asynchronously.

Parameters:
  • context – an admin context
  • allocation – an allocation object
ironic.conductor.allocations.verify_node_for_deallocation(node, allocation)[source]

Verify that allocation can be removed for the node.

Parameters:
  • node – a node object
  • allocation – an allocation object associated with the node
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.