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
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
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
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"
api ec2token: Clear failure when no auth_uri specified

Currently if the CFN API is misconfigured, such that no auth_uri
is set in the config, we silently fail because we don't detect that
auth_uri==None in the code.  Instead catch this situation and assert
that the service is misconfigured via a 500 response.

Change-Id: I47a385aa6a34fe3133de00cf2b18fec6a4f6645a
Partial-Bug: #1229674
Merge "HOT str_replace to use string.replace, not string.Template"
Merge "Replace first_public_address/first_private_address"
Merge "Comparing device name values instead of their reference"
Merge "api ec2token: Clear failure when no auth_uri specified"
Merge "Document internet gateway properties:"