Verify attributes through Nova "list security groups" API

This patch adds checks whether a response of Nova "list security groups" API
includes the attributes to block the backward incompatibility change
in the future.

The response body of v2 API is the below:
{
    "security_groups": [
        {
            "id": 17,
            "name": "default",
            "tenant_id": "f5e60a2a87ed4a02ae1ab388bdb10cb5",
            "rules": [],
            "description": "default"
        }
    ]
}

Partially implements blueprint nova-api-attribute-test

Change-Id: Ibb2cc07e6d723e836b554f08168757aa93f61890
2 files changed