Adding basic neutron tests.

Change-Id: Ie58def1b6715005ec86556d5e7eceb78c5983b16
This commit is contained in:
Alex Krzos 2015-12-09 15:58:07 -05:00
parent 8be1458254
commit 496edbeeaf
6 changed files with 125 additions and 0 deletions

View File

@ -24,10 +24,12 @@ WORKERS["neutron"]="rpc_workers|api_workers"
declare -A TIMES
TIMES["keystone"]=5000
TIMES["neutron"]=500
TIMES["nova"]=128
declare -A CONCURRENCY
CONCURRENCY["keystone"]="64 96 128 160 192 224 256"
CONCURRENCY["neutron"]="8 16 32 48 54"
CONCURRENCY["nova"]="8 16 32 48 54"
ROOT=false

View File

@ -237,6 +237,9 @@ for num_wkrs in ${NUM_WORKERS} ; do
check_controllers
run_rally keystone "${complete_test_prefix}-keystone-${num_wkr_padded}" ${num_wkrs}
check_controllers
run_rally neutron "${complete_test_prefix}-neutron-${num_wkr_padded}" ${num_wkrs}
check_controllers
run_rally nova "${complete_test_prefix}-nova-${num_wkr_padded}" ${num_wkrs}

View File

@ -0,0 +1,28 @@
{
"NeutronNetworks.create_and_list_networks": [
{
"args": {
"network_create_args": ""
},
"runner": {
"concurrency": 1,
"times": 1,
"type": "constant"
},
"context": {
"users": {
"tenants": 1,
"users_per_tenant": 8
},
"quotas": {
"neutron": {
"network": -1,
"port": -1,
"router": -1,
"subnet": -1
}
}
}
}
]
}

View File

@ -0,0 +1,29 @@
{
"NeutronNetworks.create_and_list_ports": [
{
"args": {
"network_create_args": "",
"ports_per_network": 4
},
"runner": {
"concurrency": 1,
"times": 1,
"type": "constant"
},
"context": {
"users": {
"tenants": 1,
"users_per_tenant": 8
},
"quotas": {
"neutron": {
"network": -1,
"port": -1,
"router": -1,
"subnet": -1
}
}
}
}
]
}

View File

@ -0,0 +1,32 @@
{
"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": {
"concurrency": 1,
"times": 1,
"type": "constant"
},
"context": {
"users": {
"tenants": 1,
"users_per_tenant": 8
},
"quotas": {
"neutron": {
"network": -1,
"port": -1,
"router": -1,
"subnet": -1
}
}
}
}
]
}

View File

@ -0,0 +1,31 @@
{
"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": {
"concurrency": 1,
"times": 1,
"type": "constant"
},
"context": {
"users": {
"tenants": 1,
"users_per_tenant": 8
},
"quotas": {
"neutron": {
"network": -1,
"port": -1,
"router": -1,
"subnet": -1
}
}
}
}
]
}