zun/api-ref/source/samples/host-get-all-resp.json
ShunliZhou 1b5bb285e5 Add host list api
Add host list api

Change-Id: I0511f3d0608043a709249052aa29a76ba9ded166
Partially-Implements: blueprint show-container-engine-info
2017-07-21 09:19:15 +08:00

24 lines
647 B
JSON

{
"hosts": [
{
"hostname": "testhost",
"uuid": "d0405f06-101e-4340-8735-d1bf9fa8b8ad",
"links": [{
"href": "http://192.168.2.200:9517/v1/hosts/d0405f06-101e-4340-8735-d1bf9fa8b8ad",
"rel": "self"
},
{"href": "http://192.168.2.200:9517/hosts/d0405f06-101e-4340-8735-d1bf9fa8b8ad",
"rel": "bookmark"
}
],
"labels": {
"type": "test"
},
"cpus": 48,
"mem_total": 128446,
"os": "CentOS Linux 7 (Core)"
}
],
"next": null
}