neutron-lib/neutron_lib/tests
Lajos Katona f0a9959a7f Fix placement calls in placement client
Based on the placement api-ref fix the already implemented placement API
calls in the placement client of neutron-lib.

Fixed/changed parts:
- Add version header to create_resource_provider
- Change create_inventory to update_resource_provider_inventories, as
the http request is a PUT not a POST, and add exception to handle the
case when the rp is not found.
- Change update_inventory to update_resource_provider_inventory, to make
the method name in sync with placement API ref.
- Fix the failing unit tests, and cover the negative case for
update_resource_provider_inventories.

Change-Id: I336c57e734f91795038c5ba9074970d1f5522da2
Related-Bug: #1578989
2018-04-18 12:59:27 +02:00
..
etc Add Neutron context module and some policy methods 2016-07-30 09:35:01 -04:00
unit Fix placement calls in placement client 2018-04-18 12:59:27 +02:00
__init__.py Initial cookiecutter commit 2015-11-20 17:24:43 -07:00
_base.py Don't override oslo.db tweaks for connection pool in tests 2018-01-23 12:11:00 -08:00
_post_mortem_debug.py Move some common test and framework goo into neutron-lib 2016-01-29 23:45:49 -07:00
_tools.py Use flake8-import-order plugin 2017-07-05 00:53:13 -07:00