OpenStackClient plugin for Placement service
Go to file
Tetsuro Nakamura a4ac717a48 Add "--resource-class" to allocation unset
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
2021-05-13 06:23:54 +00:00
doc remove unicode from code 2021-01-03 17:41:48 +08:00
osc_placement Add "--resource-class" to allocation unset 2021-05-13 06:23:54 +00:00
releasenotes Add "--resource-class" to allocation unset 2021-05-13 06:23:54 +00:00
.coveragerc Initial commit 2017-03-22 11:58:28 +02:00
.gitignore gitignore: Ignore .stestr directory 2019-09-24 17:27:09 +01:00
.gitreview OpenDev Migration Patch 2019-04-19 19:32:00 +00:00
.mailmap Initial commit 2017-03-22 11:58:28 +02:00
.stestr.conf Update tox and tests to work with modern setups 2019-03-01 04:12:18 +00:00
.zuul.yaml Merge "Add Python3 wallaby unit tests" 2021-03-26 09:07:10 +00:00
CONTRIBUTING.rst Update bugs link in contributing doc 2019-03-12 11:39:50 +00:00
HACKING.rst Initial commit 2017-03-22 11:58:28 +02:00
LICENSE Initial commit 2017-03-22 11:58:28 +02:00
MANIFEST.in Initial commit 2017-03-22 11:58:28 +02:00
README.rst Fixups for pdf docs 2019-09-24 17:26:39 +01:00
requirements.txt Add --aggregate option to 'resource provider inventory set' 2019-08-28 21:03:39 +00:00
setup.cfg Remove Babel 2020-08-05 15:57:58 +08:00
setup.py Cleanup py27 support 2020-04-13 11:28:10 +02:00
test-requirements.txt Fix hacking min version to 3.0.1 2020-05-12 20:21:33 -05:00
tox.ini tox: Trivial cleanup 2020-08-07 10:38:01 +01:00

README.rst

osc-placement

image

OpenStackClient plugin for the Placement service

This is an OpenStackClient plugin, that provides CLI for the Placement service. Python API binding is not implemented - Placement API consumers are encouraged to use the REST API directly, CLI is provided only for convenience of users.