Files
jgilaber 5d4682dc9d Switch PlacementHelper to OpenStackSDK
Replace raw keystoneauth1 HTTP calls with the OpenStackSDK
placement proxy. This aligns PlacementHelper with the SDK-based
approach used elsewhere in Watcher.

Key changes:
- Use connection.placement.resource_provider_inventories()
  instead of raw GET requests
- Rename from_placement_api to from_openstacksdk to match
  the wrapper pattern in nova_helper
- Use BaseConnectionMixin to provide the sdk connection
- Remove unused osc parameter from PlacementHelper
- Add [placement] config group with keystoneauth options
- Deprecate [placement_client] options in favor of [placement]
- Update PlacementResourcesMixin to return real OpenStackSDK
  ResourceProviderInventory objects
- Rewrite tests to mock the SDK connection

Generated-By: claude-code (claude-opus-4.6)
Change-Id: I554e04693064e64f798e6f5bb99557ec8b5daa85
Signed-off-by: jgilaber <jgilaber@redhat.com>
2026-06-19 12:51:37 +02:00
..
2018-01-18 23:33:08 -08:00