a4ac717a48
The ``openstack resource provider allocation unset`` command now supports ``--resource-class`` option, which accepts string of a resource class. This will remove allocations for the given resource class from all the providers. If ``--provider`` option is also specified, allocations to remove will be limited to the given resource class of the given resource provider. example1:: # remove VGPU allocation from provider P for this consumer. allocation unset <consumer_uuid> --provider P --resource-class VGPU example2:: # remove VGPU allocations from all providers for this consumer. allocation unset <consumer_uuid> --resource-class VGPU Change-Id: I91baf9de5205ec15023706a1646556850302d3d9 Story: #2006779 Task: #37304 |
||
---|---|---|
.. | ||
__init__.py | ||
base.py | ||
test_aggregate.py | ||
test_allocation.py | ||
test_allocation_candidate.py | ||
test_inventory.py | ||
test_plugin.py | ||
test_resource_class.py | ||
test_resource_provider.py | ||
test_trait.py | ||
test_usage.py |