![zhangzhang](/assets/img/avatar_default.png)
Create server and subnet, then attach the interface to it. This scenario measures the "nova interface-attach" command. Change-Id: I83ea0364ebdcac302ff162b926a838eb7dd1634d
31 lines
715 B
YAML
31 lines
715 B
YAML
{% set flavor_name = flavor_name or "m1.tiny" %}
|
|
{% set image_name = "^(cirros.*-disk|TestVM)$" %}
|
|
---
|
|
NovaServers.boot_server_and_attach_interface:
|
|
-
|
|
args:
|
|
flavor:
|
|
name: "{{flavor_name}}"
|
|
image:
|
|
name: "{{image_name}}"
|
|
network_create_args: {}
|
|
subnet_create_args: {}
|
|
subnet_cidr_start: "1.1.0.0/30"
|
|
boot_server_args: {}
|
|
runner:
|
|
type: "constant"
|
|
times: 5
|
|
concurrency: 2
|
|
context:
|
|
network: {}
|
|
users:
|
|
tenants: 2
|
|
users_per_tenant: 2
|
|
quotas:
|
|
neutron:
|
|
network: -1
|
|
subnet: -1
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|