Debian Codegraph @

releasenotes/notes/change_placement_client_method_names_b26bb71425f42db3.yaml

raw
1 ---
2 prelude: >
3 Change create_inventory in placement client to
4 update_resource_provider_inventories and update_inventory to
5 update_resource_provider_inventory
6 issues:
7 - Placement API has no POST method for creating resource provider inventories
8 but instead has PUT to update the inventories of a resource provider.
9 - Placement API has method to update the inventory for a given
10 resource_provider.
11 fixes:
12 - Change the method name create_inventory in clients/placement.py to
13 update_resource_provider_inventories as that represents what is on the
14 placement side.
15 - Change the POST call to /resource_providers/{uuid}/inventories to
16 PUT.
17 - Change the method name update_inventory in clients/placement.py to
18 update_resource_provider_inventory as that represents that the method
19 updates the inventory of a resource_provider.