nova/doc/api_samples/os-services/service-disable-put-resp.json
Dan Prince 37c618da7c Make os-services API extensions consistent.
Updates the os-services API extension so that it is consistent
internally (index and update return similar formats), and so
that it works with the recent novaclient code which sends
the following request body format:

  {"binary": "nova-cert", "host": "nova1"}

Also, updates the response body format of the update call so that it
wraps things in an extra service dict which should make novaclient
happier here as well (and is consistent with other extensions too).

Fixes LP Bug #1147746.

Change-Id: I932160d64fdd3aaeb2ed90a092ecc7a36dcc9665
2013-03-14 15:34:49 -04:00

8 lines
115 B
JSON

{
"service": {
"host": "host1",
"binary": "nova-compute",
"status": "disabled"
}
}