Increase default maximum safe_body function

There is this specific test test_absolute_limits_negative which's xml
version is bigger than 2048 characters and was truncated on tempest.log
that is fixed increasing that maximum even though I'm not sure how long
xml tests will live here.
Closes-Bug: #1383996

Change-Id: I771921e3c14333afc791e21395c0edf9feba5ee0
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
quota testcases use tenant_name should use tenant_id

Test case related to quota usage (test_show_quota_usage,
test_cinder_quota_defaults and test_cinder_quota_show)
uses tenant name, ideally it should use tenant id as quota
requires UUID of tenant and not tenant name.

Cinder quota-show ideally requires tenant_id to show quota.
As there is bug in cinder (BUG: 1307475) , that if we give
non-existent tenant_id still cinder show the quota and
returns 200 (OK). Hence, these testcases should use
tenant_id and not tenant_name.

Change-Id: Icab25afd482b34290bc74be2ba420f6b016dde18
Closes-Bug: #1321617
Support for IPv6 tests for API

Added IPv6 everywhere where it's relevant in network API tests.
Partially implements: blueprint ipv6-api-testing-parity

Change-Id: If2baaa3f2433b88ea4a3ed6dbee61ad6ee9ad3b0
Add scenario test for swift-proxy ceilometer middleware

This test creates a swift container, puts something in it
and then checks for samples stored by ceilometer which were
created by notifications from the middleware. test.call_until_true
is used to loop across multiple requests for samples in order
to be flexible in the face of latency on the notifications bus.

Change-Id: I07316db1f51d0562919ed2a50f002011944bfdb1
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
Merge "Increase default maximum safe_body function"
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 "quota testcases use tenant_name should use tenant_id"
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"