browbeat/rally/rally-plugins/netcreate-boot/trunk_network_simulation.yml
venkata anil 6a8afe6555 trunk subport network simulation
Existing rally tests are only creating subports but not testing
if the real network connection established to subports or not.
In this patch, we create a vlan interface inside the VM for
each subport and ping this vlan interface.

Test will create 2 VMs and trunk subports inside these VMs.
Then it will ping the subport floating ip from the other VM.

Later it swaps the subports floating ips and retry the ping
test after swapping. This is to test movement of floating ip
across the VMs.

Though VM will have multiple trunk subports, we are testing
connection (i.e ping test) for the first subport.

Co-authored-by: Sanjay Chari <schari@redhat.com>
Change-Id: Id317d9c50ad914d1bef370488a9abc967081f5b6
2021-07-19 19:53:49 +05:30

37 lines
930 B
YAML

{% set num_subports = num_subports or 1 %}
{% set ext_net_id = ext_net_id %}
{% 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 %}
---
BrowbeatPlugin.trunk_subport_connection:
-
args:
ext_net_id: '{{ext_net_id}}'
num_subports: {{num_subports}}
runner:
concurrency: {{concurrency}}
times: {{times}}
type: "constant"
context:
users:
tenants: 1
users_per_tenant: 1
quotas:
neutron:
network: -1
port: -1
router: -1
subnet: -1
floatingip: -1
trunk: -1
nova:
instances: -1
cores: -1
ram: -1
sla:
max_avg_duration: {{sla_max_avg_duration}}
max_seconds_per_iteration: {{sla_max_seconds}}
failure_rate:
max: {{sla_max_failure}}