77 lines
2.4 KiB
Smarty
77 lines
2.4 KiB
Smarty
{
|
|
"servers": [
|
|
{
|
|
"accessIPv4": "1.2.3.4",
|
|
"accessIPv6": "80fe::",
|
|
"addresses": {},
|
|
"created": "%(isotime)s",
|
|
"flavor": {
|
|
"id": "1",
|
|
"links": [
|
|
{
|
|
"href": "%(compute_endpoint)s/flavors/1",
|
|
"rel": "bookmark"
|
|
}
|
|
]
|
|
},
|
|
"hostId": "%(hostid)s",
|
|
"id": "%(id)s",
|
|
"image": {
|
|
"id": "%(uuid)s",
|
|
"links": [
|
|
{
|
|
"href": "%(compute_endpoint)s/images/%(uuid)s",
|
|
"rel": "bookmark"
|
|
}
|
|
]
|
|
},
|
|
"key_name": null,
|
|
"links": [
|
|
{
|
|
"href": "%(versioned_compute_endpoint)s/servers/%(uuid)s",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "%(compute_endpoint)s/servers/%(id)s",
|
|
"rel": "bookmark"
|
|
}
|
|
],
|
|
"metadata": {
|
|
"My Server Name": "Apache1"
|
|
},
|
|
"name": "new-server-test",
|
|
"config_drive": "",
|
|
"OS-DCF:diskConfig": "AUTO",
|
|
"OS-EXT-AZ:availability_zone": "nova",
|
|
"OS-EXT-SRV-ATTR:host": "%(compute_host)s",
|
|
"OS-EXT-SRV-ATTR:hypervisor_hostname": "%(hypervisor_hostname)s",
|
|
"OS-EXT-SRV-ATTR:instance_name": "%(instance_name)s",
|
|
"OS-EXT-STS:power_state": 1,
|
|
"OS-EXT-STS:task_state": null,
|
|
"OS-EXT-STS:vm_state": "active",
|
|
"os-extended-volumes:volumes_attached": [
|
|
{"id": "volume_id1"},
|
|
{"id": "volume_id2"}
|
|
],
|
|
"OS-SRV-USG:launched_at": "%(strtime)s",
|
|
"OS-SRV-USG:terminated_at": null,
|
|
"progress": 0,
|
|
"security_groups": [
|
|
{
|
|
"name": "default"
|
|
}
|
|
],
|
|
"status": "ACTIVE",
|
|
"tenant_id": "6f70656e737461636b20342065766572",
|
|
"updated": "%(isotime)s",
|
|
"user_id": "fake"
|
|
}
|
|
],
|
|
"servers_links": [
|
|
{
|
|
"href": "%(versioned_compute_endpoint)s/servers/detail?limit=1&marker=%(id)s",
|
|
"rel": "next"
|
|
}
|
|
]
|
|
}
|