Add vvG and manifest files 13/21313/1
authorJerry Flood <jf9860@att.com>
Mon, 30 Oct 2017 16:33:39 +0000 (12:33 -0400)
committerJerry Flood <jf9860@att.com>
Mon, 30 Oct 2017 16:35:12 +0000 (12:35 -0400)
Issue: TEST-14
Change-Id: Ia99a52647941518148cd383b02ddb940818e6273
Signed-off-by: Jerry Flood <jf9860@att.com>
heat/vFW/MANIFEST.json [new file with mode: 0644]
heat/vLB/MANIFEST.json [new file with mode: 0644]
heat/vVG/MANIFEST.json [new file with mode: 0644]
heat/vVG/base_vvg.env [new file with mode: 0644]
heat/vVG/base_vvg.yaml [new file with mode: 0644]

diff --git a/heat/vFW/MANIFEST.json b/heat/vFW/MANIFEST.json
new file mode 100644 (file)
index 0000000..af79f75
--- /dev/null
@@ -0,0 +1,17 @@
+{
+    "name": "virtualFireWall",
+    "description": "",
+    "data": [
+        {
+            "file": "base_vfw.yaml",
+            "type": "HEAT",
+            "isBase": "true",
+            "data": [
+                {
+                    "file": "base_vfw.env",
+                    "type": "HEAT_ENV"
+                }
+            ]
+        }
+    ]
+}
\ No newline at end of file
diff --git a/heat/vLB/MANIFEST.json b/heat/vLB/MANIFEST.json
new file mode 100644 (file)
index 0000000..b22a67f
--- /dev/null
@@ -0,0 +1,28 @@
+{
+    "name": "virtualLoadBalancer",
+    "description": "",
+    "data": [
+        {
+            "file": "base_vlb.yaml",
+            "type": "HEAT",
+            "isBase": "true",
+            "data": [
+                {
+                    "file": "base_vlb.env",
+                    "type": "HEAT_ENV"
+                }
+            ]
+        },
+        {
+            "file": "dnsscaling.yaml",
+            "type": "HEAT",
+            "isBase": "false",
+            "data": [
+                {
+                    "file": "dnsscaling.env",
+                    "type": "HEAT_ENV"
+                }
+            ]
+        }
+    ]
+}
\ No newline at end of file
diff --git a/heat/vVG/MANIFEST.json b/heat/vVG/MANIFEST.json
new file mode 100644 (file)
index 0000000..3f9348b
--- /dev/null
@@ -0,0 +1,17 @@
+{
+    "name": "",
+    "description": "",
+    "data": [
+        {
+            "file": "base_vvg.yaml",
+            "type": "HEAT",
+            "isBase": "true",
+            "data": [
+                {
+                    "file": "base_vvg.env",
+                    "type": "HEAT_ENV"
+                }
+            ]
+        }
+    ]
+}
\ No newline at end of file
diff --git a/heat/vVG/base_vvg.env b/heat/vVG/base_vvg.env
new file mode 100644 (file)
index 0000000..2b4e72b
--- /dev/null
@@ -0,0 +1,3 @@
+parameters:
+  volume_size: 100
+  nova_instance: 1234456
\ No newline at end of file
diff --git a/heat/vVG/base_vvg.yaml b/heat/vVG/base_vvg.yaml
new file mode 100644 (file)
index 0000000..c20d4e4
--- /dev/null
@@ -0,0 +1,22 @@
+heat_template_version: 2013-05-23
+description: create a Nova instance, a Cinder volume and attach the volume to the instance.
+
+parameters:
+  nova_instance:
+    type: string
+    label: Instance name or ID
+    description: ID of the vm to use for the disk to be attached too
+  volume_size:
+    type: number
+    label: GB
+    description: Size of the volume to be created.
+resources:
+  cinder_volume:
+    type: OS::Cinder::Volume
+    properties:
+      size: { get_param: volume_size }
+  volume_attachment:
+    type: OS::Cinder::VolumeAttachment
+    properties:
+      volume_id: { get_resource: cinder_volume }
+      instance_uuid: { get_param: nova_instance }
\ No newline at end of file