summaryrefslogtreecommitdiffstats
path: root/heat
diff options
context:
space:
mode:
authorMarco Platania <platania@research.att.com>2017-05-09 13:53:57 -0400
committerMarco Platania <platania@research.att.com>2017-05-09 13:53:57 -0400
commit8e17c5f5c7891364c3369af5a180e800a61bcae1 (patch)
treeb82132ce440c2dde940d4796587227ed198425c6 /heat
parent8a83578b5f007b4be348a969a74ad6c185c5b9e0 (diff)
[DCAE-7] added parametized images/flavor support
Change-Id: I67105a89948b0e8aeabb768a5f5cfd07dd0bca6f Signed-off-by: Marco Platania <platania@research.att.com>
Diffstat (limited to 'heat')
-rw-r--r--heat/OpenECOMP/onap_openstack.yaml12
-rw-r--r--heat/OpenECOMP/onap_openstack_float.yaml12
-rw-r--r--heat/OpenECOMP/onap_openstack_nofloat.yaml12
3 files changed, 36 insertions, 0 deletions
diff --git a/heat/OpenECOMP/onap_openstack.yaml b/heat/OpenECOMP/onap_openstack.yaml
index 63981821..335cdba6 100644
--- a/heat/OpenECOMP/onap_openstack.yaml
+++ b/heat/OpenECOMP/onap_openstack.yaml
@@ -984,6 +984,12 @@ resources:
__dcae_hdp2_ip_addr__: { get_param: dcae_hdp2_ip_addr }
__dcae_hdp3_ip_addr__: { get_param: dcae_hdp3_ip_addr }
__external_dns__: { get_param: external_dns }
+ __ubuntu_1404_image__: { get_param: ubuntu_1404_image }
+ __ubuntu_1604_image__: { get_param: ubuntu_1604_image }
+ __flavor_small__: { get_param: flavor_small }
+ __flavor_medium__: { get_param: flavor_medium }
+ __flavor_large__: { get_param: flavor_large }
+ __flavor_xlarge__: { get_param: flavor_xlarge }
template: |
#!/bin/bash
@@ -1024,6 +1030,12 @@ resources:
echo "__dcae_hdp2_ip_addr__" > /opt/config/dcae_hdp2_ip_addr.txt
echo "__dcae_hdp3_ip_addr__" > /opt/config/dcae_hdp3_ip_addr.txt
echo "__external_dns__" > /opt/config/external_dns.txt
+ echo "__ubuntu_1404_image__" > /opt/config/ubuntu_1404_image.txt
+ echo "__ubuntu_1604_image__" > /opt/config/ubuntu_1604_image.txt
+ echo "__flavor_small__" > /opt/config/flavor_small.txt
+ echo "__flavor_medium__" > /opt/config/flavor_medium.txt
+ echo "__flavor_large__" > /opt/config/flavor_large.txt
+ echo "__flavor_xlarge__" > /opt/config/flavor_xlarge.txt
# Download and run install script
curl -k __nexus_repo__/org.openecomp.demo/boot/__artifacts_version__/dcae_install.sh -o /opt/dcae_install.sh
diff --git a/heat/OpenECOMP/onap_openstack_float.yaml b/heat/OpenECOMP/onap_openstack_float.yaml
index 47001a8b..897e2a10 100644
--- a/heat/OpenECOMP/onap_openstack_float.yaml
+++ b/heat/OpenECOMP/onap_openstack_float.yaml
@@ -1069,6 +1069,12 @@ resources:
__dcae_hdp2_float_ip__: { get_param: dcae_hdp2_float_ip }
__dcae_hdp3_float_ip__: { get_param: dcae_hdp3_float_ip }
__external_dns__: { get_param: external_dns }
+ __ubuntu_1404_image__: { get_param: ubuntu_1404_image }
+ __ubuntu_1604_image__: { get_param: ubuntu_1604_image }
+ __flavor_small__: { get_param: flavor_small }
+ __flavor_medium__: { get_param: flavor_medium }
+ __flavor_large__: { get_param: flavor_large }
+ __flavor_xlarge__: { get_param: flavor_xlarge }
template: |
#!/bin/bash
@@ -1115,6 +1121,12 @@ resources:
echo "__dcae_hdp2_float_ip__" > /opt/config/dcae_hdp2_float_ip.txt
echo "__dcae_hdp3_float_ip__" > /opt/config/dcae_hdp3_float_ip.txt
echo "__external_dns__" > /opt/config/external_dns.txt
+ echo "__ubuntu_1404_image__" > /opt/config/ubuntu_1404_image.txt
+ echo "__ubuntu_1604_image__" > /opt/config/ubuntu_1604_image.txt
+ echo "__flavor_small__" > /opt/config/flavor_small.txt
+ echo "__flavor_medium__" > /opt/config/flavor_medium.txt
+ echo "__flavor_large__" > /opt/config/flavor_large.txt
+ echo "__flavor_xlarge__" > /opt/config/flavor_xlarge.txt
# Download and run install script
curl -k __nexus_repo__/org.openecomp.demo/boot/__artifacts_version__/dcae_install.sh -o /opt/dcae_install.sh
diff --git a/heat/OpenECOMP/onap_openstack_nofloat.yaml b/heat/OpenECOMP/onap_openstack_nofloat.yaml
index c21ba288..2a54b833 100644
--- a/heat/OpenECOMP/onap_openstack_nofloat.yaml
+++ b/heat/OpenECOMP/onap_openstack_nofloat.yaml
@@ -950,6 +950,12 @@ resources:
__dcae_hdp2_ip_addr__: { get_param: dcae_hdp2_ip_addr }
__dcae_hdp3_ip_addr__: { get_param: dcae_hdp3_ip_addr }
__external_dns__: { get_param: external_dns }
+ __ubuntu_1404_image__: { get_param: ubuntu_1404_image }
+ __ubuntu_1604_image__: { get_param: ubuntu_1604_image }
+ __flavor_small__: { get_param: flavor_small }
+ __flavor_medium__: { get_param: flavor_medium }
+ __flavor_large__: { get_param: flavor_large }
+ __flavor_xlarge__: { get_param: flavor_xlarge }
template: |
#!/bin/bash
@@ -991,6 +997,12 @@ resources:
echo "__dcae_hdp2_ip_addr__" > /opt/config/dcae_hdp2_ip_addr.txt
echo "__dcae_hdp3_ip_addr__" > /opt/config/dcae_hdp3_ip_addr.txt
echo "__external_dns__" > /opt/config/external_dns.txt
+ echo "__ubuntu_1404_image__" > /opt/config/ubuntu_1404_image.txt
+ echo "__ubuntu_1604_image__" > /opt/config/ubuntu_1604_image.txt
+ echo "__flavor_small__" > /opt/config/flavor_small.txt
+ echo "__flavor_medium__" > /opt/config/flavor_medium.txt
+ echo "__flavor_large__" > /opt/config/flavor_large.txt
+ echo "__flavor_xlarge__" > /opt/config/flavor_xlarge.txt
# Download and run install script
curl -k __nexus_repo__/org.openecomp.demo/boot/__artifacts_version__/dcae_install.sh -o /opt/dcae_install.sh