aboutsummaryrefslogtreecommitdiffstats
path: root/heat/vFW_CNF_CDS/templates/base_dummy
diff options
context:
space:
mode:
authorLukasz Rajewski <lukasz.rajewski@orange.com>2020-11-05 22:55:13 +0100
committerMorgan Richomme <morgan.richomme@orange.com>2020-11-09 08:11:05 +0000
commit522c69de81b355646789a340f061313e3598f5b9 (patch)
tree0764f05ce844042489002a951930a68bd053b155 /heat/vFW_CNF_CDS/templates/base_dummy
parentc3987b0edac5541dba246a746b0dc89ee7603f47 (diff)
vFW CNF CDS scripts update for native Helm support
vFW CNF CDS scripts update for native Helm support Change-Id: I34a1cc8dfb18e512edb6e2786984b683c34815e6 Issue-ID: INT-1658 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
Diffstat (limited to 'heat/vFW_CNF_CDS/templates/base_dummy')
-rw-r--r--heat/vFW_CNF_CDS/templates/base_dummy/MANIFEST.json70
-rw-r--r--heat/vFW_CNF_CDS/templates/base_dummy/base_template.env5
-rw-r--r--heat/vFW_CNF_CDS/templates/base_dummy/base_template.yaml77
-rw-r--r--heat/vFW_CNF_CDS/templates/base_dummy/vfw.env4
-rw-r--r--heat/vFW_CNF_CDS/templates/base_dummy/vfw.yaml66
-rw-r--r--heat/vFW_CNF_CDS/templates/base_dummy/vpkg.env4
-rw-r--r--heat/vFW_CNF_CDS/templates/base_dummy/vpkg.yaml65
-rw-r--r--heat/vFW_CNF_CDS/templates/base_dummy/vsn.env4
-rw-r--r--heat/vFW_CNF_CDS/templates/base_dummy/vsn.yaml66
9 files changed, 361 insertions, 0 deletions
diff --git a/heat/vFW_CNF_CDS/templates/base_dummy/MANIFEST.json b/heat/vFW_CNF_CDS/templates/base_dummy/MANIFEST.json
new file mode 100644
index 00000000..08f65e75
--- /dev/null
+++ b/heat/vFW_CNF_CDS/templates/base_dummy/MANIFEST.json
@@ -0,0 +1,70 @@
+{
+ "name": "virtualFirewall",
+ "description": "",
+ "data": [
+ {
+ "file": "CBA.zip",
+ "type": "CONTROLLER_BLUEPRINT_ARCHIVE"
+ },
+ {
+ "file": "base_template.yaml",
+ "type": "HEAT",
+ "isBase": "true",
+ "data": [
+ {
+ "file": "base_template.env",
+ "type": "HEAT_ENV"
+ }
+ ]
+ },
+ {
+ "file": "base_template_cloudtech_k8s_charts.tgz",
+ "type": "CLOUD_TECHNOLOGY_SPECIFIC_ARTIFACT"
+ },
+ {
+ "file": "vfw.yaml",
+ "type": "HEAT",
+ "isBase": "false",
+ "data": [
+ {
+ "file": "vfw.env",
+ "type": "HEAT_ENV"
+ }
+ ]
+ },
+ {
+ "file": "vfw_cloudtech_k8s_charts.tgz",
+ "type": "CLOUD_TECHNOLOGY_SPECIFIC_ARTIFACT"
+ },
+ {
+ "file": "vpkg.yaml",
+ "type": "HEAT",
+ "isBase": "false",
+ "data": [
+ {
+ "file": "vpkg.env",
+ "type": "HEAT_ENV"
+ }
+ ]
+ },
+ {
+ "file": "vpkg_cloudtech_k8s_charts.tgz",
+ "type": "CLOUD_TECHNOLOGY_SPECIFIC_ARTIFACT"
+ },
+ {
+ "file": "vsn.yaml",
+ "type": "HEAT",
+ "isBase": "false",
+ "data": [
+ {
+ "file": "vsn.env",
+ "type": "HEAT_ENV"
+ }
+ ]
+ },
+ {
+ "file": "vsn_cloudtech_k8s_charts.tgz",
+ "type": "CLOUD_TECHNOLOGY_SPECIFIC_ARTIFACT"
+ }
+ ]
+}
diff --git a/heat/vFW_CNF_CDS/templates/base_dummy/base_template.env b/heat/vFW_CNF_CDS/templates/base_dummy/base_template.env
new file mode 100644
index 00000000..c904a66e
--- /dev/null
+++ b/heat/vFW_CNF_CDS/templates/base_dummy/base_template.env
@@ -0,0 +1,5 @@
+parameters:
+ vnf_name: vFW_CDS_CNF
+ vnf_id: vFirewall_demo_app
+ vf_module_id: vFirewallNet
+ vnf_software_version: 1.0.0 \ No newline at end of file
diff --git a/heat/vFW_CNF_CDS/templates/base_dummy/base_template.yaml b/heat/vFW_CNF_CDS/templates/base_dummy/base_template.yaml
new file mode 100644
index 00000000..8d796e95
--- /dev/null
+++ b/heat/vFW_CNF_CDS/templates/base_dummy/base_template.yaml
@@ -0,0 +1,77 @@
+##########################################################################
+#
+#==================LICENSE_START==========================================
+#
+#
+# Copyright © 2020 Samsung Electronics
+# Copyright (c) 2018 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: Dummy base heat template for vFW usecase
+
+##############
+# #
+# PARAMETERS #
+# #
+##############
+
+parameters:
+ vnf_name:
+ type: string
+ description: VNF_NAME
+ vnf_id:
+ type: string
+ label: VNF ID
+ description: The VNF ID is provided by ONAP
+ vf_module_id:
+ type: string
+ label: VF Module ID
+ description: The VF Module ID is provided by ONAP
+ vnf_software_version:
+ type: string
+ label: VNF software version
+ description: VNF software version
+ default: 1.0.0
+
+#############
+# #
+# RESOURCES #
+# #
+#############
+
+resources:
+ dummy:
+ type: OS::Heat::None
+ properties:
+ vnf_name:
+ get_param: vnf_name
+ vnf_id:
+ get_param: vnf_id
+ vf_module_id:
+ get_param: vf_module_id
+
+ #SDC won't allow too dummy resource as it has to find 'topology_template' TOSCA equivalent in heat templates
+ dummy_base:
+ type: OS::Nova::Server
+ properties:
+ name: test
+ image: test
+ flavor: test
diff --git a/heat/vFW_CNF_CDS/templates/base_dummy/vfw.env b/heat/vFW_CNF_CDS/templates/base_dummy/vfw.env
new file mode 100644
index 00000000..a43e40f0
--- /dev/null
+++ b/heat/vFW_CNF_CDS/templates/base_dummy/vfw.env
@@ -0,0 +1,4 @@
+parameters:
+ vnf_id: vFirewall_demo_app
+ vnf_name: vFW_CDS_CNF
+ vf_module_id: vFirewallCL
diff --git a/heat/vFW_CNF_CDS/templates/base_dummy/vfw.yaml b/heat/vFW_CNF_CDS/templates/base_dummy/vfw.yaml
new file mode 100644
index 00000000..a1a434e2
--- /dev/null
+++ b/heat/vFW_CNF_CDS/templates/base_dummy/vfw.yaml
@@ -0,0 +1,66 @@
+##########################################################################
+#
+#==================LICENSE_START==========================================
+#
+#
+# Copyright © 2020 Samsung Electronics
+# Copyright (c) 2018 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: Dummy heat template for vFirewall
+
+##############
+# #
+# PARAMETERS #
+# #
+##############
+
+parameters:
+ vnf_id:
+ type: string
+ label: VNF ID
+ description: The VNF ID is provided by ONAP
+ vnf_name:
+ type: string
+ label: VNF ID
+ description: The VNF ID is provided by ONAP
+ vf_module_id:
+ type: string
+ label: VF Module ID
+ description: The VF Module ID is provided by ONAP
+
+
+#############
+# #
+# RESOURCES #
+# #
+#############
+
+resources:
+ dummy:
+ type: OS::Heat::None
+ properties:
+ vnf_id:
+ get_param: vnf_id
+ vnf_name:
+ get_param: vnf_name
+ vf_module_id:
+ get_param: vf_module_id
diff --git a/heat/vFW_CNF_CDS/templates/base_dummy/vpkg.env b/heat/vFW_CNF_CDS/templates/base_dummy/vpkg.env
new file mode 100644
index 00000000..13d9e858
--- /dev/null
+++ b/heat/vFW_CNF_CDS/templates/base_dummy/vpkg.env
@@ -0,0 +1,4 @@
+parameters:
+ vnf_name: vFW_CDS_CNF
+ vnf_id: vPacketGen_demo_app
+ vf_module_id: vTrafficPNG
diff --git a/heat/vFW_CNF_CDS/templates/base_dummy/vpkg.yaml b/heat/vFW_CNF_CDS/templates/base_dummy/vpkg.yaml
new file mode 100644
index 00000000..1fdabc82
--- /dev/null
+++ b/heat/vFW_CNF_CDS/templates/base_dummy/vpkg.yaml
@@ -0,0 +1,65 @@
+##########################################################################
+#
+#==================LICENSE_START==========================================
+#
+#
+# Copyright © 2020 Samsung Electronics
+# Copyright (c) 2018 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: Dummy heat template for vPacketgen
+
+##############
+# #
+# PARAMETERS #
+# #
+##############
+
+parameters:
+ vnf_name:
+ type: string
+ label: VNF NAME
+ description: The VNF NAME is provided by ONAP
+ vnf_id:
+ type: string
+ label: VNF ID
+ description: The VNF ID is provided by ONAP
+ vf_module_id:
+ type: string
+ label: VF Module ID
+ description: The VF Module ID is provided by ONAP
+
+#############
+# #
+# RESOURCES #
+# #
+#############
+
+resources:
+ dummy:
+ type: OS::Heat::None
+ properties:
+ vnf_name:
+ get_param: vnf_name
+ vnf_id:
+ get_param: vnf_id
+ vf_module_id:
+ get_param: vf_module_id
diff --git a/heat/vFW_CNF_CDS/templates/base_dummy/vsn.env b/heat/vFW_CNF_CDS/templates/base_dummy/vsn.env
new file mode 100644
index 00000000..34e79ebc
--- /dev/null
+++ b/heat/vFW_CNF_CDS/templates/base_dummy/vsn.env
@@ -0,0 +1,4 @@
+parameters:
+ vnf_id: vSink_demo_app
+ vf_module_id: vFirewallCL
+ vnf_name: vFW_CDS_CNF
diff --git a/heat/vFW_CNF_CDS/templates/base_dummy/vsn.yaml b/heat/vFW_CNF_CDS/templates/base_dummy/vsn.yaml
new file mode 100644
index 00000000..0667e5c4
--- /dev/null
+++ b/heat/vFW_CNF_CDS/templates/base_dummy/vsn.yaml
@@ -0,0 +1,66 @@
+##########################################################################
+#
+#==================LICENSE_START==========================================
+#
+#
+# Copyright © 2020 Samsung Electronics
+# Copyright (c) 2018 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: Dummy heat template for vSink
+
+##############
+# #
+# PARAMETERS #
+# #
+##############
+
+parameters:
+ vnf_id:
+ type: string
+ label: VNF ID
+ description: The VNF ID is provided by ONAP
+ vnf_name:
+ type: string
+ label: VNF NAME
+ description: The VNF NAME is provided by ONAP
+ vf_module_id:
+ type: string
+ label: VF Module ID
+ description: The VF Module ID is provided by ONAP
+
+#############
+# #
+# RESOURCES #
+# #
+#############
+
+resources:
+
+ dummy:
+ type: OS::Heat::None
+ properties:
+ vnf_id:
+ get_param: vnf_id
+ vnf_name:
+ get_param: vnf_name
+ vf_module_id:
+ get_param: vf_module_id