Fix Rally-Plugins

Missing the Nova quota and fixing documentation

Change-Id: I7ecd772a8eb87f6d95bd9b00cc23b370c4921135
This commit is contained in:
Joe Talerico 2016-06-21 14:07:23 -04:00
parent 87b262a373
commit 77aa0db423
2 changed files with 8 additions and 41 deletions

View File

@ -1,43 +1,5 @@
# Rally Plugins Browbeat can use
## Current plugins
### neutron-netcreate_nova-boot
This Rally plugin utilizes both Neutron and Nova utilities This Rally plugin will create a network then. launch a guest within that network. This plugin will also attempt to ping the guest, to make sure connectivity works.
#### Assumptions
For this work, we suggest using the admin tenant. With Rally this can be done by creating a env file with the ExistingUsers field - [example json](rally-neutron/admintenant-env.json) . This plugin also assumes the following networking toplogy :
```
[ Rally Host ] --- Link to Rally tenant nework --- [ Router ] -- [ tenant networks ] -- Guests
```
We suggest this method, so you do not have to have a 1:1 connection:tenant network.
*** The below JSON needs updating to show that we need to pass a router t othe plugin.
#### Example json
```
{% set flavor_name = flavor_name or "m1.flavorname" %}
{
"NeutronPlugin.create_network_nova_boot": [
{
"args": {
"flavor": {
"name": "{{flavor_name}}"
},
"image": {
"name": "image_name"
},
"network_create_args": {},
},
"runner": {
"type": "serial",
"times": 5,
},
"context": {
"users": {
"tenants": 1,
"users_per_tenant": 1
},
},
}
]
}
```
- netcreate-boot-ping ( not complete )
- netcreate-boot
- subnet-router-create

View File

@ -10,6 +10,7 @@ NeutronPlugin.create_network_nova_boot:
image:
name: '{{image_name}}'
network_create_args: {}
num_networks: {{num_networks}}
runner:
concurrency: {{concurrency}}
times: {{times}}
@ -24,6 +25,10 @@ NeutronPlugin.create_network_nova_boot:
port: -1
router: -1
subnet: -1
nova:
instances: -1
cores: -1
ram: -1
sla:
max_avg_duration: {{sla_max_avg_duration}}
max_seconds_per_iteration: {{sla_max_seconds}}