Add boot_and_delete_server samples and functional test

Add the argument "auto_assign_nic: true" in boot_and_delete_server
functional test, and add a related sample.

Change-Id: I7e596c29ae5e9d9c6e7db4572b5e80a60f0dd0bb
This commit is contained in:
chenhb-zte 2016-05-24 09:50:34 -04:00
parent 537686b056
commit 663cc95a54
3 changed files with 46 additions and 0 deletions

View File

@ -75,6 +75,7 @@
name: {{flavor_name}}
image:
name: {{image_name}}
auto_assign_nic: true
runner:
type: "constant"
times: 2

View File

@ -22,6 +22,32 @@
"users_per_tenant": 2
}
}
},
{
"args": {
"flavor": {
"name": "{{flavor_name}}"
},
"image": {
"name": "^cirros.*uec$"
},
"auto_assign_nic": true
},
"runner": {
"type": "constant",
"times": 10,
"concurrency": 2
},
"context": {
"users": {
"tenants": 3,
"users_per_tenant": 2
},
"network": {
"start_cidr": "10.2.0.0/24",
"networks_per_tenant": 2
}
}
}
]
}

View File

@ -16,3 +16,22 @@
users:
tenants: 3
users_per_tenant: 2
-
args:
flavor:
name: "{{flavor_name}}"
image:
name: "^cirros.*uec$"
auto_assign_nic: true
runner:
type: "constant"
times: 10
concurrency: 2
context:
users:
tenants: 3
users_per_tenant: 2
network:
start_cidr: "10.2.0.0/24"
networks_per_tenant: 2