nova/nova/tests/unit/cmd
Eric Fried 987d451f4d Use ksa adapter for placement conf & requests
Switch usage of the placement API over to using the new
nova.utils.get_ksa_adapter method.  Now REST calls with the placement
API go through the resulting keystoneauth1 Adapter - which already
incorporates endpoint filtering - rather than a keystoneauth1 Session.

To make this fit, switch the placement conf over to using
nova.conf.utils.register_ksa_opts and get_ksa_adapter_opts.  In so
doing, deprecate os_interface and os_region_name in favor of the
imported Adapter opts valid_interfaces and region_name, respectively.

Change-Id: I69e9b30d96390a70198b12d74e7efa9bd61db217
Partial-Implements: bp use-ksa-adapter-for-endpoints
2017-10-28 01:52:21 +00:00
..
__init__.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
test_baseproxy.py console: introduce basic framework for security proxying 2017-09-28 16:39:22 +01:00
test_cmd_db_blocks.py Revert "Revert "Make n-net refuse to start unless using CellsV1"" 2016-11-28 14:02:35 -05:00
test_common.py trivial: Remove some single use function from utils 2017-08-22 16:10:02 +01:00
test_nova_api.py Fix wrong unit test about config option enabled_apis 2017-03-24 10:28:24 +08:00
test_policy_check.py Remove all discoverable policy rules 2017-04-26 15:31:37 +01:00
test_status.py Use ksa adapter for placement conf & requests 2017-10-28 01:52:21 +00:00