Prepare for enabling H302 rule (api/compute/admin)

We can use H302 rule but ignore it now. This commit prepares for
enabling H302 rule. But this commit modifies a part of Tempest only
because if we fix all of them at one time, it's hard to merge this
commit.

    ---------------
    tempest/api/compute/admin     <- This patch
    tempest/api/compute/{c*,f*,i*,s*,t*}
    tempest/api/compute/{v3,volumes},data_processing
    tempest/api/identity/admin
    tempest/api/image
    tempest/api/{n*,o*,t*}
    tempest/api/volume,tempest/*
    tempest/services/compute/json
    tempest/services/compute/v3/json
    tempest/services/compute/xml
    tempest/services/identity
    tempest/services/{im*,n*,o*,t*}
    tempest/services/volume
    tempest/clients.py: TBD
    ---------------

Change-Id: Id993c8b157c0b1256aa17c2b8e8f8da46111c521
Prepare for enabling H302 rule (api/volume,tempest/*)

We can use H302 rule but ignore it now. This commit prepares for
enabling H302 rule. But this commit modifies a part of Tempest only
because if we fix all of them at one time, it's hard to merge this
commit.
    ---------------
    tempest/api/compute/admin
    tempest/api/compute/{c*,f*,i*,s*,t*}
    tempest/api/compute/{v3,volumes},data_processing
    tempest/api/identity/admin
    tempest/api/image
    tempest/api/{n*,o*,t*}
    tempest/api/volume,tempest/*     <- This patch
    tempest/services/compute/json
    tempest/services/compute/v3/json
    tempest/services/compute/xml
    tempest/services/identity
    tempest/services/{im*,n*,o*,t*}
    tempest/services/volume
    tempest/clients.py: TBD
    ---------------

Change-Id: I65e9ac5678d17f31de5449017f2193f53c74c535
Assign floating ip to a server in load balancer scenario

In isolated jobs tenant network is being created for each test
and host doesn't have direct access to it. To solve this problem
we need to assign a floating ip to the server and use it instead.

A floating ip is assigned only in case public_network_id is defined
and tenant_networks_reachable is False. If tenant_networks_reachable
is True use direct addressing.

Change-Id: I3943e57c040f4a5f7c36d42fa100bbc324097159
Closes-Bug: #1277381
Nova V3 API test for resetNetwork/injectNetworkInfo

This Patch add the Nova V3 tests for resetting the server network and
injecting the network info of server.

Change-Id: Iaa2e9144f337be783b0498d64ab691dac4fc7aef
Add status code checks for Nova attach_interfaces API

Current API tests of attach_interfaces do not check the status code
of a response. This patch adds these checks for blocking backward
incompatibility changes.

Change-Id: Ib5ad54d047cf368e1185f1b4ce10c2d6c906ea9d
Merge "Add "Nova V3 API test for add-fixed-IP/remove-fixed-IP""
Merge "Add "V2 API- add-fixed-IP and remove-fixed-IP server action" tests"
Merge "Add Nova V2 API test for resetNetwork/injectNetworkInfo"
Merge "XML endpoint client use correct string for enabled"
Prepare for enabling H302 rule(services/compute/json)

Currently H302 rule is ignored by tox. However, this rule should
be enabled. This patch partially fixes this problem to prepare for
H302 rule.

Change-Id: I93204fb215b54b8a304224b249320428870dedde
Separate negative tests for test_images

Move negative tests from test_images.py to test_images_negative.py

Partially implements blueprint negative-test-files

Change-Id: Ie29b0f5c2d676cbe3b061ad88e459dc6c6209c80
Prepare for enabling H302 rule(services/compute/v3/json)

Currently H302 rule is ignored by tox. However, this rule should
be enabled. This patch partially fixes this problem to prepare for
H302 rule.

Change-Id: I4f573cb306f86cf8476f8fa8950a47c21e443db8
Merge "Add status code checks for Nova attach_interfaces API"
Merge "add TRACE level to the items that are being flagged"
Merge "image(s) schema image metadata API test"
Merge "Stop running CONF getattr during import"
Prepare for enabling H302 rule(api/image)

Currently H302 rule is ignored by tox. However, this rule should
be enabled. This patch partially fixes this problem to prepare for
H302 rule.

Change-Id: Ieb47937ae222e3ccf8d8c630f344a64db8d256ba
Cleanup _interface class variables in compute

We've already removed these variables in Nova v3 tests.
  Change-Id: Ie9ad2242d20ce90fca74ca7a5390e0971f830caa
But we can remove these not only v3 tests but also v2 tests. This commit
sets _interface = 'json' to BaseV2ComputeTest and removes redundancy.

Change-Id: I10110b92ed9a34eedef210ad8408f78d64ba4ee6
Prepare for enabling H302 rule(services/identity)

Currently H302 rule is ignored by tox. However, this rule should
be enabled. This patch partially fixes this problem to prepare for
H302 rule.

Change-Id: I4546cb540d328c77a44933e975d827f1505386d8
Merge "Prepare for enabling H302 rule(services/compute/json)"