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
Add "create a server" test with server group

When creating a server with the scheduler_hint "group", the server
will be in the group.
This patch adds the test for checking its behavior.

Change-Id: If5701d381198b01c5ee876bb22b14e5d4b967499
Related-Bug: #1306367
Related-Bug: #1298494
Add parametric tests of Swift object API, part 1

Add positive tests of Swift object "PUT" APIs from the viewpoint of
completeness of query parameters.

Change-Id: Iefee0a8d8941559a7c1f4d61329489eec567f188
Handle backup not found in test_create_backup

The "oldest" backup in the test_create_backup test is supposed
to be deleted automatically via rotation but the cleanup routine
does not catch the NotFound exception when the delete function
doesn't find the backup image. This commit handles the NotFound
and also logs a warning if the image was actually deleted in
case of a race condition.

Change-Id: Ieae2edf0ae4318aef74aedef18480df165fd4753
Closes-Bug: #1291683
Tempest API tests: Add ipv6 attribute tests

Implements blueprint ipv6-subnet-attributes

Change-Id: I7f8358f4fc507cc2ea73ebbf8a7ff25f0e8306fe
javelin: create and attach volumes

Bring Cinder support in tempest/javelin to test:
- volume creation
- volume attachement to a server

Partial-Bug #1330178
Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>

Change-Id: Ie0e437312aab3ccb0d8233e4b73f9215f64149ac
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
Update config generator from oslo-incubator

This commit pulls in the latests version of the config generator from
oslo.

Change-Id: I3a2b06dd9ca3285a3d93298ea5727b705f6109e4
Use config generator rc instead of wrapper script

This commit removes the generate_sample wrapper script and adds an
rc file for the config generator to specify the alternate path.
This makes console messages from the generator tooling point
consistent with what is actually being used. Before because a wrapper
was used error messages would recommend running the incorrect tool.

Change-Id: I0ac792454777af6e3f1d718836031f9a14850229
Avoid empty string for length in os-getConsoleOutput

If the caller does not pass in any value for length, we should
not be sending length='' to the os-getConsoleOutput REST API
as Nova v2 API does not handle it properly

Change-Id: I61db6a92418935dd4d0a8fc149d18417bf434b94
Closes-Bug: #1329563
Added service "data_processing" to service list

Change-Id: I5d3fbae3903527b34e00579ce178e0422bdd1f4c
Add client response checking for image service

Make all api methods on image clients check for the correct response code and
remove response code checking from image tests. There are a few test code
checks outside of the image tests that were not changed. They do no harm and
can be removed when those test files have status codes removed for their own
intended service.

Change existing client checks using resp to resp.status to avoid confusion with
glance http client use of both httplib (raw) and httplib2.

Remove unused replace_membership_list method from v1 client.

Partially implements blueprint client-checks-success

Change-Id: I4ece3db26920454a8e1bd6325ec01ae3d864d0eb
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