1304e0aec5
Add host show api. I cannot bump the api version to 1.5 as the unit test fail. seem pecan check the request version to all controller function which lead to unit test fail. Change-Id: I4b6afbe3f8126fea5323e5905366955e5b106b93 Partially-Implements: blueprint show-container-engine-info
20 lines
577 B
JSON
20 lines
577 B
JSON
{
|
|
"hostname": "test",
|
|
"uuid": "d0405f06-101e-4340-8735-d1bf9fa8b8ad",
|
|
"links": [{
|
|
"href": "http://192.168.2.22:9517/v1/hosts/d0405f06-101e-4340-8735-d1bf9fa8b8ad",
|
|
"rel": "self"
|
|
},
|
|
{"href": "http://192.168.2.22:9517/hosts/d0405f06-101e-4340-8735-d1bf9fa8b8ad",
|
|
"rel": "bookmark"}
|
|
],
|
|
"kernel_version": "3.10.0-123.el7.x86_64",
|
|
"labels": {"type": "test"},
|
|
"cpus": 48,
|
|
"mem_total": 128446,
|
|
"total_containers": 3,
|
|
"os_type": "linux",
|
|
"os": "CentOS Linux 7 (Core)",
|
|
"architecture": "x86_64"
|
|
}
|