neutron-lib/releasenotes/notes/placement-resource-provider-functions-17ec45f714ea2b23.yaml
Rodolfo Alonso Hernandez 874cf4f550 Add new Resource Provider functions to placement client
Added list_resource_providers function, which allows to retrieve
a list of Resource Providers filtering by UUID or parent UUID.

Added get_resource_provider function, which allows to retrieve an
specific Resource Provider by its UUID.

This feature depends on Nova Nested Resource Providers.

Depends-On: I4db74e4dc682bc03df6ec94cd1c3a5f5dc927a7bi

Change-Id: I6eb42b9a53c8001c5f14d4d1c9a98e060148ae21
Partial-Bug: #1578989
Co-Authored-By: Slawek Kaplonski <slawek@kaplonski.pl>
2018-02-26 20:18:40 +01:00

14 lines
762 B
YAML

features:
- Added ``list_resource_providers`` function to the Placement API client, which
allows to retrieve a list of Resource Providers filtering by UUID or parent
UUID.
It requires at least version ``1.3`` of placement API for listing resource
providers that are members of any of the list of aggregates provided.
It requires at least version ``1.14`` of placement API for listing nested
resource providers.
- Added ``get_resource_provider`` function to the Placement API client, which
allows to retrieve an specific Resource Provider by its UUID.
- Added ``PlacementAPIVersionIncorrect`` exception class which can be raised
when requested placement API version is incorect and doesn't support
requested API feature.