2cc7c0e589
The server-groups UUID add to response of 'GET /servers/{id}', 'PUT /servers/{server_id}" and rebuild API 'POST /servers/{server_id}/action'. Change-Id: I4a2a584df56ece7beb8b12c0ce9b0e6b30237120 Implements: blueprint show-server-group Co-authored-by: Gerry Kopec <Gerry.Kopec@windriver.com> Signed-off-by: Yongli He <yongli.he@intel.com>
89 lines
3.1 KiB
JSON
89 lines
3.1 KiB
JSON
{
|
|
"server": {
|
|
"OS-DCF:diskConfig": "AUTO",
|
|
"OS-EXT-AZ:availability_zone": "nova",
|
|
"OS-EXT-SRV-ATTR:host": "compute",
|
|
"OS-EXT-SRV-ATTR:hostname": "new-server-test",
|
|
"OS-EXT-SRV-ATTR:hypervisor_hostname": "fake-mini",
|
|
"OS-EXT-SRV-ATTR:instance_name": "instance-00000001",
|
|
"OS-EXT-SRV-ATTR:kernel_id": "",
|
|
"OS-EXT-SRV-ATTR:launch_index": 0,
|
|
"OS-EXT-SRV-ATTR:ramdisk_id": "",
|
|
"OS-EXT-SRV-ATTR:reservation_id": "r-0scisg0g",
|
|
"OS-EXT-SRV-ATTR:root_device_name": "/dev/sda",
|
|
"OS-EXT-SRV-ATTR:user_data": "IyEvYmluL2Jhc2gKL2Jpbi9zdQplY2hvICJJIGFtIGluIHlvdSEiCg==",
|
|
"OS-EXT-STS:power_state": 1,
|
|
"OS-EXT-STS:task_state": null,
|
|
"OS-EXT-STS:vm_state": "active",
|
|
"OS-SRV-USG:launched_at": "2019-02-28T03:16:19.600768",
|
|
"OS-SRV-USG:terminated_at": null,
|
|
"accessIPv4": "1.2.3.4",
|
|
"accessIPv6": "80fe::",
|
|
"addresses": {
|
|
"private": [
|
|
{
|
|
"OS-EXT-IPS-MAC:mac_addr": "aa:bb:cc:dd:ee:ff",
|
|
"OS-EXT-IPS:type": "fixed",
|
|
"addr": "192.168.0.3",
|
|
"version": 4
|
|
}
|
|
]
|
|
},
|
|
"config_drive": "",
|
|
"created": "2019-02-28T03:16:18Z",
|
|
"description": null,
|
|
"flavor": {
|
|
"disk": 1,
|
|
"ephemeral": 0,
|
|
"extra_specs": {},
|
|
"original_name": "m1.tiny",
|
|
"ram": 512,
|
|
"swap": 0,
|
|
"vcpus": 1
|
|
},
|
|
"hostId": "2091634baaccdc4c5a1d57069c833e402921df696b7f970791b12ec6",
|
|
"host_status": "UP",
|
|
"id": "84e2b49d-39a9-4d32-9100-e62161c236db",
|
|
"image": {
|
|
"id": "70a599e0-31e7-49b7-b260-868f441e862b",
|
|
"links": [
|
|
{
|
|
"href": "http://openstack.example.com/6f70656e737461636b20342065766572/images/70a599e0-31e7-49b7-b260-868f441e862b",
|
|
"rel": "bookmark"
|
|
}
|
|
]
|
|
},
|
|
"key_name": null,
|
|
"links": [
|
|
{
|
|
"href": "http://openstack.example.com/v2.1/6f70656e737461636b20342065766572/servers/84e2b49d-39a9-4d32-9100-e62161c236db",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://openstack.example.com/6f70656e737461636b20342065766572/servers/84e2b49d-39a9-4d32-9100-e62161c236db",
|
|
"rel": "bookmark"
|
|
}
|
|
],
|
|
"locked": false,
|
|
"metadata": {
|
|
"My Server Name": "Apache1"
|
|
},
|
|
"name": "new-server-test",
|
|
"os-extended-volumes:volumes_attached": [],
|
|
"progress": 0,
|
|
"security_groups": [
|
|
{
|
|
"name": "default"
|
|
}
|
|
],
|
|
"server_groups": [
|
|
"f3d86fe6-4246-4be8-b87c-eb894626c741"
|
|
],
|
|
"status": "ACTIVE",
|
|
"tags": [],
|
|
"tenant_id": "6f70656e737461636b20342065766572",
|
|
"trusted_image_certificates": null,
|
|
"updated": "2019-02-28T03:16:19Z",
|
|
"user_id": "fake"
|
|
}
|
|
} |