Adding basic neutron tests.
Change-Id: Ie58def1b6715005ec86556d5e7eceb78c5983b16
This commit is contained in:
parent
8be1458254
commit
496edbeeaf
@ -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
|
||||
|
@ -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}
|
||||
|
||||
|
28
rally/neutron/neutron-create-list-network-cc
Normal file
28
rally/neutron/neutron-create-list-network-cc
Normal 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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
29
rally/neutron/neutron-create-list-ports-cc
Normal file
29
rally/neutron/neutron-create-list-ports-cc
Normal 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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
32
rally/neutron/neutron-create-list-routers-cc
Normal file
32
rally/neutron/neutron-create-list-routers-cc
Normal 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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
31
rally/neutron/neutron-create-list-subnet-cc
Normal file
31
rally/neutron/neutron-create-list-subnet-cc
Normal 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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user