From 8d38644e27c40e73d793dc70b9eb6874d664270b Mon Sep 17 00:00:00 2001 From: seokho-son Date: Thu, 7 Apr 2022 14:42:43 +0900 Subject: [PATCH] Remove duplicated script --- .../scripts/8.mcis/create-single-vm-mcis.sh | 46 ------------------- .../sequentialFullTest/create-mcis-only.sh | 2 +- 2 files changed, 1 insertion(+), 47 deletions(-) delete mode 100755 src/testclient/scripts/8.mcis/create-single-vm-mcis.sh diff --git a/src/testclient/scripts/8.mcis/create-single-vm-mcis.sh b/src/testclient/scripts/8.mcis/create-single-vm-mcis.sh deleted file mode 100755 index 5de920497..000000000 --- a/src/testclient/scripts/8.mcis/create-single-vm-mcis.sh +++ /dev/null @@ -1,46 +0,0 @@ -#!/bin/bash - -#function create_mcis() { - - echo "####################################################################" - echo "## 8. Create MCIS with a single VM" - echo "####################################################################" - - source ../init.sh - - NUMVM=${OPTION01:-1} - - echo "####################" - echo " AgentInstallOn: $AgentInstallOn" - echo "####################" - - curl -H "${AUTH}" -sX POST http://$TumblebugServer/tumblebug/ns/$NSID/mcis -H 'Content-Type: application/json' -d \ - '{ - "name": "'${MCISID}'", - "description": "Tumblebug Demo", - "installMonAgent": "'${AgentInstallOn}'", - "label": "Generated by Script", - "systemLabel": "Label used for system purpose", - "vm": [ { - "vmGroupSize": "'${NUMVM}'", - "name": "'${CONN_CONFIG[$INDEX,$REGION]}'", - "imageId": "'${CONN_CONFIG[$INDEX,$REGION]}'-'${POSTFIX}'", - "vmUserAccount": "cb-user", - "connectionName": "'${CONN_CONFIG[$INDEX,$REGION]}'", - "sshKeyId": "'${CONN_CONFIG[$INDEX,$REGION]}'-'${POSTFIX}'", - "specId": "'${CONN_CONFIG[$INDEX,$REGION]}'-'${POSTFIX}'", - "securityGroupIds": [ - "'${CONN_CONFIG[$INDEX,$REGION]}'-'${POSTFIX}'" - ], - "vNetId": "'${CONN_CONFIG[$INDEX,$REGION]}'-'${POSTFIX}'", - "subnetId": "'${CONN_CONFIG[$INDEX,$REGION]}'-'${POSTFIX}'", - "description": "description", - "vmUserPassword": "", - "rootDiskType": "", - "rootDiskSize": "77" - } - ] - }' | jq '' -#} - -#create_mcis \ No newline at end of file diff --git a/src/testclient/scripts/sequentialFullTest/create-mcis-only.sh b/src/testclient/scripts/sequentialFullTest/create-mcis-only.sh index 3ae3812ca..aba9f1e64 100755 --- a/src/testclient/scripts/sequentialFullTest/create-mcis-only.sh +++ b/src/testclient/scripts/sequentialFullTest/create-mcis-only.sh @@ -37,7 +37,7 @@ function test_sequence_allcsp_mcis() { _self=$CMDPATH - ../8.mcis/create-single-vm-mcis.sh -c $CSP -r $REGION -n $POSTFIX -f $TestSetFile -x $NUMVM + ../8.mcis/create-mcis.sh -c $CSP -r $REGION -n $POSTFIX -f $TestSetFile -x $NUMVM #dozing 1 #../8.mcis/status-mcis.sh -c $CSP -r $REGION -n $POSTFIX -f $TestSetFile $MCISPREFIX echo ""