CDS Test Setup

Steps to create vFW service for CDS:

Zoom recording on 09/27/2018 with Marco

vFW HEAT templates are at  [demo.git]/heat/vFW_NextGen, you need to zip it before upload to SDC. You need to update template env files for your environment, here is one example for Windriver vFW_NextGen.zip

You should not need to change any base and VNF module template yaml files. Also base_template.env you just need to put in your public key for you to access later.  3 VNF module env file need to update with Openstack info. An example of vfw.env looks like: 

vfw.env example
Yangs-MacBook-Air:vFW_NextGen yang$ cat vfw.env parameters: image_name: ubuntu-14-04-cloud-amd64 flavor_name: m1.medium public_net_id: external unprotected_private_net_id: zdfw1fwl01_unprotected unprotected_private_subnet_id: zdfw1fwl01_unprotected_sub unprotected_private_net_cidr: 192.168.10.0/24 protected_private_net_id: zdfw1fwl01_protected protected_private_subnet_id: zdfw1fwl01_protected_sub protected_private_net_cidr: 192.168.20.0/24 onap_private_net_id: oam_network_hxJw onap_private_subnet_id: oam_network_hxJw onap_private_net_cidr: 10.0.0.0/16 vfw_private_ip_0: 192.168.10.100 vfw_private_ip_1: 192.168.20.100 vfw_private_ip_2: 10.0.100.1 vpg_private_ip_0: 192.168.10.200 vfw_name_0: zdfw1fwl01fwl01 vnf_id: vFirewall_demo_app vf_module_id: vFirewallCL dcae_collector_ip: 10.0.4.1 dcae_collector_port: 8081 demo_artifacts_version: 1.3.0-SNAPSHOT install_script_version: 1.3.0-SNAPSHOT key_name: vfw_key cloud_env: openstack sec_group: onap_sg_hxJw sdnc_model_name: vFW_spinup sdnc_model_version: 1.0.0 sdnc_artifact_name: vFW_vNF_Artifact



zip the files into a zip file

zip files
Yangs-MacBook-Air:Downloads yang$ zip -r vFW_NextGen.zip vFW_NextGen adding: vFW_NextGen/ (stored 0%) adding: vFW_NextGen/base_template.env (deflated 40%) adding: vFW_NextGen/base_template.yaml (deflated 72%) adding: vFW_NextGen/MANIFEST.json (deflated 84%) adding: vFW_NextGen/vfw.env (deflated 62%) adding: vFW_NextGen/vfw.yaml (deflated 77%) adding: vFW_NextGen/vpg.env (deflated 57%) adding: vFW_NextGen/vpg.yaml (deflated 75%) adding: vFW_NextGen/vsn.env (deflated 56%) adding: vFW_NextGen/vsn.yaml (deflated 74%) Yangs-MacBook-Air:Downloads yang$ zipinfo vFW_NextGen.zip Archive: vFW_NextGen.zip Zip file size: 10943 bytes, number of entries: 10 drwxr-xr-x 3.0 unx 0 bx stor 18-Oct-24 23:17 vFW_NextGen/ -rw-r--r-- 3.0 unx 735 tx defN 18-Oct-04 10:32 vFW_NextGen/base_template.env -rw-r--r-- 3.0 unx 3382 tx defN 18-Oct-24 23:00 vFW_NextGen/base_template.yaml -rw-r--r-- 3.0 unx 1144 tx defN 18-Oct-04 10:32 vFW_NextGen/MANIFEST.json -rw-r--r-- 3.0 unx 1063 tx defN 18-Oct-24 23:10 vFW_NextGen/vfw.env -rw-r--r-- 3.0 unx 9875 tx defN 18-Oct-24 23:00 vFW_NextGen/vfw.yaml -rw-r--r-- 3.0 unx 901 tx defN 18-Oct-24 23:15 vFW_NextGen/vpg.env -rw-r--r-- 3.0 unx 8729 tx defN 18-Oct-24 23:00 vFW_NextGen/vpg.yaml -rw-r--r-- 3.0 unx 853 tx defN 18-Oct-24 23:14 vFW_NextGen/vsn.env -rw-r--r-- 3.0 unx 8072 tx defN 18-Oct-24 23:00 vFW_NextGen/vsn.yaml 10 files, 34754 bytes uncompressed, 9215 bytes compressed: 73.5%