add more sla and args in neutron rally tests

Change-Id: I047bd4096c69853e3822dc6a46670bf01d66ba18
This commit is contained in:
Masco Kaliyamoorthy 2020-04-22 16:46:33 +05:30
parent 57484ad895
commit d4d9b92d93
3 changed files with 16 additions and 4 deletions

View File

@ -1,6 +1,7 @@
{% set sla_max_avg_duration = sla_max_avg_duration or 60 %} {% set sla_max_avg_duration = sla_max_avg_duration or 60 %}
{% set sla_max_failure = sla_max_failure or 0 %} {% set sla_max_failure = sla_max_failure or 0 %}
{% set sla_max_seconds = sla_max_seconds or 60 %} {% set sla_max_seconds = sla_max_seconds or 60 %}
{% set sla_avg_list_networks = sla_avg_list_networks or 15 %}
--- ---
NeutronNetworks.create_and_list_networks: NeutronNetworks.create_and_list_networks:
- -
@ -25,3 +26,5 @@
max_seconds_per_iteration: {{sla_max_seconds}} max_seconds_per_iteration: {{sla_max_seconds}}
failure_rate: failure_rate:
max: {{sla_max_failure}} max: {{sla_max_failure}}
max_avg_duration_per_atomic:
neutron.list_networks: {{sla_avg_list_networks}}

View File

@ -1,12 +1,16 @@
{% set ports_per_network = ports_per_network or 4 %} {% 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_avg_duration = sla_max_avg_duration or 60 %}
{% set sla_max_failure = sla_max_failure or 0 %} {% set sla_max_failure = sla_max_failure or 0 %}
{% set sla_max_seconds = sla_max_seconds or 60 %} {% set sla_max_seconds = sla_max_seconds or 60 %}
{% set sla_avg_list_ports = sla_avg_list_ports or 15 %}
--- ---
NeutronNetworks.create_and_list_ports: NeutronNetworks.create_and_list_ports:
- -
args: args:
network_create_args: {} network_create_args: {{network_create_args}}
port_create_args: {{port_create_args}}
ports_per_network: {{ports_per_network}} ports_per_network: {{ports_per_network}}
runner: runner:
concurrency: {{concurrency}} concurrency: {{concurrency}}
@ -27,3 +31,5 @@
max_seconds_per_iteration: {{sla_max_seconds}} max_seconds_per_iteration: {{sla_max_seconds}}
failure_rate: failure_rate:
max: {{sla_max_failure}} max: {{sla_max_failure}}
max_avg_duration_per_atomic:
neutron.list_ports: {{sla_avg_list_ports}}

View File

@ -1,4 +1,7 @@
{% set subnets_per_network = subnets_per_network or 2 %} {% 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 router_create_args = router_create_args or {} %}
{% set sla_max_avg_duration = sla_max_avg_duration or 60 %} {% set sla_max_avg_duration = sla_max_avg_duration or 60 %}
{% set sla_max_failure = sla_max_failure or 0 %} {% set sla_max_failure = sla_max_failure or 0 %}
@ -7,9 +10,9 @@
NeutronNetworks.create_and_list_routers: NeutronNetworks.create_and_list_routers:
- -
args: args:
network_create_args: {} network_create_args: {{network_create_args}}
subnet_create_args: {} subnet_create_args: {{subnet_create_args}}
subnet_cidr_start: "10.0.0.0/16" subnet_cidr_start: {{subnet_cidr_start}}
subnets_per_network: {{subnets_per_network}} subnets_per_network: {{subnets_per_network}}
router_create_args: {{ router_create_args }} router_create_args: {{ router_create_args }}
runner: runner: