[Publish] (v0.2.0) MCIS management
Test basic mcis control operations
GETList all MCISs
localhost:1323/tumblebug/ns/ㅜ-01/mcis
List all MCISs
Example Request
List all MCISs
curl
curl --location 'localhost:1323/tumblebug/ns/ㅜ-01/mcis'
200 OK
Example Response
json
{
"mcis": [
{
"id": "MCIS-gcp-shson",
"name": "MCIS-gcp-shson",
"status": "",
"targetStatus": "None",
"targetAction": "None",
"placement_algo": "",
"description": "Tumblebug Demo",
"vm": [
{
"id": "vm-gcp-shson-01",
"name": "vm-gcp-shson-01",
"config_name": "gcp-asia-east1-a-config",
"region": {
"Region": "asia-east1",
"Zone": "asia-east1-a"
},
"publicIP": "104.155.212.130",
"publicDNS": "",
"status": ""
},
{
"id": "vm-gcp-shson-02",
"name": "vm-gcp-shson-02",
"config_name": "gcp-asia-east1-a-config",
"region": {
"Region": "asia-east1",
"Zone": "asia-east1-a"
},
"publicIP": "130.211.252.106",
"publicDNS": "",
"status": ""
},
{
"id": "vm-gcp-shson-03",
"name": "vm-gcp-shson-03",
"config_name": "gcp-asia-east1-a-config",
"region": {
"Region": "asia-east1",
"Zone": "asia-east1-a"
},
"publicIP": "35.221.253.53",
"publicDNS": "",
"status": ""
}
]
}
]
}
Access-Control-Allow-Origin
*
Content-Type
application/json; charset=UTF-8
Vary
Origin
Date
Tue, 19 May 2020 02:20:32 GMT
Content-Length
774
GETList all MCISs with current status
localhost:1323/tumblebug/ns/ㅜ-01/mcis?option=status
List all MCISs
PARAMS
option
status
Example Request
List all MCISs with current status (when target Action is complete)
curl
curl --location 'localhost:1323/tumblebug/ns/ㅜ-01/mcis?option=status'
200 OK
Example Response
json
{
"mcis": [
{
"id": "MCIS-gcp-shson",
"name": "MCIS-gcp-shson",
"status": "Suspended",
"targetStatus": "None",
"targetAction": "None",
"placement_algo": "",
"description": "Tumblebug Demo",
"vm": [
{
"id": "vm-gcp-shson-01",
"name": "vm-gcp-shson-01",
"config_name": "gcp-asia-east1-a-config",
"region": {
"Region": "asia-east1",
"Zone": "asia-east1-a"
},
"publicIP": "104.155.212.130",
"publicDNS": "",
"status": "Suspended"
},
{
"id": "vm-gcp-shson-02",
"name": "vm-gcp-shson-02",
"config_name": "gcp-asia-east1-a-config",
"region": {
"Region": "asia-east1",
"Zone": "asia-east1-a"
},
"publicIP": "130.211.252.106",
"publicDNS": "",
"status": "Suspended"
},
{
"id": "vm-gcp-shson-03",
"name": "vm-gcp-shson-03",
"config_name": "gcp-asia-east1-a-config",
"region": {
"Region": "asia-east1",
"Zone": "asia-east1-a"
},
"publicIP": "35.221.253.53",
"publicDNS": "",
"status": "Suspended"
}
]
}
]
}
Access-Control-Allow-Origin
*
Content-Type
application/json; charset=UTF-8
Vary
Origin
Date
Tue, 19 May 2020 02:20:53 GMT
Content-Length
810
POST(TBD) Recommend MCIS config
localhost:1323/tumblebug/ns/ㅜ-01/mcis/recommend
Create MCIS which consists of multiple VMs
HEADERS
Content-Type
application/json
Bodyraw
{
"max_result_num": "2",
"placement_algo": "none",
"placement_param": [
{
"key": "1 key",
"value": "1 value"
},
{
"key": "2 key",
"value": "2 value"
}
],
"vm_req": [
{
"request_name": "req-vmtest05",
"max_result_num": "5",
"vcpu_size": "1",
"memory_size": "1",
"disk_size": "1",
"placement_algo": "price",
"placement_param": [
{
"key": "1 key",
"value": "1 value"
},
{
"key": "2 key",
"value": "2 value"
}
]
},
{
"request_name": "req-vmtest06",
"max_result_num": "5",
"vcpu_size": "2",
"memory_size": "2",
"disk_size": "2",
"placement_algo": "price",
"placement_param": [
{
"key": "1 key",
"value": "1 value"
},
{
"key": "2 key",
"value": "2 value"
}
]
}
]
}
Example Request
Recommend MCIS config
curl
curl --location -g '{{ip}}:{{port}}/ns/ㅜ-01/mcis/recommend' \
--header 'Content-Type: application/json' \
--data '{
"max_result_num": "2",
"placement_algo": "none",
"placement_param": [
{
"key": "1 key",
"value": "1 value"
},
{
"key": "2 key",
"value": "2 value"
}
],
"vm_req": [
{
"request_name": "req-vmtest05",
"max_result_num": "5",
"vcpu_size": "1",
"memory_size": "1",
"disk_size": "1",
"placement_algo": "price",
"placement_param": [
{
"key": "1 key",
"value": "1 value"
},
{
"key": "2 key",
"value": "2 value"
}
]
},
{
"request_name": "req-vmtest06",
"max_result_num": "5",
"vcpu_size": "2",
"memory_size": "2",
"disk_size": "2",
"placement_algo": "price",
"placement_param": [
{
"key": "1 key",
"value": "1 value"
},
{
"key": "2 key",
"value": "2 value"
}
]
}
]
}'
201 Created
Example Response
json
{
"vm_recommend": [
{
"vm_req": {
"request_name": "req-vmtest05",
"max_result_num": "5",
"vcpu_size": "1",
"memory_size": "1",
"disk_size": "1",
"placement_algo": "price",
"placement_param": [
{
"Key": "1 key",
"Value": "1 value"
},
{
"Key": "2 key",
"Value": "2 value"
}
]
},
"vm_priority": [
{
"priority": "0",
"vm_spec": {
"id": "0cd007b3-d2c4-4913-a773-77bc43b94eaf",
"name": "t2.micro-01",
"connectionName": "aws-config01",
"os_type": "ubuntu",
"num_vCPU": "1",
"num_core": "",
"mem_GiB": "1",
"storage_GiB": "1",
"description": "",
"cost_per_hour": "1"
}
},
{
"priority": "1",
"vm_spec": {
"id": "0ee6c54f-43f5-479f-818d-eb18af42c02f",
"name": "t2.micro-04",
"connectionName": "aws-config01",
"os_type": "ubuntu",
"num_vCPU": "1",
"num_core": "",
"mem_GiB": "1",
"storage_GiB": "1",
"description": "",
"cost_per_hour": "4"
}
},
{
"priority": "2",
"vm_spec": {
"id": "58ade7fd-d108-44a3-99db-3a018c961e9a",
"name": "t2.micro-03",
"connectionName": "aws-config01",
"os_type": "ubuntu",
"num_vCPU": "1",
"num_core": "",
"mem_GiB": "1",
"storage_GiB": "1",
"description": "",
"cost_per_hour": "3"
}
},
{
"priority": "3",
"vm_spec": {
"id": "69c573cf-0341-43c1-80a3-426835684e42",
"name": "t2.micro-02",
"connectionName": "aws-config01",
"os_type": "ubuntu",
"num_vCPU": "1",
"num_core": "",
"mem_GiB": "1",
"storage_GiB": "1",
"description": "",
"cost_per_hour": "2"
}
},
{
"priority": "4",
"vm_spec": {
"id": "d3959c21-af25-46b0-9316-ab7f08934371",
"name": "t2.micro",
"connectionName": "aws-config01",
"os_type": "ubuntu",
"num_vCPU": "1",
"num_core": "",
"mem_GiB": "1",
"storage_GiB": "1",
"description": "",
"cost_per_hour": "1"
}
}
],
"placement_algo": "price",
"placement_param": [
{
"Key": "1 key",
"Value": "1 value"
},
{
"Key": "2 key",
"Value": "2 value"
}
]
},
{
"vm_req": {
"request_name": "req-vmtest06",
"max_result_num": "5",
"vcpu_size": "2",
"memory_size": "2",
"disk_size": "2",
"placement_algo": "price",
"placement_param": [
{
"Key": "1 key",
"Value": "1 value"
},
{
"Key": "2 key",
"Value": "2 value"
}
]
},
"vm_priority": [
{
"priority": "0",
"vm_spec": {
"id": "041c71da-c024-4e30-9b6e-092bfcca6e25",
"name": "t2.medium-02",
"connectionName": "aws-config01",
"os_type": "ubuntu",
"num_vCPU": "2",
"num_core": "",
"mem_GiB": "2",
"storage_GiB": "2",
"description": "",
"cost_per_hour": "6"
}
},
{
"priority": "1",
"vm_spec": {
"id": "9c744220-b28a-4636-a6c1-078f05c38ec9",
"name": "t2.medium-01",
"connectionName": "aws-config01",
"os_type": "ubuntu",
"num_vCPU": "2",
"num_core": "",
"mem_GiB": "2",
"storage_GiB": "2",
"description": "",
"cost_per_hour": "5"
}
},
{
"priority": "2",
"vm_spec": {
"id": "ffb7657a-0f4a-40cd-b84e-8147744c001d",
"name": "t2.medium-03",
"connectionName": "aws-config01",
"os_type": "ubuntu",
"num_vCPU": "2",
"num_core": "",
"mem_GiB": "2",
"storage_GiB": "2",
"description": "",
"cost_per_hour": "7"
}
}
],
"placement_algo": "price",
"placement_param": [
{
"Key": "1 key",
"Value": "1 value"
},
{
"Key": "2 key",
"Value": "2 value"
}
]
}
],
"placement_algo": "none",
"placement_param": [
{
"Key": "1 key",
"Value": "1 value"
},
{
"Key": "2 key",
"Value": "2 value"
}
]
}
Content-Type
application/json; charset=UTF-8
Date
Fri, 08 Nov 2019 01:10:35 GMT
Transfer-Encoding
chunked
POSTCreate MCIS
localhost:1323/tumblebug/ns/ㅜ-01/mcis
Create MCIS which consists of multiple VMs
HEADERS
Content-Type
application/json
Bodyraw
{
"name": "aws-us-east-1-shson",
"description": "Tumblebug MCIS Demo",
"vm_req": [
{
"name": "aws-us-east-1-shson-01",
"config_name": "aws-us-east-1",
"spec_id": "aws-us-east-1-shson",
"image_id": "aws-us-east-1-shson",
"vnet_id": "aws-us-east-1-shson",
"subnet_id": "aws-us-east-1-shson",
"security_group_ids": [
"aws-us-east-1-shson"
],
"ssh_key_id": "aws-us-east-1-shson",
"description": "connection_name",
"vm_access_id": "",
"vm_access_passwd": ""
},
{
"name": "aws-us-east-1-shson-02",
"config_name": "aws-us-east-1",
"spec_id": "aws-us-east-1-shson",
"image_id": "aws-us-east-1-shson",
"vnet_id": "aws-us-east-1-shson",
"subnet_id": "aws-us-east-1-shson",
"security_group_ids": [
"aws-us-east-1-shson"
],
"ssh_key_id": "aws-us-east-1-shson",
"description": "connection_name",
"vm_access_id": "",
"vm_access_passwd": ""
},
{
"name": "aws-us-east-1-shson-03",
"config_name": "aws-us-east-1",
"spec_id": "aws-us-east-1-shson",
"image_id": "aws-us-east-1-shson",
"vnet_id": "aws-us-east-1-shson",
"subnet_id": "aws-us-east-1-shson",
"security_group_ids": [
"aws-us-east-1-shson"
],
"ssh_key_id": "aws-us-east-1-shson",
"description": "connection_name",
"vm_access_id": "",
"vm_access_passwd": ""
}
]
}
Example Request
Create MCIS
curl
curl --location 'localhost:1323/tumblebug/ns/ㅜ-01/mcis' \
--header 'Content-Type: application/json' \
--data '{
"name": "MCIS-test-01",
"vm_num": "3",
"description": "Tumblebug demo",
"vm_req": [
{
"name": "aws-shson-vm-1",
"config_name": "aws-us-east-1",
"spec_id": "test_spec",
"image_id": "test_img_name",
"vnet_id": "VPC-test01",
"subnet_id": "Subnet-test-01",
"security_group_ids": [
"{{cbSecurityGroupId}}"
],
"ssh_key_id": "KEYPAIR-test01",
"description": "description",
"vm_access_id": "",
"vm_access_passwd": ""
},
{
"name": "aws-shson-vm-2",
"config_name": "aws-us-east-1",
"spec_id": "test_spec",
"image_id": "test_img_name",
"vnet_id": "VPC-test01",
"subnet_id": "Subnet-test-01",
"security_group_ids": [
"{{cbSecurityGroupId}}"
],
"ssh_key_id": "KEYPAIR-test01",
"description": "description",
"vm_access_id": "",
"vm_access_passwd": ""
},
{
"name": "aws-shson-vm-3",
"config_name": "aws-us-east-1",
"spec_id": "test_spec",
"image_id": "test_img_name",
"vnet_id": "VPC-test01",
"subnet_id": "Subnet-test-01",
"security_group_ids": [
"{{cbSecurityGroupId}}"
],
"ssh_key_id": "KEYPAIR-test01",
"description": "description",
"vm_access_id": "",
"vm_access_passwd": ""
}
]
}'
201 Created
Example Response
json
{
"id": "MCIS-test-01",
"name": "MCIS-test-01",
"status": "Include-NotDefinedStatus",
"vm": [
{
"id": "aws-shson-vm-1",
"name": "aws-shson-vm-1",
"config_name": "aws-us-east-1-config",
"spec_id": "test_spec",
"image_id": "test_img_name",
"vnet_id": "VPC-test01",
"subnet_id": "Subnet-test-01",
"security_group_ids": [
"SG-test01"
],
"ssh_key_id": "KEYPAIR-test01",
"description": "description",
"vm_access_id": "",
"vm_access_passwd": "",
"vmUserId": "",
"vmUserPasswd": "",
"region": {
"Region": "us-east-1",
"Zone": "us-east-1f"
},
"publicIP": "34.231.21.58",
"publicDNS": "",
"privateIP": "192.168.1.134",
"privateDNS": "ip-192-168-1-134.ec2.internal",
"vmBootDisk": "/dev/sda1",
"vmBlockDisk": "/dev/sda1",
"status": "Running",
"cspViewVmDetail": {
"IId": {
"NameId": "aws-shson-vm-1",
"SystemId": "i-067df8d784e63039b"
},
"ImageIId": {
"NameId": "ami-085925f297f89fce1",
"SystemId": "ami-085925f297f89fce1"
},
"VpcIID": {
"NameId": "VPC-test01",
"SystemId": "vpc-04e1d1744b1898138"
},
"SubnetIID": {
"NameId": "Subnet-test-01",
"SystemId": "subnet-09d9dd2369e971cf5"
},
"SecurityGroupIIds": [
{
"NameId": "VPC-test01-DELIMITER-SG-test01",
"SystemId": "sg-0625bad6c0a5690da"
}
],
"KeyPairIId": {
"NameId": "KEYPAIR-test01",
"SystemId": "KEYPAIR-test01"
},
"VMSpecName": "t2.micro",
"StartTime": "2020-05-08T14:41:08Z",
"Region": {
"Region": "us-east-1",
"Zone": "us-east-1f"
},
"VMUserId": "",
"VMUserPasswd": "",
"NetworkInterface": "eni-attach-0d3edbab7c4a50479",
"PublicIP": "34.231.21.58",
"PublicDNS": "",
"PrivateIP": "192.168.1.134",
"PrivateDNS": "ip-192-168-1-134.ec2.internal",
"VMBootDisk": "/dev/sda1",
"VMBlockDisk": "/dev/sda1",
"KeyValueList": [
{
"Key": "State",
"Value": "running"
},
{
"Key": "Architecture",
"Value": "x86_64"
},
{
"Key": "VpcId",
"Value": "vpc-04e1d1744b1898138"
},
{
"Key": "SubnetId",
"Value": "subnet-09d9dd2369e971cf5"
},
{
"Key": "KeyName",
"Value": "KEYPAIR-test01"
}
]
}
},
{
"id": "aws-shson-vm-2",
"name": "aws-shson-vm-2",
"config_name": "aws-us-east-1-config",
"spec_id": "test_spec",
"image_id": "test_img_name",
"vnet_id": "VPC-test01",
"subnet_id": "Subnet-test-01",
"security_group_ids": [
"SG-test01"
],
"ssh_key_id": "KEYPAIR-test01",
"description": "description",
"vm_access_id": "",
"vm_access_passwd": "",
"vmUserId": "",
"vmUserPasswd": "",
"region": {
"Region": "us-east-1",
"Zone": "us-east-1f"
},
"publicIP": "3.233.234.63",
"publicDNS": "",
"privateIP": "192.168.1.155",
"privateDNS": "ip-192-168-1-155.ec2.internal",
"vmBootDisk": "/dev/sda1",
"vmBlockDisk": "/dev/sda1",
"status": "Running",
"cspViewVmDetail": {
"IId": {
"NameId": "aws-shson-vm-2",
"SystemId": "i-0a15be24412cab0da"
},
"ImageIId": {
"NameId": "ami-085925f297f89fce1",
"SystemId": "ami-085925f297f89fce1"
},
"VpcIID": {
"NameId": "VPC-test01",
"SystemId": "vpc-04e1d1744b1898138"
},
"SubnetIID": {
"NameId": "Subnet-test-01",
"SystemId": "subnet-09d9dd2369e971cf5"
},
"SecurityGroupIIds": [
{
"NameId": "VPC-test01-DELIMITER-SG-test01",
"SystemId": "sg-0625bad6c0a5690da"
}
],
"KeyPairIId": {
"NameId": "KEYPAIR-test01",
"SystemId": "KEYPAIR-test01"
},
"VMSpecName": "t2.micro",
"StartTime": "2020-05-08T14:40:35Z",
"Region": {
"Region": "us-east-1",
"Zone": "us-east-1f"
},
"VMUserId": "",
"VMUserPasswd": "",
"NetworkInterface": "eni-attach-0eecc13edef0f72e9",
"PublicIP": "3.233.234.63",
"PublicDNS": "",
"PrivateIP": "192.168.1.155",
"PrivateDNS": "ip-192-168-1-155.ec2.internal",
"VMBootDisk": "/dev/sda1",
"VMBlockDisk": "/dev/sda1",
"KeyValueList": [
{
"Key": "State",
"Value": "running"
},
{
"Key": "Architecture",
"Value": "x86_64"
},
{
"Key": "VpcId",
"Value": "vpc-04e1d1744b1898138"
},
{
"Key": "SubnetId",
"Value": "subnet-09d9dd2369e971cf5"
},
{
"Key": "KeyName",
"Value": "KEYPAIR-test01"
}
]
}
},
{
"id": "aws-shson-vm-3",
"name": "aws-shson-vm-3",
"config_name": "aws-us-east-1-config",
"spec_id": "test_spec",
"image_id": "test_img_name",
"vnet_id": "VPC-test01",
"subnet_id": "Subnet-test-01",
"security_group_ids": [
"SG-test01"
],
"ssh_key_id": "KEYPAIR-test01",
"description": "description",
"vm_access_id": "",
"vm_access_passwd": "",
"vmUserId": "",
"vmUserPasswd": "",
"region": {
"Region": "us-east-1",
"Zone": "us-east-1f"
},
"publicIP": "3.235.175.16",
"publicDNS": "",
"privateIP": "192.168.1.95",
"privateDNS": "ip-192-168-1-95.ec2.internal",
"vmBootDisk": "/dev/sda1",
"vmBlockDisk": "/dev/sda1",
"status": "Running",
"cspViewVmDetail": {
"IId": {
"NameId": "aws-shson-vm-3",
"SystemId": "i-09005c3734f3c059f"
},
"ImageIId": {
"NameId": "ami-085925f297f89fce1",
"SystemId": "ami-085925f297f89fce1"
},
"VpcIID": {
"NameId": "VPC-test01",
"SystemId": "vpc-04e1d1744b1898138"
},
"SubnetIID": {
"NameId": "Subnet-test-01",
"SystemId": "subnet-09d9dd2369e971cf5"
},
"SecurityGroupIIds": [
{
"NameId": "VPC-test01-DELIMITER-SG-test01",
"SystemId": "sg-0625bad6c0a5690da"
}
],
"KeyPairIId": {
"NameId": "KEYPAIR-test01",
"SystemId": "KEYPAIR-test01"
},
"VMSpecName": "t2.micro",
"StartTime": "2020-05-08T14:40:02Z",
"Region": {
"Region": "us-east-1",
"Zone": "us-east-1f"
},
"VMUserId": "",
"VMUserPasswd": "",
"NetworkInterface": "eni-attach-0e4f45c734e29468a",
"PublicIP": "3.235.175.16",
"PublicDNS": "",
"PrivateIP": "192.168.1.95",
"PrivateDNS": "ip-192-168-1-95.ec2.internal",
"VMBootDisk": "/dev/sda1",
"VMBlockDisk": "/dev/sda1",
"KeyValueList": [
{
"Key": "State",
"Value": "running"
},
{
"Key": "Architecture",
"Value": "x86_64"
},
{
"Key": "VpcId",
"Value": "vpc-04e1d1744b1898138"
},
{
"Key": "SubnetId",
"Value": "subnet-09d9dd2369e971cf5"
},
{
"Key": "KeyName",
"Value": "KEYPAIR-test01"
}
]
}
},
{
"id": "aws-shson-vm-4",
"name": "aws-shson-vm-4",
"config_name": "aws-us-east-1-config",
"spec_id": "test_spec",
"image_id": "test_img_name",
"vnet_id": "VPC-test01",
"subnet_id": "Subnet-test-01",
"security_group_ids": [
"SG-test01"
],
"ssh_key_id": "KEYPAIR-test01",
"description": "description",
"vm_access_id": "",
"vm_access_passwd": "",
"vmUserId": "",
"vmUserPasswd": "",
"region": {
"Region": "us-east-1",
"Zone": "us-east-1f"
},
"publicIP": "18.232.181.209",
"publicDNS": "",
"privateIP": "192.168.1.28",
"privateDNS": "ip-192-168-1-28.ec2.internal",
"vmBootDisk": "/dev/sda1",
"vmBlockDisk": "/dev/sda1",
"status": "Running",
"cspViewVmDetail": {
"IId": {
"NameId": "aws-shson-vm-4",
"SystemId": "i-076c247605233946c"
},
"ImageIId": {
"NameId": "ami-085925f297f89fce1",
"SystemId": "ami-085925f297f89fce1"
},
"VpcIID": {
"NameId": "VPC-test01",
"SystemId": "vpc-04e1d1744b1898138"
},
"SubnetIID": {
"NameId": "Subnet-test-01",
"SystemId": "subnet-09d9dd2369e971cf5"
},
"SecurityGroupIIds": [
{
"NameId": "VPC-test01-DELIMITER-SG-test01",
"SystemId": "sg-0625bad6c0a5690da"
}
],
"KeyPairIId": {
"NameId": "KEYPAIR-test01",
"SystemId": "KEYPAIR-test01"
},
"VMSpecName": "t2.micro",
"StartTime": "2020-05-08T14:29:25Z",
"Region": {
"Region": "us-east-1",
"Zone": "us-east-1f"
},
"VMUserId": "",
"VMUserPasswd": "",
"NetworkInterface": "eni-attach-085d7d86972908c93",
"PublicIP": "18.232.181.209",
"PublicDNS": "",
"PrivateIP": "192.168.1.28",
"PrivateDNS": "ip-192-168-1-28.ec2.internal",
"VMBootDisk": "/dev/sda1",
"VMBlockDisk": "/dev/sda1",
"KeyValueList": [
{
"Key": "State",
"Value": "running"
},
{
"Key": "Architecture",
"Value": "x86_64"
},
{
"Key": "VpcId",
"Value": "vpc-04e1d1744b1898138"
},
{
"Key": "SubnetId",
"Value": "subnet-09d9dd2369e971cf5"
},
{
"Key": "KeyName",
"Value": "KEYPAIR-test01"
}
]
}
},
{
"id": "aws-shson-vm-5",
"name": "aws-shson-vm-5",
"config_name": "aws-us-east-1-config",
"spec_id": "test_spec",
"image_id": "test_img_name",
"vnet_id": "VPC-test01",
"subnet_id": "Subnet-test-01",
"security_group_ids": [
"SG-test01"
],
"ssh_key_id": "KEYPAIR-test01",
"description": "description",
"vm_access_id": "",
"vm_access_passwd": "",
"vmUserId": "",
"vmUserPasswd": "",
"region": {
"Region": "us-east-1",
"Zone": "us-east-1f"
},
"publicIP": "3.235.64.85",
"publicDNS": "",
"privateIP": "192.168.1.20",
"privateDNS": "ip-192-168-1-20.ec2.internal",
"vmBootDisk": "/dev/sda1",
"vmBlockDisk": "/dev/sda1",
"status": "Running",
"cspViewVmDetail": {
"IId": {
"NameId": "aws-shson-vm-5",
"SystemId": "i-0c13312a8d7679d75"
},
"ImageIId": {
"NameId": "ami-085925f297f89fce1",
"SystemId": "ami-085925f297f89fce1"
},
"VpcIID": {
"NameId": "VPC-test01",
"SystemId": "vpc-04e1d1744b1898138"
},
"SubnetIID": {
"NameId": "Subnet-test-01",
"SystemId": "subnet-09d9dd2369e971cf5"
},
"SecurityGroupIIds": [
{
"NameId": "VPC-test01-DELIMITER-SG-test01",
"SystemId": "sg-0625bad6c0a5690da"
}
],
"KeyPairIId": {
"NameId": "KEYPAIR-test01",
"SystemId": "KEYPAIR-test01"
},
"VMSpecName": "t2.micro",
"StartTime": "2020-05-08T14:26:39Z",
"Region": {
"Region": "us-east-1",
"Zone": "us-east-1f"
},
"VMUserId": "",
"VMUserPasswd": "",
"NetworkInterface": "eni-attach-038abc509179579b3",
"PublicIP": "3.235.64.85",
"PublicDNS": "",
"PrivateIP": "192.168.1.20",
"PrivateDNS": "ip-192-168-1-20.ec2.internal",
"VMBootDisk": "/dev/sda1",
"VMBlockDisk": "/dev/sda1",
"KeyValueList": [
{
"Key": "State",
"Value": "running"
},
{
"Key": "Architecture",
"Value": "x86_64"
},
{
"Key": "VpcId",
"Value": "vpc-04e1d1744b1898138"
},
{
"Key": "SubnetId",
"Value": "subnet-09d9dd2369e971cf5"
},
{
"Key": "KeyName",
"Value": "KEYPAIR-test01"
}
]
}
},
{
"id": "aws-shson-vm-6",
"name": "aws-shson-vm-6",
"config_name": "aws-us-east-1-config",
"spec_id": "test_spec",
"image_id": "test_img_name",
"vnet_id": "VPC-test01",
"subnet_id": "Subnet-test-01",
"security_group_ids": [
"SG-test01"
],
"ssh_key_id": "KEYPAIR-test01",
"description": "description",
"vm_access_id": "",
"vm_access_passwd": "",
"vmUserId": "",
"vmUserPasswd": "",
"region": {
"Region": "us-east-1",
"Zone": "us-east-1f"
},
"publicIP": "3.234.244.241",
"publicDNS": "",
"privateIP": "192.168.1.18",
"privateDNS": "ip-192-168-1-18.ec2.internal",
"vmBootDisk": "/dev/sda1",
"vmBlockDisk": "/dev/sda1",
"status": "Running",
"cspViewVmDetail": {
"IId": {
"NameId": "aws-shson-vm-6",
"SystemId": "i-0b83c2ece75d5acd4"
},
"ImageIId": {
"NameId": "ami-085925f297f89fce1",
"SystemId": "ami-085925f297f89fce1"
},
"VpcIID": {
"NameId": "VPC-test01",
"SystemId": "vpc-04e1d1744b1898138"
},
"SubnetIID": {
"NameId": "Subnet-test-01",
"SystemId": "subnet-09d9dd2369e971cf5"
},
"SecurityGroupIIds": [
{
"NameId": "VPC-test01-DELIMITER-SG-test01",
"SystemId": "sg-0625bad6c0a5690da"
}
],
"KeyPairIId": {
"NameId": "KEYPAIR-test01",
"SystemId": "KEYPAIR-test01"
},
"VMSpecName": "t2.micro",
"StartTime": "2020-05-08T14:30:17Z",
"Region": {
"Region": "us-east-1",
"Zone": "us-east-1f"
},
"VMUserId": "",
"VMUserPasswd": "",
"NetworkInterface": "eni-attach-085721eab05f3de50",
"PublicIP": "3.234.244.241",
"PublicDNS": "",
"PrivateIP": "192.168.1.18",
"PrivateDNS": "ip-192-168-1-18.ec2.internal",
"VMBootDisk": "/dev/sda1",
"VMBlockDisk": "/dev/sda1",
"KeyValueList": [
{
"Key": "State",
"Value": "running"
},
{
"Key": "Architecture",
"Value": "x86_64"
},
{
"Key": "VpcId",
"Value": "vpc-04e1d1744b1898138"
},
{
"Key": "SubnetId",
"Value": "subnet-09d9dd2369e971cf5"
},
{
"Key": "KeyName",
"Value": "KEYPAIR-test01"
}
]
}
},
{
"id": "aws-shson-vm-7",
"name": "aws-shson-vm-7",
"config_name": "aws-us-east-1-config",
"spec_id": "test_spec",
"image_id": "test_img_name",
"vnet_id": "VPC-test01",
"subnet_id": "Subnet-test-01",
"security_group_ids": [
"SG-test01"
],
"ssh_key_id": "KEYPAIR-test01",
"description": "description",
"vm_access_id": "",
"vm_access_passwd": "",
"vmUserId": "",
"vmUserPasswd": "",
"region": {
"Region": "us-east-1",
"Zone": "us-east-1f"
},
"publicIP": "18.206.83.109",
"publicDNS": "",
"privateIP": "192.168.1.163",
"privateDNS": "ip-192-168-1-163.ec2.internal",
"vmBootDisk": "/dev/sda1",
"vmBlockDisk": "/dev/sda1",
"status": "Running",
"cspViewVmDetail": {
"IId": {
"NameId": "aws-shson-vm-7",
"SystemId": "i-07cbc55155ac0465a"
},
"ImageIId": {
"NameId": "ami-085925f297f89fce1",
"SystemId": "ami-085925f297f89fce1"
},
"VpcIID": {
"NameId": "VPC-test01",
"SystemId": "vpc-04e1d1744b1898138"
},
"SubnetIID": {
"NameId": "Subnet-test-01",
"SystemId": "subnet-09d9dd2369e971cf5"
},
"SecurityGroupIIds": [
{
"NameId": "VPC-test01-DELIMITER-SG-test01",
"SystemId": "sg-0625bad6c0a5690da"
}
],
"KeyPairIId": {
"NameId": "KEYPAIR-test01",
"SystemId": "KEYPAIR-test01"
},
"VMSpecName": "t2.micro",
"StartTime": "2020-05-08T14:29:43Z",
"Region": {
"Region": "us-east-1",
"Zone": "us-east-1f"
},
"VMUserId": "",
"VMUserPasswd": "",
"NetworkInterface": "eni-attach-0432d4d41a158b46c",
"PublicIP": "18.206.83.109",
"PublicDNS": "",
"PrivateIP": "192.168.1.163",
"PrivateDNS": "ip-192-168-1-163.ec2.internal",
"VMBootDisk": "/dev/sda1",
"VMBlockDisk": "/dev/sda1",
"KeyValueList": [
{
"Key": "State",
"Value": "running"
},
{
"Key": "Architecture",
"Value": "x86_64"
},
{
"Key": "VpcId",
"Value": "vpc-04e1d1744b1898138"
},
{
"Key": "SubnetId",
"Value": "subnet-09d9dd2369e971cf5"
},
{
"Key": "KeyName",
"Value": "KEYPAIR-test01"
}
]
}
},
{
"id": "aws-shson-vm-8",
"name": "aws-shson-vm-8",
"config_name": "aws-us-east-1-config",
"spec_id": "test_spec",
"image_id": "test_img_name",
"vnet_id": "VPC-test01",
"subnet_id": "Subnet-test-01",
"security_group_ids": [
"SG-test01"
],
"ssh_key_id": "KEYPAIR-test01",
"description": "description",
"vm_access_id": "",
"vm_access_passwd": "",
"vmUserId": "",
"vmUserPasswd": "",
"region": {
"Region": "us-east-1",
"Zone": "us-east-1f"
},
"publicIP": "3.235.180.97",
"publicDNS": "",
"privateIP": "192.168.1.114",
"privateDNS": "ip-192-168-1-114.ec2.internal",
"vmBootDisk": "/dev/sda1",
"vmBlockDisk": "/dev/sda1",
"status": "Running",
"cspViewVmDetail": {
"IId": {
"NameId": "aws-shson-vm-8",
"SystemId": "i-0772d88e0c5ce6acc"
},
"ImageIId": {
"NameId": "ami-085925f297f89fce1",
"SystemId": "ami-085925f297f89fce1"
},
"VpcIID": {
"NameId": "VPC-test01",
"SystemId": "vpc-04e1d1744b1898138"
},
"SubnetIID": {
"NameId": "Subnet-test-01",
"SystemId": "subnet-09d9dd2369e971cf5"
},
"SecurityGroupIIds": [
{
"NameId": "VPC-test01-DELIMITER-SG-test01",
"SystemId": "sg-0625bad6c0a5690da"
}
],
"KeyPairIId": {
"NameId": "KEYPAIR-test01",
"SystemId": "KEYPAIR-test01"
},
"VMSpecName": "t2.micro",
"StartTime": "2020-05-08T14:28:19Z",
"Region": {
"Region": "us-east-1",
"Zone": "us-east-1f"
},
"VMUserId": "",
"VMUserPasswd": "",
"NetworkInterface": "eni-attach-0bbb8857340846acb",
"PublicIP": "3.235.180.97",
"PublicDNS": "",
"PrivateIP": "192.168.1.114",
"PrivateDNS": "ip-192-168-1-114.ec2.internal",
"VMBootDisk": "/dev/sda1",
"VMBlockDisk": "/dev/sda1",
"KeyValueList": [
{
"Key": "State",
"Value": "running"
},
{
"Key": "Architecture",
"Value": "x86_64"
},
{
"Key": "VpcId",
"Value": "vpc-04e1d1744b1898138"
},
{
"Key": "SubnetId",
"Value": "subnet-09d9dd2369e971cf5"
},
{
"Key": "KeyName",
"Value": "KEYPAIR-test01"
}
]
}
}
],
"placement_algo": "",
"description": "Tumblebug demo"
}
Access-Control-Allow-Origin
*
Content-Type
application/json; charset=UTF-8
Vary
Origin
Date
Fri, 08 May 2020 14:41:44 GMT
Transfer-Encoding
chunked
GETGet MCIS
localhost:1323/tumblebug/ns/ㅜ-01/mcis/aws-us-east-1-shson
Get the MCIS info
Example Request
Get MCIS (Running status)
curl
curl --location 'localhost:1323/tumblebug/ns/ㅜ-01/mcis/aws-us-east-1-shson'
200 OK
Example Response
json
{
"id": "aws-us-east-1-shson",
"name": "aws-us-east-1-shson",
"status": "Running-(3/3)",
"targetStatus": "Running",
"targetAction": "Create",
"vm": [
{
"id": "aws-us-east-1-shson-01",
"name": "aws-us-east-1-shson-01",
"config_name": "aws-us-east-1",
"spec_id": "aws-us-east-1-shson",
"image_id": "aws-us-east-1-shson",
"vnet_id": "aws-us-east-1-shson",
"subnet_id": "aws-us-east-1-shson",
"security_group_ids": [
"aws-us-east-1-shson"
],
"ssh_key_id": "aws-us-east-1-shson",
"description": "connection_name",
"vm_access_id": "",
"vm_access_passwd": "",
"vmUserId": "",
"vmUserPasswd": "",
"location": {
"latitude": "38.1300",
"longitude": "-78.4500",
"briefAddr": "Virginia",
"cloudType": "aws",
"nativeRegion": "us-east-1"
},
"region": {
"Region": "us-east-1",
"Zone": "us-east-1e"
},
"publicIP": "100.26.253.52",
"publicDNS": "",
"privateIP": "192.168.1.95",
"privateDNS": "ip-192-168-1-95.ec2.internal",
"vmBootDisk": "/dev/sda1",
"vmBlockDisk": "/dev/sda1",
"status": "Running",
"targetStatus": "None",
"targetAction": "None",
"cspViewVmDetail": {
"IId": {
"NameId": "aws-us-east-1-shson-01",
"SystemId": "i-00ba55a33b9b3972e"
},
"ImageIId": {
"NameId": "ami-085925f297f89fce1",
"SystemId": "ami-085925f297f89fce1"
},
"VpcIID": {
"NameId": "aws-us-east-1-shson",
"SystemId": "vpc-0be334ade4783cebe"
},
"SubnetIID": {
"NameId": "aws-us-east-1-shson",
"SystemId": "subnet-034e6c7d824240369"
},
"SecurityGroupIIds": [
{
"NameId": "aws-us-east-1-shson",
"SystemId": "sg-0da9c2052535776a7"
}
],
"KeyPairIId": {
"NameId": "aws-us-east-1-shson",
"SystemId": "aws-us-east-1-shson"
},
"VMSpecName": "t2.micro",
"StartTime": "2020-05-30T18:05:10Z",
"Region": {
"Region": "us-east-1",
"Zone": "us-east-1e"
},
"VMUserId": "",
"VMUserPasswd": "",
"NetworkInterface": "eni-attach-074ea5ec449f58d7c",
"PublicIP": "100.26.253.52",
"PublicDNS": "",
"PrivateIP": "192.168.1.95",
"PrivateDNS": "ip-192-168-1-95.ec2.internal",
"VMBootDisk": "/dev/sda1",
"VMBlockDisk": "/dev/sda1",
"KeyValueList": [
{
"Key": "State",
"Value": "running"
},
{
"Key": "Architecture",
"Value": "x86_64"
},
{
"Key": "VpcId",
"Value": "vpc-0be334ade4783cebe"
},
{
"Key": "SubnetId",
"Value": "subnet-034e6c7d824240369"
},
{
"Key": "KeyName",
"Value": "aws-us-east-1-shson"
}
]
}
},
{
"id": "aws-us-east-1-shson-02",
"name": "aws-us-east-1-shson-02",
"config_name": "aws-us-east-1",
"spec_id": "aws-us-east-1-shson",
"image_id": "aws-us-east-1-shson",
"vnet_id": "aws-us-east-1-shson",
"subnet_id": "aws-us-east-1-shson",
"security_group_ids": [
"aws-us-east-1-shson"
],
"ssh_key_id": "aws-us-east-1-shson",
"description": "connection_name",
"vm_access_id": "",
"vm_access_passwd": "",
"vmUserId": "",
"vmUserPasswd": "",
"location": {
"latitude": "38.1300",
"longitude": "-78.4500",
"briefAddr": "Virginia",
"cloudType": "aws",
"nativeRegion": "us-east-1"
},
"region": {
"Region": "us-east-1",
"Zone": "us-east-1e"
},
"publicIP": "54.89.195.76",
"publicDNS": "",
"privateIP": "192.168.1.48",
"privateDNS": "ip-192-168-1-48.ec2.internal",
"vmBootDisk": "/dev/sda1",
"vmBlockDisk": "/dev/sda1",
"status": "Running",
"targetStatus": "None",
"targetAction": "None",
"cspViewVmDetail": {
"IId": {
"NameId": "aws-us-east-1-shson-02",
"SystemId": "i-0d718e45866586fbf"
},
"ImageIId": {
"NameId": "ami-085925f297f89fce1",
"SystemId": "ami-085925f297f89fce1"
},
"VpcIID": {
"NameId": "aws-us-east-1-shson",
"SystemId": "vpc-0be334ade4783cebe"
},
"SubnetIID": {
"NameId": "aws-us-east-1-shson",
"SystemId": "subnet-034e6c7d824240369"
},
"SecurityGroupIIds": [
{
"NameId": "aws-us-east-1-shson",
"SystemId": "sg-0da9c2052535776a7"
}
],
"KeyPairIId": {
"NameId": "aws-us-east-1-shson",
"SystemId": "aws-us-east-1-shson"
},
"VMSpecName": "t2.micro",
"StartTime": "2020-05-30T18:05:10Z",
"Region": {
"Region": "us-east-1",
"Zone": "us-east-1e"
},
"VMUserId": "",
"VMUserPasswd": "",
"NetworkInterface": "eni-attach-0546aaa60c91b7ca1",
"PublicIP": "54.89.195.76",
"PublicDNS": "",
"PrivateIP": "192.168.1.48",
"PrivateDNS": "ip-192-168-1-48.ec2.internal",
"VMBootDisk": "/dev/sda1",
"VMBlockDisk": "/dev/sda1",
"KeyValueList": [
{
"Key": "State",
"Value": "running"
},
{
"Key": "Architecture",
"Value": "x86_64"
},
{
"Key": "VpcId",
"Value": "vpc-0be334ade4783cebe"
},
{
"Key": "SubnetId",
"Value": "subnet-034e6c7d824240369"
},
{
"Key": "KeyName",
"Value": "aws-us-east-1-shson"
}
]
}
},
{
"id": "aws-us-east-1-shson-03",
"name": "aws-us-east-1-shson-03",
"config_name": "aws-us-east-1",
"spec_id": "aws-us-east-1-shson",
"image_id": "aws-us-east-1-shson",
"vnet_id": "aws-us-east-1-shson",
"subnet_id": "aws-us-east-1-shson",
"security_group_ids": [
"aws-us-east-1-shson"
],
"ssh_key_id": "aws-us-east-1-shson",
"description": "connection_name",
"vm_access_id": "",
"vm_access_passwd": "",
"vmUserId": "",
"vmUserPasswd": "",
"location": {
"latitude": "38.1300",
"longitude": "-78.4500",
"briefAddr": "Virginia",
"cloudType": "aws",
"nativeRegion": "us-east-1"
},
"region": {
"Region": "us-east-1",
"Zone": "us-east-1e"
},
"publicIP": "52.86.134.112",
"publicDNS": "",
"privateIP": "192.168.1.93",
"privateDNS": "ip-192-168-1-93.ec2.internal",
"vmBootDisk": "/dev/sda1",
"vmBlockDisk": "/dev/sda1",
"status": "Running",
"targetStatus": "None",
"targetAction": "None",
"cspViewVmDetail": {
"IId": {
"NameId": "aws-us-east-1-shson-03",
"SystemId": "i-03babbfdcda81a291"
},
"ImageIId": {
"NameId": "ami-085925f297f89fce1",
"SystemId": "ami-085925f297f89fce1"
},
"VpcIID": {
"NameId": "aws-us-east-1-shson",
"SystemId": "vpc-0be334ade4783cebe"
},
"SubnetIID": {
"NameId": "aws-us-east-1-shson",
"SystemId": "subnet-034e6c7d824240369"
},
"SecurityGroupIIds": [
{
"NameId": "aws-us-east-1-shson",
"SystemId": "sg-0da9c2052535776a7"
}
],
"KeyPairIId": {
"NameId": "aws-us-east-1-shson",
"SystemId": "aws-us-east-1-shson"
},
"VMSpecName": "t2.micro",
"StartTime": "2020-05-30T18:05:10Z",
"Region": {
"Region": "us-east-1",
"Zone": "us-east-1e"
},
"VMUserId": "",
"VMUserPasswd": "",
"NetworkInterface": "eni-attach-0c1040463935477cb",
"PublicIP": "52.86.134.112",
"PublicDNS": "",
"PrivateIP": "192.168.1.93",
"PrivateDNS": "ip-192-168-1-93.ec2.internal",
"VMBootDisk": "/dev/sda1",
"VMBlockDisk": "/dev/sda1",
"KeyValueList": [
{
"Key": "State",
"Value": "running"
},
{
"Key": "Architecture",
"Value": "x86_64"
},
{
"Key": "VpcId",
"Value": "vpc-0be334ade4783cebe"
},
{
"Key": "SubnetId",
"Value": "subnet-034e6c7d824240369"
},
{
"Key": "KeyName",
"Value": "aws-us-east-1-shson"
}
]
}
}
],
"placement_algo": "",
"description": "Tumblebug MCIS Demo"
}
Access-Control-Allow-Origin
*
Content-Type
application/json; charset=UTF-8
Vary
Origin
Date
Sat, 30 May 2020 18:06:38 GMT
Transfer-Encoding
chunked