summaryrefslogtreecommitdiffstats
path: root/doc/api_samples/os-services/services-get-resp.json
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api_samples/os-services/services-get-resp.json')
-rw-r--r--doc/api_samples/os-services/services-get-resp.json40
1 files changed, 40 insertions, 0 deletions
diff --git a/doc/api_samples/os-services/services-get-resp.json b/doc/api_samples/os-services/services-get-resp.json
new file mode 100644
index 000000000..4c873d636
--- /dev/null
+++ b/doc/api_samples/os-services/services-get-resp.json
@@ -0,0 +1,40 @@
+{
+ "services": [
+ {
+ "binary": "nova-scheduler",
+ "host": "host1",
+ "state": "up",
+ "status": "disabled",
+ "updated_at": "2012-10-29T13:42:02.000000",
+ "zone": "internal",
+ "disabled_reason": "test1"
+ },
+ {
+ "binary": "nova-compute",
+ "host": "host1",
+ "state": "up",
+ "status": "disabled",
+ "updated_at": "2012-10-29T13:42:05.000000",
+ "zone": "nova",
+ "disabled_reason": "test2"
+ },
+ {
+ "binary": "nova-scheduler",
+ "host": "host2",
+ "state": "down",
+ "status": "enabled",
+ "updated_at": "2012-09-19T06:55:34.000000",
+ "zone": "internal",
+ "disabled_reason": ""
+ },
+ {
+ "binary": "nova-compute",
+ "host": "host2",
+ "state": "down",
+ "status": "disabled",
+ "updated_at": "2012-09-18T08:03:38.000000",
+ "zone": "nova",
+ "disabled_reason": "test4"
+ }
+ ]
+}