9f9802eebd
This patch move the all v2.1 api sample tests under 'functional/api_sample_tests'. Also move sample files under 'doc/api-samples'. Co-Authored-By: Ed Leafe <ed@leafe.com> Co-Authored-By: Alex Xu <hejie.xu@intel.com> Partial-Bug: #1462901 Change-Id: I2b924f2ad7687a23a018a9b658e8acd9e04d7963
45 lines
1.2 KiB
JSON
45 lines
1.2 KiB
JSON
{
|
|
"services": [
|
|
{
|
|
"id": 1,
|
|
"binary": "nova-scheduler",
|
|
"disabled_reason": "test1",
|
|
"host": "host1",
|
|
"state": "up",
|
|
"status": "disabled",
|
|
"updated_at": "2012-10-29T13:42:02.000000",
|
|
"zone": "internal"
|
|
},
|
|
{
|
|
"id": 2,
|
|
"binary": "nova-compute",
|
|
"disabled_reason": "test2",
|
|
"host": "host1",
|
|
"state": "up",
|
|
"status": "disabled",
|
|
"updated_at": "2012-10-29T13:42:05.000000",
|
|
"zone": "nova"
|
|
},
|
|
{
|
|
"id": 3,
|
|
"binary": "nova-scheduler",
|
|
"disabled_reason": null,
|
|
"host": "host2",
|
|
"state": "down",
|
|
"status": "enabled",
|
|
"updated_at": "2012-09-19T06:55:34.000000",
|
|
"zone": "internal"
|
|
},
|
|
{
|
|
"id": 4,
|
|
"binary": "nova-compute",
|
|
"disabled_reason": "test4",
|
|
"host": "host2",
|
|
"state": "down",
|
|
"status": "disabled",
|
|
"updated_at": "2012-09-18T08:03:38.000000",
|
|
"zone": "nova"
|
|
}
|
|
]
|
|
}
|