Add test for OS::Neutron::Router Heat resource

Added a test that checks that a OS::Neutron::Router is created
correctly.
Replaced all OS::Quantum with OS::Neutron.
Replaced all Ref with get_param or get_resource.
Lower case instead of Upper case when applies.

Change-Id: I9f4828eee8517422847c05fbb45530699abe8e96
Partial-Bug: #1269569
Make endpoint type configurable

Allow to specify the endpoint type to use for each service. Not everybody will
want to use publicURL, so let's make this configurable.

Closes-Bug: #1178083
Change-Id: Idb414aef7510178efef59cb48149ff1d86f11cb1
Migrate negative test to a different file

Here added a different file to store
negative tests of migration.

Partially implements blueprint negative-test-files

Change-Id: I1791265882d0fd748445c39884906983068b5179
fix quotas client in admin/test_quotas.py

regular quotas client is used by mistake in testcases for admin user
in admin/test_quotas.py. admin quotas client should be used.

Change-Id: I9200b1d357a57f92a78567e7dc3ef06a433df9f9
remove some unused code in nova image tests

this removes some unused alt_client and images_id in the nova image
tests.

Change-Id: Ied9f098be9bbbc845ad07a40bfedf2dab9b9eceb
Introduce T106 rule for vi modelines

We don't need to have the vi modelines in each source file anymore.
We've already fixed them several times.
 https://review.openstack.org/#/c/66507/
 https://review.openstack.org/#/c/68552/
 https://review.openstack.org/#/c/69318/
 https://review.openstack.org/#/c/70133/
However, newly some files still have it in its header. So we should
check it automatically with our HACKING rule.
This commit introduces T106 rule for that.

Note: This code is copied from Nova's hacking rule.
   Change-Id: I347307a5145b2760c69085b6ca850d6a9137ffc6

Change-Id: I5c94ef041a39c2377ba6321ace8934f324287bcf
Closes-Bug: #1229324
Minor changes to scenario manager

Use native neutron client to retrieve tenant's resources instead of filtering
in tempest

Change variable name

I have a few patches that require this added functionality

Change-Id: I7b3685c8f002b460dae0c9fd4b8602b19cf914a7
Refactor cross_tenant to security_groups_basic_ops

Name is more appropriate.

Also - decouple cross_tenant from in-tenant test
With some cosmetic changes to the code.

Partially Implements: blueprint neutron-advanced-scenarios

Change-Id: If7cb1f093172ae4f480e4a408c7f128061ca1ba6
Splits network_basic_ops to fully isolated test cases

Splits network basic ops to smaller test cases sharing code while tests
pass.
Due to network_basic_ops getting too complicated for its name

Test cases are fully isolated. No resource sharing.

Partially Implements: blueprint neutron-advanced-scenarios

Change-Id: I1939f743b0335181e95924c2c5cb0bb259ae720e
Adds cinder backup functional tests

Adds new tests to cover cinder backup api as well as the needed
json clients.

xml client will be submitted after bug #1270589 is fixed.

Change-Id: I8d40c58eaf0ccd24abf55a212f1177e61ef0a281
Closes-Bug: 1221335
Remove unsed client variables

This patch removes some unsed client variables for cleanup.

Change-Id: I7c86cd2e619b30a757bbcb42bd62bb75f0a1f67d
Separate non-admin AZ tests from admin test files

Some non-admin tests exist in admin test files.
This patch separates them from these files and moves them to
non-admin test files for cleanup.

Change-Id: I3055baebbbab8a33ef93881eeff2a9c13277ae0a
Makes some Swift API tests optional

These 2 extensions aren't always activated in a Swift system:

+ formpost
+ staticweb

This patch uses the test.requires_ext skipping mechanism to make the
corresponding tests optional.

Change-Id: I573b2b7e9f15bb6c4952ec481e95d62bbc85a124
Merge "Adds cinder backup functional tests"
Merge "Minor changes to scenario manager"
Merge "Migrate negative test to a different file"
Separate the deleting server tests

"Servers should be always delete-able unless they are lock-ed."
This principle is important, and it is better to separate the
tests from current mixed class of this viewpoint to check the
test coverage.

Change-Id: I9df45f3b0c8395c36b586fd31a1526fb87b63389
Add "delete a shelved server" tests

This patch adds "delete a shelved server" tests.

Change-Id: Ie43a19a34c1b01c313142fc8e9f6f009dd35d7d3
Clean up scenario functions

Some functions in scenario test cases are redundant. This commit cleans
up them.

Change-Id: I91cd48e8f4c5f152b85e7590eb328814ba8015fa
Add qcow2 image support

This commit adds qcow2 image format for some scenario test. Because
qcow2 disk image format is nicer than uec format.

Change-Id: I4c812176ed1800052c3192110067b1ae7fb04b85