Refactor selecting values from an attribute

Move the code to select particular keys/indices from an attribute value out
of the get_attr intrinsic functions and into the attributes module as a
separate function.

Change-Id: I16135159027cc52e8da74a4b5863fc8a8595d582
Convert AWS::EC2::Subnet to use attributes Schema

Change-Id: I0f7b6beef1023875ae499ce7ec06f4211c6c028b
Refactor handling of exceptions in Resource actions

The code to set resource states and handle resulting exceptions (by
translating to ResourceException where appropriate) was duplicated in three
different places. This change consolidates these into a single context
manager.

Change-Id: I3994c7cb73300c4b13437a4b37cd12f5b0a20b35
Add template version for the provider template

The unittest "test_properties_type_mismatch" in
test_provider_template.py, the provider template misses the template
version, so there will be a "missing template version" exception, not
the expected "type mismatch" exception.

Closes-Bug: #1325146
Change-Id: Id836a7bd31dcbb4072743560cc1b314fc3073852
timeutils function retry_backoff_delay

Calculates an exponential backoff delay with jitter for retrying
operations which might fail.

The exponential delay on each attempt gives the service a chance
to process its backlog of retries after it starts responding again.

The jitter adds some randomness to the delay to prevent
multiple synchronised backoff retries from hitting the
service at exactly the same time.

The next change in this series makes use of this function.

Change-Id: Ie209ef62c0da68a5b503354764e5add2b6e5569a
Remove deprecated tools/README instructions

Remove instructions for:

experimental_ssh_eventlet.py: deleted May 25, 2014 commit 318669f

openstack: deleted Sep 30, 2013 commit f4a9c0f

heat-keystone-setup: was never in the tools directory, but has
documentation in the man pages

Change-Id: I8ae3050e16163699849342e81d302942e763ac0c
Partial-Bug: 1338066
Merge "Add template version for the provider template"
Remove rst2script.sed and integration.sh

rst2script.sed was referenced in the Fedora getting started
documentation, but the recommended way to use Heat/Openstack
on Fedora is now to use RDO/packstack.

Also removes the reference to rst2script.sed in the
getting_started/on_fedora documentation.

Also removes obsolete integration.sh script.

Partial-Bug: 1338066

Change-Id: I7f2b0d84ccef324ccb8e32ca4c6d90f9a3f2dda3
Merge "timeutils function retry_backoff_delay"
Merge "Refactor handling of exceptions in Resource actions"
Merge "Refactor selecting values from an attribute"
Reusing PARAMETER_CONSTRAINTS value

The variable PARAMETER_CONSTRAINTS is not used, also this variable
makes code a little confused, because according to documetation
constraints for parameters don't include MIN, MAX and CONSTRAINTS
definitions. This patch makes this definition clear.

Change-Id: I47b49e3ed23720ed652f688f2901ae9bc6b01632
Merge "Convert AWS::EC2::Subnet to use attributes Schema"
Merge "Remove rst2script.sed and integration.sh"
Merge "Reusing PARAMETER_CONSTRAINTS value"
Add utility functions for Swift TempURLs

blueprint swiftsignal-resource

Change-Id: I88c78b74dfb3c23cf74831bda3a9bdc69df6162a
Add OS::Swift::Signal resource

blueprint swiftsignal-resource

Change-Id: I5ba523210aa9aefbf46eeaa0d95293608a820f95