add more neutron scenarios

Change-Id: I3c0e0e9cd325aa6c87abee244017537b7e16a595
This commit is contained in:
Masco Kaliyamoorthy 2020-05-28 16:16:01 +05:30
parent 6215ddc658
commit caf12231d2
9 changed files with 333 additions and 0 deletions

View File

@ -154,18 +154,80 @@ workloads:
- name: create-list-network
enabled: true
file: rally/neutron/neutron-create-list-network-cc.yml
- name: create-update-network
enabled: false
file: rally/neutron/neutron-create-update-network-cc.yml
network_update_args:
admin_state_up: False
name: "_updated"
- name: create-delete-network
enabled: false
file: rally/neutron/neutron-create-delete-network-cc.yml
- name: create-list-port
enabled: true
file: rally/neutron/neutron-create-list-port-cc.yml
- name: create-update-port
enabled: false
file: rally/neutron/neutron-create-update-port-cc.yml
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"
- name: create-delete-port
enabled: false
file: rally/neutron/neutron-create-delete-port-cc.yml
network_create_args: {}
port_create_args: {}
ports_per_network: 5
- name: create-list-router
enabled: true
file: rally/neutron/neutron-create-list-router-cc.yml
- name: create-update-router
enabled: false
file: rally/neutron/neutron-create-update-router-cc.yml
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"
- name: create-delete-router
enabled: false
file: rally/neutron/neutron-create-delete-router-cc.yml
network_create_args: {}
subnet_create_args: {}
subnet_cidr_start: "1.1.0.0/30"
subnets_per_network: 2
router_create_args: {}
- name: create-list-security-group
enabled: true
file: rally/neutron/neutron-create-list-security-group-cc.yml
- name: create-list-subnet
enabled: true
file: rally/neutron/neutron-create-list-subnet-cc.yml
- name: create-update-subnets
enabled: false
file: rally/neutron/neutron-create-update-subnet-cc.yml
network_create_args: {}
subnet_create_args: {}
subnet_cidr_start: "1.4.0.0/16"
subnets_per_network: 2
subnet_update_args:
enable_dhcp: true
name: "_subnet_updated"
- name: create-delete-subnets
enabled: false
file: rally/neutron/neutron-create-delete-subnet-cc.yml
network_create_args: {}
subnet_create_args: {}
subnet_cidr_start: "1.1.0.0/30"
subnets_per_network: 2
- name: create-list-trunks
enabled: true
subport_count: 10

View File

@ -0,0 +1,28 @@
{% set sla_max_avg_duration = sla_max_avg_duration or 60 %}
{% set sla_max_failure = sla_max_failure or 0 %}
{% set sla_max_seconds = sla_max_seconds or 60 %}
{% set network_create_args = network_create_args or {} %}
---
NeutronNetworks.create_and_delete_networks:
-
args:
network_create_args: {{network_create_args}}
runner:
concurrency: {{concurrency}}
times: {{times}}
type: "constant"
context:
users:
tenants: 1
users_per_tenant: 8
quotas:
neutron:
network: -1
port: -1
router: -1
subnet: -1
sla:
max_avg_duration: {{sla_max_avg_duration}}
max_seconds_per_iteration: {{sla_max_seconds}}
failure_rate:
max: {{sla_max_failure}}

View File

@ -0,0 +1,32 @@
{% set ports_per_network = ports_per_network or 4 %}
{% set network_create_args = network_create_args or {} %}
{% set port_create_args = port_create_args or {} %}
{% set sla_max_avg_duration = sla_max_avg_duration or 60 %}
{% set sla_max_failure = sla_max_failure or 0 %}
{% set sla_max_seconds = sla_max_seconds or 60 %}
---
NeutronNetworks.create_and_delete_ports:
-
args:
network_create_args: {{network_create_args}}
port_create_args: {{port_create_args}}
ports_per_network: {{ports_per_network}}
runner:
concurrency: {{concurrency}}
times: {{times}}
type: "constant"
context:
users:
tenants: 1
users_per_tenant: 8
quotas:
neutron:
network: -1
port: -1
router: -1
subnet: -1
sla:
max_avg_duration: {{sla_max_avg_duration}}
max_seconds_per_iteration: {{sla_max_seconds}}
failure_rate:
max: {{sla_max_failure}}

