Verify the response attributes of 'update-aggregate' API
This patch verifies the response attributes of 'update-aggregate'.
The response body of v2 and v3 API has the same format:
{
"aggregate": {
"availability_zone": "nova2",
"created_at": "2013-08-18T12:17:56.259751",
"deleted": false,
"deleted_at": null,
"hosts": [],
"id": 1,
"metadata": {
"availability_zone": "nova2"
},
"name": "newname",
"updated_at": "2013-08-18T12:17:56.286720"
}
}
This patch also fixes a typo bug of the schema.
Partially implements blueprint nova-api-attribute-test
Change-Id: I89547d8069aae9d2ad0b4cd081843865f42bc4e7
3 files changed