28ae631642
This is essentially reverting commitsbd15ddc
andcb4b99b
which were the final stages of winding down and cleaning up the old InMotion cloud which OpenMetal has replaced, with the cloud name updated (but region kept the same) and grafyaml data regenerated. It stops short of actually booting nodes in the new environment until we have a chance to spot check things once images get uploaded. Since this is re-adding diskimages back to nl02, I refrained from including centos-8-stream which is in the progress of being removed, so that we don't unnecessarily upload images we're not planning to boot. Change-Id: If8e9b7105b4c7a13e87ebb4f6c985e821c30a842
28 lines
779 B
Bash
Executable File
28 lines
779 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 Linaro 'linaro-*' nodepool-linaro.yaml
|
|
create OVH 'ovh-*' nodepool-ovh.yaml
|
|
create Vexxhost 'vexxhost-*' nodepool-vexxhost.yaml
|
|
create OSUOSL 'osuosl-*' nodepool-osuosl.yaml
|
|
create OpenMetal 'openmetal-*' nodepool-openmetal.yaml
|