View File

@ -0,0 +1,36 @@
{% set subnets_per_network = subnets_per_network or 2 %}
{% set network_create_args = network_create_args or {} %}
{% set subnet_create_args = subnet_create_args or {} %}
{% set subnet_cidr_start = subnet_cidr_start or "10.0.0.0/16" %}
{% set router_create_args = router_create_args or {} %}
{% set sla_max_avg_duration = sla_max_avg_duration or 60 %}
{% set sla_max_failure = sla_max_failure or 0 %}
{% set sla_max_seconds = sla_max_seconds or 60 %}
---
NeutronNetworks.create_and_delete_routers:
-
args:
network_create_args: {{network_create_args}}
subnet_create_args: {{subnet_create_args}}
subnet_cidr_start: {{subnet_cidr_start}}
subnets_per_network: {{subnets_per_network}}
router_create_args: {{ router_create_args }}
runner:
concurrency: {{concurrency}}
times: {{times}}
type: "constant"
context:
users:
tenants: 50
users_per_tenant: 50
quotas:
neutron:
network: -1
port: -1
router: -1
subnet: -1
sla:
max_avg_duration: {{sla_max_avg_duration}}
max_seconds_per_iteration: {{sla_max_seconds}}
failure_rate:
max: {{sla_max_failure}}

View File

@ -0,0 +1,34 @@
{% set subnets_per_network = subnets_per_network or 2 %}
{% set sla_max_avg_duration = sla_max_avg_duration or 60 %}
{% set sla_max_failure = sla_max_failure or 0 %}
{% set sla_max_seconds = sla_max_seconds or 60 %}
{% set network_create_args = network_create_args or {} %}
{% set subnet_create_args = subnet_create_args or {} %}
{% set subnet_cidr_start = subnet_cidr_start or "1.1.0.0/30" %}
---
NeutronNetworks.create_and_delete_subnets:
-
args:
network_create_args: {{network_create_args}}
subnet_create_args: {{subnet_create_args}}
subnet_cidr_start: {{subnet_cidr_start}}
subnets_per_network: {{subnets_per_network}}
runner:
concurrency: {{concurrency}}
times: {{times}}
type: "constant"
context:
users:
tenants: 1
users_per_tenant: 8
quotas:
neutron:
network: -1
port: -1
router: -1
subnet: -1
sla:
max_avg_duration: {{sla_max_avg_duration}}
max_seconds_per_iteration: {{sla_max_seconds}}
failure_rate:
max: {{sla_max_failure}}

View File

@ -0,0 +1,30 @@
{% set sla_max_avg_duration = sla_max_avg_duration or 60 %}
{% set sla_max_failure = sla_max_failure or 0 %}
{% set sla_max_seconds = sla_max_seconds or 60 %}
{% set network_update_args = network_update_args or {} %}
{% set network_create_args = network_create_args or {} %}
---
NeutronNetworks.create_and_update_networks:
-
args:
network_create_args: {{network_create_args}}
network_update_args: {{network_update_args}}
runner:
concurrency: {{concurrency}}
times: {{times}}
type: "constant"
context:
users:
tenants: 1
users_per_tenant: 8
quotas:
neutron:
network: -1
port: -1
router: -1
subnet: -1
sla:
max_avg_duration: {{sla_max_avg_duration}}
max_seconds_per_iteration: {{sla_max_seconds}}
failure_rate:
max: {{sla_max_failure}}

View File

