nova/nova/tests
Chris Dent 697c2d89ee [placement] Idempotent PUT /resource_classes/{name}
In a microversion 1.7 change PUT /resource_classes/{name} so that
creation and existence validation of a custom resource class can
happen in a single request and prevent the previous behavior of
being able to update a single resource class to a new name, which is
not desirable.

The previous update_resource_class is still in place to support
microversion 1.2-1.6.

The original resource-classs.yaml sets the default microversion
header to 'latest' so for those existing tests that are using the
old style of PUT, a '1.6' header has been added. New files for
version 1.6 (to add a "no 1.7 behavior here" test) and 1.7 (testing
the new PUT behavior and explicitly verifying POST to create is
still around) are added.

Change-Id: I95f62ab2cb1ab76d18fb52b93f87ed28e4e7b5f3
Implements: bp placement-put-resource-class
2017-04-20 15:51:37 +00:00
..
functional [placement] Idempotent PUT /resource_classes/{name} 2017-04-20 15:51:37 +00:00
live_migration/hooks Fix libvirt group selection in live migration test 2017-04-12 15:48:43 -07:00
unit Merge "Remove usage of parameter enforce_type" 2017-04-18 12:59:33 +00:00
__init__.py
fixtures.py Spelling error "paramenter" 2017-04-17 16:40:50 +08:00
uuidsentinel.py Remove redundant str typecasting 2016-09-23 12:53:34 +05:30