neutron_tempest_plugin.api.admin package¶
Submodules¶
neutron_tempest_plugin.api.admin.test_agent_availability_zone module¶
- class neutron_tempest_plugin.api.admin.test_agent_availability_zone.AgentAvailabilityZoneTestCase(*args, **kwargs)¶
Bases:
BaseAdminNetworkTest
- test_agents_availability_zone()¶
Test idempotent id: 3ffa661e-cfcc-417d-8b63-1c5ec4a22e54
Test list agents availability_zone
Only L3 and DHCP agent support availability_zone, default availability_zone is “nova”.
neutron_tempest_plugin.api.admin.test_agent_management module¶
- class neutron_tempest_plugin.api.admin.test_agent_management.AgentManagementTestJSON(*args, **kwargs)¶
Bases:
BaseAdminNetworkTest
- test_delete_agent_negative()¶
Test idempotent id: b33af888-b6ac-4e68-a0ca-0444c2696cf9
- test_list_agent()¶
Test idempotent id: 9c80f04d-11f3-44a4-8738-ed2f879b0ff4
- test_list_agents_non_admin()¶
Test idempotent id: e335be47-b9a1-46fd-be30-0874c0b751e6
- test_show_agent()¶
Test idempotent id: 869bc8e8-0fda-4a30-9b71-f8a7cf58ca9f
- test_update_agent_description()¶
Test idempotent id: 68a94a14-1243-46e6-83bf-157627e31556
- test_update_agent_status()¶
Test idempotent id: 371dfc5b-55b9-4cb5-ac82-c40eadaac941
neutron_tempest_plugin.api.admin.test_default_security_group_rules module¶
- class neutron_tempest_plugin.api.admin.test_default_security_group_rules.DefaultSecurityGroupRuleTest(*args, **kwargs)¶
Bases:
BaseAdminNetworkTest
- test_create_duplicate_default_security_group_rule_different_templates()¶
Test idempotent id: 6c5a2f41-5899-47f4-9daf-4f8ddbbd3ad5
- test_create_same_default_security_group_rule_for_different_templates()¶
Test idempotent id: e4696607-1a13-48eb-8912-ee1e742d9471
- test_default_security_group_rule_lifecycle()¶
Test idempotent id: df98f969-ff2d-4597-9765-f5d4f81f775f
- test_legacy_default_sg_rules_created_by_default()¶
Test idempotent id: 2f3d3070-e9fa-4127-a33f-f1532fd89108
- test_security_group_rules_created_from_default_sg_rules_template()¶
Test idempotent id: 29feedb1-6f04-4a1f-a778-2fae2c7b7dc8
Test if default SG and custom new SG have got proper SG rules.
This test creates new project and checks if its default SG has SG rules matching default SG rules for that kind of SG. Next it creates new SG for the same project and checks if that SG also have proper SG rules based on the default SG rules template.
neutron_tempest_plugin.api.admin.test_extension_driver_port_security_admin module¶
- class neutron_tempest_plugin.api.admin.test_extension_driver_port_security_admin.PortSecurityAdminTests(*args, **kwargs)¶
Bases:
BaseAdminNetworkTest
Test idempotent id: d39a96e2-2dea-4feb-8093-e7ac991ce6f8
neutron_tempest_plugin.api.admin.test_external_network_extension module¶
- class neutron_tempest_plugin.api.admin.test_external_network_extension.ExternalNetworksRBACTestJSON(*args, **kwargs)¶
Bases:
BaseAdminNetworkTest
- test_delete_policies_while_tenant_attached_to_net()¶
Test idempotent id: d54decee-4203-4ced-91a2-ea42ca63e154
- test_external_conversion_on_one_policy_delete()¶
Test idempotent id: fb938b8e-d1d2-4bf8-823a-1b3c79c98a25
- test_external_conversion_on_policy_create()¶
Test idempotent id: a5539002-5bdb-48b5-b124-e9eedd5975e6
- test_external_conversion_on_policy_delete()¶
Test idempotent id: beddbe9d-304c-4577-8bbe-9b61d0a449b4
Test idempotent id: 046aff1a-3962-4e2b-9a3b-93a24f255fd0
- test_external_update_policy_from_wildcard_to_specific_tenant()¶
Test idempotent id: a5539002-5bdb-48b5-b124-abcd12347865
- test_policy_allows_tenant_to_allocate_floatingip()¶
Test idempotent id: 01364c50-bfb6-46c4-b44c-edc4564d61cf
- test_policy_allows_tenant_to_attach_ext_gw()¶
Test idempotent id: 476be1e0-f72e-47dc-9a14-4435926bbe82
- test_regular_client_blocked_from_creating_external_wild_policies()¶
Test idempotent id: eff9443a-2d04-48ee-840e-d955ac564bcd
Test idempotent id: afd8f1b7-a81e-4629-bca8-a367b3a144bb
- test_wildcard_policy_created_from_external_network_api()¶
Test idempotent id: a2e19f06-48a9-4e4c-b717-08cb2008707d
- test_wildcard_policy_delete_blocked_on_default_ext()¶
Test idempotent id: 7041cec7-d8fe-4c78-9b04-b51b2fd49dc9
neutron_tempest_plugin.api.admin.test_floating_ips_admin_actions module¶
- class neutron_tempest_plugin.api.admin.test_floating_ips_admin_actions.FloatingIPAdminTestJSON(*args, **kwargs)¶
Bases:
BaseAdminNetworkTest
- test_associate_floating_ip_with_port_from_another_project()¶
Test idempotent id: 11116ee9-4e99-5b15-b8e1-aa7df92ca589
- test_create_floatingip_with_specified_ip_address()¶
Test idempotent id: 332a8ae4-402e-4b98-bb6f-532e5a87b8e0
neutron_tempest_plugin.api.admin.test_l3_agent_scheduler module¶
- class neutron_tempest_plugin.api.admin.test_l3_agent_scheduler.L3AgentSchedulerTestJSON(*args, **kwargs)¶
Bases:
BaseAdminNetworkTest
- test_add_list_remove_router_on_l3_agent()¶
Test idempotent id: 9464e5e7-8625-49c3-8fd1-89c52be59d66
- test_list_routers_on_l3_agent()¶
Test idempotent id: b7ce6e89-e837-4ded-9b78-9ed3c9c6a45a
neutron_tempest_plugin.api.admin.test_logging module¶
- class neutron_tempest_plugin.api.admin.test_logging.LoggingTestJSON(*args, **kwargs)¶
Bases:
BaseAdminNetworkTest
- test_list_supported_logging_types()¶
Test idempotent id: 1af6cdab-0eb0-4e13-8027-d89cf1c7a87a
- test_log_deleted_with_corresponding_security_group()¶
Test idempotent id: 1ab4eb2a-76f5-45b9-816b-1aa497a71eea
- test_log_lifecycle()¶
Test idempotent id: 8d2e1ba5-455b-4519-a88e-e587002faba6
neutron_tempest_plugin.api.admin.test_logging_negative module¶
- class neutron_tempest_plugin.api.admin.test_logging_negative.LoggingNegativeTestJSON(*args, **kwargs)¶
Bases:
BaseAdminNetworkTest
- test_create_log_with_invalid_resource_type()¶
Test idempotent id: 5fc61e24-cad5-4d86-a2d4-f40c0fa0a54c
- test_create_log_with_nonexistent_port()¶
Test idempotent id: 7ed63170-0748-44b7-b0a0-64bfd9390dac
- test_create_log_with_nonexistent_sg()¶
Test idempotent id: 89194c6b-8f47-400b-979b-072b1c1f767b
neutron_tempest_plugin.api.admin.test_network_segment_range module¶
- class neutron_tempest_plugin.api.admin.test_network_segment_range.NetworkSegmentRangeTestBase(*args, **kwargs)¶
Bases:
BaseAdminNetworkTest
- class neutron_tempest_plugin.api.admin.test_network_segment_range.NetworkSegmentRangeTestJson(*args, **kwargs)¶
Bases:
NetworkSegmentRangeTestBase
Test Network Segment Range
Tests the following operations in the Neutron API using the REST client for Neutron:
List, Show, Create, Update, Delete Network Segment Range
- test_create_network_with_default_network_segment_range()¶
Test idempotent id: 2129a26b-a97b-43d6-b0b2-04253c6046f8
- test_create_network_with_tenant_specific_network_segment_range()¶
Test idempotent id: 0019de49-c0ea-4554-af57-18ad4ae30195
- test_create_update_delete_network_segment_range()¶
Test idempotent id: 44a1ece1-d85d-4253-92f8-4efc318a6d8e
- test_delete_network_segment_range_failed_with_segment_referenced()¶
Test idempotent id: 42959544-9956-4b0c-aec6-d56533323924
- test_list_network_segment_ranges()¶
Test idempotent id: 17139cc1-4826-4bf9-9c39-85b74894d938
- test_show_network_segment_range()¶
Test idempotent id: 54fa26c9-37b5-4df4-a934-a705f29920fc
- test_update_network_segment_range_failed_with_existing_range_impacted()¶
Test idempotent id: 5e118fef-a139-4886-8250-07e73d2cbe7a
neutron_tempest_plugin.api.admin.test_networks module¶
- class neutron_tempest_plugin.api.admin.test_networks.NetworksTestAdmin(*args, **kwargs)¶
Bases:
BaseAdminNetworkTest
- test_create_network_with_project()¶
Test idempotent id: d3c76044-d067-4cb0-ae47-8cdd875c7f67
- test_create_network_with_project_and_other_tenant()¶
Test idempotent id: 08b92179-669d-45ee-8233-ef6611190809
- test_create_network_with_project_and_tenant()¶
Test idempotent id: 8d21aaca-4364-4eb9-8b79-44b4fff6373b
- test_create_tenant_network_vxlan()¶
Test idempotent id: 571d0dde-0f84-11e7-b565-fa163e4fa634
neutron_tempest_plugin.api.admin.test_ports module¶
- class neutron_tempest_plugin.api.admin.test_ports.PortTestCasesAdmin(*args, **kwargs)¶
Bases:
BaseAdminNetworkTest
- test_port_create_with_trusted_attr_set()¶
Test idempotent id: 4d75cc60-99d0-4949-b3ce-5826b81aa0a9
- test_port_set_trusted_attr()¶
Test idempotent id: 26c15e2a-55b2-410f-8ed3-84db9406ff3f
- test_regenerate_mac_address()¶
Test idempotent id: dfe8cc79-18d9-4ae8-acef-3ec6bb719cc2
- test_update_mac_address()¶
Test idempotent id: dfe8cc79-18d9-4ae8-acef-3ec6bb719bb1
- class neutron_tempest_plugin.api.admin.test_ports.PortTestCasesResourceRequest(*args, **kwargs)¶
Bases:
BaseAdminNetworkTest
- test_port_resource_request()¶
Test idempotent id: ebb86dc4-716c-4558-8516-6dfc4a67601f
- test_port_resource_request_empty()¶
Test idempotent id: 0eeb6ffa-9a7a-40b5-83dd-dbdcd67e2e64
- test_port_resource_request_inherited_policy()¶
Test idempotent id: b6c34ae4-44c8-47f0-86de-7ef9866fa000
- test_port_resource_request_min_bw_and_min_pps()¶
Test idempotent id: 5ae93aa0-408a-11ec-bbca-17b1a60f3438
- test_port_resource_request_no_provider_net_conflict()¶
Test idempotent id: 7261391f-64cc-45a6-a1e3-435694c54bf5
neutron_tempest_plugin.api.admin.test_quotas module¶
- class neutron_tempest_plugin.api.admin.test_quotas.QuotasTest(*args, **kwargs)¶
Bases:
QuotasTestBase
Test the Neutron API of Quotas.
Tests the following operations in the Neutron API using the REST client for Neutron:
list quotas for tenants who have non-default quota values show quotas for a specified tenant show detail quotas for a specified tenant update quotas for a specified tenant reset quotas to default values for a specified tenant
v2.0 of the API is assumed. It is also assumed that the per-tenant quota extension API is configured in /etc/neutron/neutron.conf as follows:
quota_driver = neutron.db.driver.DbQuotaDriver
- test_detail_quotas()¶
Test idempotent id: e974b5ba-090a-452c-a578-f9710151d9fc
- test_quotas()¶
Test idempotent id: 2390f766-836d-40ef-9aeb-e810d78207fb
- test_quotas_force_false()¶
Test idempotent id: 43d01327-d8be-4773-a8f0-1d2e9664fda2
- class neutron_tempest_plugin.api.admin.test_quotas.QuotasTestBase(*args, **kwargs)¶
Bases:
BaseAdminNetworkTest
neutron_tempest_plugin.api.admin.test_quotas_negative module¶
- class neutron_tempest_plugin.api.admin.test_quotas_negative.QuotasAdminNegativeTestJSON(*args, **kwargs)¶
Bases:
QuotasTestBase
- test_create_floatingip_when_quotas_is_full()¶
Test idempotent id: d00fe5bb-9db8-4e1a-9c31-490f52897e6f
- test_create_network_when_quotas_is_full()¶
Test idempotent id: 952f9b24-9156-4bdc-90f3-682a3d4302f0
- test_create_port_when_quotas_is_full()¶
Test idempotent id: fe20d9f9-346c-4a20-bbfa-d9ca390f4dc6
- test_create_router_when_quotas_is_full()¶
Test idempotent id: bb1e9c3c-7e6f-41f1-b579-63dbc655ecb7
- test_create_security_group_rule_when_quotas_is_full()¶
Test idempotent id: b7143480-6118-4ed4-be38-1b6f15f30d05
- test_create_security_group_when_quotas_is_full()¶
Test idempotent id: 5c924ff7-b7a9-474f-92a3-dbe0f976ec13
- test_create_subnet_when_quotas_is_full()¶
Test idempotent id: 0b7f99e3-9f77-45ce-9a89-b39a184de618
- test_set_network_quota_lower_than_networks_amount()¶
Test idempotent id: 9f676a6e-d729-428b-adcd-4de2867c50e6
neutron_tempest_plugin.api.admin.test_routers_flavors module¶
- class neutron_tempest_plugin.api.admin.test_routers_flavors.RoutersFlavorTestCase(*args, **kwargs)¶
Bases:
BaseRouterTest
- test_badrequest_on_requesting_flags_and_flavor()¶
Test idempotent id: 83939cf7-5070-41bc-9a3e-cd9f22df2186
- test_create_router_with_flavor()¶
Test idempotent id: a4d01977-e968-4983-b4d9-824ea6c33f4b
- test_delete_router_flavor_in_use()¶
Test idempotent id: 30e73858-a0fc-409c-a2e0-e9cd2826f6a2
neutron_tempest_plugin.api.admin.test_routers_ha module¶
- class neutron_tempest_plugin.api.admin.test_routers_ha.RoutersTestHA(*args, **kwargs)¶
Bases:
BaseRouterTest
- test_delete_ha_router_keeps_ha_network_segment_data()¶
Test idempotent id: 0d8c0c8f-3809-4acc-a2c8-e0941333ff6c
Test deleting an HA router keeps correct segment data for network.
Each tenant with HA router has an HA network. The HA network is a normal tenant network with segmentation data like type (vxlan) and segmenation id. This test makes sure that after an HA router is deleted, those segmentation data are kept in HA network. This tests regression of https://bugs.launchpad.net/neutron/+bug/1732543.
- test_ha_router_creation()¶
Test idempotent id: 8abc177d-14f1-4018-9f01-589b299cbee1
Test HA router creation
Test uses administrative credentials to create a HA (High Availability) router using the ha=True.
Acceptance The router is created and the “ha” attribute is set to True
- test_legacy_router_creation()¶
Test idempotent id: 97b5f7ef-2192-4fa3-901e-979cd5c1097a
Test legacy router creation
Test uses administrative credentials to create a SF (Single Failure) router using the ha=False.
Acceptance The router is created and the “ha” attribute is set to False, thus making it a “Single Failure Router” as opposed to a “High Availability Router”
- test_legacy_router_update_to_ha()¶
Test idempotent id: 5a6bfe82-5b23-45a4-b027-5160997d4753
Test legacy to HA router update
Test uses administrative credentials to create a SF (Single Failure) router using the ha=False. Then it will “update” the router ha attribute to True
Acceptance The router is created and the “ha” attribute is set to False. Once the router is updated, the ha attribute will be set to True
neutron_tempest_plugin.api.admin.test_security_groups module¶
- class neutron_tempest_plugin.api.admin.test_security_groups.SecGroupAdminTest(*args, **kwargs)¶
Bases:
BaseNetworkTest
- test_security_group_recreated_on_port_update()¶
Test idempotent id: 44f1e1c4-af10-4aa0-972f-87c1c8fa25cc
neutron_tempest_plugin.api.admin.test_tag module¶
- class neutron_tempest_plugin.api.admin.test_tag.TagFilterFloatingIpTestJSON(*args, **kwargs)¶
Bases:
TagFilterTestJSON
- test_filter_floatingip_tags()¶
Test idempotent id: 01f00afc-dbec-432a-bfee-2a1f0510e7a8
- class neutron_tempest_plugin.api.admin.test_tag.TagFilterNetworkTestJSON(*args, **kwargs)¶
Bases:
TagFilterTestJSON
- test_filter_network_tags()¶
Test idempotent id: a66b5cca-7db2-40f5-a33d-8ac9f864e53e
- class neutron_tempest_plugin.api.admin.test_tag.TagFilterPortTestJSON(*args, **kwargs)¶
Bases:
TagFilterTestJSON
- test_filter_port_tags()¶
Test idempotent id: 09c036b8-c8d0-4bee-b776-7f4601512898
- class neutron_tempest_plugin.api.admin.test_tag.TagFilterQosPolicyTestJSON(*args, **kwargs)¶
Bases:
TagFilterTestJSON
- test_filter_qos_policy_tags()¶
Test idempotent id: c2f9a6ae-2529-4cb9-a44b-b16f8ba27832
- class neutron_tempest_plugin.api.admin.test_tag.TagFilterRouterTestJSON(*args, **kwargs)¶
Bases:
TagFilterTestJSON
- test_filter_router_tags()¶
Test idempotent id: cdd3f3ea-073d-4435-a6cb-826a4064193d
- class neutron_tempest_plugin.api.admin.test_tag.TagFilterSecGroupTestJSON(*args, **kwargs)¶
Bases:
TagFilterTestJSON
- test_filter_security_group_tags()¶
Test idempotent id: d4d1d681-0116-4800-9725-16cb88f8171a
- class neutron_tempest_plugin.api.admin.test_tag.TagFilterSubnetTestJSON(*args, **kwargs)¶
Bases:
TagFilterTestJSON
- test_filter_subnet_tags()¶
Test idempotent id: dd8f9ba7-bcf6-496f-bead-714bd3daac10
- class neutron_tempest_plugin.api.admin.test_tag.TagFilterSubnetpoolTestJSON(*args, **kwargs)¶
Bases:
TagFilterTestJSON
- test_filter_subnetpool_tags()¶
Test idempotent id: 16ae7ad2-55c2-4821-9195-bfd04ab245b7
- class neutron_tempest_plugin.api.admin.test_tag.TagFilterTestJSON(*args, **kwargs)¶
Bases:
BaseAdminNetworkTest
- class neutron_tempest_plugin.api.admin.test_tag.TagFilterTrunkTestJSON(*args, **kwargs)¶
Bases:
TagFilterTestJSON
- test_filter_trunk_tags()¶
Test idempotent id: 3fb3ca3a-8e3a-4565-ba73-16413d445e25
- class neutron_tempest_plugin.api.admin.test_tag.TagFloatingIpTestJSON(*args, **kwargs)¶
Bases:
TagTestJSON
- test_floatingip_tags()¶
Test idempotent id: 53f6c2bf-e272-4e9e-b9a9-b165eb7be807
- class neutron_tempest_plugin.api.admin.test_tag.TagNetworkTestJSON(*args, **kwargs)¶
Bases:
TagTestJSON
- test_network_tags()¶
Test idempotent id: 5621062d-fbfb-4437-9d69-138c78ea4188
- class neutron_tempest_plugin.api.admin.test_tag.TagPortTestJSON(*args, **kwargs)¶
Bases:
TagTestJSON
- test_port_tags()¶
Test idempotent id: c7c44f2c-edb0-4ebd-a386-d37cec155c34
- class neutron_tempest_plugin.api.admin.test_tag.TagQosPolicyTestJSON(*args, **kwargs)¶
Bases:
TagTestJSON
- test_qos_policy_tags()¶
Test idempotent id: e9bac15e-c8bc-4317-8295-4bf1d8d522b8
- class neutron_tempest_plugin.api.admin.test_tag.TagRouterTestJSON(*args, **kwargs)¶
Bases:
TagTestJSON
- test_router_tags()¶
Test idempotent id: b898ff92-dc33-4232-8ab9-2c6158c80d28
- class neutron_tempest_plugin.api.admin.test_tag.TagSecGroupTestJSON(*args, **kwargs)¶
Bases:
TagTestJSON
- test_security_group_tags()¶
Test idempotent id: 0f1a78eb-c5be-42cf-919d-2ce3621a51c2
- class neutron_tempest_plugin.api.admin.test_tag.TagSubnetPoolTestJSON(*args, **kwargs)¶
Bases:
TagTestJSON
- test_subnetpool_tags()¶
Test idempotent id: bdc1c24b-c0b5-4835-953c-8f67dc11edfe
- class neutron_tempest_plugin.api.admin.test_tag.TagSubnetTestJSON(*args, **kwargs)¶
Bases:
TagTestJSON
- test_subnet_tags()¶
Test idempotent id: 2805aabf-a94c-4e70-a0b2-9814f06beb03
- class neutron_tempest_plugin.api.admin.test_tag.TagTestJSON(*args, **kwargs)¶
Bases:
BaseAdminNetworkTest
- class neutron_tempest_plugin.api.admin.test_tag.TagTrunkTestJSON(*args, **kwargs)¶
Bases:
TagTestJSON
- test_trunk_tags()¶
Test idempotent id: 4c63708b-c4c3-407c-8101-7a9593882f5f
- class neutron_tempest_plugin.api.admin.test_tag.UpdateTagsTest(*args, **kwargs)¶
Bases:
BaseAdminNetworkTest
- test_update_tags_affects_only_updated_resource()¶
Test idempotent id: 74c56fb1-a3b1-4a62-a8d2-d04dca6bd4cd