commit | 11e69dafbceb8abf52496467cde6a20296a6035c | [log] [tgz] |
---|---|---|
author | Haiwei Xu <xu-haiwei@mxw.nes.nec.co.jp> | Fri Mar 28 04:00:45 2014 +0900 |
committer | Haiwei Xu <xu-haiwei@mxw.nes.nec.co.jp> | Tue Apr 08 18:10:30 2014 +0900 |
tree | a418a9acf58e42505a0da20cb5ba733c3cdf9a62 | |
parent | 1466fb981c18ae435a231f409d9cf78413f4cfb9 [diff] |
Verify the response attributes of 'shutdown/reboot_host' API This patch verifies the response attributes of 'shutdown/reboot_host' API. The response body format of v2: { "host": "d2576862a2144ee6ad37d9e1938460a2", "power_action": "shutdown/reboot" } The response body format of v3: { "host": { "host": "77cfa0002e4d45fe97f185968111b27b", "power_action": "shutdown/reboot" } } Partially implements blueprint nova-api-attribute-test Change-Id: I2e1ede52f7461e9d6fa583a00afc261f77314908