Test for server create with IPv6 address only

Add a new test case for creating a server without an
IPv4 address, only with an IPv6 address.

Change-Id: I4a081ca4f8e47daa73342ff49a18822e815e590a
add token test for token-api

- test_tokens.py

Change-Id: I1dad4a32ab22c39f37ad77913781cc3ed55590fe
Add a flavor test for getting a specified key value API

Test for GET v2/.{tenant_id}./flavors/.{flavor_id}./os-extra_specs/
.{key_id} that gets the value of the specified key for this flavor.

Change-Id: Id9941604aff9c583b9f2d394ba2299aad7dafec8
Change six to match global requirements

Pinning six to <1.4.0 causes failurs for anyone trying to use six to
port urlparse code. It also does not match with global requirements.

Change-Id: I6216eef5dd1d3363ec58ac338853252b5294ff1f
add volume tests

negative tests for create volume

Change-Id: I81c5596dde58679f9be1dccc15b6bb70bd71f842
add some tests for hypervisor operation

For hypervisor operation, there are some APIs: list, detail, show, uptime,
search, servers, statistics. This patch will mainly add some negative
tests in dedicated 'negative' test file.

Change-Id: I637e0d0a8395ce52e4ed76029071238259957750
add some tests for host and seperate negative ones

For host operation, there are some APIs: list, show, update, startup,
shutdown, reboot. This patch will mainly add some negative tests for
update, startup, shutdown, reboot. It is important to note that, for
Libvirt Driver currently, there are no implementations for
set_host_enabled/host_maintenance_mode/host_power_action.

Change-Id: Ia810b956a20eae67e8ec43e3edf9fcb019f71711
add test for updating server's disk_config test

this add test for updating server's disk_config tests. And use
addCleanup to manager server resource instead of deleting server
at end of these tests in this file.

Change-Id: I2ed90456e86f6e8c6e7d0b954bf381d944a6ca53
uses skip_because where appropriate instead of regular skip

Change-Id: If37582fa6b4ea9ec36bf446de305a97ea525b1f9
Add a skip for meter-label cli tests

This commit just adds a skip decorator for 2 neutron tests that don't
work in the gate either because of improper test setup or missing
devstack configuration.

Related-Bug: #1240694

Change-Id: I508aaf3dbc49c326cd54e2008f3e14935f23056e
Set tempest version for icehouse

This commit bumps the version number from havana: 2013.2 to icehouse:
2014.1

Change-Id: I7fe1d60c9dfcbfd8c43880c66f94173c9264fb8a
server status remained in unexpected state

Two test case in the test_servers_negative change the 'one' servers
into a stable not active state. We are waiting 2 times 400 sec for
getting active state in vain.
Having those test cases to restore the expected state.

The deleted server related rebuild and reboot test case create are
merged and it creates and deletes one server.

Change-Id: Ie1b9dc62bad2bf7b8595da2c9d6f994c646a0025
Changed the exception name

Here changed the exception name for
http error code 409 from Duplicate to Conflict
and error code 500 from ComputeFault to ServerFault.

Change-Id: Ifbebd8761ac8402308e9d37ec78468c65539ac1a
add BaseV2ComputeTest as the base class of nova v2 api tests

this does refactor in compute.base, add BaseV2ComputeTest as
the base class of nova v2 api test. Because there will be nova
v3 tests, this change will be convenient to add BaseV3ComputeTest
as the base class of nova v3 api tests. In this way, we can split
v2 tests with v3 tests easily, and share some common method.

Partially implements blueprint nova-v3-api-tests

Change-Id: Ie8e0d17a95e8378733dd21ab341dfad1331edf6e
Forced isolation for the nova quota test

Several test cases like quota related tests should not be done without
creating a new tenant in all cases.

This change enforces the isolated code path for the nova quota tests.
These tests requires admin rights anyway, so probably no one want to
try to run them without admin permissions.

Change-Id: Ib7550bc68f493ce9c6acbd57fc2d901e14ec2fef
Inject "-tempest-" string to rand_name

In many tempest tests, we use rand_name(). However, these generated
names are very general. So it is difficult to distinguish the resource
is generated from Tempest or not.
And, in many tests, we use rand_name() with '-' suffix such as
rand_name('foo-'). I think this is not smart.
So this commit injects "-tempest-" to rand_name().

And, by this commit, the generated rand name will include "--" such as
'foo--tempest-123'.
So I will fix them in another commit.

Change-Id: I7bb8f5bbe2346b0b0ab6e91757e20a67b9098f8a
use "" instead of "None" in xml file

The value "" will be consider as None, when API receive it.
But "None" will be consider as the string "None"

Closes-Bug: 1241397

Change-Id: I01f25dcc073684b1843abeb5814bc22b0520c5b1
Use lower case true/false in the sample config file

Using lower case true/false in the etc/tempest.conf.sample for
consistency.

Change-Id: Ic85d29ad0f865203be23c286bdf317bea84851a9
Merge "Add a skip for meter-label cli tests"
API tests for neutron router gateway

This patch adds tests for validating the Neutron API for managing
router gateways.

To run these tests successfully, the neutron client has been augmented
with a method to send the enable_snat attribute to the server; this
method should be invoked only when the client has admin credentials;

Also, this patch adds the capability of specifying filter when
querying the API for ports, as this is needed by gateway tests.

Change-Id: I4e92384559bb2093c0eddf78f5dbb526af1acc38
Closes-Bug: #1228091