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
72 # PublicNet (Note: Managed operations customers must
73 # provide ServiceNet along with RackConnect network)
74 - uuid: { get_param: rcnet }
76 rax-heat: { get_param: "OS::stack_id" }
77 stack-name: { get_param: "OS::stack_name" }
79 # Boot from volume server.
80 # Code contributed by: @ryan-walker
82 type: OS::Nova::Server
85 - volume_id: {get_resource: volume}
87 delete_on_termination: true
89 # config_drive: "true"
90 flavor: 3.75 GB Compute v1
93 template: stack-server
95 stack: { get_param: "OS::stack_name" }
97 # Can only assign the server to a Rackconnect network
98 # and optionally ServiceNet. Cannot assign to the
99 # PublicNet (Note: Managed operations customers must
100 # provide ServiceNet along with RackConnect network)
101 - uuid: { get_param: rcnet }
102 - uuid: "11111111-1111-1111-1111-111111111111"
104 rax-heat: { get_param: "OS::stack_id" }
105 stack-name: { get_param: "OS::stack_name" }
108 type: OS::Cinder::Volume
112 image: 749dc22a-9563-4628-b0d1-f84ced8c7b7a