rally-openstack/samples/tasks/scenarios/neutron/create-and-list-networks.json
zhangzhang d1f0123283 Add test and sample to CreateAndListNetworks
Create a network with type and then list all networks.
This type must be supported in your environment.

Change-Id: Id0f0aa6b7768f60d7686214a08e6d757bec6683e
2016-10-27 23:22:34 -04:00

60 lines
1.4 KiB
JSON

{
"NeutronNetworks.create_and_list_networks": [
{
"args": {
"network_create_args": {}
},
"runner": {
"type": "constant",
"times": 100,
"concurrency": 10
},
"context": {
"users": {
"tenants": 3,
"users_per_tenant": 3
},
"quotas": {
"neutron": {
"network": -1
}
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
},
{
"args": {
"network_create_args": {
"provider:network_type": "vxlan"
}
},
"runner": {
"type": "constant",
"times": 100,
"concurrency": 10
},
"context": {
"users": {
"tenants": 3,
"users_per_tenant": 3
},
"quotas": {
"neutron": {
"network": -1
}
},
"roles": ["admin"]
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]
}