Merge "Fix functional test"

This commit is contained in:
Jenkins 2017-06-15 18:04:51 +00:00 committed by Gerrit Code Review
commit 6d99596fd8

View File

@ -1,56 +1,56 @@
heat_template_version: 2015-04-30
description: Create stack host level affinity 3 Instances
resources:
my-instance-1:
type: OS::Nova::Server
properties:
name: test-1
# key_name: ssh-key
image: cirros-0.3.4-x86_64
flavor: m1.tiny
# networks:
# - network: 0c405776-0c37-4212-a814-e8aa539b32b5
my-instance-2:
type: OS::Nova::Server
properties:
name: test-2
#key_name: ssh-key
image: cirros-0.3.4-x86_64
flavor: m1.tiny
#networks:
# - network: 0c405776-0c37-4212-a814-e8aa539b32b5
my-instance-3:
type: OS::Nova::Server
properties:
name: test-3
# key_name: ssh-key
image: cirros-0.3.4-x86_64
flavor: m1.tiny
# networks:
# - network: 0c405776-0c37-4212-a814-e8aa539b32b5
test-affinity-group1:
type: ATT::Valet::GroupAssignment
properties:
group_type: affinity
level: host
resources:
- {get_resource: my-instance-1}
- {get_resource: my-instance-2}
- {get_resource: my-instance-3}
outputs:
instance_ip-1:
description: The IP addresses of the deployed instance 1
value: { get_attr: [my-instance-1, first_address] }
instance_ip-2:
description: The IP addresses of the deployed instance 2
value: { get_attr: [my-instance-2, first_address] }
instance_ip-3:
description: The IP addresses of the deployed instance 3
value: { get_attr: [my-instance-3, first_address] }
heat_template_version: 2015-04-30
description: Create stack host level affinity 3 Instances
resources:
my-instance-1:
type: OS::Nova::Server
properties:
name: test-1
# key_name: ssh-key
image: cirros-0.3.4-x86_64
flavor: m1.tiny
# networks:
# - network: 0c405776-0c37-4212-a814-e8aa539b32b5
my-instance-2:
type: OS::Nova::Server
properties:
name: test-2
#key_name: ssh-key
image: cirros-0.3.4-x86_64
flavor: m1.tiny
#networks:
# - network: 0c405776-0c37-4212-a814-e8aa539b32b5
my-instance-3:
type: OS::Nova::Server
properties:
name: test-3
# key_name: ssh-key
image: cirros-0.3.4-x86_64
flavor: m1.tiny
# networks:
# - network: 0c405776-0c37-4212-a814-e8aa539b32b5
test-affinity-group1:
type: ATT::Valet::GroupAssignment
properties:
group_type: affinity
level: host
resources:
- {get_resource: my-instance-1}
- {get_resource: my-instance-2}
- {get_resource: my-instance-3}
outputs:
instance_ip-1:
description: The IP addresses of the deployed instance 1
value: { get_attr: [my-instance-1, first_address] }
instance_ip-2:
description: The IP addresses of the deployed instance 2
value: { get_attr: [my-instance-2, first_address] }
instance_ip-3:
description: The IP addresses of the deployed instance 3
value: { get_attr: [my-instance-3, first_address] }