neutron_lib.clients.placement.
PlacementAPIClient
(conf, openstack_api_version='placement 1.1')¶Bases: object
Client class for placement ReST API.
associate_aggregates
(*a, **k)¶Associate a list of aggregates with a resource provider.
Parameters: |
|
---|
create_inventory
(*a, **k)¶Create an inventory.
Parameters: |
|
---|
create_resource_provider
(*a, **k)¶Create a resource provider.
Parameters: | resource_provider – The resource provider. A dict with the name (required) and the uuid (required). |
---|
delete_resource_provider
(*a, **k)¶Delete a resource provider.
Parameters: | resource_provider_uuid – UUID of the resource provider. |
---|
get_inventory
(*a, **k)¶Get resource provider inventory.
Parameters: |
|
---|---|
Raises: | PlacementInventoryNotFound – For failure to find inventory for a resource provider. |
list_aggregates
(*a, **k)¶List resource provider aggregates.
Parameters: | resource_provider_uuid – UUID of the resource provider. |
---|---|
Raises: | PlacementAggregateNotFound – For failure to the aggregates of a resource provider. |
update_inventory
(*a, **k)¶Update an inventory.
Parameters: |
|
---|---|
Raises: | PlacementInventoryUpdateConflict – For failure to update inventory due to outdated resource_provider_generation. |
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.