OpenStackClient plugin for Placement service
Go to file
Chris Dent 206978486f Add support for 1.19 microversion
The 1.19 microversion of placement adds support for the
generation parameter when setting aggregates on a resource
provider. The value is an integer generation, available
when listing or showing resource providers.

If an earlier version is chosen, but a --generation arg
provided, an error is reported. Similarly, if not generation
is provided and the version is 1.19 or later, an error
is reported.

The new TestAggregate119 inherits from TestAggregate to
repeat the general validation it does, overrides those
methods which require a generation when using version
1.19, and adds two failure tests. One test in the super
class is adjusted so that it works as desired in both
classes and in both versions of Python (Python3 has
different behavor of a *args before kw args). I considered
changing the signature of base.resource_provider_aggregate_set
but that would have meant changes is several places.

Change-Id: I74157998dd19d8a8d2b68d12ed3726aac11eb013
2019-03-06 18:23:03 +00:00
doc/source Merge "Resource provider examples" 2018-08-29 14:26:42 +00:00
osc_placement Add support for 1.19 microversion 2019-03-06 18:23:03 +00:00
playbooks/legacy Update tox and tests to work with modern setups 2019-03-01 04:12:18 +00:00
releasenotes Add support for 1.19 microversion 2019-03-06 18:23:03 +00:00
.coveragerc Initial commit 2017-03-22 11:58:28 +02:00
.gitignore Initial commit 2017-03-22 11:58:28 +02:00
.gitreview Initial commit 2017-03-22 11:58:28 +02: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 add python 3.7 unit test job 2019-02-15 15:02:54 -05:00
CONTRIBUTING.rst Initial commit 2017-03-22 11:58:28 +02: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 Add image link in README.rst 2018-07-30 12:18:01 +00:00
babel.cfg Initial commit 2017-03-22 11:58:28 +02:00
requirements.txt Update tox and tests to work with modern setups 2019-03-01 04:12:18 +00:00
setup.cfg Update author-email in setup.cfg 2018-12-04 04:30:36 +00:00
setup.py Initial commit 2017-03-22 11:58:28 +02:00
test-requirements.txt Update tox and tests to work with modern setups 2019-03-01 04:12:18 +00:00
tox.ini Update tox and tests to work with modern setups 2019-03-01 04:12:18 +00: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.