f0a9959a7f
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 |
||
---|---|---|
api-ref/source | ||
doc/source | ||
neutron_lib | ||
releasenotes | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.stestr.conf | ||
.testr.conf | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
README.rst | ||
babel.cfg | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
Team and repository tags
neutron-lib
Neutron shared routines and utilities
- Free software: Apache license
- Documentation: https://docs.openstack.org/neutron-lib/latest/
- Source: https://git.openstack.org/cgit/openstack/neutron-lib
- Bugs: https://bugs.launchpad.net/neutron
Features
- TODO