Resource tracker: use brackets for line wrap

Use () instead of \ for a line wrap.

TrivialFix

Change-Id: Ifb684ed73ec5e7ad08eb297e3b043053d3456829
Config bindings: remove redundant brackets

There were cases where the help text had redundant brackets. This
was removed.

TrivialFix

Change-Id: I5f9b715b2f358d5b7db1a36f7bf9922d461771be
Fix get_all API to pass search option filter to cinder api

Change-Id: Ic01956a0fc1ef641dd1b9a28caa40debdc8c114c
Closes-Bug: #1391748
Remove unused db.api.get_ec2_instance_id_by_uuid

The last use was removed in change
I66d60a29f0d909edd381e8492a4754bdd0eb8e52:

ec2: Convert to use EC2InstanceMapping object

Change-Id: Id50c9af365c0f812862f44288a84f8da46dd007c
Remove unused db.api.aggregate_host_get_by_metadata_key

The last use was removed in change
I2ec7373f063ed728dde2af3b7c8259f4391885bc:

object-ify availability_zones

Change-Id: Ie3dd4a3b3008af377a46ccc4dcadb6409101bc2d
Remove unused db.api.dnsdomain_list

The last use was removed in change
I4b682affbbe988638c0c834b12a121e6a871080a:

Update nova.network to use DNSDomain object

Change-Id: Ibe336eb29c8263765f79124175aac2029d0d68ce
Make direct call to controller in test_console_auth_tokens

In API unit testing, making call through WSGI is little bit overhead,
wherever applicable, unit tests can make direct call to controller
methods.

Some unit tests needs WSGI call to tests more than one plugin together.

This patch makes above cleanup in test_console_auth_tokens.

Partially implements blueprint v2-on-v3-api

Change-Id: If70b6b63caf6a167ae8b158fd76c98ac7197a524
Call controller methods directly in test_console_output

In API unit testing, making call through WSGI is little bit overhead,
wherever applicable, unit tests can make direct call to controller
methods.

Some unit tests needs WSGI call to tests more than one plugin together.

This patch makes above cleanup in test_console_output.

Partially implements blueprint v2-on-v3-api

Change-Id: I6e915da3e8847065dab227bf8c961f690a6db98a
libvirt: pass Host object into firewall class

Instead of passing in a get_connection callback function,
give the firewall class impls direct access to the new Host
object instead. Make use of the fakelibvirt fixture to
avoid needing to mock out the libvirt APIs directly.

Blueprint: libvirt-driver-class-refactor
Change-Id: I8af9a5a2ba4f87ef221b9276df7d08395e44f021
libvirt: remove pointless _get_host_uuid method

The _get_host_uuid method only had one caller these days, so it
is a pretty pointless helper API.

Blueprint: libvirt-driver-class-refactor
Change-Id: Ibe0e5836a94295378f2208b220e452b61545c1c9
libvirt: introduce new helper for getting libvirt domain

Introduce a get_domain() method to obtain a libvirt domain
from a Nova instance object. This slightly simplifies the
callers, avoiding the need for them to know that the lookup
is done based on the name (as opposed to ID or UUID).

Blueprint: libvirt-driver-class-refactor
Change-Id: Iea29950f3991a8051f48263f43c7b9b861d9e640
VMware: Use datastore_regex for disk stats

VMware driver does not use datastore_regex when reporting disk
stats, while it is used when spawning instances.  As a result,
the available disk_free reported periodically can be different
from what is available when spawning.

Change-Id: Ibeb69afc5183c22191b77d45c73dcc8b0ef6d1f5
Closes-Bug: #1309753
Co-Authored-By: Sabari Kumar Murugesan <smurugesan@vmware.com>
Co-Authored-By: Davanum Srinivas <dims@linux.vnet.ibm.com>
Cleanup in test_availability_zone not to use wsgi_app

In API unit testing, making call through WSGI is little bit overhead,
wherever applicable, unit tests can make direct call to controller
methods.
Some unit tests need WSGI call to tests more than one plugin together.

This patch makes above cleanup in test_availability_zone.

Partially implements blueprint v2-on-v3-api

Change-Id: I4e5651631f5c9a3c6015ab603789fb155848448c
Merge "Call controller methods directly in test_console_output"
Merge "Make direct call to controller in test_console_auth_tokens"
Merge "Config bindings: remove redundant brackets"
Merge "Resource tracker: use brackets for line wrap"
Merge "Remove unused db.api.get_ec2_instance_id_by_uuid"
Merge "Remove unused db.api.aggregate_host_get_by_metadata_key"
Merge "Remove unused db.api.dnsdomain_list"