3d8b423db3
This patch allows VM runcommand scenario attach a floating ip to the instance to perform ssh connection. Blueprint: benchmark-scenarios-vm-floating-ip Change-Id: I2e77d6be34a64d5feb9d3ecc5e35c8a712b10bed
131 lines
2.8 KiB
YAML
131 lines
2.8 KiB
YAML
---
|
|
Dummy.dummy:
|
|
-
|
|
args:
|
|
sleep: 0.01
|
|
runner:
|
|
type: "constant"
|
|
times: 1
|
|
concurrency: 1
|
|
context:
|
|
users:
|
|
tenants: 5
|
|
users_per_tenant: 5
|
|
quotas:
|
|
nova:
|
|
instances: 200
|
|
cores: 200
|
|
ram: -1
|
|
metadata_items: -1
|
|
injected_files: -1
|
|
injected_file_content_bytes: -1
|
|
injected_file_path_bytes: -1
|
|
key_pairs: 500
|
|
cinder:
|
|
gigabytes: -1
|
|
snapshots: -1
|
|
volumes: -1
|
|
neutron:
|
|
network: -1
|
|
subnet: -1
|
|
port: 200
|
|
router: 300
|
|
floatingip: -1
|
|
security_group: -1
|
|
security_group_rule: -1
|
|
|
|
NeutronNetworks.create_and_list_networks:
|
|
-
|
|
args:
|
|
network_create_args:
|
|
runner:
|
|
type: "constant"
|
|
times: 100
|
|
concurrency: 10
|
|
context:
|
|
users:
|
|
tenants: 1
|
|
users_per_tenant: 1
|
|
quotas:
|
|
neutron:
|
|
network: -1
|
|
|
|
NeutronNetworks.create_and_list_subnets:
|
|
-
|
|
args:
|
|
network_create_args:
|
|
subnet_create_args:
|
|
subnet_cidr_start: "1.1.0.0/30"
|
|
subnets_per_network: 2
|
|
runner:
|
|
type: "constant"
|
|
times: 100
|
|
concurrency: 10
|
|
context:
|
|
users:
|
|
tenants: 1
|
|
users_per_tenant: 1
|
|
quotas:
|
|
neutron:
|
|
network: -1
|
|
subnet: -1
|
|
|
|
NeutronNetworks.create_and_list_routers:
|
|
-
|
|
args:
|
|
network_create_args:
|
|
subnet_create_args:
|
|
subnet_cidr_start: "1.1.0.0/30"
|
|
subnets_per_network: 2
|
|
router_create_args:
|
|
runner:
|
|
type: "constant"
|
|
times: 100
|
|
concurrency: 10
|
|
context:
|
|
users:
|
|
tenants: 1
|
|
users_per_tenant: 1
|
|
quotas:
|
|
neutron:
|
|
network: -1
|
|
subnet: -1
|
|
router: -1
|
|
|
|
NeutronNetworks.create_and_list_ports:
|
|
-
|
|
args:
|
|
network_create_args:
|
|
port_create_args:
|
|
ports_per_network: 5
|
|
runner:
|
|
type: "constant"
|
|
times: 100
|
|
concurrency: 10
|
|
|
|
VMTasks.boot_runcommand_delete:
|
|
-
|
|
args:
|
|
flavor:
|
|
name: "m1.tiny"
|
|
image:
|
|
name: "cirros-0.3.2-x86_64-uec"
|
|
fixed_network: "private"
|
|
floating_network: "public"
|
|
use_floatingip: true
|
|
script: "/home/jenkins/.rally/extra/instance_dd_test.sh"
|
|
interpreter: "/bin/sh"
|
|
username: "cirros"
|
|
runner:
|
|
type: "constant"
|
|
times: 6
|
|
concurrency: 3
|
|
context:
|
|
users:
|
|
tenants: 1
|
|
users_per_tenant: 1
|
|
quotas:
|
|
neutron:
|
|
network: -1
|
|
port: -1
|