enable xml tests test_disk_config

This enable the xml tests in file test_disk_config.
In diskconfig extension, it require disk_config
must be 'AUTO' or 'MANUAL'. So Change it in
test_create_server.py. It can work before, because
it didn't deal with the parameter disk_config.

Partially implements bp missing-tempest-tests

Change-Id: Ib6ed2f2b4319193ba57a139083e8974deeee3f35
Add basic read only glance cli tests

* Display help
* List images

Change-Id: Iee5a4ebf4a47e8c41545c0d404cc15eb345705da
Create and delete flavor as regular user

The new negative test cases are trying to perform compute admin
 operations as regular user.
Regular user should not be able to create or delete flavor.

Change-Id: Icec59ba9e39b8a9c9ea93e5e633989c962f42e33
Addition of XML support to test_list_servers_negative

Added logic to test_list_servers_negative.py, script so as to support
xml interface along with json as interface.

Change-Id: I430ab83ae74f4cfefdaf9880013347ad06778b78
Implements: blueprint add-xml-support
Xml Support for Image Test scripts

Added/Modified required support functions in images_client.py
XML interface script.Added required logic to below scripts
inorder to support both JSON and XML interfaces
* tests/compute/images/test_image_metadata.py
* tests/compute/images/test_list_image_filters.py
* tests/compute/images/test_list_images.py
* tests/compute/test_authorization.py

Change-Id: Ibcce0d81024b46c1b031bc348ca8e8d62e005d8d
Implements: blueprint add-xml-support
Use the same style checking everywhere

Both the run_tests.sh and tox.ini using the same check_source.sh for
style and basic lint testing.

Adding a pyflakes based unused import test.

Removing 2 unused imports from
tempest/tests/network/test_network_basic_ops.py.

Change-Id: I5b4c8b945495751ac68fc64ed5ebf1cf441a5a31
Add glance register image from http service test case

The new test case have swift to serve a file for downloading without
authentication.

The glance service/client extended with the copy_from attribute.

The rest_client will not argue about content-type issues
when the http response status is 200 or any other non error status.

Change-Id: I2bed0d39f408290b3824a3a3b8afcdd3910ee63b
Remove unused variables

test_server_rescue.py: client assigned, but never read in
			test_rescued_vm_attach_volume.
test_attach_volume.py: "attached" member used without the "self."

Change-Id: I2c3942ee9fde7cd92144ac879aaff99f136cab7f
Add missing exceptions import

security_groups_client.py and security_groups_client.py are using the
"exceptions" module, but it was not imported.

Change-Id: Ib39e28ad7a4a49833ac9a4090da5b783e3075a03
Merge "Addition of XML support to test_list_servers_negative"
Merge "Remove unused variables"
Merge "Add missing exceptions import"
Merge "Create and delete flavor as regular user"
Merge "Add basic read only glance cli tests"
Merge "Xml Support for Image Test scripts"
Merge "enable xml tests test_disk_config"
cleanup resource in setUpClass if ecxeption raised

this catch the exception in setUpClass of test_list_image_filters
and cleanup resource. Every exception should be catched
so hasn't specify what kind of exception after except.
In BaseComputeTest.create_server if a exception raised in
wait_for_server_status, the server won't be append to cls.servers
and cann't be deleted in clear_server.So change the order.

fix bug 1158851

Change-Id: I4c6cf1e9103383dbb5b572b0ee613a12b8c3be03
Reduce chance of name collision for resources.

I am not sure how to make this totally reliable without using long uuids but this should reduce
the chance of collision from one in thousands to one in millions, more than enough to make this not be the weakest link
of build failure. It can be improved in the future if necessary.

Change-Id: I0337db0e1bf7a028855a3d18b8eb9894e1a436bf
Merge "Add glance register image from http service test case"
delete servers in setUpClass if ecxeption raised

this catch the exception in setUpClass of test_images_oneserver
and delete the server. Every exception should be catched
so hasn't specify what kind of exception after except.

fix bug 1158843

Change-Id: I4ea4f6b4bc97a514393c0d0cb6236dcc720fd1a0