8385042e7e
1) Add rally/plugins/openstack/context/neutron for neutron related contexts 2) Context to create LBaaS-v1 resources 3) Add check in network wrapper to verify if a Network extension is supported in the deployment. Change-Id: I7b4defe187c0631928d70bd09d7bcea956f4eed3
478 lines
10 KiB
YAML
478 lines
10 KiB
YAML
{% set image_name = "^cirros.*uec$" %}
|
|
{% set smoke = 1 %}
|
|
|
|
---
|
|
NeutronNetworks.create_and_list_networks:
|
|
-
|
|
args:
|
|
network_create_args:
|
|
runner:
|
|
type: "constant"
|
|
times: {{smoke or 40}}
|
|
concurrency: 20
|
|
context:
|
|
users:
|
|
tenants: 1
|
|
users_per_tenant: 1
|
|
quotas:
|
|
neutron:
|
|
network: -1
|
|
sla:
|
|
failure_rate:
|
|
max: 20
|
|
|
|
NeutronNetworks.create_and_list_subnets:
|
|
-
|
|
args:
|
|
network_create_args:
|
|
subnet_create_args:
|
|
subnet_cidr_start: "1.1.0.0/30"
|
|
subnets_per_network: 2
|
|
runner:
|
|
type: "constant"
|
|
times: {{smoke or 20 }}
|
|
concurrency: 10
|
|
context:
|
|
users:
|
|
tenants: 1
|
|
users_per_tenant: 1
|
|
quotas:
|
|
neutron:
|
|
network: -1
|
|
subnet: -1
|
|
sla:
|
|
failure_rate:
|
|
max: 20
|
|
|
|
NeutronNetworks.create_and_list_routers:
|
|
-
|
|
args:
|
|
network_create_args:
|
|
subnet_create_args:
|
|
subnet_cidr_start: "1.1.0.0/30"
|
|
subnets_per_network: 2
|
|
router_create_args:
|
|
runner:
|
|
type: "constant"
|
|
times: {{smoke or 15}}
|
|
concurrency: 5
|
|
context:
|
|
users:
|
|
tenants: 1
|
|
users_per_tenant: 1
|
|
quotas:
|
|
neutron:
|
|
network: -1
|
|
subnet: -1
|
|
router: -1
|
|
sla:
|
|
failure_rate:
|
|
max: 20
|
|
|
|
NeutronNetworks.create_and_list_ports:
|
|
-
|
|
args:
|
|
network_create_args:
|
|
port_create_args:
|
|
ports_per_network: 4
|
|
runner:
|
|
type: "constant"
|
|
times: {{smoke or 15}}
|
|
concurrency: 5
|
|
context:
|
|
users:
|
|
tenants: 1
|
|
users_per_tenant: 1
|
|
quotas:
|
|
neutron:
|
|
network: -1
|
|
subnet: -1
|
|
router: -1
|
|
port: -1
|
|
sla:
|
|
failure_rate:
|
|
max: 20
|
|
|
|
NeutronLoadbalancerV1.create_and_list_pools:
|
|
-
|
|
args:
|
|
pool_create_args: {}
|
|
runner:
|
|
type: "constant"
|
|
times: {{smoke or 20}}
|
|
concurrency: 10
|
|
context:
|
|
users:
|
|
tenants: 1
|
|
users_per_tenant: 1
|
|
network: {}
|
|
lbaas:
|
|
pool: {}
|
|
lbaas_version: 1
|
|
quotas:
|
|
neutron:
|
|
network: -1
|
|
subnet: -1
|
|
pool: -1
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
NeutronLoadbalancerV1.create_and_delete_pools:
|
|
-
|
|
args:
|
|
pool_create_args: {}
|
|
runner:
|
|
type: "constant"
|
|
times: {{smoke or 20}}
|
|
concurrency: 10
|
|
context:
|
|
users:
|
|
tenants: 1
|
|
users_per_tenant: 1
|
|
network: {}
|
|
quotas:
|
|
neutron:
|
|
network: -1
|
|
subnet: -1
|
|
pool: -1
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
NeutronLoadbalancerV1.create_and_update_pools:
|
|
-
|
|
args:
|
|
pool_create_args: {}
|
|
pool_update_args: {}
|
|
runner:
|
|
type: "constant"
|
|
times: {{smoke or 20}}
|
|
concurrency: 10
|
|
context:
|
|
users:
|
|
tenants: 1
|
|
users_per_tenant: 1
|
|
network: {}
|
|
quotas:
|
|
neutron:
|
|
network: -1
|
|
subnet: -1
|
|
pool: -1
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
NeutronNetworks.create_and_update_networks:
|
|
-
|
|
args:
|
|
network_create_args: {}
|
|
network_update_args:
|
|
admin_state_up: False
|
|
name: "_updated"
|
|
runner:
|
|
type: "constant"
|
|
times: {{smoke or 20}}
|
|
concurrency: 10
|
|
context:
|
|
users:
|
|
tenants: 1
|
|
users_per_tenant: 1
|
|
quotas:
|
|
neutron:
|
|
network: -1
|
|
sla:
|
|
failure_rate:
|
|
max: 20
|
|
|
|
NeutronNetworks.create_and_update_subnets:
|
|
-
|
|
args:
|
|
network_create_args: {}
|
|
subnet_create_args: {}
|
|
subnet_cidr_start: "1.4.0.0/16"
|
|
subnets_per_network: 2
|
|
subnet_update_args:
|
|
enable_dhcp: False
|
|
name: "_subnet_updated"
|
|
runner:
|
|
type: "constant"
|
|
times: {{smoke or 20}}
|
|
concurrency: 10
|
|
context:
|
|
users:
|
|
tenants: 5
|
|
users_per_tenant: 5
|
|
quotas:
|
|
neutron:
|
|
network: -1
|
|
subnet: -1
|
|
sla:
|
|
failure_rate:
|
|
max: 20
|
|
|
|
NeutronNetworks.create_and_update_routers:
|
|
-
|
|
args:
|
|
network_create_args: {}
|
|
subnet_create_args: {}
|
|
subnet_cidr_start: "1.1.0.0/30"
|
|
subnets_per_network: 2
|
|
router_create_args: {}
|
|
router_update_args:
|
|
admin_state_up: False
|
|
name: "_router_updated"
|
|
runner:
|
|
type: "constant"
|
|
times: {{smoke or 15}}
|
|
concurrency: 5
|
|
context:
|
|
users:
|
|
tenants: 1
|
|
users_per_tenant: 1
|
|
quotas:
|
|
neutron:
|
|
network: -1
|
|
subnet: -1
|
|
router: -1
|
|
sla:
|
|
failure_rate:
|
|
max: 20
|
|
|
|
NeutronNetworks.create_and_update_ports:
|
|
-
|
|
args:
|
|
network_create_args: {}
|
|
port_create_args: {}
|
|
ports_per_network: 5
|
|
port_update_args:
|
|
admin_state_up: False
|
|
device_id: "dummy_id"
|
|
device_owner: "dummy_owner"
|
|
name: "_port_updated"
|
|
runner:
|
|
type: "constant"
|
|
times: {{smoke or 20}}
|
|
concurrency: 10
|
|
context:
|
|
users:
|
|
tenants: 1
|
|
users_per_tenant: 1
|
|
quotas:
|
|
neutron:
|
|
network: -1
|
|
port: -1
|
|
sla:
|
|
failure_rate:
|
|
max: 20
|
|
|
|
NeutronNetworks.create_and_delete_networks:
|
|
-
|
|
args:
|
|
network_create_args: {}
|
|
runner:
|
|
type: "constant"
|
|
times: {{smoke or 20}}
|
|
concurrency: 10
|
|
context:
|
|
users:
|
|
tenants: 1
|
|
users_per_tenant: 1
|
|
quotas:
|
|
neutron:
|
|
network: -1
|
|
subnet: -1
|
|
sla:
|
|
failure_rate:
|
|
max: 20
|
|
|
|
NeutronNetworks.create_and_delete_subnets:
|
|
-
|
|
args:
|
|
network_create_args: {}
|
|
subnet_create_args: {}
|
|
subnet_cidr_start: "1.1.0.0/30"
|
|
subnets_per_network: 2
|
|
runner:
|
|
type: "constant"
|
|
times: {{smoke or 20}}
|
|
concurrency: 10
|
|
context:
|
|
users:
|
|
tenants: 1
|
|
users_per_tenant: 1
|
|
quotas:
|
|
neutron:
|
|
network: -1
|
|
subnet: -1
|
|
sla:
|
|
failure_rate:
|
|
max: 20
|
|
|
|
NeutronNetworks.create_and_delete_routers:
|
|
-
|
|
args:
|
|
network_create_args: {}
|
|
subnet_create_args: {}
|
|
subnet_cidr_start: "1.1.0.0/30"
|
|
subnets_per_network: 2
|
|
router_create_args: {}
|
|
runner:
|
|
type: "constant"
|
|
times: {{smoke or 15}}
|
|
concurrency: 5
|
|
context:
|
|
users:
|
|
tenants: 1
|
|
users_per_tenant: 1
|
|
quotas:
|
|
neutron:
|
|
network: -1
|
|
subnet: -1
|
|
router: -1
|
|
sla:
|
|
failure_rate:
|
|
max: 20
|
|
|
|
NeutronNetworks.create_and_delete_ports:
|
|
-
|
|
args:
|
|
network_create_args: {}
|
|
port_create_args: {}
|
|
ports_per_network: 10
|
|
runner:
|
|
type: "constant"
|
|
times: {{smoke or 8}}
|
|
concurrency: 4
|
|
context:
|
|
users:
|
|
tenants: 1
|
|
users_per_tenant: 1
|
|
quotas:
|
|
neutron:
|
|
network: -1
|
|
port: -1
|
|
sla:
|
|
failure_rate:
|
|
max: 20
|
|
|
|
Quotas.neutron_update:
|
|
-
|
|
args:
|
|
max_quota: 1024
|
|
runner:
|
|
type: "constant"
|
|
times: {{smoke or 10}}
|
|
concurrency: 2
|
|
context:
|
|
users:
|
|
tenants: 3
|
|
users_per_tenant: 2
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
NovaServers.boot_and_delete_server:
|
|
-
|
|
args:
|
|
flavor:
|
|
name: "m1.tiny"
|
|
image:
|
|
name: {{image_name}}
|
|
runner:
|
|
type: "constant"
|
|
times: 1
|
|
concurrency: 1
|
|
context:
|
|
users:
|
|
tenants: 1
|
|
users_per_tenant: 1
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
-
|
|
args:
|
|
auto_assign_nic: True
|
|
flavor:
|
|
name: "m1.tiny"
|
|
image:
|
|
name: {{image_name}}
|
|
runner:
|
|
type: "constant"
|
|
times: 1
|
|
concurrency: 1
|
|
context:
|
|
users:
|
|
tenants: 2
|
|
users_per_tenant: 1
|
|
network:
|
|
start_cidr: "10.2.0.0/24"
|
|
networks_per_tenant: 2
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
NovaSecGroup.create_and_delete_secgroups:
|
|
-
|
|
args:
|
|
security_group_count: 5
|
|
rules_per_security_group: 5
|
|
runner:
|
|
type: "constant"
|
|
times: {{smoke or 4}}
|
|
concurrency: 4
|
|
context:
|
|
users:
|
|
tenants: 3
|
|
users_per_tenant: 2
|
|
quotas:
|
|
neutron:
|
|
security_group: -1
|
|
security_group_rule: -1
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
NovaSecGroup.create_and_list_secgroups:
|
|
-
|
|
args:
|
|
security_group_count: 5
|
|
rules_per_security_group: 5
|
|
runner:
|
|
type: "constant"
|
|
times: {{smoke or 4}}
|
|
concurrency: 4
|
|
context:
|
|
users:
|
|
tenants: 2
|
|
users_per_tenant: 2
|
|
quotas:
|
|
neutron:
|
|
security_group: -1
|
|
security_group_rule: -1
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
VMTasks.boot_runcommand_delete:
|
|
-
|
|
args:
|
|
flavor:
|
|
name: "m1.tiny"
|
|
image:
|
|
name: {{image_name}}
|
|
command:
|
|
script_file: "/home/jenkins/.rally/extra/instance_dd_test.sh"
|
|
interpreter: "/bin/sh"
|
|
username: "cirros"
|
|
runner:
|
|
type: "constant"
|
|
times: {{smoke or 4}}
|
|
concurrency: 2
|
|
context:
|
|
users:
|
|
tenants: 2
|
|
users_per_tenant: 2
|
|
network: {}
|