Use ScaledResource as type for InstanceGroup members

Use the placeholder type OS::Heat::ScaledResource as the nominal resource
type for resources in an instance group. Use the environment to select the
actual underlying resource type (current AWS::EC2::Instance).

Change-Id: I52252c596fa48e57d927eb78e9d5b7c8261adb3e
Update tox.ini to use new features

tox 1.6 allows us to skip the sdist step, which is slow. This does that.
It also allows us to override the install line. In this case, it's
important as it allows us to stop getting pre-release software we
weren't asking for.

Original patch by Monty Taylor, talked about here:
http://lists.openstack.org/pipermail/openstack-dev/2013-September/015495.html

Change-Id: I9fe8a6cff149b3b79d434dc955c77a358c43031d
Remove unused dumps validation in JsonParam value

If the passed parameter is not a valid Json object, a ValueError
exception will be raised in JsonParam parse(). So no need this dumps
validation in value().

Change-Id: Ie450d3923a905b7de3dcbece351aec937ebe7a61
Allow docker plugin to run w/o deps

The docker plugin tests would not run without the docker lib being
installed even though the client was mocked in the tests. This
patch adds conditional import of the client and registration of
the plugin so that the contrib tests can be run in the gates
without having to hack requirements or add more third party
libs.

Change-Id: Ia114f8ebc0cf0b72af8e6e5d2c3264fb7952d7f9
Partial-Bug: #1251380
Implement engine listener service for multi-engine support

The engine listener service provides a way for engines to confirm that
other engines are still alive.  For example, during acquisition of a
stack lock, if an existing stack lock is found the engine will attempt
to communicate with the engine who owns that lock.  If the engine
responds affirmatively, the lock will be considered active.

Blueprint multiple-engines

Change-Id: I6d8f1305953212408f19688a1e0af81c44e5e5b4
Utilize stack-lock for multi-engine support

Utilize a distributed stack lock to avoid race conditions when multiple
engines are deployed.

Blueprint multiple-engines

Change-Id: I2278c7922557b6234cd7ff162cea92af83e9fb8b
Don't replace (and log) the same resource entry

Resources may be registered multiple times. This
ensures that logs are only emitted the first time
a resource is registered.

Change-Id: Iedd12d55007ee24ea6ecbe4fe7152ff65ea665b0
Make the mountpoint property description clearer

There is an issue where the mountpoint may not be honored
so add this note to the property documentation so users can be
aware of the issue.

Change-Id: Iddab9b1f6e5fadddd00e651e92b8b9c922a59347
Closes-bug: #1231705
Add support for network name for os::nova::Server

Property 'network' is added to networks schema of the resource
os::nova::Server. It takes uuid or name. The 'uuid' property is deprecated.

Change-Id: I790bd23301ecfb7b8aa22f6c42b9e6c01cd0b186
Closes-Bug: #1247019
Add OS::Neutron::RouterL3Agent for router.py

This resource supports part of "agent management and scheduler
extensions" in Neutron. It associates router with l3-agent.

see related-bug: #1245366

Closes-bug: #1259845
Change-Id: I781645e62beb4fe60e064d61ad298834e551142d
Enables db2 server disconnects to be handled pessimistically

A checkout listener can be added to sqlalchemy to be able to handle
database disconnect pessimistically and avoid an error in the event of
a DB restart or simply a temp connection issue due to network
glitches. At the moment only mysql is enabled with this feature. This
patch enables db2 as well.

Sync oslo db.sqlalchemy from commit：
bb4d7a2534f6087d828e22784dc263522d309592

Partial-Bug: #1231657

Change-Id: Ib89de07f004975528baffdfd19aae689b089a324
Convert [Cinder]Volume to new Schema format

blueprint property-schema-conversion

Change-Id: Ia7d9e995cf78cc3425cf278d19700451a3347a26
tests: Don't access properties_schema directly

Don't rely on the properties_schema containing a dictionary in a particular
format, convert it to Schema objects and use the API. Needed for the
blueprint property-schema-conversion.

Change-Id: I1a0cd93f62bd662752cb27a294248a14446492a9
Convert Ceilometer Alarms to new Schema format

blueprint property-schema-conversion

Change-Id: Ic44465a1de114ad8165c9d3474f409eb0cc129ad
Convert User resources to new Schema format

blueprint property-schema-conversion

Change-Id: I1244d14db2aad93373bfa4a1749cda46fa14980e
Convert Swift resources to new Schema format

blueprint property-schema-conversion

Change-Id: I22346f2dd38477b3ef5dfb484c5912fe7ae3927b
Convert resources to new Schema format

blueprint property-schema-conversion

Change-Id: I06df691f452c9abf6d846aa32a3e2a409aebc27d
Convert OSDBInstance to new Schema format

blueprint property-schema-conversion

Change-Id: Ieec1c81e4a4675fa49d953c948ef9a9f111177a3
Adds parameter_groups to HOT specification.

The ability to group and order parameters in the template is
currently missing. This patch allows for a new section of the
template, parameter_groups, to be added by the template author
to explicitly define the expected behavior.

Change-Id: I6d8dc4e6490fbfe9cc45f6ca9cb1ac2826e13273
Implements: blueprint parameter-grouping-ordering
Fix stack_get_by_name does not list nested stack issue

The nested stack's owner_id is not None. When querying a result
filtered with owner_id=None, then nested stacks will not be
listed. The fix is to filter stack_get_by_name by stack name only and
add a new API stack_get_by_name_and_owner_id to filter via stack name
and owner id.

Change-Id: I659104f4936b567222108c211f77473ef35638c6
Closes-Bug: #1240892