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
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
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
Remove not used attribute _schema_file

This was actually a remaining of [1].

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

Change-Id: Idcf589fa9d89c2969914ef0c8aee27a22325470e
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
Respect auth.allow_tenant_isolation

Do not unconditionally use IsolatedCreds.

Closes-Bug: #1397244
Change-Id: I39f7e488dd6d649d2279f739f7da1076fea03ca0
Use a compute service type from tempest.conf

Auto negative test generator is using static service type 'compute',
but EndpointNotFound happens when customizing compute service type
on Keystone.
This patch fixes the problem by using a compute service type from
tempest.conf.

Change-Id: I5fcf53cc9a24bf4f2a00f11540bd87932212933f
Adapt negative testing documentation

 - Removes the json file documentation
 - Removes XML part

Change-Id: I6a7fdcb12c84189f9adde6f83fee8b303c28a4ee
Expect badRequest in server metadata negative test

In Nova V2, when server is being created with long metadata, exception
OverLimit is thrown. But Nova V2.1 API has strong input validation
and catch long metadata during input validation only and throw badRequest.

This patch modifies the negative test to expect both exception.

This is needed to share V2 and V2.1 tests.

Change-Id: I1e619389f1f986374e7d1da86eecf3074a591711
Merge "Add code to enable single-value response for http clients"
Fix print name of ResponseBody object

Change-Id: I80c7f1d1013bd2b1650149cb8bd5cf5d3088ccfc
Use volume_id rather than volume_name in volume extensions timeout

We're seeing "Volume None failed to reach in-use status within the
required time" because the volume_name is not set as displayName in the
response body, this is different between cinder v1 and v2, so just use
the volume_id in the TimeoutException message, like what the
volumes_client does in it's wait_for_volume_status method.

Related-Bug: #1398078

Change-Id: I24062b559f977d552789d850ea13e365b33070cd
Merge "Expect badRequest in server metadata negative test"
Merge "Fix print name of ResponseBody object"
Merge "Respect auth.allow_tenant_isolation"
Merge "Use volume_id rather than volume_name in volume extensions timeout"