Cleanup common.debug

The debug module has a list of iptables tables but not used it. This
commit fixes it.

Change-Id: Iefb1d6a17ddc01823d5c0a524ffda8723df4d9da
Verify the response attributes of 'get_aggregate'

This patch verifies the response attributes of 'get_aggregate'.
The response body of v2 and v3 API has the same format:

{
    "aggregate": {
        "availability_zone": "nova",
        "created_at": "2013-08-18T12:17:56.380226",
        "deleted": false,
        "deleted_at": null,
        "hosts": [],
        "id": 1,
        "metadata": {
            "availability_zone": "nova"
        },
        "name": "name",
        "updated_at": null
    }
}

Partially implements blueprint nova-api-attribute-test

Change-Id: Ic23926ee6c4e1585a9a464df2d485f51bbf87972
Add os-migration tests for Nova v2 API

v2 os-migration API returns a body which includes the info like:

  {
    "migrations": [
      {
        "id": 1,
        "status": "finished",
        "instance_uuid": "e9e4fdd7-f956-44ff-bfeb-d654a96ab3a2",
        "source_node": "localhost-dev",
        "source_compute": "localhost-dev",
        "dest_node": "localhost-dev",
        "dest_compute": "localhost-dev",
        "dest_host": "192.168.11.100",
        "old_instance_type_id": 6,
        "new_instance_type_id": 2,
        "created_at": "2014-03-18T00:14:49.000000",
        "updated_at": "2014-03-18T00:15:15.000000"
      }
    ]
  }

This patch adds this API tests.

This patch adds tests for JSON format only without XML format because
the XML support has been marked as deprecated in Nova with the commit
I4acc15ce5f487738bb34a95c2261a5d05d827d8d and it will be removed in
Juno cycle.

Change-Id: I0e19b776313eff98d157e1249333174908061798
Merge "Cleanup common.debug"
Merge "Add os-migration tests for Nova v2 API"
Verify delete quota response of V2/V3 APIs

This patch adds the JSON schema for response status of Nova quota delete APIs
to block the backward incompatibility change in the future.

delete quota does not return the response body.
Response status of above APIs is below:
V2: 202
V3: 204

Partially implements blueprint nova-api-attribute-test

Change-Id: I3113e3a07937bd7cb44a19e5ef4a5fb880ce3721
Merge "Verify delete quota response of V2/V3 APIs"
Merge "Verify the response attributes of 'get_aggregate'"