Order imports in alphabetical order (2/9)

This patch is one in a series to re-enable H306 style check rule
(imports are in alphabetical order). It touches API files.

Implements: blueprint reduce-flake8-ignored-rules (partial)
Change-Id: I81c7c79516ce1a17055c3b9c12a94312ed3d1940
Order imports in alphabetical order (3/9)

This patch is one in a series to re-enable H306 style check rule
(imports are in alphabetical order). It touches common and cloudinit files.

Implements: blueprint reduce-flake8-ignored-rules (partial)
Change-Id: Ie9838dba11323575165fc3bfdfbd0d0b93f653fa
Return template based class in list resource types

Don't filter out TemplateResourceInfo in ResourceRegistry.get_types so
that they are available in the resource-type-list API.

Closes-Bug: #1286179
Change-Id: Ie26e3b12e9f05568f146458a0d0c5c120970978b
Order imports in alphabetical order (1/9)

This patch is one in a series to re-enable H306 style check rule
(imports are in alphabetical order). It touches contrib resources.

Change-Id: Icfe39ee206a70a25e78027a5d097d1208f8750cf
Implements: blueprint reduce-flake8-ignored-rules (partial)
Refactor Template.parse()

Split out Template.parse() as a separate function. This saves an expensive
method call to self.functions() for every potential intrinsic function in
the template, plus makes a template parsing routine available to other
parts of the code that may want to use it, without being tied to a
Template's ideas of what the intrinsic functions available are.

Change-Id: I1d4b847967357dbe5c9960223a063377aec50e5d
Devstack getting started, update IMAGE_URLS

The current image references are F17 which are very EOL and
unsupported, so instead refer to the official F20 image which
now contains heat-cfntools, and mention that in the documentation.

Change-Id: I4906fe4f0785c23b3f8815dbaa0a4727f8ed9505
Move load_user_creds out of StackWatch

This method was moved out of EngineService in a recent refactor
however load_user_creds not related to stack watching, so this
method is better off living in EngineService.

Change-Id: I67fa06df5c24baa901dc6314205ea09d012437fb
remove attributes from OS::Heat::AutoScalingGroup

The InstanceGroup attribute was inherited from the InstanceGroup
resource, but not implemented properly by OS::Heat::AutoScalingGroup. This
patch makes OS::Heat::AutoScalingGroup explicitly declare no attributes.

Change-Id: Iacf90b4590551a257ddd5442f28872e712da6c88
Closes-Bug: #1291789
Fix update of Pool's list of HealthMonitors

It was broken as it was calling disassociate_health_monitor() with wrong
arguments (json request body instead of monitor id).

Change-Id: I5dd1175fa41256cf27b565d2429d099524204a9d
Closes-Bug: #1292058
Merge "Devstack getting started, update IMAGE_URLS"
Merge "Move load_user_creds out of StackWatch"
Merge "Order imports in alphabetical order (3/9)"
Merge "Order imports in alphabetical order (1/9)"
Merge "Order imports in alphabetical order (2/9)"
Merge "Fix update of Pool's list of HealthMonitors"
Merge "Return template based class in list resource types"
Use six.move.xrange to replace xrange

in python3.x, there is no method named xrange(),
it has been replaced by range(),which is equal to xrange()
in python2.x. so we must fix this issue.
we use six module to fix this issue.

Change-Id: Ia901798cf16b9a48982e6845fa3e5deffc3bd509
Closes-Bug: #1268439
Generate local TemplateResource class

Create a class with properties_schema and attributes_schema when
accessing a local template resource.

Partial-Bug: #1287164
Change-Id: I4b341a369046543c8e3ee1adf3906568d4d8161a
policy.json allow all users to do stacks:lookup

We should allow all users, including stack users to do a stacks:lookup
otherwise they need to know both the stack name and ID to make a
request.  This allows us to ensure that any authenticated user can
make a request e.g via heatclient, if they can provide a valid name
or stack ID which they have access to.

Change-Id: Iff992dc5026f436eb22f437ea39b9511ed7fe25d
Partial-Bug: #1291097
Merge "Refactor Template.parse()"