Add VM group feature to request multiple VMs simply #413
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
resolves #412
기존 MCIS 생성 API를 활용하여, Group 단위의 VM 생성 기능 제공
기존 MCIS 생성 API에서,
vm 요청 명세에 vmGroupSize 를 1 이상 입력하면,
(참고: vmGroupSize 를 명시하지 않거나 0으로 지정하면, 기존의 개별 vm 생성 방식과 동일하게 동작함)
TbVmGroupInfo 오브젝트가 생성되고, CB-TB가 지정된 숫자만큼 자동으로 vm을 생성함.
이때 vm의 이름은
vm 명세에 지정된 name에
postfix (
-N
) 를 추가하여 자동 생성.요청 정보에 vmGroupSize 가 추가됨.
"vmGroupSize": "3",
[요청 예시]
vm의 vmGroupId 항목이 MCIS 조회 정보에 추가됨
"vmGroupId" : "aws-ap-southeast-1-shson",
[MCIS 정보 조회 예시]