Certification task: neutron checks
Add neutron test cases to certification task Co-Authored-By: Yaroslav Isakov <yisakov@mirantis.com> Co-Authored-By: Julia Varigina <jvarigina@mirantis.com> Change-Id: I713eb24b250927e6ad1f1fa13c93c6b2f4e48110
This commit is contained in:
parent
4b3fa606e2
commit
1212e0b745
245
certification/openstack/scenario/neutron.yaml
Normal file
245
certification/openstack/scenario/neutron.yaml
Normal file
@ -0,0 +1,245 @@
|
||||
NeutronNetworks.create_and_delete_networks:
|
||||
-
|
||||
args:
|
||||
network_create_args: {}
|
||||
context:
|
||||
{% call user_context(tenants_amount, users_amount, use_existing_users) %}
|
||||
quotas:
|
||||
neutron:
|
||||
network: -1
|
||||
{% endcall %}
|
||||
runner:
|
||||
{{ constant_runner() }}
|
||||
sla:
|
||||
{{ no_failures_sla() }}
|
||||
|
||||
NeutronNetworks.create_and_delete_ports:
|
||||
-
|
||||
args:
|
||||
network_create_args: {}
|
||||
port_create_args: {}
|
||||
ports_per_network: 1
|
||||
context:
|
||||
{% call user_context(tenants_amount, users_amount, use_existing_users) %}
|
||||
quotas:
|
||||
neutron:
|
||||
network: -1
|
||||
port: -1
|
||||
{% endcall %}
|
||||
runner:
|
||||
{{ constant_runner() }}
|
||||
sla:
|
||||
{{ no_failures_sla() }}
|
||||
|
||||
NeutronNetworks.create_and_delete_routers:
|
||||
-
|
||||
args:
|
||||
network_create_args: {}
|
||||
router_create_args: {}
|
||||
subnet_cidr_start: "1.1.0.0/30"
|
||||
subnet_create_args: {}
|
||||
subnets_per_network: 1
|
||||
context:
|
||||
{% call user_context(tenants_amount, users_amount, use_existing_users) %}
|
||||
quotas:
|
||||
neutron:
|
||||
network: -1
|
||||
subnet: -1
|
||||
port: -1
|
||||
router: -1
|
||||
{% endcall %}
|
||||
runner:
|
||||
{{ constant_runner() }}
|
||||
sla:
|
||||
{{ no_failures_sla() }}
|
||||
|
||||
NeutronNetworks.create_and_delete_subnets:
|
||||
-
|
||||
args:
|
||||
network_create_args: {}
|
||||
subnet_cidr_start: "1.1.0.0/30"
|
||||
subnet_create_args: {}
|
||||
subnets_per_network: 1
|
||||
context:
|
||||
{% call user_context(tenants_amount, users_amount, use_existing_users) %}
|
||||
quotas:
|
||||
neutron:
|
||||
network: -1
|
||||
subnet: -1
|
||||
{% endcall %}
|
||||
runner:
|
||||
{{ constant_runner() }}
|
||||
sla:
|
||||
{{ no_failures_sla() }}
|
||||
|
||||
NeutronNetworks.create_and_list_networks:
|
||||
-
|
||||
args:
|
||||
network_create_args: {}
|
||||
context:
|
||||
{% call user_context(tenants_amount, users_amount, use_existing_users) %}
|
||||
quotas:
|
||||
neutron:
|
||||
network: -1
|
||||
{% endcall %}
|
||||
runner:
|
||||
{{ constant_runner() }}
|
||||
sla:
|
||||
{{ no_failures_sla() }}
|
||||
|
||||
NeutronNetworks.create_and_list_ports:
|
||||
-
|
||||
args:
|
||||
network_create_args: {}
|
||||
port_create_args: {}
|
||||
ports_per_network: 1
|
||||
context:
|
||||
{% call user_context(tenants_amount, users_amount, use_existing_users) %}
|
||||
quotas:
|
||||
neutron:
|
||||
network: -1
|
||||
port: -1
|
||||
{% endcall %}
|
||||
runner:
|
||||
{{ constant_runner() }}
|
||||
sla:
|
||||
{{ no_failures_sla() }}
|
||||
|
||||
NeutronNetworks.create_and_list_routers:
|
||||
-
|
||||
args:
|
||||
network_create_args: {}
|
||||
router_create_args: {}
|
||||
subnet_cidr_start: "1.1.0.0/30"
|
||||
subnet_create_args: {}
|
||||
subnets_per_network: 1
|
||||
context:
|
||||
{% call user_context(tenants_amount, users_amount, use_existing_users) %}
|
||||
quotas:
|
||||
neutron:
|
||||
network: -1
|
||||
subnet: -1
|
||||
router: -1
|
||||
{% endcall %}
|
||||
runner:
|
||||
{{ constant_runner() }}
|
||||
sla:
|
||||
{{ no_failures_sla() }}
|
||||
|
||||
NeutronNetworks.create_and_list_subnets:
|
||||
-
|
||||
args:
|
||||
network_create_args: {}
|
||||
subnet_cidr_start: "1.1.0.0/30"
|
||||
subnet_create_args: {}
|
||||
subnets_per_network: 1
|
||||
context:
|
||||
{% call user_context(tenants_amount, users_amount, use_existing_users) %}
|
||||
quotas:
|
||||
neutron:
|
||||
network: -1
|
||||
subnet: -1
|
||||
{% endcall %}
|
||||
runner:
|
||||
{{ constant_runner() }}
|
||||
sla:
|
||||
{{ no_failures_sla() }}
|
||||
|
||||
NeutronNetworks.create_and_update_networks:
|
||||
-
|
||||
args:
|
||||
network_create_args: {}
|
||||
network_update_args:
|
||||
admin_state_up: false
|
||||
name: "_updated"
|
||||
context:
|
||||
{% call user_context(tenants_amount, users_amount, use_existing_users) %}
|
||||
quotas:
|
||||
neutron:
|
||||
network: -1
|
||||
{% endcall %}
|
||||
runner:
|
||||
{{ constant_runner() }}
|
||||
sla:
|
||||
{{ no_failures_sla() }}
|
||||
|
||||
NeutronNetworks.create_and_update_ports:
|
||||
-
|
||||
args:
|
||||
network_create_args: {}
|
||||
port_create_args: {}
|
||||
port_update_args:
|
||||
admin_state_up: false
|
||||
device_id: "dummy_id"
|
||||
device_owner: "dummy_owner"
|
||||
name: "_port_updated"
|
||||
ports_per_network: 1
|
||||
context:
|
||||
{% call user_context(tenants_amount, users_amount, use_existing_users) %}
|
||||
quotas:
|
||||
neutron:
|
||||
network: -1
|
||||
port: -1
|
||||
{% endcall %}
|
||||
runner:
|
||||
{{ constant_runner() }}
|
||||
sla:
|
||||
{{ no_failures_sla() }}
|
||||
|
||||
NeutronNetworks.create_and_update_routers:
|
||||
-
|
||||
args:
|
||||
network_create_args: {}
|
||||
router_create_args: {}
|
||||
router_update_args:
|
||||
admin_state_up: false
|
||||
name: "_router_updated"
|
||||
subnet_cidr_start: "1.1.0.0/30"
|
||||
subnet_create_args: {}
|
||||
subnets_per_network: 1
|
||||
context:
|
||||
{% call user_context(tenants_amount, users_amount, use_existing_users) %}
|
||||
quotas:
|
||||
neutron:
|
||||
network: -1
|
||||
subnet: -1
|
||||
port: -1
|
||||
router: -1
|
||||
{% endcall %}
|
||||
runner:
|
||||
{{ constant_runner() }}
|
||||
sla:
|
||||
{{ no_failures_sla() }}
|
||||
|
||||
NeutronNetworks.create_and_update_subnets:
|
||||
-
|
||||
args:
|
||||
network_create_args: {}
|
||||
subnet_cidr_start: "1.4.0.0/16"
|
||||
subnet_create_args: {}
|
||||
subnet_update_args:
|
||||
enable_dhcp: false
|
||||
name: "_subnet_updated"
|
||||
subnets_per_network: 1
|
||||
context:
|
||||
{% call user_context(tenants_amount, users_amount, use_existing_users) %}
|
||||
quotas:
|
||||
neutron:
|
||||
network: -1
|
||||
subnet: -1
|
||||
{% endcall %}
|
||||
runner:
|
||||
{{ constant_runner() }}
|
||||
sla:
|
||||
{{ no_failures_sla() }}
|
||||
|
||||
Quotas.neutron_update:
|
||||
-
|
||||
args:
|
||||
max_quota: 1024
|
||||
context:
|
||||
{{ user_context(tenants_amount, users_amount, use_existing_users) }}
|
||||
runner:
|
||||
{{ constant_runner() }}
|
||||
sla:
|
||||
{{ no_failures_sla() }}
|
@ -2,7 +2,7 @@
|
||||
{%- set image_name = image_name|default("^(cirros.*uec|TestVM)$") %}
|
||||
{%- set flavor_name = flavor_name|default("m1.tiny") %}
|
||||
{%- set use_existing_users = use_existing_users|default(false) %}
|
||||
{%- set service_list = service_list|default(["authentication", "cinder", "keystone", "nova", "glance"]) %}
|
||||
{%- set service_list = service_list|default(["authentication", "cinder", "keystone", "nova", "glance", "neutron"]) %}
|
||||
{%- set smoke = smoke|default(true) %}
|
||||
{%- set controllers_amount = controllers_amount|default(1) %}
|
||||
{%- if smoke %}
|
||||
@ -20,15 +20,23 @@
|
||||
{% if "authentication" in service_list %}
|
||||
{%- include "scenario/authentication.yaml"-%}
|
||||
{% endif %}
|
||||
|
||||
{% if "cinder" in service_list %}
|
||||
{%- include "scenario/cinder.yaml"-%}
|
||||
{% endif %}
|
||||
|
||||
{% if "keystone" in service_list %}
|
||||
{%- include "scenario/keystone.yaml"-%}
|
||||
{% endif %}
|
||||
|
||||
{% if "nova" in service_list %}
|
||||
{%- include "scenario/nova.yaml"-%}
|
||||
{% endif %}
|
||||
|
||||
{% if "glance" in service_list %}
|
||||
{%- include "scenario/glance.yaml"-%}
|
||||
{% endif %}
|
||||
|
||||
{% if "neutron" in service_list %}
|
||||
{%- include "scenario/neutron.yaml"-%}
|
||||
{% endif %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user