
Add a method to return the current resource usage for a specific resource provider. Given a specific rp_uuid return the resource providers current generation as well as its assoicated resource class usage at that time. Example output below: (Pdb) self.resource_providers_client.list_resource_provider_usages('90234521-0f4f-4777-98d8-731db8e61a0d') {'resource_provider_generation': 52, 'usages': {'VGPU': 1}} More details of the api can be referenced here [1] [1] https://docs.openstack.org/api-ref/placement/#resource-provider-usages Change-Id: I13ca77f1cd8fbf74cd716b2d8eae772f5328a4d4
Team and repository tags
Tempest - The OpenStack Integration Test Suite
This is a set of integration tests to be run against a live OpenStack cluster. Tempest has batteries of tests for OpenStack API validation, scenarios, and other specific tests useful in validating an OpenStack deployment.
- Documentation: https://docs.openstack.org/tempest/latest/
- Features: https://specs.openstack.org/openstack/qa-specs/#tempest
- Bugs: https://bugs.launchpad.net/tempest/
- Release Notes: https://docs.openstack.org/releasenotes/tempest
Get in touch via email. Use [tempest] in your subject.
Description
Languages
Python
99.8%
Shell
0.2%