Add tools to deploy DE UCP

Related-Prod: PRODX-2027

Change-Id: I8339518506588cdfddc818fa968c92df1088edc3
diff --git a/de/heat-templates/srv-group.yaml b/de/heat-templates/srv-group.yaml
new file mode 100644
index 0000000..e654bb2
--- /dev/null
+++ b/de/heat-templates/srv-group.yaml
@@ -0,0 +1,68 @@
+heat_template_version: queens
+
+parameters:
+  key_name:
+    type: string
+    description: Name of keypair to assign to servers
+  image:
+    type: string
+    description: Name of image to use for servers
+  flavor:
+    type: string
+    description: Flavor to use for servers
+  public_net_id:
+    type: string
+    description: >
+      ID of public network for which floating IP addresses will be allocated
+  private_net_id:
+    type: string
+    description: ID of private network into which servers get deployed
+  private_subnet_id:
+    type: string
+    description: ID of private subnet
+  private_floating_network:
+    type: string
+    description: ID of network that will be used for floating in nested openstack
+  user_data:
+    type: string
+  metadata:
+    type: json
+
+resources:
+
+  server:
+    type: OS::Nova::Server
+    properties:
+      image: { get_param: image }
+      flavor: { get_param: flavor }
+      key_name: { get_param: key_name }
+      availability_zone: nova
+      networks:
+        - port: { get_resource: server_port }
+        - network: { get_param: private_floating_network }
+      user_data_format: RAW
+      user_data: { get_param: user_data }
+      metadata: { get_param: metadata }
+
+  server_port:
+    type: OS::Neutron::Port
+    properties:
+      network_id: { get_param: private_net_id }
+      port_security_enabled: false
+      fixed_ips:
+        - subnet: { get_param: private_subnet_id }
+
+  server_floating_ip:
+    type: OS::Neutron::FloatingIP
+    properties:
+      floating_network_id: { get_param: public_net_id }
+      port_id: { get_resource: server_port }
+
+
+outputs:
+  server_private_ip:
+    description: IP address of server in private network
+    value: { get_attr: [ server_port, fixed_ips, 0, ip_address] }
+  server_public_ip:
+    description: Floating IP address of server in public network
+    value: { get_attr: [ server_floating_ip, floating_ip_address ] }