Move Rackspace resources into contrib

Using plain discover to run tests in contrib until
I can figure out how to make that work via testr.

Closes bug: 1220798

Change-Id: I5669b90152efabfacbc4b786a67cd1f4b139521a
Sync gettextutils from oslo

Add type check for Message params when setting locale to avoid
AttributeError.

Fixes bug: #1229364

Change-Id: I6fe55ebc4eea5fef1d335ad83a84c4879f7f06f9
For Subnet gateway_ip, pass None for empty string

A None gateway_ip has special meaning for create_subnet but
properties sanitise None values to be empty strings.

With this change, the following properties should all result
in gateway_ip=None being passed to create_subnet:
gateway_ip: null
gateway_ip: ~
gateway_ip: ''

Change-Id: I234542f7f2d7bddf7dee01f8a9c56c021b5f0c8c
Closes-Bug: #1226666
Add method to count events by stack

We need this method to efficiently count events by stack to allow
pruning them if there are too many.

Change-Id: Ifd5ed78e37a14116497f8bc008739ee9938e194d
Related-Bug: #1209492
api ec2token: allow auth_uri conf to be set via keystone_authtoken

We already require the keystone_authtoken heat.conf section for the
auth_token middleware, and heat_keystoneclient.py.  So this patch
allows us to reuse the auth_uri specified in that section instead
of requiring a duplicate auth_uri to be specified in [ec2authtoken]

Change-Id: Ic5efafb7743aeddca990a4c560b423293108e1e0
Closes-Bug: #1229674
Remove CinderVolume id attribute

Using the id attribute can result in problems when validating a
template, as the resource_id is empty at that point, so we remove it to
prevent issues, as people ought to use Ref anyway.

Closes-Bug: #1230140
Change-Id: I16778d8036e7e2ccacf93caa4581ae0b0368b7c2
Remove Net resource id attribute

This patch removes the 'id' attribute of Net resource to encourage Ref
usage, and fixes some attribute description.

Partial-Bug: #1230228
Change-Id: I1674e67f6c20007ef809db8e16a707922e5cda1c
Remove Neutron load balancer resources id attributes

This patch removes id attributes from Pool and HealthMonitor as people
should use Ref instead.

Partial-Bug: #1230228
Change-Id: I92d74fcaa2a5443cb38bc647056d4fc7a95677a0
Remove Neutron firewall resources id attributes

This patch removes the id attributes of the various firewall resources,
and fixes attribute description to use gettext and proper sentences.

Change-Id: I4ccbb86239cd904a1b8f7023abe92842762429f2
Partial-Bug: #1230228
Remove Port resource id attribute

This patch removes the id attribute of the Neutron Port resource, as
people should use Ref.

Change-Id: I7acf1564ff4c25c8cbac53cd58bf93195352b451
Partial-Bug: #1230228
Remove Router resource id attribute

This patch removes Neutron Router id attribute, and apply gettext to the
attribute descriptions.

Partial-Bug: #1230228
Change-Id: I91b6500c15a3b231296bb7bb0598a11819fe6981
Remove Subnet id attribute

This patch removes the Neutron Subnet id attribute, and apply gettext to
the attributes descriptions.

Change-Id: I0b5f60d59dcde336ca7d67fb8fe8a527426dac98
Partial-Bug: #1230228
Remove Neutron VPN resources id attributes

This patch removes the id attributes from the various Neutron VPN
resources, as people should use Ref.

Change-Id: Idf81d109b930b246791a0f3c22bc04ce5054b939
Closes-Bug: #1230228
Skip None values in fixed_ips when creating Port

Neutron create port doesn't like when a None value is passed for
fixed_ips data, the value needing to be skipped instead. This patch
handles that problem for ip_address and subnet_id, as testing showed
that subnet_id wasn't mandatory.

Change-Id: I18a06cbad456eb75c41c299bc4c51c704d9dabc3
Closes-Bug: #1224472
Document EIP resource properties:

AWS::EC2::ElasticIp
AWS::EC2::ElasticIpAssociation

And wraps attribute descriptions with gettext _(

Change-Id: Ie241b5081761eea13b9e7e0db8b1474843e2b8b9
Closes-bug: #1224134
Add config option to limit max stacks per tenant

Tenants will not be able to create more than max_stacks_per_tenant top
level stacks. This should prevent any one tenant from being able to
exhaust a Heat engine's resources.

Fixes bug #1221849

Change-Id: I29be4ecf5d5b9eb44d7ecc01907d08f30ac27990
Rename counter_name to meter_name in alarm

In the newest ceilometer alarm version counter_name property was renamed to
meter_name. Right now heat uses old ceilometer client which still support
counter_name but newest ceilometer backend does not.

Change-Id: Ie7876119dc9b2a80d862f10de5f7265ad2a059f0
Closes-Bug: #1222830
Document floatingip properties

Change-Id: Ib936df0d546b6f1469498ac9b866e587e005bf84
Closes-Bug: #1224169
Make HOT parser errors translatable

These errors can get passed back to the user so wrap them in _()

Change-Id: I2509b35fd7b6b68eb0342179656cbafd7559e2f3
Merge "Add method to count events by stack"