Enable GET port_detail API to set parameters

We can set patameters(node_uuid, address, ...) to GET port_detail API.
This patch enables it.

Change-Id: I32e95deaffecfddece24c1a7e5c08c3e392380d5
Closes-Bug: #1312503
botoclient does not honor disable_ssl_certificate_validation

The keystone Client() class should pass in insecure as the value
of CONF.identity.disable_ssl_certificate_validation, otherwise
many tests will fail if the keystone server is secured with SSL.

Change-Id: Id4759645ca84fd0fd7e41d2ffe72c6ae36d3b604
Closes-Bug: 1307675
Add a hacking check to block scenario manager in api tests

This commit adds a new hacking check to ensure that the manager class
from the scenario tests, OfficialClientManager, isn't used in the API
tests. There is already a hacking rule preventing imports of the
official clients, T102. But, the official clients could still be used
through the scenario tests which wouldn't be caught by T102. This
attempts to close that gap by adding a new hacking check for
OfficialClientManager.

Change-Id: I608a1319c136118947e3df74fa88f7124011caa4
Correcting 'id' type in compute schema

This patch corrects the type of 'id' in compute schema
/tempest/api_schema/compute/.
Many place 'id' is defined as both 'string' and 'integer' but not all
APIs return 'id' in both format.

For example, servers APIs always return 'server id' as UUID so those
should be defined as 'string' only not {'string', 'integer'} both.
Same applies for other 'id' like in flavor, Image API's response.

Below are the correct type of 'id'-
  Server's id – String
  Image id – String
  Flavor id - String
  key-pair API- > user_id – String
  Agent id – Integer
  Service id - Integer

Partially implements blueprint nova-api-attribute-test

Change-Id: Ifdde2ddd56d600f968d02356aaec0c56e5c3767f
Tempest API tests: Add ipv6 attribute tests

Implements blueprint ipv6-subnet-attributes

Change-Id: I7f8358f4fc507cc2ea73ebbf8a7ff25f0e8306fe
Code clean-up of CLI test "cinder list-extensions"

Redundant code is removed:
list-extensions

Change-Id: Ia0ba0c897c36ceea8d909276d019f1736a86d879
Fix calls to mock.assert_not_called()

There is no assert_not_called() method in mock, as described here:
https://code.google.com/p/mock/issues/detail?id=159
Fix these calls to use the assertEqual(0, mock.call_count) instead.
This patch also fixes a typo.

Change-Id: I7cfb968f6d4b775ceb901411ee8f24057d97cf91
Adds scenario tests for volume encryption

Two scenario tests and the supporting methods in the test manager
are added. For each encryption type, the test creates an image, boots an
instance of the image, creates an encryption type, creates a volume of that
type, attaches the volume to the instance, detaches it, and deletes
the encrypted volume and volume type.

Change-Id: Ib2c3f9b04d35a65ce2f0e45e63e940ecd92991d0
Implements: blueprint cinder-volume-encryption-tempest-tests
Verify delete-Floating-IP-Bulk Nova API attributes

This patch adds the JSON schema for Nova V2 delete-Floating-IP-Bulk
API response and validate the response with added JSON schema
to block the backward incompatibility change in the future.

The response body of delete-Floating-IP-Bulk V2 API is below:

{
    "floating_ips_bulk_delete": "192.168.1.0/24"
}

Partially implements blueprint nova-api-attribute-test

Change-Id: Id48ba7129d97c3691f8e61375f4205b1587d385b
Sahara: add API tests for job binaries

* create/list/get/delete API tests for job binaries in Swift
  and in Sahara database were added
* "test_job_binary_get_data" test was added

Partially implements: blueprint savanna-api-tests

Change-Id: I0f2fcb79b469ad291fb0d9d3acba2fbfbfd7da27
Added service "data_processing" to service list

Change-Id: I5d3fbae3903527b34e00579ce178e0422bdd1f4c
Add 'Member' role to all created users

When cloud's glance service configured to use swift for storing data
then user works with glance must have operator_role.

Change-Id: Idd92640d5d6b1957aa6ac84a4124e0b2eb5f26b1
Closes-bug: #1316166
Add Tests for Message & Claim APIs

This patch adds the positive tests for Message & Claim APIs.

Change-Id: I6128e1990bedcc427733531a0d272449e8b1ce96
Implements: blueprint add-basic-marconi-tests
Drop unused admin client in server metadata tests

Removes an unused admin identity client setup and call to list tenants,
neither of which appear to be used anywhere in server metadata tests. Also
removes a similarly unused tenant_id attribute from the v3 equivalent test.

Change-Id: I83ee79b38c64804ca6a29cc4435866015195a946
Avoid snapshotting from compute authorization test

The compute authorization API tests currently rely on the creation of an image
via an instance snapshot.  Not all compute drivers support this and the tests
do not actually require the image to be a snapshot.  Instead, create a dummy
image in Glance directly to avoid making auth tests dependent on a hypervisor
feature.

Change-Id: I83a0fe12b1077ea87e402ec9897931631fa9cbf6
Closes-bug: #1331138
Missing node driver interface validation API

This patch implements missing API test for node validation.

There are three categories of driver interfaces:

- `Core` interfaces provide the essential functionality for Ironic
   within OpenStack, and may be depended upon by other services.
   All drivers must implement these interfaces. Presently, the Core
   interfaces are "power" and "deploy".
- `Standard` interfaces provide functionality beyond the needs of
  OpenStack, but which has been standardized across all drivers and
  becomes part of Ironic's API.
  If a driver implements this interface, it must adhere to the standard.
  This is presented to encourage vendors to work together with the
  Ironic project and implement common features in a consistent way,
  thus reducing the burden on consumers of the API.
  Presently, the Standard interfaces are rescue and console.
- The `Vendor` interface allows an exemption to the API contract when
  a vendor wishes to expose unique functionality provided by their
  hardware and is unable to do so within the core or standard interfaces.
  In this case, Ironic will merely relay the message from the API service
  to the appropriate driver.

As all drivers must implement core interfaces, I am checking only
core interfaces for response body validation.

part of blueprint: missing-baremetal-api-test

Change-Id: Ib6e81c875d55fb0c86dbb0de1c9a8337831196cc
Skip quota-out tests temporary to change error codes

The commit I2bb8a60ef254afbfed514cfeebe75355d0de4475 tries to change
error codes of quota-out to suitable ones (HTTPForbidden).
We need to make some quota-out tests skip temporary to merge the above
commit. The few ones of this kind of test are already skiped with the
commit If376eda0a7929ba2baa4ac4acbb457883bcfc96d, but some tests still
exist.
This patch makes the rest of them skip.

Change-Id: I95c2c7c40763a74ca6eae9f8a28de3e6b482d31b
Related-Bug: #1298131
Fixes Scoping bugs

Fixes scoping bugs, removes unnecessary use of self.xx.

Change-Id: I0c9504a11d25cddb7f4e04eed2a631389297fdd9
Add 'id' to the server group cleanup list, not body

Change-Id: If55855d6c104dcd01d648688d2b9d7c2953a9a25
Closes-Bug: 1333965
Require stevedore for check_uptodate.sh

The Oslo config generator imports the stevedore.named module but
stevedore isn't listed as a requirement for Tempest, so config
generation can fail with an ImportError.

Closes-Bug: #1333998

Change-Id: I47ecac0f5881aceb279391a981780a2dd72f0d2b