Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add user input to confirm test config #734

Merged
merged 1 commit into from
Sep 14, 2021

Conversation

seokho-son
Copy link
Member

Confirm the above configuration. Do you want to proceed ? (y/n) : n
[Command: ./create-all.sh -n shson01 -x 3] has been cancelled. See you soon. :)

cb-tumblebug/src/testclient/scripts/sequentialFullTest$ ./create-all.sh -n shson01 -x 3
####################################################################
## Check test config file (-n deveoperPrefix -f ../testSetCustom.env -x numOfVMsInEachVMGroup)
####################################################################

Input parameters
// POSTFIX:shson01 // TestSetFile:../testSet.env // CSP:all // REGION:1 // OPTION01:3 // OPTION02: // OPTION03:

[Configuration in (../testSet.env) & (../conf.env) files]
1) Tumblebug Server : localhost:1323 // Spider Server : localhost:1024
2) Enabled CSPs and regions in ../testSet.env
 - [1] testcloud01 (enabled regions : 1)
 - [2] testcloud02 (enabled regions : 1)
 - [3] testcloud03 (enabled regions : 1)

   [1] testcloud01 details
   [1,1] testcloud01-seoul
    - VM SPEC : mock-vmspec-01
    - VM IMAGE : mock-vmimage-01

   [2] testcloud02 details
   [2,1] testcloud02-canada
    - VM SPEC : mock-vmspec-01
    - VM IMAGE : mock-vmimage-01

   [3] testcloud03 details
   [3,1] testcloud03-frankfurt
    - VM SPEC : mock-vmspec-01
    - VM IMAGE : mock-vmimage-01

3) MCIS Configuration
 - NameSpace ID : tb01
 - MCIS ID : cb-shson01
 - Number of VMs
   - [1] VMs(3) = testcloud01(1) * Region(1) * VMgroup(3)
   - [2] VMs(3) = testcloud02(1) * Region(1) * VMgroup(3)
   - [3] VMs(3) = testcloud03(1) * Region(1) * VMgroup(3)

Confirm the above configuration. Do you want to proceed ? (y/n) : n
[Command: ./create-all.sh -n shson01 -x 3] has been cancelled. See you soon. :)

@jihoon-seo jihoon-seo merged commit afbbaf1 into cloud-barista:main Sep 14, 2021
@jihoon-seo
Copy link
Member

@seokho-son
#714 (comment) 와 관련하여..

❯ ./create-all.sh -n jhseo -c aws -r 1

####################################################################
## Check test config file (-n deveoperPrefix -f ../testSetCustom.env -x numOfVMsInEachVMGroup)
####################################################################

Input parameters
// POSTFIX:jhseo // TestSetFile:../testSet.env // CSP:aws // REGION:1 // OPTION01: // OPTION02: // OPTION03:

[Configuration in (../testSet.env) & (../conf.env) files]
1) Tumblebug Server : localhost:1323 // Spider Server : localhost:1024
2) Enabled CSPs and regions in ../testSet.env
 - [1] testcloud01 (enabled regions : 1)
 - [2] testcloud02 (enabled regions : 1)
 - [3] testcloud03 (enabled regions : 1)

   [1] testcloud01 details
   [1,1] testcloud01-seoul
    - VM SPEC : mock-vmspec-01
    - VM IMAGE : mock-vmimage-01

   [2] testcloud02 details
   [2,1] testcloud02-canada
    - VM SPEC : mock-vmspec-01
    - VM IMAGE : mock-vmimage-01

   [3] testcloud03 details
   [3,1] testcloud03-frankfurt
    - VM SPEC : mock-vmspec-01
    - VM IMAGE : mock-vmimage-01

3) MCIS Configuration
 - NameSpace ID : tb01
 - MCIS ID : cb-jhseo
 - Number of VMs
   - [1] VMs(1) = testcloud01(1) * Region(1) * VMgroup(1)
   - [2] VMs(1) = testcloud02(1) * Region(1) * VMgroup(1)
   - [3] VMs(1) = testcloud03(1) * Region(1) * VMgroup(1)

Confirm the above configuration. Do you want to proceed ? (y/n) : y

(./check-test-config.sh 스크립트는 ../testSet.env 에 설정된 내용을 출력해 주고,
이후 ./create-all.sh 스크립트는 -n jhseo -c aws -r 1 arg에 따라 동작함)

현재는 이렇게 동작하고 있습니다.. 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants