stress/actions/ssh_floating.py n-net compatibility

ssh_floating.py did not worked with nova network because of the
used security group specification style.

Now it is expected to work regardless neutron or n-net used for
networking.

Change-Id: I14000e97fb6a857c7c0fed126a90e7e16509d8ec
Add swift discoverable_api support to verify_tempest_config

This commit adds support to the verify_tempest_config.py script
for detecting which swift apis are enabled.

Partially implements bp config-verification

Change-Id: I7f4a1fdc41246b3584aa5d3faca5920ca5c2f6e5
Add negative tests for endpoints

There were no negative tests that showed that the identity API
returns 400 Bad Request if an attempt is made to create or
update an endpoint with a non-Boolean value for the enabled
attribute.

Change-Id: I45db202c8231e02b5cf0514133976339e3a2f200
Related-Bug: #1282266
Add quota_set delete test for Nova v3 API

This patch adds tests for quota_set API.

Partially implements blueprint nova-v3-api-tests

Change-Id: If89b8fd4afbe496a4609694123a480e7f045127d
Unset the imageRef when booting from volume

When testing boot from volume, we were passing the image_ref no matter
what to servers.create. This will cause nova to use the metadata from
that image instead of the one that might contain the volume.

This patch sets the image to an empty string, which is the same
behaviour the nova CLI has when booting from a volume.

Change-Id: I59bd4e2be6d6fff782dd278390ad5241cd09e3df
Convert fake_config class to use config fixture

This commit changes the fake_config object used in the unit tests to
use the config fixture and use the real config defaults by registering
the config options and using the oslo config set_default method to
override the defaults when needed for testing. This will enable reusing
the tempest defaults in most places which should save effort duplicating
defaults in the fake object.

Partially Implements bp unit-tests

Change-Id: Ib9ee8e68f7000bfbcd3cd1c94cca103a3286ec77
Fix V3 image tests according to new image_client

This patch correct the Nova V3 test_image_oneserver
and test_images_negative according to new image_client.
Also remove the create_image config value.

Closes-Bug: #1290221

Change-Id: Iadaf311e37a42b2adaa9d980a10ae251450030d0
Object storage tests to use default auth_provider

Object storage test uses get_auth_provider(), it should
just take the existing auth_provider instead.

Partially implements: bp multi-keystone-api-version-tests

Change-Id: I790c22becb28ef8c2946efcc4b1c47f8e295fb74
Add tests for binding extended attributes for ports

Add the following tests:
   1. Create a port from an administrative user specifying
   binding extended attributes;
   2. Update a port from an administrative user specifying
   binding extended attributes;
   3. List ports from an administrative user and confirm
   binding extended attributes are returned;
   4. Show a port from an administrative user and confirm
   binding extended attributes are returned;

Make a small refactoring of port tests and add more checks
for port attributes in test_show_port

Change-Id: Id5fbf5654e6abc3749b765585d2e1c8f3c63f3e1
Wait properly for server deletion in test_volumes_actions

test_volumes_actions used the volume client for waiting on server deletion.

Blueprint: stop-leaking

Change-Id: I032a0d6e2d52e10b7c62c24d11b4f565fdd7ef82
Stop volume leaking even if an error is occurred

In some test, if an error is occurred in setUpClass(), some resources
are not deleted because of tearDownClass() is not called.
This commit fixes it.

Partially Implements: blueprint stop-leaking

Change-Id: I6839645285da4ecd59e536b6413a67f0acaf7d6c
Move verification of response attributes into service client

Moves the verification of service/volume response body attributes to
the service client rather than in each test which uses the service
client.

Partially implements blueprint nova-api-attribute-test

Change-Id: Ie829e2beb1e065a2804dab93835c3d1933fd419d
change teardown check to LOG.error

even with the warning message, this is completely confusing for
people when it shows up in the console logs. Instead lets just
log it at error level.

Change-Id: Iaa3a9d337adcfde9ddf702f8cfab1b9dc74c6559
Add api tests for load balancer's VIPs and health monitors

Add the following tests:

    1. Create a VIP from an admin user for a tenant other than its own
    2. Update a VIP's description and confirm with a show
    3. Create a VIP specifying address and confirm with list or show
    4. Update a VIP session persistence and confirm with show
    5. Update a VIP connection_limit to other value different than -1 and confirm with show
    6. Update the admin_state_up of a VIP to false and confirm with show
    7. Create a health monitor from an admin user for a tenant id other than its own
    8. Create a health monitor with type HTTP
    9. Update http_method (to POST), url_path (to something other than /) and expected_codes

Change-Id: I2ae2e970cf59ddd10b46e8ae5e4b11d7b5aa6726
Add cinder tempest cases for encryption-type

Tempest does not contain any encryption-type cases now,
so add them.

Change-Id: Id5405b35e631f9dc71546e9c50d0f66a43ddbad4
Remove test_can_log_into_created_server

The nova v3 version of test_create_server still has the
test_can_log_into_created_server, and referencing to not existing
method.

Does not makes sense just testing the login alone, if we have lot of test
for testing many other ssh dependent things.
A basic remote command execution cost is close to just trying
to authenticate.

Change-Id: I0d53727934249f83cc562ab8e372aaffb4b1ac65
Implements: blueprint ssh-auth-strategy
Support endpoint type in CLI tests

This patch reads the endpoint_type parameter of the various option
groups of Tempest and passes it as the --(os-)endpoint-type parameter
of the Openstack CLI clients. This allows Tempest to be run in several
network configuration where, for instance, the publicURL is not directly
reachable.

Change-Id: I87f874b9c3fd4fd15907dc933c1ebb62ad4e6e4b
Add unit basic unit tests for tenant_isolation

This commit adds some basic unit test coverage for the tenant isolation
code. It doesn't provide complete coverage yet, but to avoid having
a giant patch this is the first chunk.

Partially implements bp unit-tests

Change-Id: Ic7d5368a4c0b8c2eeb61a73481f630ba04ee70b0
Add network credential unit testing

This commit adds some of the missing coverage from the isolated
credentials unit tests. This also adds the unit tests for the alt
user/tenant.

Partially implements bp unit-tests

Change-Id: Id5e7ba3e8d2b74f20651d522efa9856886c64de7
Merge "Fix V3 image tests according to new image_client"