Append 3 more punt path protection TCs
[integration/test.git] / csit / scripts / set_single_shard.sh
1 #!/bin/bash
2
3 echo "Add single shard config file"
4 cat > ${WORKSPACE}/custom_shard_config.txt <<EOF
5 FRIENDLY_MODULE_NAMES[1]='toaster'
6 MODULE_NAMESPACES[1]='http://netconfcentral.org/ns/toaster'
7 EOF
8
9 for i in `seq 1 ${NUM_ODL_SYSTEM}`
10 do
11     CONTROLLERIP=ODL_SYSTEM_${i}_IP
12     echo "Copy shard config to member-${i} with IP address ${!CONTROLLERIP}"
13     scp ${WORKSPACE}/custom_shard_config.txt ${!CONTROLLERIP}:/tmp/
14 done