enable test_servers_negative

this was disabled when we were seeing flakey fails during Folsom
release, however all but one of these tests current pass. And the
failure is a new nova bug. Pushing to CI to verify that bug on both
databases before providing the fixes to nova (of which there will
be at least 2)

fix xml clients for negative tests

the xml clients were failing additional tests because the clients
didn't support all the features as the json tests. This enables
security_groups and networks in the xml client for create.

It also skips the test_create_numeric_server_name as that can't be
tested in xml, it always turns it into a string.

Fixes bug #1046870

Change-Id: I8a3a0bef9b1d134da369242a0cf14c3dcb61c6de
Add quantum_available config option

This lets us globally enable or disable tests that require quantum.

Change-Id: Id0452e98c6b21dcae92b79b545728e8444c474a3
Add tests for nova's os-attach-interfaces extension

Note that this requires quantum networking on the target machine.

Change-Id: Ieb210e107c28e9dc83884415b28cfefdeaf0f6e2
Adding test_delete_the_default_security_group negative test

In addition fixing few pep8 wrong identations.

Change-Id: Id645f3a8006639ba1e58b14856ac6720fc9b474d
Adding test_security_group_rules_create_with_invalid_port_range

A negative test which verifies that a Security Group rule creation
with invalid port range fails.

In addition, fixing few pep8's identation errors.

Change-Id: I092201fb33392a28de88c68e5cf4b86e2e748a84
Correct getchildren() usage in list_addresses()

This commit fixes the usage of getchildren in the list_addresses
method. Previously, the method was called on body which was a string.
This commit corrects the behavior and runs the method on an etree
object.

Fixes bug 1132796

Change-Id: Iafb8d51257b7bcbfbcf9141c3d424c601a186a89
Enable XML testing for test_server_addresses

This commit enables XML testing for the tests in
test_server_addresses.py. Previously the tests were only run with
JSON. This commit adds a new class to run the tests with the XML
client.

Change-Id: I495cb3cefc45a59f282c207d50b53f8b86b3d10e
Merge "enable test_servers_negative"
Merge "Adding test_security_group_rules_create_with_invalid_port_range"
Merge "Adding test_delete_the_default_security_group negative test"
Small fixes around variable usage

glance_http.py:
* We import the json module in all other files without a fall back
  the glance client should not be different
* The detailed message for the exceptions are generated, but not used.

image_client.py:
* 'time' package is a not used import.

container_client.py:
* 'marker' variable not in use.

test_absolute_limits.py:
* 'testtools' import not in use.

test_disk_config.py, test_server_personality.py:
* 'rand_name' imported, but not used.

Change-Id: I3f543d8d49c92d136f4cff07a776242329eb5ec4
RestClient remove wait parameter from the get method

is_resource_deleted in the past worked like a wait method in several
cases.
Now we can safely remove the additional wait arguments form the
RestClient method signatures.

Change-Id: Ieebdef3d10876e6906ead8554680e2486ec8ce07
Merge "Correct getchildren() usage in list_addresses()"
Add glance api v2 testing.

This commit adds initial support for the glance v2 api. It adds
some basic image tests and a new v2 client. The client supports
create, get metadata, store, get image, and delete.

Change-Id: Ic8c79356d4dcadc35bb3a7aa0deac2336e370827
Merge "RestClient remove wait parameter from the get method"
Remove skip from test_invalid_host_for_migration().

This commit removes the skip related to a bug, it was fixed as
part of grizzly-3, so we no longer to to skip the test because
of the bug.

Change-Id: I3ee2dab1e92732ad7a9fe5319b35524d7c2aff75
Merge "Add quantum_available config option"
Merge "Add tests for nova's os-attach-interfaces extension"
Merge "Enable XML testing for test_server_addresses"
Have paramico to register the event pipe in time

paramiko is multi-thread package which has a dedicated thread for input
processing.
paramiko using a pipe trick to communicate his buffered_pipe state for
event based wait operations.
It is possible the reading (transport thread) gets an EOF (or CLOSE) message before
the event pipe created, unfourtunatly it leads to the EOF and CLOSE
messages not communicated correctly by the event pipe which is created later.

The applied change expected to be compatible with newer paramiko
versions, basically it haves the paramiko to create the pipe earlier.

test_integration_1 test case enabled.
Fixing bug ##1117555.

Change-Id: I5e7bff253ed21fc424acc426545cc48f22e96d74