Merge set_network_resources() call at base

Every setUpClass()s of Nova API tests call set_network_resources().
This patch merges their calls for cleanup.

Change-Id: I106d4d57a51bb5f047efb4792edcbacf7853de45
Verify Set/Get/Delete server meta item attributes

This patch adds the JSON schema for Nova V2 & V3 Set/Get/Delete
server meta item APIs response and validate the response with added
JSON schema to block the backward incompatibility change in the future.

The response body of Set/Get server meta item V2 API is below:

{
    "meta": {
        "foo": "%(value)s"
    }
}

The response body of Set/Get server meta item V3 API is below:

{
    "metadata": {
        "foo": "%(value)s"
    }
}

Delete server meta item API does not return any body.
Response code in V2 & V3 is 204.

Partially implements blueprint nova-api-attribute-test

Change-Id: Icf32a97cb844d7ced1f64a726b4142775df0e1d5
Add unit tests for _get_unversioned_endpoint

This commit adds the first unit tests for the verify_tempest_config
script which covers the code used to format an unversioned endpoint
from a versioned one returned from the keystone catalog. This also
breaks that section of the script off into a separate method so that
mocks were not needed for such a simple test case.

Partially implements bp: config-verification

Change-Id: I6f48034af5fc187f6ae7d5c9b3dccb61f309ae25
Add unit tests for api_version detection

This commit adds unit tests for api version detection in
verify_tempest_config.

Partially implements bp: config-verification

Change-Id: I72d02db5e4a2dd83abe0e2eb4e4fed8b97c34e4c
Merge "Merge set_network_resources() call at base"
Merge "Add unit tests for _get_unversioned_endpoint"
Merge "Add unit tests for api_version detection"
Merge "Verify Set/Get/Delete server meta item attributes"
Merge branch 'master' of https://github.com/openstack/tempest