662e981330
Disable current Inap mtl01 region and introduce new iWeb mtl01 region. Depends-On: I1256a2e24df1c79dea06716ae4dfbcfe119c13f8 Change-Id: Iffd253156133e3c9eba6c1942b4b2a551a4344b7
32 lines
980 B
Bash
Executable File
32 lines
980 B
Bash
Executable File
#!/bin/bash
|
|
|
|
#
|
|
# Creates graphs for nodepool regions from a given provider
|
|
#
|
|
# Note we are somewhat particular about keeping these separate to
|
|
# avoid the idea that we are providing some sort of cross-provider
|
|
# benchmark.
|
|
#
|
|
|
|
function create {
|
|
local provider="$1"
|
|
local stat_list="$2"
|
|
local output_file="$3"
|
|
|
|
sed -e "s/%PROVIDER%/${provider}/; " \
|
|
-e "s/%STAT_LIST%/${stat_list}/" \
|
|
-e "s/%OUTPUT_FILE%/${output_file}/" \
|
|
nodepool.template > ${output_file}
|
|
}
|
|
|
|
create Rackspace 'rax-*' nodepool-rax.yaml
|
|
create Inap 'inap-*' nodepool-inap.yaml
|
|
create iWeb 'iweb-*' nodepool-iweb.yaml
|
|
create Limestone 'limestone-*' nodepool-limestone.yaml
|
|
create Linaro 'linaro-*' nodepool-linaro.yaml
|
|
create OVH 'ovh-*' nodepool-ovh.yaml
|
|
create Vexxhost 'vexxhost-*' nodepool-vexxhost.yaml
|
|
create Airship-Citycloud 'airship-*' nodepool-airship-citycloud.yaml
|
|
create OSUOSL 'osuosl-*' nodepool-osuosl.yaml
|
|
create InMotion 'inmotion-*' nodepool-inmotion.yaml
|