Updated openstack/openstack
Project: openstack/tempest  38adb4b1527bb1c3c779f39c558a16e2aed1aeed

Verify "update a server" API response attributes

Now most attributes of Nova v2/v3 APIs are not checked in Tempest,
and this patch adds some tests which check these attributes to block
the backward incompatibility change in the future.

This patch adds the checks of "update a server" API responses.

The response body of v2 API is the following:
  {
    "server": {
      "id": "d099f759-021f-41ad-8ad3-7d9ddecaf07a",
      "name": "vm01-v2",
      "status": "ACTIVE",
      "image": {
        "id": "b62655db-2ff7-4d7f-8821-d0a468a25bec",
        "links": [{"href": "http://[..]", "rel": "bookmark"}]
      },
      "flavor": {
        "id": "42",
        "links": [{"href": "http://[..]", "rel": "bookmark"}]
      },
      "user_id": "832ebd066fb0427ea77c4aab6bab5ec1",
      "tenant_id": "b8d8f3df596b482e93c4225b1d72d2c2",
      "created": "2014-03-13T00:37:40Z",
      "updated": "2014-03-13T01:29:46Z",
      "progress": 0,
      "metadata": {},
      "links": [
        {"href": "http://[..]", "rel": "self"},
        {"href": "http://[..]", "rel": "bookmark"}
      ],
      "addresses": {"private": [
        {"version": 4, "addr": "10.0.0.4"}
      ]},
      "hostId": "6efdef81d6341b7fac789263e366cdf3ed5136f5894db8a2b79d1bc7",
      "OS-DCF:diskConfig": "MANUAL",
      "accessIPv4": "",
      "accessIPv6": ""
    }
  }

The one of v3 API is the following:
  {
    "server": {
      "id": "d099f759-021f-41ad-8ad3-7d9ddecaf07a",
      "name": "vm01-v3",
      "status": "ACTIVE",
      "image": {
        "id": "b62655db-2ff7-4d7f-8821-d0a468a25bec",
        "links": [{"href": "http://[..]", "rel": "bookmark"}]
      },
      "flavor": {
        "id": "42",
        "links": [{"href": "http://[..]", "rel": "bookmark"}]
      },
      "user_id": "832ebd066fb0427ea77c4aab6bab5ec1",
      "tenant_id": "b8d8f3df596b482e93c4225b1d72d2c2",
      "created": "2014-03-13T00:37:40Z",
      "updated": "2014-03-13T01:35:50Z",
      "progress": 0,
      "metadata": {},
      "links": [
        {"href": "http://[..]", "rel": "self"},
        {"href": "http://[..]", "rel": "bookmark"}
      ],
      "addresses": {"private": [
        {"version": 4, "type": "fixed", "addr": "10.0.0.4",
         "mac_addr": "fa:16:3e:a7:05:40"}
      ]},
      "host_id": "6efdef81d6341b7fac789263e366cdf3ed5136f5894db8a2b79d1bc7",
      "os-access-ips:access_ip_v4": "",
      "os-access-ips:access_ip_v6": ""
    }
  }

Partially implements blueprint nova-api-attribute-test

Change-Id: Ied43fb29639eaa045d68147dd668133bd419a57c