openstacksdk/openstack/tests/unit/cloud
Monty Taylor 5534590861 Replace catalog-v3.json with keystoneauth fixture
As a first step to having a reusable fixture, replace our
use of catalog-v3.json with a fixture built on top of keystoneauth
token fixtures. Make a catalog containing all of the openstack
services.

There are a bunch of places where we just have some things
hardcoded that change with the auto-generation - like bare-metal
to baremetal. Those are whatever.

There are also places where the test code is requesting an admin
url but in the old catalog the admin and non-admin were
the same, so we were not catching that this was incorrect. Started
to fix this, but it got hairy and it's only a keystone v2 thing
which is on lifesupport. Make the admin and public urls the same
just for ease of landing this patch. We can go back in and make
them different and audit all the v2 keystone codepaths if anyone
decides to care about keystone v2.

There was a bunch of things hardcoded for block-storage which
break when we actually use proxies, which in turn breaks when
we try to properly use a better catalog fixture.

As a followup, we should stop forcing block_storage_api_version=2
because that's absurd, but this is a big enough patch as it is.

Also, volume quota calls were in the image file. Ooops.

Change-Id: I308cd159a5b71c94511f86c9d46bdbc589580c6d
2019-08-20 08:45:53 -04:00
..
__init__.py Merge tox, tests and other support files 2017-10-04 14:51:08 -05:00
test__utils.py Move object methods to object_store proxy 2019-03-08 18:32:08 +01:00
test_aggregate.py Use Resource layer for compute AZ and Aggregates 2019-06-03 13:44:41 +02:00
test_availability_zones.py Update all test base classes to use base.TestCase 2018-02-16 23:19:41 -06:00
test_baremetal_node.py Make PATCH a first class operation and support it for baremetal 2019-03-28 12:57:04 +01:00
test_baremetal_ports.py Switch bare metal NIC actions in OpenStackCloud to baremetal Proxy calls 2018-10-15 17:50:56 +02:00
test_caching.py Replace catalog-v3.json with keystoneauth fixture 2019-08-20 08:45:53 -04:00
test_cluster_templates.py Replace catalog-v3.json with keystoneauth fixture 2019-08-20 08:45:53 -04:00
test_clustering.py Move clustering additions from shade directories 2018-06-25 10:57:33 -05:00
test_coe_clusters.py Replace catalog-v3.json with keystoneauth fixture 2019-08-20 08:45:53 -04:00
test_coe_clusters_certificate.py Replace catalog-v3.json with keystoneauth fixture 2019-08-20 08:45:53 -04:00
test_create_server.py Update compute.server resource 2019-04-25 15:22:51 +02:00
test_create_volume_snapshot.py Replace catalog-v3.json with keystoneauth fixture 2019-08-20 08:45:53 -04:00
test_delete_server.py Update compute.server resource 2019-04-25 15:22:51 +02:00
test_delete_volume_snapshot.py Replace catalog-v3.json with keystoneauth fixture 2019-08-20 08:45:53 -04:00
test_domain_params.py Convert domain params tests to requests_mock 2018-06-25 19:27:34 +00:00
test_domains.py Replace catalog-v3.json with keystoneauth fixture 2019-08-20 08:45:53 -04:00
test_endpoints.py Replace catalog-v3.json with keystoneauth fixture 2019-08-20 08:45:53 -04:00
test_flavors.py Update all test base classes to use base.TestCase 2018-02-16 23:19:41 -06:00
test_floating_ip_common.py Split OpenStackCloud into reasonable pieces 2019-03-26 16:26:48 +01:00
test_floating_ip_neutron.py Merge "Update compute.server resource" 2019-05-09 18:30:02 +00:00
test_floating_ip_nova.py Make delete_unattached_floating_ips return a count 2018-10-30 16:06:34 +11:00
test_floating_ip_pool.py Fix H103 Apache license header check 2018-05-09 16:54:41 +00:00
test_fwaas.py Add "name" filter in "list" call when retrieving a single register 2019-04-25 13:45:57 +00:00
test_groups.py Replace catalog-v3.json with keystoneauth fixture 2019-08-20 08:45:53 -04:00
test_identity_roles.py Replace catalog-v3.json with keystoneauth fixture 2019-08-20 08:45:53 -04:00
test_image.py Replace catalog-v3.json with keystoneauth fixture 2019-08-20 08:45:53 -04:00
test_image_snapshot.py Use Resource layer for next compute methods 2019-06-07 08:48:31 +02:00
test_inventory.py Add support for all_tenants in OpenStackInventory 2019-04-30 21:47:15 -06:00
test_keypair.py Use Resource layer for compute KeyPairs 2019-06-14 15:03:20 +02:00
test_limits.py Update all test base classes to use base.TestCase 2018-02-16 23:19:41 -06:00
test_magnum_services.py Replace catalog-v3.json with keystoneauth fixture 2019-08-20 08:45:53 -04:00
test_meta.py Replace catalog-v3.json with keystoneauth fixture 2019-08-20 08:45:53 -04:00
test_network.py Adding dns_domain parameter into create_network 2019-05-17 14:30:50 +01:00
test_normalize.py Replace catalog-v3.json with keystoneauth fixture 2019-08-20 08:45:53 -04:00
test_object.py Add support for generating form-post signatures 2019-04-01 15:23:51 +00:00
test_operator.py Merge "Use Resource layer for the compute Hypervsors and Images" 2019-06-21 15:35:51 +00:00
test_operator_noauth.py Replace catalog-v3.json with keystoneauth fixture 2019-08-20 08:45:53 -04:00
test_port.py Filter ports in list_ports when batching is in effect 2018-10-30 09:35:30 -05:00
test_project.py Replace catalog-v3.json with keystoneauth fixture 2019-08-20 08:45:53 -04:00
test_qos_bandwidth_limit_rule.py Fix H103 Apache license header check 2018-05-09 16:54:41 +00:00
test_qos_dscp_marking_rule.py Fix H103 Apache license header check 2018-05-09 16:54:41 +00:00
test_qos_minimum_bandwidth_rule.py Fix H103 Apache license header check 2018-05-09 16:54:41 +00:00
test_qos_policy.py Fix H103 Apache license header check 2018-05-09 16:54:41 +00:00
test_qos_rule_type.py Fix H103 Apache license header check 2018-05-09 16:54:41 +00:00
test_quotas.py Replace catalog-v3.json with keystoneauth fixture 2019-08-20 08:45:53 -04:00
test_rebuild_server.py Update compute.server resource 2019-04-25 15:22:51 +02:00
test_recordset.py Switch cloud layer to use proxy for DNS 2019-06-18 09:29:35 +02:00
test_role_assignment.py Replace catalog-v3.json with keystoneauth fixture 2019-08-20 08:45:53 -04:00
test_router.py Support deleting all routes in update_router 2019-06-06 01:40:35 +10:00
test_security_groups.py force specify project_id during create Sg_rule may cause issue 2019-07-12 06:26:06 +00:00
test_server_console.py Use Resource layer for next compute methods 2019-06-07 08:48:31 +02:00
test_server_delete_metadata.py Update compute.server resource 2019-04-25 15:22:51 +02:00
test_server_group.py Use Resource layer for next compute methods 2019-06-07 08:48:31 +02:00
test_server_set_metadata.py Use Resource layer for next compute methods 2019-06-07 08:48:31 +02:00
test_services.py Replace catalog-v3.json with keystoneauth fixture 2019-08-20 08:45:53 -04:00
test_shade.py Rationalize endpoint_for and get_endpoint_from_catalog 2019-08-20 08:45:50 -04:00
test_shade_operator.py Update all test base classes to use base.TestCase 2018-02-16 23:19:41 -06:00
test_stack.py Move Orchestration methods into Proxy 2019-04-03 13:05:44 +02:00
test_subnet.py Adds prefixlen to the request body when creating subnets 2019-01-24 19:14:55 +00:00
test_update_server.py Update compute.server resource 2019-04-25 15:22:51 +02:00
test_usage.py Update all test base classes to use base.TestCase 2018-02-16 23:19:41 -06:00
test_users.py Replace catalog-v3.json with keystoneauth fixture 2019-08-20 08:45:53 -04:00
test_volume.py Replace catalog-v3.json with keystoneauth fixture 2019-08-20 08:45:53 -04:00
test_volume_access.py Replace catalog-v3.json with keystoneauth fixture 2019-08-20 08:45:53 -04:00
test_volume_backups.py Replace catalog-v3.json with keystoneauth fixture 2019-08-20 08:45:53 -04:00
test_zone.py Switch cloud layer to use proxy for DNS 2019-06-18 09:29:35 +02:00