Enable Quantum linux bridge VIF driver to use "bridge" type

Fixes bug 1078210

This fix should be used in conjunction with the patch
https://review.openstack.org/#/c/14961/

Change-Id: Ifd79864db147fe3141e03bf1c931fd153d413305
Clarify server_name, hostname, host.

Specifically:

'hostname' refers to the instance.
'host' refers to the nova node.
'server_name' refers to nothing and I've removed it.

Change-Id: I29e2486dddc71289018fca58a4f02f1f3b0d1b9e
Allow controller extensions to extend update/show

This change allows controller extensions to define update and show
functions for a resource when the original controller does not
already do so.

Change-Id: If0030e14ebc9c15e43aa64dc7065462376a156c2
create_db_entry_for_new_instance did not call sgh for default

When an instance is launched create_db_entry_for_new_instance() is
called which calls self.db.instance_create(). Then,
db.security_group_ensure_default() is called which creates the
default security group entry in the nova db. Though the sgh handler was
not called. Alternatively, if any nova secgroup-* call is made the sgh
is called which creates the default security group. This patch adds
a call to ensure_default() before db.instance_create() so the sgh
is called. Fixes a case missed in  bug 1050982

Change-Id: I9649b5ef026ca18a55abfb66e87fd0e358eba6f2
Fix network RPC API backwards compat

Commit d96102b6 bumped the RPC API version, but didn't handle backwards
compatibility correctly.

We need to retain support for the old 1.1 clients passing the original
set of kwargs - we can't rename kwargs, nor can we make new kwargs
required.

Change-Id: I083e0fa156e9d30fa51a500ed3d5a8ebb7c8eac8
Allow group='foo' in self.flags() for tests.

Cells config options are in a 'cells' config group, and this is needed
to support the tests.

Fixes bug 1079378

Change-Id: I6b6f2f9f5430b8bab8194a2766fe8075e45d92b1
Do not alias stdlib uuid module as uuidutils, since nova has uuidutils.

A few tests use "uuid" as a local variable name, and so must alias the
Python stdlib uuid module to something else.  Unfortunately they chose
"uuidutils", but nova has a module called "uuidutils" so this is confusing.
So change "uuidutils" to "stdlib_uuid" to reduce confusion.

Change-Id: I0b8bad19e37220ef7b2fef1291a3308e481647fe
Merge "Enable Quantum linux bridge VIF driver to use "bridge" type"
Update api_samples README.rst to use tox

./run_tests.py doesn't exist anymore tests are generally run with tox

Change-Id: I290d938b66c21c38b2d7886b5f6a85363c2078c3
Merge "Fix network RPC API backwards compat"
Merge "create_db_entry_for_new_instance did not call sgh for default"
Merge "Do not alias stdlib uuid module as uuidutils, since nova has uuidutils."
Move nova shared config options to nova.config

This strips nova.flags down to be left just for backwards compatibility
with add-ons importing nova.flags and using nova.flags.FLAGS

Change-Id: Ie3fcae25e05ea9ba97f51bc90b91817ed776ad80
Remove nova.flags imports from bin/*

nova.flags is no longer needed except to load nova config options shared
across multiple daemons.

This removes nova.flags from the bin programs and makes sure that
nova.flags is imported in nova.config for now.

Change-Id: If066ac0070387bee4b41e6a78ad972f7a0955c75
Remove importing of flags from compute/*

nova.flags is no longer needed.  nova.config is now used.

Change-Id: Ia522f8a08bc482857c78e1adde7e1d370ce1e857
Remove some unused imports from compute/*

Change-Id: Ia72dcc8ee5d243c94edf720f2685b58f62bacad7
Remove nova.flags imports from scheduler code

nova.flags is no longer needed.  nova.config is now used.

Removes FLAGS and LOG from baremetal_host_manager completely, which
doesn't use them.

Change-Id: Ia1a4597e28e8ebb8adc5a77b8b006aabe354ac15
Fix a couple uses of FLAGS

The services API extension was still using FLAGS.  And baremetal virt
driver define FLAGS but never used it.

Change-Id: I95c78d04f9103f13c09cbdbc23d6d4ed0d39dde8
Adds support for ConfigDriveV2 in Hyper-V

Supports iso9660 ConfigDriveV2 drives, which can be attached to the
instance on boot as VHD or ISO.
Admin password injection can be selectively enabled for security concerns.

Updates also the hyperv tests.

Change-Id: I22d1ab57bd2f75ddf8758b2ea1a958d7bbe35731
Adds documentation for Hyper-V testing

The Hyper-V Nova Compute plugin uses Windows Management Instrumentation
(WMI) as the main API for hypervisor related operations.
WMI has a database / procedural oriented nature that can become difficult to
test with a traditional static mock / stub based unit testing approach.

This document explains the architecture of the implemented infrastructure.

Change-Id: I24e2893da487571ac82f44d1dc213c9cdb7166d0