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
Add attributes schema to OS::Neutron::FloatingIP

FloatingIP now validates attributes against a schema instead of
accepting all possible inputs and filtering on the result returned by
neutron.

Change-Id: I3bf1c3728a9d6faab71c2312f331d73b1460c013
Closes-Bug: #1240893
Change ID column of Event table to UUID

If you are using a public Heat you can use the event ID in
'heat event-list' to measure how much activity the service provider
has in their heat installation.

To avoid this, the Id column of the Event table was changed from
autoincremental integer to a uuid.

Added some unit tests in order to ensure that events with integer or
uuid id pass through the API, since we have a migration which will
leave behind integer ids.

Change-Id: Ib3eddb700738cb3667c72977a9a5011209acd6d7
Closes-Bug: #1249159
Fix regression in cloud server tests

Commit 116bd3cb13d76f61fe779b55d5591da671ae471b broke the cloud server contrib
tests because they mocked the default Clients calls instead of the resource's
nova function. This patch adds the correct mocks to the cloud servers tests.

Closes-Bug: #1257947

Change-Id: I904eb9f7e6424603d42b0d59c44e4da16726368c
Account for truncated resource names in test PhysName

The utility class PhysName was blindly comparing resource
name without considering that the resource name may
have also been truncated.

Closes-Bug: #1251379

Change-Id: I189f79ee5238b7c82eff1595ef612efb1f8633d4
Make build_userdata user_data_format aware

Over time different user_data_format values could assemble
different combinations of cloud-init parts.

As the default will remain user_data_format='HEAT_CFNTOOLS',
identical content will be generated for the Instance resource.

The Server resource now passes user_data_format, and no longer
has a get_mime_string method since build_userdata is only ever
called once so cached get_mime_string results is not needed.
Change-Id: I7cfbcffeea24c9b1f013463f9a5fa53b8c699cfe
Instance call build_userdata directly

get_mime_string is only ever called once so caching the results
in self.mime_string is not necessary.

Change-Id: I36a1eb358b1228a946c5f8fa6e76869f10c398fd
Allow intrinsic functions to be called in any order

An optional transform function can be passed into the resolve
functions, which allows transforms to occur on the child snippets.

Change-Id: I5d9e061c6a55f3939c5e03c780eaad72a001fccc
Closes-Bug: #1256742
Merge "Fix regression in cloud server tests"
Merge "Account for truncated resource names in test PhysName"
Merge "Make build_userdata user_data_format aware"
Merge "Instance call build_userdata directly"
Merge "Change ID column of Event table to UUID"
Add load balancer PoolMember resource

This adds a new resource to manage the relationship between a load
balancing pool and an address, allowing more options like setting the
weight of the member.

Change-Id: Ic8a55ff8b8b00c7a4e3184b3028d5bf0cdd5c916
Implements: blueprint loadbalancer-pool-members
Replace try...except block with assertRaises

So the test logic looks tidy and clean.

Change-Id: I8415fbe1d4c0ce59c5c9f173240fcd6eb15b0c63
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
Sync oslo rpc

Sync openstack/common/rpc to fbbb12ea5ff51df744d3de1f312bbcf75aea1670
so we get the fixes required for bug 1257293

Change-Id: Ib2f13d1af91e005c5ee74d462c3fb307f699e7ca
Closes-Bug: #1257293
Merge "Allow intrinsic functions to be called in any order"
Remove oslo uuidutils.generate_uuid from heat code

`uuidutils.generate_uuid' is going to be removed from oslo, so we need
to remove the call from heat code.

Change-Id: Iba9f86d8b8ec5ebaf4e80e6b729e372816bd5723
Partial-Bug: #1253497
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