Add customImage mgmt and snapshot features #1190
Merged
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.
[Create VM snapshot]
[Request]
cb-tumblebug/src/testclient/scripts/8.mcis/snapshot-vm.sh -n jhseo -c aws -r 1
POST
http://$TumblebugServer/tumblebug/ns/$NSID/mcis/${MCISID}/vm/${CONN_CONFIG[$INDEX,$REGION]}-1/snapshot
[Response]
'VM 스냅샷 삭제 시 볼륨 스냅샷도 함께 삭제' 되도록 SP가 업데이트될 예정임
([+MyImage] VM Snapshot, MyImage and Driver API cb-spider#719 (comment))
[List customImage]
[Request]
cb-tumblebug/src/testclient/scripts/12.customImage/list-customimage.sh
GET
http://$TumblebugServer/tumblebug/ns/$NSID/resources/customImage
[Response]
[List customImage IDs]
[Request]
cb-tumblebug/src/testclient/scripts/12.customImage/id-list-customimage.sh
GET
http://$TumblebugServer/tumblebug/ns/$NSID/resources/customImage?option=id
[Response]
[Inspect customImage]
[Request]
cb-tumblebug/src/testclient/scripts/12.customImage/inspect-customimage.sh -n jhseo -c aws -r 1
POST
http://$TumblebugServer/tumblebug/inspectResources
[Response]
[Delete customImage]
[Request]
cb-tumblebug/src/testclient/scripts/12.customImage/delete-customimage.sh -n jhseo -c aws -r 1
DELETE
http://$TumblebugServer/tumblebug/ns/$NSID/resources/customImage/${CONN_CONFIG[$INDEX,$REGION]}-${POSTFIX}
[Response]