@ -0,0 +1,37 @@
{% set ports_per_network = ports_per_network or 4 %}
{% set network_create_args = network_create_args or {} %}
{% set port_create_args = port_create_args or {} %}
{% set port_update_args = port_update_args or {} %}
{% set sla_max_avg_duration = sla_max_avg_duration or 60 %}
{% set sla_max_failure = sla_max_failure or 0 %}
{% set sla_max_seconds = sla_max_seconds or 60 %}
{% set sla_avg_list_ports = sla_avg_list_ports or 15 %}
---
NeutronNetworks.create_and_update_ports:
-
args:
network_create_args: {{network_create_args}}
port_create_args: {{port_create_args}}
ports_per_network: {{ports_per_network}}
port_update_args: {{port_update_args}}
runner:
concurrency: {{concurrency}}
times: {{times}}
type: "constant"
context:
users:
tenants: 1
users_per_tenant: 8
quotas:
neutron:
network: -1
port: -1
router: -1
subnet: -1
sla:
max_avg_duration: {{sla_max_avg_duration}}
max_seconds_per_iteration: {{sla_max_seconds}}
failure_rate:
max: {{sla_max_failure}}
max_avg_duration_per_atomic:
neutron.list_ports: {{sla_avg_list_ports}}

View File

@ -0,0 +1,38 @@
{% set subnets_per_network = subnets_per_network or 2 %}
{% set network_create_args = network_create_args or {} %}
{% set subnet_create_args = subnet_create_args or {} %}
{% set subnet_cidr_start = subnet_cidr_start or "10.0.0.0/16" %}
{% set router_create_args = router_create_args or {} %}
{% set sla_max_avg_duration = sla_max_avg_duration or 60 %}
{% set sla_max_failure = sla_max_failure or 0 %}
{% set sla_max_seconds = sla_max_seconds or 60 %}
{% set router_update_args = router_update_args or {} %}
---
NeutronNetworks.create_and_update_routers:
-
args:
network_create_args: {{network_create_args}}
subnet_create_args: {{subnet_create_args}}
subnet_cidr_start: {{subnet_cidr_start}}
subnets_per_network: {{subnets_per_network}}
router_create_args: {{ router_create_args }}
router_update_args: {{router_update_args}}
runner:
concurrency: {{concurrency}}
times: {{times}}
type: "constant"
context:
users:
tenants: 50
users_per_tenant: 50
quotas:
neutron:
network: -1
port: -1
router: -1
subnet: -1
sla:
max_avg_duration: {{sla_max_avg_duration}}
max_seconds_per_iteration: {{sla_max_seconds}}
failure_rate:
max: {{sla_max_failure}}

View File

@ -0,0 +1,36 @@
{% set subnets_per_network = subnets_per_network or 2 %}
{% set sla_max_avg_duration = sla_max_avg_duration or 60 %}
{% set sla_max_failure = sla_max_failure or 0 %}
{% set sla_max_seconds = sla_max_seconds or 60 %}
{% set network_create_args = network_create_args or {} %}
{% set subnet_create_args = subnet_create_args or {} %}
{% set subnet_cidr_start = subnet_cidr_start or "1.1.0.0/30" %}
{% set subnet_update_args = subnet_update_args or {} %}
---
NeutronNetworks.create_and_update_subnets:
-
args:
network_create_args: {{network_create_args}}
subnet_create_args: {{subnet_create_args}}
subnet_cidr_start: {{subnet_cidr_start}}
subnets_per_network: {{subnets_per_network}}
subnet_update_args: {{subnet_update_args}}
runner:
concurrency: {{concurrency}}
times: {{times}}
type: "constant"
context:
users:
tenants: 1
users_per_tenant: 8
quotas:
neutron:
network: -1
port: -1
router: -1
subnet: -1
sla:
max_avg_duration: {{sla_max_avg_duration}}
max_seconds_per_iteration: {{sla_max_seconds}}
failure_rate:
max: {{sla_max_failure}}