全部博文(167)
分类: 系统运维
2017-03-13 09:06:10
{
"server": {
"OS-DCF:diskConfig": "AUTO",
"OS-EXT-AZ:availability_zone": "nova",
"OS-EXT-SRV-ATTR:host": "noc",
"OS-EXT-SRV-ATTR:hypervisor_hostname": "nodctc",
"OS-EXT-SRV-ATTR:instance_name": "instance-00000001",
"OS-EXT-STS:power_state": 1,
"OS-EXT-STS:task_state": null,
"OS-EXT-STS:vm_state": "active",
"OS-SRV-USG:launched_at": "201000",
"OS-SRV-USG:terminated_at": null,
"accessIPv4": "",
"accessIPv6": "",
"addresses": {
"Private": [
{
"OS-EXT-IPS-MAC:mac_addr": "fa:16:ae:9eb",
"OS-EXT-IPS:type": "fixed",
"addr": "192.1682",
"version": 4
}
]
},
"config_drive": "",
"created": "2016-14Z",
"flavor": {
"id": "2",
"links": [
{
"href": "",
"rel": "bookmark"
}
]
},
"hostId": "b30ea8de3f06f2e7f9771aee23badc99f24a3b05cba13fe7f893682d",
"id": "2f77c971-4848-4923-84e3-c224498300d1",
"image": {
"id": "b7d10944-9afc-4b22-8d01-364305716e3c",
"links": [
{
"href": "http://172.16.10.2:8774/2f50e3cc08d944fdb9dd0e328659c6f0/images/b7d10944-9afc-4b22-8d01-364305716e3c",
"rel": "bookmark"
}
]
},
"key_name": null,
"links": [
{
"href": "",
"rel": "self"
},
{
"href": "",
"rel": "bookmark"
}
],
"metadata": {},
"name": "test",
"os-extended-volumes:volumes_attached": [],
"progress": 0,
"security_groups": [
{
"name": "default"
}
],
"status": "ACTIVE",
"tenant_id": "2f50e3cc08d944fdb9dd0e328659c6f0",
"updated": "201:14Z",
"user_id": "90cae4d95424"
}
}
浏览过官方API文档,大家应该觉得做openstack dashboard的二次开发不难,有冲动的兄弟姐妹们动手做个“私人订制”吧。