The Allocation class inherits from Resource.
openstack.baremetal.v1.allocation.Allocation(_synchronized=False, connection=None, **attrs)¶The base resource
| Parameters: | 
  | 
|---|
candidate_nodes¶The candidate nodes for this allocation.
created_at¶Timestamp at which the allocation was created.
extra¶A set of one or more arbitrary metadata key and value pairs.
id¶The UUID for the allocation.
last_error¶The last error for the allocation.
links¶A list of relative links, including the self and bookmark links.
name¶The name of the allocation.
node_id¶UUID of the node this allocation belongs to.
resource_class¶The requested resource class.
state¶The state of the allocation.
traits¶The requested traits.
updated_at¶Timestamp at which the allocation was last updated.
wait(session, timeout=None, ignore_error=False)¶Wait for the allocation to become active.
| Parameters: | 
  | 
|---|---|
| Returns: | This   | 
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.