CPERF: CSIT hardcode OPENSTACK_TOPO
[releng.git] / jjb / cperf / cperf-robot-netvirt-csit.sh
index 0895ab6..d3a8cd9 100755 (executable)
@@ -33,10 +33,15 @@ NUM_COMPUTE_NODES=$(python ${REL_PATH}/parse-node-yaml.py num_nodes --node-type
 echo "Number of Control nodes found: ${NUM_CONTROL_NODES}"
 echo "Number of Compute nodes found: ${NUM_COMPUTE_NODES}"
 
+# Only 1 combo or ctrl node is specified, even for OS HA deployments
+# Currently supported combinations are:
+# 0cmb-1ctl-2cmp
+# 1cmb-0ctl-0cmp
+# 1cmb-0ctl-1cmp
 if [ "$NUM_COMPUTE_NODES" -eq 0 ]; then
-  OPENSTACK_TOPO="${NUM_CONTROL_NODES}cmb-0ctl-0cmp"
+  OPENSTACK_TOPO="1cmb-0ctl-0cmp"
 else
-  OPENSTACK_TOPO="0cmb-${NUM_CONTROL_NODES}ctl-${NUM_COMPUTE_NODES}cmp"
+  OPENSTACK_TOPO="0cmb-1ctl-2cmp"
 fi
 
 idx=1