openstacksdk/openstack/tests/unit/cloud
Dmitry Tantsur 6dcb309e0f Consistent normalization of Machine objects in the cloud layer
Currently some functions call node._to_munch, some - _normalize_machine,
some both. When only _normalize_machine is used, the machine's fields
are not normalized to their server-side representation, breaking
the os_ironic ansible module expecting node['uuid'].

This change makes _normalize_machine call _to_munch to ensure that
normalization always happens. All cloud calls are changed to use
_normalize_machine and not _to_munch.

Change-Id: Ic431f1340c017a24eafe07832da6e6c579fb1921
(cherry picked from commit 5db3323be1)
2020-03-11 09:28:29 +00: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 Consistent normalization of Machine objects in the cloud layer 2020-03-11 09:28:29 +00: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 support for fields in baremetal get_* resources 2019-08-13 15:02:53 +02: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 Fix image create with tags 2019-09-17 16:01:59 +02: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 Retry large object manifest upload 2019-08-12 10:23:43 -04: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