Make sure NetworkInterfaces and SubnetId updatable

We should make the properties 'NetworkInterfaces' and 'SubnetId'
updatable for AWS::EC2::Instance resource, so we can update the networks
for an instance.

Change-Id: I4a475fee6416696558807c189473a90d7517cfc0
Closes-Bug: #1280151
Refined schema for VPCZoneIdentifier

The schema now says it is a list of strings. Also upgraded the
description.  Also clarified the name of
test_invalid_vpc_zone_identifier.

Change-Id: I4b17dbd146965df3df3f4205dddafc0b65061294
Closes-Bug: #1294717
Add link to a resource's nested stack

When viewing a resource, it's valuable to know whether the resource is a
nested stack with additional resources attached to it.  This change
provides a new 'nested' link in the links section of a resource, which
points to the nested stack.

Co-Authored-By: Richard Lee <rblee88@gmail.com>
Implements: blueprint nested-stack-link
Change-Id: Ibc8768d2be8f1dae9a60d3818ae9f56c27bbdc9b
Use cinder API for volume attach and detach

Replace nova calls for attaching and detaching volumes
with native cinder API calls.

Closes-Bug: #1298350
Change-Id: I628b4a0dd559389f66ab25b6030a9ad6fc927e39
Allow DesiredCapacity to be zero

When updating or validating a AutoScaleGroup,
'DesiredCapacity' is ignored if the value is 0.

- Add validation for 'DesiredCapacity' if the value is 0,
- Don't ignore zero when updating.

Change-Id: I830aaf97ebed6b2c77c72b18dc8d222ce23f9a28
Partial-Bug: #1304423
Check that all po/pot files are valid

Perform minimal checks on po and pot files so that no broken files can
get imported.

Change-Id: Ib438faddb362eb8e61eaa64a870160196f16c594
Related-Bug: #1299349
Co-Authored-By: Clark Boylan <clark.boylan@gmail.com>
Fix wrongly printed count of received handled conditions.

The WaitConditionTimeout message was using size of the reason
string as input instead of the actual number of status reasons.

Change-Id: I9ad1813755eda6924ffeff116eaeda9f36b601d1
Closes-Bug: #1297230
Make Docker property schema similar with others

All existing resources use property schema, where all properties defined
before they will be used. So Docker resource should have same
definition.

Change-Id: Ie18204569a207f6f168f468446fb0151f309ea25
Add a log info message in Stack state_set

Adding info message in Stack state_set method.
This message would help in searching log files for stack
operations.

Change-Id: Idf462286530f235b954c2bf7fda134a8e02b0bd2
Merge "Use cinder API for volume attach and detach"
Merge "Fix wrongly printed count of received handled conditions."
Optional data for resource_data_get_all

resource_data_get_all queries the database for the data, and
transforms the results to a decrypted dict.

If the data is already loaded then it is unnecessary to do the
database query again.

This change allows data to be passed in as an optional argument.
If the passed data is not None then no database call will be made
and the dict transformation will occur on passed data.

Change-Id: I579225d9a3f3b038e0ca41a5900c58413d6e25ac
Related-Bug: #1306743
Merge "Allow DesiredCapacity to be zero"
Catch NotFound for keystone delete operations

If heat-engine is terminated mid-delete, a stack could become
undeletable because of NotFound exceptions being raised on keystone
delete stack domain operations.

This change wraps all keystone delete calls and ignores any NotFound
exceptions raised.

Change-Id: I032b04b1391590a6f9493b65bddff331b07722f0
Closes-Bug: #1308812
Imported Translations from Transifex

Change-Id: I16caae565e2127e6f87536a8b21d6aa06bd53f53
Adding attribute schema class for attributes

This patch introduces simple schema class for attributes.
There are two options avaliable for this schema:
 - description
 - support status
It gives ability for adding support status for each attribute.

Change-Id: I46cbf776f315cbe6414005cbee65da1cefdc5f7d
Closes-Bug: #1305584
Document the availability of OS::stack_name and OS::stack_id

Add documentation about the availablility of HOT pseudo parameters
and how to access them.

Implements: blueprint make-stack-name-available-in-template
Change-Id: Iee07aba5cf1b24321191f04282eb0c89a54382cb
Merge "Add a log info message in Stack state_set"
Merge "Optional data for resource_data_get_all"
Change volume size property type to integer

Before it was possible to provide a rational number for SIZE, but cinder
would silently round it down, which leads to inconsistency between
stored resource state and actual cinder volume.

Closes-Bug: #1311707
Change-Id: I97b110f9797e2046bd5d2ae7da227b8dfc19059a