1 heat_template_version: 2014-10-16
4 Test template using Rackconnect. Parameter defaults should be valid for account
7 This template simply creates a server attached to a Rackconnect network in the
8 region, attaches that server to an existing load balancer pool and assigns the
9 server a Rackconnect public ip address.
15 description: The uuid of the Rackconnect network to use
17 - custom_constraint: "rackconnect.network"
18 default: "ec473e48-76f6-49bc-9cb2-9863399f9292"
22 description: The uuid or name of the Rackconnect load balancer pool to use
24 - custom_constraint: "rackconnect.pool"
25 default: POOL_U_FOUND_IT
29 # Attaches the server to the configured Rackconnect
32 type: Rackspace::RackConnect::PoolNode
34 server_id: { get_resource: server }
35 pool: { get_param: rcpool }
38 # Attaches a Rackconnected public ip to the server
40 type: Rackspace::RackConnect::PublicIP
42 server_id: { get_resource: server }
44 # Test with a Boot From Volume server
46 type: Rackspace::RackConnect::PoolNode
48 server_id: { get_resource: bfv_server }
49 pool: { get_param: rcpool }
52 # Attaches a Rackconnected public ip to the server
54 type: Rackspace::RackConnect::PublicIP
56 server_id: { get_resource: bfv_server }
58 # Cloud server attached to a Rackconnect network
60 type: OS::Nova::Server
62 image: Ubuntu 14.04 LTS (Trusty Tahr) (PVHVM)
63 flavor: 2 GB Performance
66 template: stack-server
68 stack: { get_param: "OS::stack_name" }
70 # Can only assign the server to a Rackconnect network
71 # and optionally ServiceNet. Cannot assign to the
73 - uuid: { get_param: rcnet }
75 rax-heat: { get_param: "OS::stack_id" }
76 stack-name: { get_param: "OS::stack_name" }
78 # Boot from volume server.
79 # Code contributed by: @ryan-walker
81 type: OS::Nova::Server
84 - volume_id: {get_resource: volume}
86 delete_on_termination: true
88 # config_drive: "true"
89 flavor: 3.75 GB Compute v1
92 template: stack-server
94 stack: { get_param: "OS::stack_name" }
96 # Can only assign the server to a Rackconnect network
97 # and optionally ServiceNet. Cannot assign to the
99 - uuid: { get_param: rcnet }
100 - uuid: "11111111-1111-1111-1111-111111111111"
102 rax-heat: { get_param: "OS::stack_id" }
103 stack-name: { get_param: "OS::stack_name" }
106 type: OS::Cinder::Volume
110 image: 749dc22a-9563-4628-b0d1-f84ced8c7b7a