Security Group ICMP validation for icmp-code

This patch would ensure that Security Group rule creation would
fail when icmp-code alone is provided.

Partially implements: bp ipv6-api-testing-parity
Change-Id: Ib630a72b0979c9738c80cbb0df862bab10b30e5c
Add a shelve/unshelve scenario

Current test of shelve/unshelve in api/compute/servers/test_server_actions
only checks the API. Nova Bug #1257594 shows that shelve was once not
reliable. This addition should prevent this bug from ever coming back.

Change-Id: Ie9c28e0f17e25f75ce435ac574244cd3c3c69c9a
Moved init_conf call and preserve tempest network objects

Fixes race condition where configuation is accessed
before it is configured.

Preserve ports and subnets for tempest.conf networks.

Devstack creates private and public networks, and ports
and subnets in these networks. Cleanup needs to preserve
these objects unless --delete-tempest-conf-objects flag
is used.

Also removed unnecessary argument and updated doc string.

Change-Id: I30381191fde36aa71639a4aac3a4ca18a0733052
Added neutron cli test case for fwaas

Change-Id: I43bcbae0ad5a6379b7f93c82c7a330ca7de8a6bd
Fix error message when isolated tenant subnet creation fails

The current code assumes that setting the message of an exception will
cause the desired message to be displayed but this does not appear to be true.

Change-Id: I7e91179e7cb426645e9250671d3b54475f79a613
Take InstanceType for launchconfig res creation

Take the init value of InstanceType for launchconfig
resource creation, since heat will apply nova flavor
custom constraint for launchconfig resource,
see: https://review.openstack.org/#/c/134879/

Change-Id: I23c6032f49104880dc6b424d115ff437f698f5c6
Cleanup class resources for large-ops scenario

Large Ops scenario is design to test the bulk creation of VMs while multiple
VMs already exist in tenant.
Due to some refactoring in Tempest scenario, the VMs are now deleted at the end
of the individual test cases.

Removes usage of addCleanup() from large-ops scenario.

Adds Class level method - addCleanupClass to cleanup resources at the end of
the test class.

Closes-Bug: #1395759
Change-Id: I612fcfab83a2046b8e597e009e385d7918f943b9
Dashboard login page assert string fix

Fixes the asserted string in login_page test so it is not failing when header
tag gets new attributes

Change-Id: I88c52ab5c95269fc42c281915b101f4e2e8e0c00
Expand service validation to work for Nova cells

In order to run the services tests on Nova cells the validation schema
needs to be adapted to handle the scoped region[!child]@<service_id>
format that cells uses.

Change-Id: I530f6635393af9310070cbb36b6e51eed1979ddb
Add code to enable single-value response for http clients

This commit adds the RestBody class as well as
one service example of its use.

Partially implements: bp clients-return-one-value

Change-Id: Idf3a07dca8c55f6b75645b7ce8ead5e66fb2aff4
Enable cinder v2 api tests in volume quotas

To run cinder v2 volume quotas and volume quotas negative test,
volume_quotas_v2_client is added in services side.
We are not including xml coverage for the respective test.

Partially implements: blueprint cinder-v2-api-tests

Change-Id: Icad4d24d99d3a4f7ab6008db35fab1dfd13784e9
Remove unused xml config options

This patch removes the xml configuration options from tempest. Since
the xml testing has all been removed from tempest these options no
longer do anything, so let's just remove them from config.

Change-Id: I5b3e221d942e09134024b82acaf179dc869357e0
Remove not used attribute _schema_file

This was actually a remaining of [1].

[1]: https://review.openstack.org/#/c/115918

Change-Id: Idcf589fa9d89c2969914ef0c8aee27a22325470e
Merge "Add a shelve/unshelve scenario"
Merge "Remove unused xml config options"
Merge "Enable cinder v2 api tests in volume quotas"
use built in HTMLParser instead of lxml

The last use of lxml beyond the xml clients was the dashboard
test. Instead of using lxml we should be able to do this with built in
HTMLParser.

Change-Id: I933503a207664db720a277de6bfc68f0e1387edc
Fixing casual failing of nc service in LBaaS

Netcat quits after first web connection to it, causing test
to fail with HTTP 503 error. In Cirros 0.3.3 nc doesn't support
"-ll" option for persistence listening.
Added catching HTTP exceptions, and infinite cycle for netcat.
Fixed network finding. Fixed command string to be more pythonic.
Closes-Bug: #1384708

Change-Id: Ib9c9cd3d0040003d0296426d8a7ce800c193f22b
Remove unnecessary parameters on create_volume API

Current Tempest client passes a null value to Nova's create_volume
API if tests don't specify description_name and metadata attributes.
However, that is wrong behavior because these attributes are optional
and Tempest doesn't need to specify them instead of specifying null
values. This behaivor will be a problem because Nova v2.1 API doesn't
allow this kind of values by strict input validation.

This patch makes create_volume API client skip passing null values
in this case.

Change-Id: I16249afeb254dfce1c4b155e2e3746500f6a9ea5
Merge "Take InstanceType for launchconfig res creation"