rally-openstack/samples/tasks/scenarios/neutron/create-and-assoc-disassoc-networks-bgpvpns.json
Cédric Savignan d6f8c33baf Modify Bgpvpn scenarios to test true bgpvpn
Currently the bgpvpn scenarios test only a record in the database when
a bgpvpn is created and associated with a network or a router.

To test a true bgpvpn and not only a record in the neutron database
a active port need to be created in the network associated to the bgpvpn.

This change add a server which belong to a network in the context of all
the bgpvpn scenarios concerned. If a bgpvpn driver is used on the openstack,
a true bgpvpn is created.

Change-Id: I64fb6bacf7866332ea55b3c5792bb23db366decd
2017-12-14 17:42:52 +01:00

36 lines
955 B
JSON

{% set flavor_name = flavor_name or "m1.tiny" %}
{
"NeutronBGPVPN.create_bgpvpn_assoc_disassoc_networks": [
{
"args":{},
"runner": {
"type": "constant",
"times": 10,
"concurrency": 2
},
"context": {
"users": {
"tenants": 2,
"users_per_tenant": 1
},
"network": {},
"servers": {
"servers_per_tenant": 1,
"auto_assign_nic": true,
"flavor" : {
"name": "{{flavor_name}}"
},
"image": {
"name": "^cirros.*-disk$"
}
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]
}