Revert "Skip test_list_server_addresses if neutron"

This reverts commit 3c7f98f0b78444e3cfc411a331d40ceb07629c21.

Since blueprint admin-event-callback-api in Icehouse we shouldn't
have this issue so enable the test again.

Change-Id: I21aa94068129b856e6a2965ac749c414b8b0cc9e
Closes-Bug: #1210483
Fix invalid URL in AccountClientCustomizedHeader

Correct a syntax error where a string was being added instead
of being formatted.

Change-Id: I884f5e996e0d36a63b4884eb0bbeda7d70fb31ba
Attempt to test live_migration by default

Now that we are starting to try testing multi node devstack we want to
test live_migration. In single node setups the live_migration tests will
be skipped  since the tests make sure there are at least two compute nodes first.

Change-Id: I8e8a940a6eb3fa28adafb1035c549eb6d572baac
Move common compute clients to the setting method

There is a _set_compute_clients() method for setting compute clients,
but there are some compute clients settings at the outside method.
So this patch moves them into the method for cleanup.

Change-Id: I2ac68f3640ed8f17e088dec06dc4a5054a953f45
Fix inheritance for BaseTestCase

This commit fixes the inheritance around the BaseTestCase definition.
Previously there were a couple of things wrong with it, first the
mixin order was incorrect, secondly the use of ResourcedTestCase
wasn't actually needed since testresources isn't actually used
anywhere. The other part of the fix was the hack for python2.6 to
also add unittest2 to BaseTestCase is not needed now, because
testtools now uses unittest2.

As a part of this fix the base CLI test class has to be reworked to
change how tempest-lib is used. By fixing the inheritance on
BaseTestCase a conflict occurs with the class test used from
tempest-lib. The recommended usage pattern for tempest-lib will have
to be rethought. But, in the mean time this commit just adds the code
which would be inherited from the mixin in tempest-lib directly. It
should be removed when tempest-lib is updated to accommodate this use
case.

Change-Id: Ia5dda59f7989f37997276cbd19bb9fdc7b7d2624
Enable v2 api for volume and snapshot tests

For volume action tests, name field of the volume is updated with
the cinder v2 api.
For snapshot action tests,admin_snapshots_client is moved to base class
and name field of the snapshot is updated.

Partially implements: blueprint cinder-v2-api-tests

Change-Id: Iba7fd236c752ea15b73fd308ec6e3475cf42af9c
Enable cinder v2 api for volume type extra specs tests

Partially implements: blueprint cinder-v2-api-tests

Change-Id: Iae139bacc637c0078fe419c904d3ba5336fe5721
Ignore NotFound during network cleanup on API

Some resources are explicitly deleted by the test. When cleanup tries to delete
these resources, it should ignore NotFound exceptions thrown for resources that
were correctly deleted by the test.

Change-Id: I6aed052fbf765920472a71a2b263af00c5687d22
Closes-Bug: #1394109
Add config options for XML support in Keystone

This will allow us to remove XML support from Keystone in Kilo, but keep
testing XML support for previous releases.

Devstack patch for stable/icehouse:
  Ibb402640c5b744f1ea38ce548994079996c72508

Devstack patch for stable/juno:
  I576c93303575812c44afa36ad18205ecbc494e5f

Change-Id: I823fda34081f28863fcc6a3889f5f04a87134b38
Merge "Revert "Skip test_list_server_addresses if neutron""
Merge "Ignore NotFound during network cleanup on API"
Merge "Fix invalid URL in AccountClientCustomizedHeader"
Merge "Attempt to test live_migration by default"
Merge "Move common compute clients to the setting method"
Add internal methods for setting volume clients

There is a lot of volume clients settings, and the setting order is
mess now. That is not readable. This patch adds internal methods to
set volume clients for cleanup.

Change-Id: I98392d926938d10495087e66305064fe564855bb
Merge "Fix inheritance for BaseTestCase"
Merge "Enable cinder v2 api for volume type extra specs tests"
Merge "Enable v2 api for volume and snapshot tests"
Merge "Add internal methods for setting volume clients"
Add internal methods for setting identity clients

There is a lot of identity clients settings, and the setting order is
mess now. That is not readable. This patch adds internal methods to
set identity clients for cleanup.

Change-Id: I2956e61898583bd335d377604f2435699e9d30f6