summaryrefslogtreecommitdiffstats
path: root/robot/assets/asdc/base_vvg
diff options
context:
space:
mode:
authorDR695H <dr695h@att.com>2017-02-17 18:44:24 -0500
committerDR695H <dr695h@att.com>2017-02-17 18:44:41 -0500
commitccff30b6e325f359879595998e83bbfe6624c851 (patch)
treec98f950f33baa71d21b091b6b10ca3ffb7700467 /robot/assets/asdc/base_vvg
parent234c2226d8cb3368a7af3d280a5ec280782bed63 (diff)
Initial checkin of EopenECOMP testsuite
Change-Id: I64a2b6d8cf66169829866b73b3d26a4ff59b0a42 Signed-off-by: DR695H <dr695h@att.com>
Diffstat (limited to 'robot/assets/asdc/base_vvg')
-rw-r--r--robot/assets/asdc/base_vvg/MANIFEST.json17
-rw-r--r--robot/assets/asdc/base_vvg/base_vvg.env3
-rw-r--r--robot/assets/asdc/base_vvg/base_vvg.yaml22
3 files changed, 42 insertions, 0 deletions
diff --git a/robot/assets/asdc/base_vvg/MANIFEST.json b/robot/assets/asdc/base_vvg/MANIFEST.json
new file mode 100644
index 00000000..67312f23
--- /dev/null
+++ b/robot/assets/asdc/base_vvg/MANIFEST.json
@@ -0,0 +1,17 @@
+{
+ "name": "volumeGroup.yaml",
+ "description": "robot ete manifest",
+ "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/robot/assets/asdc/base_vvg/base_vvg.env b/robot/assets/asdc/base_vvg/base_vvg.env
new file mode 100644
index 00000000..2b4e72b8
--- /dev/null
+++ b/robot/assets/asdc/base_vvg/base_vvg.env
@@ -0,0 +1,3 @@
+parameters:
+ volume_size: 100
+ nova_instance: 1234456 \ No newline at end of file
diff --git a/robot/assets/asdc/base_vvg/base_vvg.yaml b/robot/assets/asdc/base_vvg/base_vvg.yaml
new file mode 100644
index 00000000..c20d4e48
--- /dev/null
+++ b/robot/assets/asdc/base_vvg/base_vvg.yaml
@@ -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