Configure LVM on compute nodes

This patch configures LVM on compute nodes
using loop device

Related-PROD: PRODX-11806
Change-Id: I975b7a1d8be37dd019434cf894ad624d5149a209
diff --git a/de/heat-templates/top.yaml b/de/heat-templates/top.yaml
index 8d4a3d0..5a0ab27 100644
--- a/de/heat-templates/top.yaml
+++ b/de/heat-templates/top.yaml
@@ -291,6 +291,16 @@
   vsrx_flavor:
     type: string
     default: oc_vsrx
+  cmp_lvm_loop_device_size:
+    description: >
+      The size of loop device for computes to configure LVM on, in gigabytes
+    type: number
+    default: 20
+  acmp_lvm_loop_device_size:
+    description: >
+      The size of loop device for advanced computes to configure LVM on, in gigabytes
+    type: number
+    default: 0
 
 conditions:
   aio_deploy:
@@ -455,6 +465,7 @@
           tun_network: { get_attr: [tun_network, tun_network_id] }
           tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
           hardware_metadata: { get_param: hardware_metadata}
+          lvm_loop_device_size: { get_param: cmp_lvm_loop_device_size }
 
   cmps:
     type: OS::Heat::ResourceGroup
@@ -501,6 +512,7 @@
           tun_network: { get_attr: [tun_network, tun_network_id] }
           tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
           hardware_metadata: { get_param: hardware_metadata}
+          lvm_loop_device_size: { get_param: cmp_lvm_loop_device_size }
 
   acmps:
     type: OS::Heat::ResourceGroup
@@ -548,6 +560,7 @@
           tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
           hardware_metadata: { get_param: hardware_metadata}
           huge_pages: { get_param: huge_pages }
+          lvm_loop_device_size: { get_param: acmp_lvm_loop_device_size }
 
   gtws:
     type: OS::Heat::ResourceGroup