From 68042495ef1e1e6dff7fed7fc2691b01cf672fe1 Mon Sep 17 00:00:00 2001 From: Konrad Bańka Date: Mon, 21 Oct 2019 11:04:31 +0200 Subject: Provide vFW CNF use case csar content MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Issue-ID: INT-1259 Change-Id: I0bcd85725e7f102bdcdf813db0c0260526b5807d Signed-off-by: Konrad Bańka --- heat/vFW_CNF_CDS/templates/base/MANIFEST.json | 66 ++++++++ heat/vFW_CNF_CDS/templates/base/base.env | 5 + heat/vFW_CNF_CDS/templates/base/base.yaml | 69 ++++++++ heat/vFW_CNF_CDS/templates/base/firewall.env | 30 ++++ heat/vFW_CNF_CDS/templates/base/firewall.yaml | 214 +++++++++++++++++++++++++ heat/vFW_CNF_CDS/templates/base/packetgen.env | 25 +++ heat/vFW_CNF_CDS/templates/base/packetgen.yaml | 190 ++++++++++++++++++++++ heat/vFW_CNF_CDS/templates/base/sink.env | 24 +++ heat/vFW_CNF_CDS/templates/base/sink.yaml | 185 +++++++++++++++++++++ 9 files changed, 808 insertions(+) create mode 100644 heat/vFW_CNF_CDS/templates/base/MANIFEST.json create mode 100644 heat/vFW_CNF_CDS/templates/base/base.env create mode 100644 heat/vFW_CNF_CDS/templates/base/base.yaml create mode 100644 heat/vFW_CNF_CDS/templates/base/firewall.env create mode 100644 heat/vFW_CNF_CDS/templates/base/firewall.yaml create mode 100644 heat/vFW_CNF_CDS/templates/base/packetgen.env create mode 100644 heat/vFW_CNF_CDS/templates/base/packetgen.yaml create mode 100644 heat/vFW_CNF_CDS/templates/base/sink.env create mode 100644 heat/vFW_CNF_CDS/templates/base/sink.yaml (limited to 'heat/vFW_CNF_CDS/templates/base') diff --git a/heat/vFW_CNF_CDS/templates/base/MANIFEST.json b/heat/vFW_CNF_CDS/templates/base/MANIFEST.json new file mode 100644 index 00000000..6d314d1d --- /dev/null +++ b/heat/vFW_CNF_CDS/templates/base/MANIFEST.json @@ -0,0 +1,66 @@ +{ + "name": "virtualFirewall", + "description": "", + "data": [ + { + "file": "base.yaml", + "type": "HEAT", + "isBase": "true", + "data": [ + { + "file": "base.env", + "type": "HEAT_ENV" + } + ] + }, + { + "file": "base_cloudtech_k8s_charts.tgz", + "type": "CLOUD_TECHNOLOGY_SPECIFIC_ARTIFACTS" + }, + { + "file": "firewall.yaml", + "type": "HEAT", + "isBase": "false", + "data": [ + { + "file": "firewall.env", + "type": "HEAT_ENV" + } + ] + }, + { + "file": "firewall_cloudtech_k8s_charts.tgz", + "type": "CLOUD_TECHNOLOGY_SPECIFIC_ARTIFACTS" + }, + { + "file": "packetgen.yaml", + "type": "HEAT", + "isBase": "false", + "data": [ + { + "file": "packetgen.env", + "type": "HEAT_ENV" + } + ] + }, + { + "file": "packetgen_cloudtech_k8s_charts.tgz", + "type": "CLOUD_TECHNOLOGY_SPECIFIC_ARTIFACTS" + }, + { + "file": "sink.yaml", + "type": "HEAT", + "isBase": "false", + "data": [ + { + "file": "sink.env", + "type": "HEAT_ENV" + } + ] + }, + { + "file": "sink_cloudtech_k8s_charts.tgz", + "type": "CLOUD_TECHNOLOGY_SPECIFIC_ARTIFACTS" + } + ] +} diff --git a/heat/vFW_CNF_CDS/templates/base/base.env b/heat/vFW_CNF_CDS/templates/base/base.env new file mode 100644 index 00000000..0a69e08d --- /dev/null +++ b/heat/vFW_CNF_CDS/templates/base/base.env @@ -0,0 +1,5 @@ +parameters: + int_private1_net_cidr: 192.168.10.0/24 + int_private2_net_cidr: 192.168.20.0/24 + pub_key: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN + vnf_name: vFW_NextGen \ No newline at end of file diff --git a/heat/vFW_CNF_CDS/templates/base/base.yaml b/heat/vFW_CNF_CDS/templates/base/base.yaml new file mode 100644 index 00000000..7466f032 --- /dev/null +++ b/heat/vFW_CNF_CDS/templates/base/base.yaml @@ -0,0 +1,69 @@ +########################################################################## +# +#==================LICENSE_START========================================== +# +# +# 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: + int_private1_net_cidr: + type: string + label: Unprotected private network CIDR + description: The CIDR of the unprotected private network + int_private2_net_cidr: + type: string + label: Protected private network CIDR + description: The CIDR of the protected private network + pub_key: + type: string + label: Public key + description: Public key to be installed on the compute instance + vnf_name: + type: string + description: VNF_NAME + +############# +# # +# RESOURCES # +# # +############# + +resources: + dummy: + type: OS::Heat::None + properties: + int_private1_net_cidr: + get_param: int_private1_net_cidr + int_private2_net_cidr: + get_param: int_private2_net_cidr + pub_key: + get_param: pub_key + vnf_name: + get_param: vnf_name diff --git a/heat/vFW_CNF_CDS/templates/base/firewall.env b/heat/vFW_CNF_CDS/templates/base/firewall.env new file mode 100644 index 00000000..42dccf9c --- /dev/null +++ b/heat/vFW_CNF_CDS/templates/base/firewall.env @@ -0,0 +1,30 @@ +parameters: + vfw_image_name: PUT THE VM IMAGE NAME HERE (UBUNTU 1404) + vfw_flavor_name: PUT THE VM FLAVOR NAME HERE (m1.medium suggested) + public_net_id: PUT THE PUBLIC NETWORK ID HERE + int_private1_net_id: zdfw1fwl01_unprotected + int_private1_subnet_id: zdfw1fwl01_unprotected_sub + int_private1_net_cidr: 192.168.10.0/24 + int_private2_net_id: zdfw1fwl01_protected + int_private2_subnet_id: zdfw1fwl01_protected_sub + int_private2_net_cidr: 192.168.20.0/24 + onap_private_net_id: PUT THE ONAP PRIVATE NETWORK NAME HERE + onap_private_subnet_id: PUT THE ONAP PRIVATE NETWORK NAME HERE + onap_private_net_cidr: 10.0.0.0/16 + vfw_int_private1_ip_0: 192.168.10.100 + vfw_int_private2_ip_0: 192.168.20.100 + vfw_onap_private_ip_0: 10.0.100.1 + #vpg_private_ip_0: 192.168.10.200 + vfw_int_private2_floating_ip: 192.168.10.200 + vfw_name_0: zdfw1fwl01fwl01 + vnf_id: vFirewall_demo_app + vnf_name: vFW_NextGen + vf_module_id: vFirewallCL + dcae_collector_ip: 10.0.4.1 + dcae_collector_port: 30235 + demo_artifacts_version: 1.6.0-SNAPSHOT + install_script_version: 1.6.0-SNAPSHOT + key_name: vfw_key + cloud_env: PUT openstack OR rackspace HERE + sec_group: PUT THE ONAP SECURITY GROUP HERE + nexus_artifact_repo: https://nexus.onap.org diff --git a/heat/vFW_CNF_CDS/templates/base/firewall.yaml b/heat/vFW_CNF_CDS/templates/base/firewall.yaml new file mode 100644 index 00000000..c21988db --- /dev/null +++ b/heat/vFW_CNF_CDS/templates/base/firewall.yaml @@ -0,0 +1,214 @@ +########################################################################## +# +#==================LICENSE_START========================================== +# +# +# 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: + vfw_image_name: + type: string + label: Image name or ID + description: Image to be used for compute instance + vfw_flavor_name: + type: string + label: Flavor + description: Type of instance (flavor) to be used + public_net_id: + type: string + label: Public network name or ID + description: Public network that enables remote connection to VNF + int_private1_net_id: + type: string + label: Unprotected private network name or ID + description: Private network that connects vPacketGenerator with vFirewall + int_private1_subnet_id: + type: string + label: Unprotected private subnetwork name or ID + description: Private subnetwork of the protected network + int_private1_net_cidr: + type: string + label: Unprotected private network CIDR + description: The CIDR of the unprotected private network + int_private2_net_id: + type: string + label: Protected private network name or ID + description: Private network that connects vFirewall with vSink + int_private2_subnet_id: + type: string + label: Protected private subnetwork name or ID + description: Private subnetwork of the unprotected network + int_private2_net_cidr: + type: string + label: Protected private network CIDR + description: The CIDR of the protected private network + onap_private_net_id: + type: string + label: ONAP management network name or ID + description: Private network that connects ONAP components and the VNF + onap_private_subnet_id: + type: string + label: ONAP management sub-network name or ID + description: Private sub-network that connects ONAP components and the VNF + onap_private_net_cidr: + type: string + label: ONAP private network CIDR + description: The CIDR of the protected private network + vfw_int_private1_ip_0: + type: string + label: vFirewall private IP address towards the unprotected network + description: Private IP address that is assigned to the vFirewall to communicate with the vPacketGenerator + vfw_int_private2_ip_0: + type: string + label: vFirewall private IP address towards the protected network + description: Private IP address that is assigned to the vFirewall to communicate with the vSink + vfw_onap_private_ip_0: + type: string + label: vFirewall private IP address towards the ONAP management network + description: Private IP address that is assigned to the vFirewall to communicate with ONAP components + vfw_int_private2_floating_ip: + type: string + label: vPacketGenerator private IP address towards the unprotected network + description: Private IP address that is assigned to the vPacketGenerator to communicate with the vFirewall + vfw_name_0: + type: string + label: vFirewall name + description: Name of the vFirewall + 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 + dcae_collector_ip: + type: string + label: DCAE collector IP address + description: IP address of the DCAE collector + dcae_collector_port: + type: string + label: DCAE collector port + description: Port of the DCAE collector + key_name: + type: string + label: Key pair name + description: Public/Private key pair name + install_script_version: + type: string + label: Installation script version number + description: Version number of the scripts that install the vFW demo app + demo_artifacts_version: + type: string + label: Artifacts version used in demo vnfs + description: Artifacts (jar, tar.gz) version used in demo vnfs + nexus_artifact_repo: + type: string + description: Root URL for the Nexus repository for Maven artifacts. + # default: "https://nexus.onap.org" + cloud_env: + type: string + label: Cloud environment + description: Cloud environment (e.g., openstack, rackspace) + sec_group: + type: string + description: ONAP Security Group + + +############# +# # +# RESOURCES # +# # +############# + +resources: + dummy: + type: OS::Heat::None + properties: + vfw_image_name: + get_param: vfw_image_name + vfw_flavor_name: + get_param: vfw_flavor_name + public_net_id: + get_param: public_net_id + int_private1_net_id: + get_param: int_private1_net_id + int_private1_subnet_id: + get_param: int_private1_subnet_id + int_private1_net_cidr: + get_param: int_private1_net_cidr + int_private2_net_id: + get_param: int_private2_net_id + int_private2_subnet_id: + get_param: int_private2_subnet_id + int_private2_net_cidr: + get_param: int_private2_net_cidr + onap_private_net_id: + get_param: onap_private_net_id + onap_private_subnet_id: + get_param: onap_private_subnet_id + onap_private_net_cidr: + get_param: onap_private_net_cidr + vfw_int_private1_ip_0: + get_param: vfw_int_private1_ip_0 + vfw_int_private2_ip_0: + get_param: vfw_int_private2_ip_0 + vfw_onap_private_ip_0: + get_param: vfw_onap_private_ip_0 + vfw_int_private2_floating_ip: + get_param: vfw_int_private2_floating_ip + vfw_name_0: + get_param: vfw_name_0 + vnf_id: + get_param: vnf_id + vnf_name: + get_param: vnf_name + vf_module_id: + get_param: vf_module_id + dcae_collector_ip: + get_param: dcae_collector_ip + dcae_collector_port: + get_param: dcae_collector_port + key_name: + get_param: key_name + install_script_version: + get_param: install_script_version + demo_artifacts_version: + get_param: demo_artifacts_version + nexus_artifact_repo: + get_param: nexus_artifact_repo + cloud_env: + get_param: cloud_env + sec_group: + get_param: sec_group diff --git a/heat/vFW_CNF_CDS/templates/base/packetgen.env b/heat/vFW_CNF_CDS/templates/base/packetgen.env new file mode 100644 index 00000000..23f7817e --- /dev/null +++ b/heat/vFW_CNF_CDS/templates/base/packetgen.env @@ -0,0 +1,25 @@ +parameters: + vpg_image_name: PUT THE VM IMAGE NAME HERE (UBUNTU 1404) + vpg_flavor_name: PUT THE VM FLAVOR NAME HERE (m1.medium suggested) + public_net_id: PUT THE PUBLIC NETWORK ID HERE + int_private1_net_id: zdfw1fwl01_unprotected + int_private1_subnet_id: zdfw1fwl01_unprotected_sub + int_private1_net_cidr: 192.168.10.0/24 + onap_private_net_id: PUT THE ONAP PRIVATE NETWORK NAME HERE + onap_private_subnet_id: PUT THE ONAP PRIVATE NETWORK NAME HERE + onap_private_net_cidr: 10.0.0.0/16 + int_private2_net_cidr: 192.168.20.0/24 + vfw_int_private1_ip_0: 192.168.10.100 + vpg_int_private1_ip_0: 192.168.10.200 + vpg_onap_private_ip_0: 10.0.100.2 + vsn_int_private2_ip_0: 192.168.20.250 + vpg_name_0: zdfw1fwl01pgn01 + vnf_name: vFW_NextGen + vnf_id: vPacketGen_demo_app + vf_module_id: vTrafficPNG + demo_artifacts_version: 1.6.0-SNAPSHOT + install_script_version: 1.6.0-SNAPSHOT + key_name: vfw_key + cloud_env: PUT openstack OR rackspace HERE + sec_group: PUT THE ONAP SECURITY GROUP HERE + nexus_artifact_repo: https://nexus.onap.org \ No newline at end of file diff --git a/heat/vFW_CNF_CDS/templates/base/packetgen.yaml b/heat/vFW_CNF_CDS/templates/base/packetgen.yaml new file mode 100644 index 00000000..6a23da0a --- /dev/null +++ b/heat/vFW_CNF_CDS/templates/base/packetgen.yaml @@ -0,0 +1,190 @@ +########################################################################## +# +#==================LICENSE_START========================================== +# +# +# 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: + vpg_image_name: + type: string + label: Image name or ID + description: Image to be used for compute instance + vpg_flavor_name: + type: string + label: Flavor + description: Type of instance (flavor) to be used + public_net_id: + type: string + label: Public network name or ID + description: Public network that enables remote connection to VNF + int_private1_net_id: + type: string + label: Unprotected private network name or ID + description: Private network that connects vPacketGenerator with vFirewall + int_private1_subnet_id: + type: string + label: Unprotected private sub-network name or ID + description: Private subnetwork for the unprotected network + int_private1_net_cidr: + type: string + label: Unprotected private network CIDR + description: The CIDR of the unprotected private network + int_private2_net_cidr: + type: string + label: Protected private network CIDR + description: The CIDR of the protected private network + onap_private_net_id: + type: string + label: ONAP management network name or ID + description: Private network that connects ONAP components and the VNF + onap_private_subnet_id: + type: string + label: ONAP management sub-network name or ID + description: Private sub-network that connects ONAP components and the VNF + onap_private_net_cidr: + type: string + label: ONAP private network CIDR + description: The CIDR of the protected private network + vfw_int_private1_ip_0: + type: string + label: vFirewall private IP address towards the unprotected network + description: Private IP address that is assigned to the vFirewall to communicate with the vPacketGenerator + vsn_int_private2_ip_0: + type: string + label: vSink private IP address towards the protected network + description: Private IP address that is assigned to the vSink to communicate with the vFirewall + vpg_int_private1_ip_0: + type: string + label: vPacketGenerator private IP address towards the unprotected network + description: Private IP address that is assigned to the vPacketGenerator to communicate with the vFirewall + vpg_onap_private_ip_0: + type: string + label: vPacketGenerator private IP address towards the ONAP management network + description: Private IP address that is assigned to the vPacketGenerator to communicate with ONAP components + vpg_name_0: + type: string + label: vPacketGenerator name + description: Name of the vPacketGenerator + 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 + key_name: + type: string + label: Key pair name + description: Public/Private key pair name + install_script_version: + type: string + label: Installation script version number + description: Version number of the scripts that install the vFW demo app + demo_artifacts_version: + type: string + label: Artifacts version used in demo vnfs + description: Artifacts (jar, tar.gz) version used in demo vnfs + nexus_artifact_repo: + type: string + description: Root URL for the Nexus repository for Maven artifacts. + # default: "https://nexus.onap.org" + cloud_env: + type: string + label: Cloud environment + description: Cloud environment (e.g., openstack, rackspace) + sec_group: + type: string + description: ONAP Security Group + + +############# +# # +# RESOURCES # +# # +############# + +resources: + dummy: + type: OS::Heat::None + properties: + vpg_image_name: + get_param: vpg_image_name + vpg_flavor_name: + get_param: vpg_flavor_name + public_net_id: + get_param: public_net_id + int_private1_net_id: + get_param: int_private1_net_id + int_private1_subnet_id: + get_param: int_private1_subnet_id + int_private1_net_cidr: + get_param: int_private1_net_cidr + int_private2_net_cidr: + get_param: int_private2_net_cidr + onap_private_net_id: + get_param: onap_private_net_id + onap_private_subnet_id: + get_param: onap_private_subnet_id + onap_private_net_cidr: + get_param: onap_private_net_cidr + vfw_int_private1_ip_0: + get_param: vfw_int_private1_ip_0 + vsn_int_private2_ip_0: + get_param: vsn_int_private2_ip_0 + vpg_int_private1_ip_0: + get_param: vpg_int_private1_ip_0 + vpg_onap_private_ip_0: + get_param: vpg_onap_private_ip_0 + vpg_name_0: + get_param: vpg_name_0 + vnf_name: + get_param: vnf_name + vnf_id: + get_param: vnf_id + vf_module_id: + get_param: vf_module_id + key_name: + get_param: key_name + install_script_version: + get_param: install_script_version + demo_artifacts_version: + get_param: demo_artifacts_version + nexus_artifact_repo: + get_param: nexus_artifact_repo + cloud_env: + get_param: cloud_env + sec_group: + get_param: sec_group diff --git a/heat/vFW_CNF_CDS/templates/base/sink.env b/heat/vFW_CNF_CDS/templates/base/sink.env new file mode 100644 index 00000000..a0b2ec9c --- /dev/null +++ b/heat/vFW_CNF_CDS/templates/base/sink.env @@ -0,0 +1,24 @@ +parameters: + vsn_image_name: PUT THE VM IMAGE NAME HERE (UBUNTU 1404) + vsn_flavor_name: PUT THE VM FLAVOR NAME HERE (m1.medium suggested) + public_net_id: PUT THE PUBLIC NETWORK ID HERE + int_private1_net_cidr: 192.168.10.0/24 + int_private2_net_id: zdfw1fwl01_protected + int_private2_subnet_id: zdfw1fwl01_protected_sub + int_private2_net_cidr: 192.168.20.0/24 + onap_private_net_id: PUT THE ONAP PRIVATE NETWORK NAME HERE + onap_private_subnet_id: PUT THE ONAP PRIVATE NETWORK NAME HERE + onap_private_net_cidr: 10.0.0.0/16 + vfw_int_private2_ip_0: 192.168.20.100 + vsn_int_private2_ip_0: 192.168.20.250 + vsn_onap_private_ip_0: 10.0.100.3 + vsn_name_0: zdfw1fwl01snk01 + vnf_id: vSink_demo_app + vf_module_id: vFirewallCL + vnf_name: vFW_NextGen + #demo_artifacts_version: 1.6.0-SNAPSHOT + install_script_version: 1.6.0-SNAPSHOT + key_name: vfw_key + cloud_env: PUT openstack OR rackspace HERE + sec_group: PUT THE ONAP SECURITY GROUP HERE + nexus_artifact_repo: https://nexus.onap.org \ No newline at end of file diff --git a/heat/vFW_CNF_CDS/templates/base/sink.yaml b/heat/vFW_CNF_CDS/templates/base/sink.yaml new file mode 100644 index 00000000..de898a96 --- /dev/null +++ b/heat/vFW_CNF_CDS/templates/base/sink.yaml @@ -0,0 +1,185 @@ +########################################################################## +# +#==================LICENSE_START========================================== +# +# +# 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: + vsn_image_name: + type: string + label: Image name or ID + description: Image to be used for compute instance + vsn_flavor_name: + type: string + label: Flavor + description: Type of instance (flavor) to be used + public_net_id: + type: string + label: Public network name or ID + description: Public network that enables remote connection to VNF + int_private1_net_cidr: + type: string + label: Unprotected private network CIDR + description: The CIDR of the unprotected private network + int_private2_net_id: + type: string + label: Protected private network name or ID + description: Private network that connects vFirewall with vSink + int_private2_subnet_id: + type: string + label: Protected private subnetwork name or ID + description: Private subnetwork of the unprotected network + int_private2_net_cidr: + type: string + label: Protected private network CIDR + description: The CIDR of the protected private network + onap_private_net_id: + type: string + label: ONAP management network name or ID + description: Private network that connects ONAP components and the VNF + onap_private_subnet_id: + type: string + label: ONAP management sub-network name or ID + description: Private sub-network that connects ONAP components and the VNF + onap_private_net_cidr: + type: string + label: ONAP private network CIDR + description: The CIDR of the protected private network + vfw_int_private2_ip_0: + type: string + label: vFirewall private IP address towards the protected network + description: Private IP address that is assigned to the vFirewall to communicate with the vSink + vsn_int_private2_ip_0: + type: string + label: vSink private IP address towards the protected network + description: Private IP address that is assigned to the vSink to communicate with the vFirewall + vsn_onap_private_ip_0: + type: string + label: vSink private IP address towards the ONAP management network + description: Private IP address that is assigned to the vSink to communicate with ONAP components + vsn_name_0: + type: string + label: vSink name + description: Name of the vSink + 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 + key_name: + type: string + label: Key pair name + description: Public/Private key pair name + install_script_version: + type: string + label: Installation script version number + description: Version number of the scripts that install the vFW demo app + #demo_artifacts_version: + # type: string + # label: Artifacts version used in demo vnfs + # description: Artifacts (jar, tar.gz) version used in demo vnfs + nexus_artifact_repo: + type: string + description: Root URL for the Nexus repository for Maven artifacts. + # default: "https://nexus.onap.org" + cloud_env: + type: string + label: Cloud environment + description: Cloud environment (e.g., openstack, rackspace) + sec_group: + type: string + description: ONAP Security Group + + +############# +# # +# RESOURCES # +# # +############# + +resources: + + dummy: + type: OS::Heat::None + properties: + vsn_image_name: + get_param: vsn_image_name + vsn_flavor_name: + get_param: vsn_flavor_name + public_net_id: + get_param: public_net_id + int_private1_net_cidr: + get_param: int_private1_net_cidr + int_private2_net_id: + get_param: int_private2_net_id + int_private2_subnet_id: + get_param: int_private2_subnet_id + int_private2_net_cidr: + get_param: int_private2_net_cidr + onap_private_net_id: + get_param: onap_private_net_id + onap_private_subnet_id: + get_param: onap_private_subnet_id + onap_private_net_cidr: + get_param: onap_private_net_cidr + vfw_int_private2_ip_0: + get_param: vfw_int_private2_ip_0 + vsn_int_private2_ip_0: + get_param: vsn_int_private2_ip_0 + vsn_onap_private_ip_0: + get_param: vsn_onap_private_ip_0 + vsn_name_0: + get_param: vsn_name_0 + vnf_id: + get_param: vnf_id + vnf_name: + get_param: vnf_name + vf_module_id: + get_param: vf_module_id + key_name: + get_param: key_name + install_script_version: + get_param: install_script_version + #demo_artifacts_version: + # get_param: demo_artifacts_version + nexus_artifact_repo: + get_param: nexus_artifact_repo + cloud_env: + get_param: cloud_env + sec_group: + get_param: sec_group -- cgit 1.2.3-korg