aboutsummaryrefslogtreecommitdiffstats
path: root/heat/vLB/packet_gen_vlb_rackspace.yaml
diff options
context:
space:
mode:
authorMarco Platania <platania@research.att.com>2017-05-15 17:26:06 -0400
committerMarco Platania <platania@research.att.com>2017-05-15 17:26:06 -0400
commitbf325d77199a0e52f195f5304b784bb03a69a07f (patch)
treee44e80eda06dda8aa4178c710c3f9f566f26c93d /heat/vLB/packet_gen_vlb_rackspace.yaml
parent1a532cd64a16a0186513c7ca2d78951294ca5c36 (diff)
Add templates and config for vLB in OpenStack
Change-Id: Iea69a49b3dc6739a5ee003d61a31e935c9f26476 Signed-off-by: Marco Platania <platania@research.att.com>
Diffstat (limited to 'heat/vLB/packet_gen_vlb_rackspace.yaml')
-rw-r--r--heat/vLB/packet_gen_vlb_rackspace.yaml42
1 files changed, 36 insertions, 6 deletions
diff --git a/heat/vLB/packet_gen_vlb_rackspace.yaml b/heat/vLB/packet_gen_vlb_rackspace.yaml
index 94776fc6..fea9a770 100644
--- a/heat/vLB/packet_gen_vlb_rackspace.yaml
+++ b/heat/vLB/packet_gen_vlb_rackspace.yaml
@@ -1,6 +1,37 @@
+##########################################################################
+#
+#==================LICENSE_START==========================================
+#
+#
+# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#==================LICENSE_END============================================
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
+#
+##########################################################################
+
heat_template_version: 2013-05-23
+
description: Heat template to deploy a packet generator for the vLoadBalancer/vDNS demo app for ONAP
+##############
+# #
+# PARAMETERS #
+# #
+##############
+
parameters:
public_net_id:
type: string
@@ -46,11 +77,12 @@ parameters:
type: string
label: Artifacts version used in demo vnfs
description: Artifacts (jar, tar.gz) version used in demo vnfs
- cloud_env:
- type: string
- label: Cloud environment
- description: Cloud environment (e.g., openstack, rackspace)
+#############
+# #
+# RESOURCES #
+# #
+#############
resources:
@@ -90,7 +122,6 @@ resources:
__vlb_ipaddr__: { get_param: vlb_ipaddr }
__demo_artifacts_version__ : { get_param: demo_artifacts_version }
__install_script_version__ : { get_param: install_script_version }
- __cloud_env__ : { get_param: cloud_env }
template: |
#!/bin/bash
@@ -101,7 +132,6 @@ resources:
echo "__repo_url_artifacts__" > /opt/config/repo_url_artifacts.txt
echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt
echo "__install_script_version__" > /opt/config/install_script_version.txt
- echo "__cloud_env__" > /opt/config/cloud_env.txt
# Download and run install script
curl -k __repo_url_blob__/org.openecomp.demo/vnfs/vlb/__install_script_version__/v_packetgen_install.sh -o /opt/v_packetgen_install.sh