Add the shared property to neutron Net

shared has been added since this resource was written.

Change-Id: I73cbb6e3268d6cd93a94a98874f44aa075e504a2
Closes-Bug: #1227282
Document internet gateway properties:

AWS::EC2::VPCGatewayAttachment

Fixes bug #1224143

Change-Id: Ia896369f4cfcd5d13d66a2defb120b1c05d71fb6
HOT str_replace to use string.replace, not string.Template

str_replace uses python templates, whereas Fn::Replace uses python
string.replace.

During the original review for Fn::Replace, python templates were
decided against because $ would often need double-escaping in shell scripts.
https://review.openstack.org/#/c/31736/

Having different behaviours between Fn::Replace and str_replace will
add complication for users migrating existing templates to HOT.

Another advantage of using straight string replacement is seen when
the template generates a executable script. In this case it is generally
possible to write a template that can also be executed directly in a
dev/test environment. This would often not be possible if the template
format required placeholders to be prefixed with a $.

Whatever behaviour exists when Havana is release will have to be
supported indefinitely so now is the time to decide if this is going
to be fixed.

Closes-Bug: #1228640
Change-Id: I72879b374a3c61dfe0e4004251ab709d914f2e25
Replace first_public_address/first_private_address

OS::Nova::Server attributes first_public_address and first_private_address
will not work with neutron, which allows any network name to be assigned
not just 'public' and 'private'.

This change replaces these attributes with a 'first_address'
attribute which uses the same nova_utils.server_to_ipaddress method
that AWS::EC2::Instance uses to populate all of its IP address
attributes.

This needs to be fixed before the Havana release to avoid these
broken attributes needing to be supported.

Change-Id: I0b4dc009d665e4d7b4cbc32d484a2efc6068320a
Closes-Bug: #1228929
StackResource set requires_deferred_auth=True

The dynamic evaluation of requires_deferred_auth will not work
as the nested stack has not been created when requires_deferred_auth
is evaluated.

In some cases subclasses of StackResource could implement dynamic
evaluation but for now it is safer to assume any template with a
nested stack needs requires_deferred_auth=True

Change-Id: I4ca3804ede5c7aa2167931279e5bed84480ac454
Closes-Bug: #1229412
Format error on urlfetch.get fail

The error messages for fetch failures of nested stacks have too much
detail. This change formats fetch fail errors in the same way
that TemplateResource does.

Change-Id: Ib8afa281a53f895086ce8890c828fe4a8bb469ae
Closes-Bug: #1214227
Use name property in OS::Nova::Server if set

Currently the name property is ignored if specified; the intention
was to use the name as the nova server name if specified.

This is implemented by overriding physical_resource_name
in the same way as SwiftContainer.

Change-Id: I06a6f3d69119fb470eb54930c2bd7b329cabd6c7
Closes-Bug: #1229244
Stop nested stack updates exceeding resource limit

This is the final way for a user to exceed the max_resources_per_stack
configuration value.

Fixes bug #1215100

Change-Id: I5e0f86c1ad6d74c2fcb3aa2de1028ec93b3e2dd6
Improve test coverage of stack deletion

Adding tests to cover stack deletion timeout, stack deletion
failure and also to cover check_delete_complete.

Fixes bug #1220723

Change-Id: I50dbaf37f6d95b731e8496aa90c6c6e5bcc27ab1
Merge "Format error on urlfetch.get fail"
Require oslo.config 1.2.0 final

Now that 1.2.0 has been released, require it rather than one of the beta
release tarballs.

Closes-Bug: #1182861
Change-Id: I75ffc4a572d14488d19491a38742d6920951c171
Merge "Use name property in OS::Nova::Server if set"
Comparing device name values instead of their reference

Although end users specified device name as `vda' but since `is' in
python is used to compare reference, bootable volume is not
detected. We should use `==' to compare values instead.

Fixes bug #1229610

Change-Id: I7f127dc489706482f6bb245372bfd8079b91c40f
Merge "Require oslo.config 1.2.0 final"
Merge "StackResource set requires_deferred_auth=True"
Merge "Improve test coverage of stack deletion"
Imported Translations from Transifex

Change-Id: I26a25a5f5bae7b67241ada93bb87ad69ab235eaa
Merge "Stop nested stack updates exceeding resource limit"
Merge "Add the shared property to neutron Net"
Merge "Imported Translations from Transifex"