Remove OfficialClient dependency from HACKING.rst

This commit migrates OfficialClientTest to ScenarioTest about
TestVolumeBootPattern in HACKING.rst. We should not have such an example
in the HACKING.rst because we don't use OfficialClientTest class in the
scenario tests anymore.

Partially-implements: bp:tempest-client-scenarios

Change-Id: Id95d011f3d080effc7bfee6232578451f7ba72d9
Port  API Tests Enhancements

Add function to update port with security groups
   -Function take list of security groups name
    as parameter
   -Create security group based on the names in
    the parameter
   -Create a port without security group
   -Update the port with the security group
   -Verify that security groups are updated in
     the port  successfully

Add a test to update the port with security group
    -Call the update port with security groups
     function with one name of security group

Add a test to update the port with two security
group
   -Call the update port with security groups
    function with two names of security groups

Change-Id: I490f3c7eb66e74f4185588870f9b2b44b54bd64b
Fix resource_setup order in scenarios

As resource_setup() document says, we should check skip condition before
resource_setup. However some functions in scenarios setup resources
before skip checks. We should avoid to setup unnecessary resources as
possible. This commit fixes the order.

Change-Id: Id0529fc80f2b80f028fd078140fe5fd7459e9309
enable cinder v2 api for test_multi_backend

    volume_type_client for v2 is added.

Partially implements: blueprint cinder-v2-api-tests

Change-Id: I0729eaf30946bd291f2fdaee8e99bf125e47be83
Don't double log API request

If debug logging is enabled the full API call, request and response is
logged, so don't log the request twice.

Change-Id: I45baa04a2daae8fd31c30183ac10464b7affbc21
Fix execute status of cleanup script files

cleanup.py should be executable, cleanup_service.py is a module.

Change-Id: Ibb8e06a0165d9b2f42c1aeec8bf639227a5480d3
Add list servers to large ops test

Add regression test for bug 1282842, which is hit when running nova list while
waiting for instances to move to ACTIVE.

Change-Id: Ic0714834846ad94b213d97e7756ca607e1f4d710
Related-Bug: #1282842
Move tempest to oslo-config-generator

Also fixes tempest reported bug with old generator in oslo-incubator,
when identical options are registered in different groups.

Change-Id: I274f48503c1b61ca09cabc8d8c50245ba1059943
Closes-bug: 1282887
Log identifiers of resources being cleaned up

On teardown compute API tests clean up resources such as servers
and images. This patch simply logs the identifiers of these
resources in order to help debugging failures which might originate
from problems during cleanup.

Change-Id: Ied2924bba78ec8f4a3b51df1be69273b28362475
Related-Bug: #1357055
Merge "enable cinder v2 api for test_multi_backend"
Remove PYTHONHASHSEED=0 from tox pep8 job

Tempest has moved to new oslo-config-generator and this bug
workaround is no longer needed.

Change-Id: I50ffdcbc8a8f4830ba9c274af4c908e96467dad5
Closes-Bug: 1365136
Merge "Move tempest to oslo-config-generator"
Merge "Log identifiers of resources being cleaned up"
Merge "Remove OfficialClient dependency from HACKING.rst"
Add cleanup to test_verify_multiple_nics_order

This test doesn't cleanup the networks and subnets that it created. Following
Tempest tests in non-isolated environments are consequently failing because
multiple networks are found. This change deleted those networks and subnets.

Related-Bug: #1329065

Change-Id: Id618aeeb85e3d4767ed07b4d29b908274eba76df
Merge "Port  API Tests Enhancements"
Make duration in serial test approximate total run time

The duration argument is supposed to mean how long the test will take to
finish. Before this change, if running serially it would take n*duration where
n is the number of test cases specified to run.

Change-Id: I9bd525b17e41fae811e3bf48642b728151e65737
Merge "Remove PYTHONHASHSEED=0 from tox pep8 job"
Fix and re-enable test_disassociate_not_associated_floating_ip

Fixes test_disassociate_not_associated_floating_ip so it sets the
ec2_client class variable needed by a base class correctly. There
has been some bit-rot since it was disabled.

Note that this test will not pass until the nova fix
https://review.openstack.org/#/c/124320/ has merged.

Change-Id: Ice39358f4e8123334f24056daede68bead59729b
Related-Bug: 1179816
Added neutron cli test case for vpnaas

vpn_list,ikepolicy,ipsecpolicy,ipsec_site

Change-Id: If61eb1506da464b0e173ef63c4dbccdd8f757616