nova/nova/scheduler/client
Matt Riedemann 674b70d8c7 Make get_provider_by_name public and remove safe_connect
This makes _get_provider_by_name public to expose access for
callers outside of SchedulerReportClient. The @safe_connect
decorator is removed and the get() is wrapped in a try/except
to handle KSA ClientException errors and raise
PlacementAPIConnectFailure.

The two existing calls for adding/removing providers to/from
aggregates are updated to use the public method so they don't
need to individually do the safe_connect handling.

Change-Id: I504c374d3863a2a956d5c0156a43be2d2a2bc712
2019-06-11 23:33:21 +00:00
..
__init__.py Rip out the SchedulerClient 2019-01-16 18:35:26 +00:00
query.py Modify select_destinations() to return objects and alts 2017-12-07 15:01:13 +00:00
report.py Make get_provider_by_name public and remove safe_connect 2019-06-11 23:33:21 +00:00