]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Use physical_resource_name as Ref for Instance/AS Group
authorSwann Croiset <swann.croiset@bull.net>
Fri, 6 Sep 2013 12:48:41 +0000 (14:48 +0200)
committerSwann Croiset <swann.croiset@bull.net>
Tue, 10 Sep 2013 10:53:13 +0000 (12:53 +0200)
commit01fe09007222a3a701896a514a5de4dba7383e36
tree716107bb1b7e97c0f0a0d9008ac93446b34ed115
parent340dc1bdd2a14ca866e9d45f09a616359bc7521f
Use physical_resource_name as Ref for Instance/AS Group

This allows to distinguish groups by stack when using resource
OS::Metering::Alarm with the rule:
matching_metadata: {
    'metadata.user_metadata.groupname': { 'Ref': 'WebServerASGroup'}}

And add test for AutoScalingGroup Tags

fixe bug #1215840

Change-Id: If3de5c4abddcfb49f711db223a0c1a8c70f3c15a
heat/engine/resources/autoscaling.py
heat/tests/test_autoscaling.py
heat/tests/test_instance_group.py
heat/tests/test_server_tags.py