[ { "csarId": "1e4871bc-2c69-4932-b36a-daa6d6f34d85", "packageInfo": { "vnfdId": "", "vnfPackageId": "1e4871bc-2c69-4932-b36a-daa6d6f34d85", "vnfdProvider": "onap", "vnfdVersion": "1.0", "vnfVersion": "", "csarName": "vgw.csar", "vnfdModel": "{\"vnf\": {\"properties\": {\"descriptor_version\": \"1.0\", \"provider\": \"onap\", \"template_name\": \"vCPE_vgw\"}, \"requirements\": {}, \"capabilities\": {}, \"metadata\": {\"template_name\": \"vCPE_vgw\", \"template_version\": \"1.0\", \"template_author\": \"onap\", \"VNFD_SCHEMA_VERSION\": \"2.5.1+1\"}}, \"description\": \"vCPE_vgw\", \"metadata\": {\"template_name\": \"vCPE_vgw\", \"template_version\": \"1.0\", \"template_author\": \"onap\", \"VNFD_SCHEMA_VERSION\": \"2.5.1+1\"}, \"inputs\": {\"vcpe_image_name\": {\"type\": \"string\", \"description\": \"image name for vcpe in openstack glance\", \"default\": \"ubuntu_16.04\"}, \"public_net_id\": {\"type\": \"string\", \"description\": \"public network id used during onap installation\", \"default\": \"external\"}, \"onap_private_net_id\": {\"type\": \"string\", \"description\": \"onap OAM network id\", \"default\": \"oam_onap\"}, \"onap_private_net_cidr\": {\"type\": \"string\", \"description\": \"oanp OAM network cidr\", \"default\": \"10.0.0.0/16\"}, \"mux_gw_private_net_id\": {\"type\": \"string\", \"description\": \"Private network that connects vGMUX to vGWs\", \"default\": \"zdfw1muxgw01_private\"}, \"mux_gw_private_net_cidr\": {\"type\": \"string\", \"description\": \"he CIDR of the vGMUX private network\", \"default\": \"10.5.0.0/24\"}, \"cpe_public_net_id\": {\"type\": \"string\", \"description\": \"cpe public net name\", \"default\": \"zdfw1cpe01_public\"}, \"cpe_public_net_cidr\": {\"type\": \"string\", \"description\": \"cpe public net cidr\", \"default\": \"10.2.0.0/24\"}, \"vgw_private_ip_0\": {\"type\": \"string\", \"description\": \"Private IP address that is assigned to the vGW to communicate with vGMUX\", \"default\": \"10.5.0.21\"}, \"vgw_private_ip_1\": {\"type\": \"string\", \"description\": \"Private IP address that is assigned to the vGW to communicate with ONAP components\", \"default\": \"10.0.101.30\"}, \"vgw_private_ip_2\": {\"type\": \"string\", \"description\": \"Private IP address that is assigned to the vGW to communicate with vCPE public network\", \"default\": \"10.2.0.3\"}, \"vgw_name_0\": {\"type\": \"string\", \"description\": \"Name of the vGW\", \"default\": \"zdcpe1cpe01gw01\"}, \"dcae_collector_ip\": {\"type\": \"string\", \"description\": \"dcae collector ip\", \"default\": \"10.0.4.102\"}, \"dcae_collector_port\": {\"type\": \"string\", \"description\": \"dcae collector port\", \"default\": \"8080\"}, \"pub_key\": {\"type\": \"string\", \"description\": \"ssh public key\", \"default\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDGx6SKrAuCz1V8KGevZueksLdWoPWJP6z3r29Z7TmPVEOjM+7PIPeSs2BVRx3rnHZBAlasMrZ+fJBS25ts9vfC+ItezQah/hr9vrkmwxCR54Lb84poW+sToPeF6i5eZY7W+jWJfLaFSFx9d2vp4zes/fOlT3NvYCXbn/3QdryQoGl7VFI8oemZypVcikZXElJeeKgAVdSwnrzuqtO/tmbXcAeSbYvVjki8ywYcsWMVMYWUWhh+1BAB6kXnTsIWqzrq0Pfvy+81WDwtiqsqmd93HY8hE0scBrXFBZzQS/AYfIFBlEuFNdLczchntjbZ0n7dmDXk8zHtCZYNk7kwb8k/\"}, \"nexus_artifact_repo\": {\"type\": \"string\", \"description\": \"Root URL for the Nexus repository for Maven artifacts\", \"default\": \"https://nexus.onap.org\"}, \"demo_artifacts_version\": {\"type\": \"string\", \"description\": \"artifacts version used in demo vnfs\", \"default\": \"1.2.0\"}, \"install_script_version\": {\"type\": \"string\", \"description\": \"install script version number\", \"default\": \"1.2.0-SNAPSHOT\"}, \"cloud_env\": {\"type\": \"string\", \"description\": \"cloud environment(openstack or rackspace)\", \"default\": \"openstack\"}, \"mux_ip_addr\": {\"type\": \"string\", \"description\": \"IP address of vGMUX\", \"default\": \"10.5.0.20\"}, \"vg_vgmux_tunnel_vni\": {\"type\": \"string\", \"description\": \"vni value of vG-vGMUX vxlan tunnel\", \"default\": \"100\"}, \"vnf_id\": {\"type\": \"string\", \"description\": \"The VNF ID is provided by ONAP\", \"default\": \"vCPE_Infrastructure_GW_demo_app\"}, \"vf_module_id\": {\"type\": \"string\", \"description\": \"The vCPE Module ID is provided by ONAP\", \"default\": \"vCPE_Customer_GW\"}}, \"basepath\": \"C:\\\\Users\\\\cmcc\\\\AppData\\\\Local\\\\Temp\\\\tmplm64p7j8\\\\Definitions\", \"volume_storages\": [], \"vdus\": [{\"vdu_id\": \"VDU_vgw_0\", \"type\": \"tosca.nodes.nfv.Vdu.Compute\", \"description\": \"\", \"properties\": {\"name\": \"zdcpe1cpe01gw01\", \"description\": \"vgw\", \"vdu_profile\": {\"min_number_of_instances\": 1, \"max_number_of_instances\": 1, \"watchdog\": \"none\"}, \"inject_files\": {\"source_path\": \"../Artifacts/Deployment/OTHER/authorized_keys\", \"dest_path\": \"/home/ubuntu/.ssh/authorized_keys\", \"source_data_base64\": \"c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFER3g2U0tyQXVDejFWOEtHZXZadWVrc0xkV29QV0pQNnozcjI5WjdUbVBWRU9qTSs3UElQZVNzMkJWUngzcm5IWkJBbGFzTXJaK2ZKQlMyNXRzOXZmQytJdGV6UWFoL2hyOXZya213eENSNTRMYjg0cG9XK3NUb1BlRjZpNWVaWTdXK2pXSmZMYUZTRng5ZDJ2cDR6ZXMvZk9sVDNOdllDWGJuLzNRZHJ5UW9HbDdWRkk4b2VtWnlwVmNpa1pYRWxKZWVLZ0FWZFN3bnJ6dXF0Ty90bWJYY0FlU2JZdlZqa2k4eXdZY3NXTVZNWVdVV2hoKzFCQUI2a1huVHNJV3F6cnEwUGZ2eSs4MVdEd3RpcXNxbWQ5M0hZOGhFMHNjQnJYRkJaelFTL0FZZklGQmxFdUZOZExjemNobnRqYlowbjdkbURYazh6SHRDWllOazdrd2I4ay8K\"}, \"meta_data\": {\"vnf_id\": \"vCPE_Infrastructure_GW_demo_app\", \"vf_module_id\": \"vCPE_Customer_GW\", \"mux_gw_private_net_ipaddr\": \"10.5.0.21\", \"oam_ipaddr\": \"10.0.101.30\", \"oam_cidr\": \"10.0.0.0/16\", \"cpe_public_net_cidr\": \"10.2.0.0/24\", \"mux_gw_private_net_cidr\": \"10.5.0.0/24\", \"mux_ip_addr\": \"10.5.0.20\", \"vg_vgmux_tunnel_vni\": \"100\", \"install_script_version\": \"1.2.0-SNAPSHOT\", \"cloud_env\": \"openstack\", \"nexus_artifact_repo\": \"https://nexus.onap.org\"}, \"user_data\": \"#!/bin/bash\\nMETADATA=`curl -s http://169.254.169.254/openstack/2012-08-10/meta_data.json`\\napt-get -y install jq\\n\\nget_metadata () {\\n echo $METADATA | jq -r \\\".meta.$1\\\"\\n}\\n\\n# Create configuration files\\nmkdir /opt/config\\necho \\\"$(get_metadata oam_ipaddr)\\\" > /opt/config/oam_ipaddr.txt\\necho \\\"$(get_metadata oam_cidr)\\\" > /opt/config/oam_cidr.txt\\necho \\\"$(get_metadata cpe_public_net_cidr)\\\" > /opt/config/cpe_public_net_cidr.txt\\necho \\\"$(get_metadata mux_gw_private_net_ipaddr)\\\" > /opt/config/mux_gw_private_net_ipaddr.txt\\necho \\\"$(get_metadata mux_gw_private_net_cidr)\\\" > /opt/config/mux_gw_private_net_cidr.txt\\necho \\\"$(get_metadata install_script_version)\\\" > /opt/config/install_script_version.txt\\necho \\\"$(get_metadata cloud_env)\\\" > /opt/config/cloud_env.txt\\necho \\\"$(get_metadata mux_ip_addr)\\\" > /opt/config/mux_ip_addr.txt\\necho \\\"$(get_metadata vg_vgmux_tunnel_vni)\\\" > /opt/config/vg_vgmux_tunnel_vni.txt\\necho \\\"$(get_metadata nexus_artifact_repo)\\\" > /opt/config/nexus_artifact_repo.txt\\n\\n# Download and run install script\\napt-get -y install unzip\\nINSTALL_SCRIPT_VERSION=$(get_metadata install_script_version)\\nNEXUS_ARTIFACT_REPO=$(get_metadata nexus_artifact_repo)\\nif [[ \\\"${INSTALL_SCRIPT_VERSION}\\\" =~ \\\"SNAPSHOT\\\" ]]; then REPO=snapshots; else REPO=releases; fi\\ncurl -k -L \\\"${NEXUS_ARTIFACT_REPO}/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vcpe&a=vcpe-scripts&e=zip&v=${INSTALL_SCRIPT_VERSION}\\\" -o /opt/vcpe-scripts-${INSTALL_SCRIPT_VERSION}.zip\\nunzip -j /opt/vcpe-scripts-${INSTALL_SCRIPT_VERSION}.zip -d /opt v_gw_install.sh\\ncd /opt\\nchmod +x v_gw_install.sh\\n./v_gw_install.sh\\n\"}, \"dependencies\": [], \"virtual_compute\": {\"virtual_cpu\": {\"num_virtual_cpu\": 2, \"cpu_architecture\": \"generic\"}, \"virtual_memory\": {\"virtual_mem_size\": \"4096 MB\", \"vdu_mem_requirements\": {\"memoryPageSize\": \"{\\\"schemaVersion\\\": \\\"0\\\", \\\"schemaSelector\\\": \\\"\\\", \\\"hardwarePlatform\\\": \\\"generic\\\", \\\"mandatory\\\": \\\"true\\\", \\\"configurationValue\\\": \\\"2 MB\\\"}\", \"numberOfPages\": \"{\\\"schemaVersion\\\": \\\"0\\\",\\\"schemaSelector\\\": \\\"\\\",\\\"hardwarePlatform\\\": \\\"generic\\\",\\\"mandatory\\\": \\\"true\\\", \\\"configurationValue\\\": \\\"1024\\\"}\"}}, \"virtual_storages\": [{\"size_of_storage\": \"40 GB\"}]}, \"vls\": [\"VL_mux_gw_private_net\", \"VL_cpe_public\"], \"cps\": [\"Cp_vgw_public\", \"Cp_vgw_onap_private\", \"Cp_vgw_mux_gw_private_net\", \"Cp_vgw_cpe_public\"], \"artifacts\": [{\"artifact_name\": \"sw_image\", \"file\": \"../Artifacts/Deployment/OTHER/image\", \"type\": \"tosca.artifacts.nfv.SwImage\"}]}], \"vls\": [{\"vl_id\": \"VL_mux_gw_private_net\", \"description\": \"\", \"properties\": {\"connectivity_type\": {\"layer_protocols\": [\"ipv4\"], \"layer_protocol\": \"ipv4\"}, \"vl_profile\": {\"max_bitrate_requirements\": {\"root\": 10000000, \"leaf\": 10000000}, \"min_bitrate_requirements\": {\"root\": 10000000, \"leaf\": 10000000}, \"virtual_link_protocol_data\": [{\"associated_layer_protocol\": \"ipv4\", \"l3_protocol_data\": {\"name\": \"zdfw1muxgw01_private\", \"ip_version\": \"ipv4\", \"cidr\": \"10.5.0.0/24\", \"dhcp_enabled\": false}}], \"max_bit_rate_requirements\": {\"root\": 10000000, \"leaf\": 10000000}, \"min_bit_rate_requirements\": {\"root\": 10000000, \"leaf\": 10000000}, \"associated_layer_protocol\": \"ipv4\", \"networkName\": \"zdfw1muxgw01_private\", \"cidr\": \"10.5.0.0/24\", \"dhcpEnabled\": false, \"ip_version\": \"ipv4\"}}}, {\"vl_id\": \"VL_cpe_public\", \"description\": \"\", \"properties\": {\"connectivity_type\": {\"layer_protocols\": [\"ipv4\"], \"layer_protocol\": \"ipv4\"}, \"vl_profile\": {\"max_bitrate_requirements\": {\"root\": 10000000, \"leaf\": 10000000}, \"min_bitrate_requirements\": {\"root\": 10000000, \"leaf\": 10000000}, \"virtual_link_protocol_data\": [{\"associated_layer_protocol\": \"ipv4\", \"l3_protocol_data\": {\"name\": \"zdfw1cpe01_public\", \"ip_version\": \"ipv4\", \"cidr\": \"10.2.0.0/24\", \"dhcp_enabled\": false}}], \"max_bit_rate_requirements\": {\"root\": 10000000, \"leaf\": 10000000}, \"min_bit_rate_requirements\": {\"root\": 10000000, \"leaf\": 10000000}, \"associated_layer_protocol\": \"ipv4\", \"networkName\": \"zdfw1cpe01_public\", \"cidr\": \"10.2.0.0/24\", \"dhcpEnabled\": false, \"ip_version\": \"ipv4\"}}}], \"cps\": [{\"cp_id\": \"Cp_vgw_public\", \"cpd_id\": \"Cp_vgw_public\", \"description\": \"\", \"properties\": {\"trunk_mode\": \"false\", \"layer_protocol\": [\"ipv4\"], \"protocol_data\": [{\"associated_layer_protocol\": \"ipv4\", \"address_data\": {\"address_type\": \"ip_address\", \"l3_address_data\": {\"ip_address_assignment\": false, \"floating_ip_activated\": false}}, \"asscociated_layer_protocol\": \"ipv4\"}]}, \"vl_id\": \"\", \"vdu_id\": \"VDU_vgw_0\"}, {\"cp_id\": \"Cp_vgw_onap_private\", \"cpd_id\": \"Cp_vgw_onap_private\", \"description\": \"\", \"properties\": {\"trunk_mode\": \"false\", \"layer_protocol\": [\"ipv4\"], \"protocol_data\": [{\"associated_layer_protocol\": \"ipv4\", \"address_data\": {\"address_type\": \"ip_address\", \"l3_address_data\": {\"ip_address_assignment\": false, \"floating_ip_activated\": false, \"fixed_ip_address\": [\"10.0.101.30\"]}}, \"asscociated_layer_protocol\": \"ipv4\"}]}, \"vl_id\": \"\", \"vdu_id\": \"VDU_vgw_0\"}, {\"cp_id\": \"Cp_vgw_mux_gw_private_net\", \"cpd_id\": \"Cp_vgw_mux_gw_private_net\", \"description\": \"\", \"properties\": {\"trunk_mode\": \"false\", \"layer_protocol\": [\"ipv4\"], \"virtual_network_interface_requirements\": [{\"name\": \"dpdk support\", \"support_mandatory\": true, \"network_interface_requirements\": {\"dataProcessingAccelerationLibrary\": \"{\\\"schemaVersion\\\": \\\"0\\\", \\\"schemaSelector\\\": \\\"\\\", \\\"hardwarePlatform\\\": \\\"generic\\\", \\\"mandatory\\\": \\\"true\\\", \\\"configurationValue\\\": \\\"DPDK\\\"}\"}}], \"protocol_data\": [{\"associated_layer_protocol\": \"ipv4\", \"address_data\": {\"address_type\": \"ip_address\", \"l3_address_data\": {\"ip_address_assignment\": false, \"floating_ip_activated\": false, \"fixed_ip_address\": [\"10.5.0.21\"]}}, \"asscociated_layer_protocol\": \"ipv4\"}]}, \"vl_id\": \"VL_mux_gw_private_net\", \"vdu_id\": \"VDU_vgw_0\"}, {\"cp_id\": \"Cp_vgw_cpe_public\", \"cpd_id\": \"Cp_vgw_cpe_public\", \"description\": \"\", \"properties\": {\"trunk_mode\": \"false\", \"layer_protocol\": [\"ipv4\"], \"protocol_data\": [{\"associated_layer_protocol\": \"ipv4\", \"address_data\": {\"address_type\": \"ip_address\", \"l3_address_data\": {\"ip_address_assignment\": false, \"floating_ip_activated\": false, \"fixed_ip_address\": [\"10.2.0.3\"]}}, \"asscociated_layer_protocol\": \"ipv4\"}]}, \"vl_id\": \"VL_cpe_public\", \"vdu_id\": \"VDU_vgw_0\"}], \"vnf_exposed\": {\"external_cps\": [], \"forward_cps\": []}, \"graph\": {\"LLU_VNF\": [], \"VL_mux_gw_private_net\": [\"Cp_vgw_mux_gw_private_net\"], \"VL_cpe_public\": [\"Cp_vgw_cpe_public\"], \"Cp_vgw_public\": [], \"VDU_vgw_0\": [\"Cp_vgw_public\", \"Cp_vgw_cpe_public\", \"Cp_vgw_onap_private\", \"Cp_vgw_mux_gw_private_net\"], \"Cp_vgw_onap_private\": [], \"Cp_vgw_mux_gw_private_net\": [], \"Cp_vgw_cpe_public\": []}}", "downloadUrl": "http://127.0.0.1:8806/static/catalog/1e4871bc-2c69-4932-b36a-daa6d6f34d85/vgw.csar" }, "imageInfo": [] }, { "csarId": "d522cbb8-1f5a-4f20-b66e-bb5932fcadd3", "packageInfo": { "vnfdId": "{'type': 'string'}", "vnfPackageId": "d522cbb8-1f5a-4f20-b66e-bb5932fcadd3", "vnfdProvider": "{'type': 'string'}", "vnfdVersion": "{'type': 'string'}", "vnfVersion": "{'type': 'string'}", "csarName": "vnf-vsn.csar", "vnfdModel": "{\"vnf\": {\"properties\": {\"descriptor_id\": {\"type\": \"string\"}, \"provider\": {\"type\": \"string\"}, \"product_name\": {\"type\": \"string\"}, \"software_version\": {\"type\": \"string\"}, \"descriptor_version\": {\"type\": \"string\"}, \"flavour_id\": {\"type\": \"string\"}, \"flavour_description\": {\"type\": \"string\"}, \"vnfm_info\": {\"type\": \"list\", \"entry_schema\": {\"type\": \"string\"}}, \"product_info_name\": {\"type\": \"string\", \"required\": false}, \"product_info_description\": {\"type\": \"string\", \"required\": false}, \"localization_languages\": {\"type\": \"list\", \"entry_schema\": {\"type\": \"string\"}, \"required\": false}, \"default_localization_language\": {\"type\": \"string\", \"required\": false}, \"configurable_properties\": {\"type\": \"tosca.datatypes.nfv.VnfConfigurableProperties\", \"required\": false}, \"modifiable_attributes\": {\"type\": \"tosca.datatypes.nfv.VnfInfoModifiableAttributes\", \"required\": false}, \"template_name\": \"vsn\"}, \"requirements\": {}, \"capabilities\": {}, \"metadata\": {\"template_name\": \"vsn\", \"template_version\": \"1.0\", \"template_author\": \"onap\"}, \"type\": \"tosca.nodes.nfv.VNF\"}, \"description\": \"vsn\", \"metadata\": {\"template_name\": \"vsn\", \"template_version\": \"1.0\", \"template_author\": \"onap\"}, \"inputs\": {\"vsn1_vsn2_private_net_id\": {\"type\": \"string\", \"description\": \"Private network that connects vsn1 to vsn2\", \"default\": \"intelvsn1vsn201_private\"}, \"vsn1_vsn2_private_net_cidr\": {\"type\": \"string\", \"description\": \"The CIDR of the vsn2 private network\", \"default\": \"10.5.0.0/24\"}, \"vsn1_vsn2_common_private_net_id\": {\"type\": \"string\", \"description\": \"Private ywh network common that connects vsn1 to vsn2\", \"default\": \"intelvsn1vsn202_private\"}, \"vsn1_vsn2_common_private_net_cidr\": {\"type\": \"string\", \"description\": \"The CIDR of the vsn2 commonn private network\", \"default\": \"10.3.0.0/24\"}, \"vsn1_name_0\": {\"type\": \"string\", \"description\": \"Name of the vsn1\", \"default\": \"intelvsn1\"}, \"vsn2_name_0\": {\"type\": \"string\", \"description\": \"Name of the vsn2\", \"default\": \"intelvsn2\"}, \"vsn1_ip_addr\": {\"type\": \"string\", \"description\": \"IP address of vsn1\", \"default\": \"10.5.0.21\"}, \"vsn2_ip_addr\": {\"type\": \"string\", \"description\": \"IP address of vsn2\", \"default\": \"10.5.0.22\"}, \"vsn1_common_ip_addr\": {\"type\": \"string\", \"description\": \"IP address of vsn1 common\", \"default\": \"10.3.0.21\"}, \"vsn2_common_ip_addr\": {\"type\": \"string\", \"description\": \"IP address of vsn2 common\", \"default\": \"10.3.0.22\"}, \"vnf_id\": {\"type\": \"string\", \"description\": \"The VNF ID is provided by ONAP\", \"default\": \"vsn_demo_app\"}, \"vf_module_id\": {\"type\": \"string\", \"description\": \"The vsn ID is provided by ONAP\", \"default\": \"Customer_vsn\"}, \"install_script_version\": {\"type\": \"string\", \"description\": \"install script version number\", \"default\": \"1.2.0-SNAPSHOT\"}, \"nexus_artifact_repo\": {\"type\": \"string\", \"description\": \"Root URL for the Nexus repository for Maven artifacts\", \"default\": \"https://nexus.onap.org\"}}, \"basepath\": \"C:\\\\Users\\\\cmcc\\\\AppData\\\\Local\\\\Temp\\\\tmpmorb0yb2\\\\Definitions\", \"volume_storages\": [{\"volume_storage_id\": \"VirtualStorage_root_all\", \"description\": \"\", \"properties\": {\"type_of_storage\": \"root\", \"size_of_storage\": \"\\\"40 GB\\\"\"}}], \"vdus\": [{\"vdu_id\": \"VDU_vsn1_0\", \"type\": \"tosca.nodes.nfv.Vdu.Compute\", \"description\": \"\", \"properties\": {\"name\": \"intelvsn1\", \"description\": \"vsn1\", \"configurable_properties\": {\"additional_vnfc_configurable_properties\": {}}, \"vdu_profile\": {\"min_number_of_instances\": 1, \"max_number_of_instances\": 1, \"watchdog\": \"none\"}, \"inject_files\": {\"source_path\": \"../Artifacts/keys/authorized_keys\", \"dest_path\": \"/home/ubuntu/.ssh/authorized_keys\", \"source_data_base64\": \"c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFER3g2U0tyQXVDejFWOEtHZXZadWVrc0xkV29QV0pQNnozcjI5WjdUbVBWRU9qTSs3UElQZVNzMkJWUngzcm5IWkJBbGFzTXJaK2ZKQlMyNXRzOXZmQytJdGV6UWFoL2hyOXZya213eENSNTRMYjg0cG9XK3NUb1BlRjZpNWVaWTdXK2pXSmZMYUZTRng5ZDJ2cDR6ZXMvZk9sVDNOdllDWGJuLzNRZHJ5UW9HbDdWRkk4b2VtWnlwVmNpa1pYRWxKZWVLZ0FWZFN3bnJ6dXF0Ty90bWJYY0FlU2JZdlZqa2k4eXdZY3NXTVZNWVdVV2hoKzFCQUI2a1huVHNJV3F6cnEwUGZ2eSs4MVdEd3RpcXNxbWQ5M0hZOGhFMHNjQnJYRkJaelFTL0FZZklGQmxFdUZOZExjemNobnRqYlowbjdkbURYazh6SHRDWllOazdrd2I4ay8K\"}, \"meta_data\": {\"vsn1_ip_addr\": \"10.5.0.21\"}, \"user_data\": \"#!/bin/bash\\nmkdir /opt/config\\necho \\\"$(get_metadata vsn1_ip_addr)\\\" > /opt/config/vsn1_ip_addr.txt\\n\"}, \"virtual_storages\": [{\"virtual_storage_id\": \"VirtualStorage_root_all\"}], \"dependencies\": [], \"virtual_compute\": {\"virtual_memory\": {\"virtual_mem_size\": \"4096 MB\", \"vdu_memory_requirements\": {\"memoryPageSize\": \"{\\\"schemaVersion\\\": \\\"0\\\", \\\"schemaSelector\\\": \\\"\\\", \\\"hardwarePlatform\\\": \\\"generic\\\", \\\"mandatory\\\": \\\"true\\\", \\\"configurationValue\\\": \\\"2 MB\\\"}\", \"numberOfPages\": \"{\\\"schemaVersion\\\": \\\"0\\\", \\\"schemaSelector\\\": \\\"\\\", \\\"hardwarePlatform\\\": \\\"generic\\\", \\\"mandatory\\\": \\\"true\\\", \\\"configurationValue\\\": \\\"1024\\\"}\"}}, \"virtual_cpu\": {\"num_virtual_cpu\": 2, \"cpu_architecture\": \"generic\"}}, \"vls\": [\"VL_vsn1_vsn2_private_net\", \"VL_vsn1_vsn2_common_private_net\"], \"cps\": [\"Cp_vsn1_vsn2_private_net\", \"Cp_vsn1_vsn2_common_private_net\"], \"artifacts\": [{\"artifact_name\": \"sw_image\", \"file\": \"../Artifacts/images/ubuntu_16.04\", \"type\": \"tosca.artifacts.nfv.SwImage\"}]}, {\"vdu_id\": \"VDU_vsn2_0\", \"type\": \"tosca.nodes.nfv.Vdu.Compute\", \"description\": \"\", \"properties\": {\"name\": \"intelvsn2\", \"description\": \"vsn2\", \"configurable_properties\": {\"additional_vnfc_configurable_properties\": {}}, \"vdu_profile\": {\"min_number_of_instances\": 1, \"max_number_of_instances\": 1, \"watchdog\": \"none\"}, \"inject_files\": {\"source_path\": \"../Artifacts/keys/authorized_keys\", \"dest_path\": \"/home/ubuntu/.ssh/authorized_keys\", \"source_data_base64\": \"c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFER3g2U0tyQXVDejFWOEtHZXZadWVrc0xkV29QV0pQNnozcjI5WjdUbVBWRU9qTSs3UElQZVNzMkJWUngzcm5IWkJBbGFzTXJaK2ZKQlMyNXRzOXZmQytJdGV6UWFoL2hyOXZya213eENSNTRMYjg0cG9XK3NUb1BlRjZpNWVaWTdXK2pXSmZMYUZTRng5ZDJ2cDR6ZXMvZk9sVDNOdllDWGJuLzNRZHJ5UW9HbDdWRkk4b2VtWnlwVmNpa1pYRWxKZWVLZ0FWZFN3bnJ6dXF0Ty90bWJYY0FlU2JZdlZqa2k4eXdZY3NXTVZNWVdVV2hoKzFCQUI2a1huVHNJV3F6cnEwUGZ2eSs4MVdEd3RpcXNxbWQ5M0hZOGhFMHNjQnJYRkJaelFTL0FZZklGQmxFdUZOZExjemNobnRqYlowbjdkbURYazh6SHRDWllOazdrd2I4ay8K\"}, \"meta_data\": {\"vsn2_ip_addr\": \"10.5.0.22\"}, \"user_data\": \"#!/bin/bash\\nMETADATA=`curl -s http://169.254.169.254/openstack/2012-08-10/meta_data.json`\\napt-get update\\napt-get -y install jq\\n\\nget_metadata () {\\n echo $METADATA | jq -r \\\".meta.$1\\\"\\n}\\nmkdir /opt/config\\necho \\\"$(get_metadata vsn2_ip_addr)\\\" > /opt/config/vsn2_ip_addr.txt\\necho \\\"$(get_metadata install_script_version)\\\" > /opt/config/install_script_version.txt\\necho \\\"$(get_metadata nexus_artifact_repo)\\\" > /opt/config/nexus_artifact_repo.txt\\n# Download and run install script\\napt-get -y install unzip\\nINSTALL_SCRIPT_VERSION=$(get_metadata install_script_version)\\nNEXUS_ARTIFACT_REPO=$(get_metadata nexus_artifact_repo)\\nif [[ \\\"${INSTALL_SCRIPT_VERSION}\\\" =~ \\\"SNAPSHOT\\\" ]]; then REPO=snapshots; else REPO=releases; fi\\ncurl -k -L \\\"${NEXUS_ARTIFACT_REPO}/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vcpe&a=vcpe-scripts&e=zip&v=${INSTALL_SCRIPT_VERSION}\\\" -o /opt/vcpe-scripts-${INSTALL_SCRIPT_VERSION}.zip\\nunzip -j /opt/vcpe-scripts-${INSTALL_SCRIPT_VERSION}.zip -d /opt v_gw_install.sh\\ncd /opt\\nchmod +x v_gw_install.sh\\n./v_gw_install.sh\\n\"}, \"virtual_storages\": [{\"virtual_storage_id\": \"VirtualStorage_root_all\"}], \"dependencies\": [], \"virtual_compute\": {\"virtual_memory\": {\"virtual_mem_size\": \"4096 MB\", \"vdu_memory_requirements\": {\"memoryPageSize\": \"{\\\"schemaVersion\\\": \\\"0\\\", \\\"schemaSelector\\\": \\\"\\\", \\\"hardwarePlatform\\\": \\\"generic\\\", \\\"mandatory\\\": \\\"true\\\", \\\"configurationValue\\\": \\\"2 MB\\\"}\", \"numberOfPages\": \"{\\\"schemaVersion\\\": \\\"0\\\", \\\"schemaSelector\\\": \\\"\\\", \\\"hardwarePlatform\\\": \\\"generic\\\", \\\"mandatory\\\": \\\"true\\\", \\\"configurationValue\\\": \\\"1024\\\"}\"}}, \"virtual_cpu\": {\"num_virtual_cpu\": 2, \"cpu_architecture\": \"generic\"}}, \"vls\": [\"VL_vsn1_vsn2_private_net\", \"VL_vsn1_vsn2_common_private_net\"], \"cps\": [\"Cp_vsn2_vsn1_private_net\", \"Cp_vsn2_vsn1_common_private_net\"], \"artifacts\": [{\"artifact_name\": \"sw_image\", \"file\": \"../Artifacts/images/ubuntu_16.04\", \"type\": \"tosca.artifacts.nfv.SwImage\"}]}], \"vls\": [{\"vl_id\": \"VL_vsn1_vsn2_private_net\", \"description\": \"\", \"properties\": {\"connectivity_type\": {\"layer_protocol\": \"ipv4\"}, \"vl_profile\": {\"max_bit_rate_requirements\": {\"root\": 10000000, \"leaf\": 10000000}, \"min_bit_rate_requirements\": {\"root\": 10000000, \"leaf\": 10000000}, \"networkName\": \"intelvsn1vsn201_private\", \"cidr\": \"10.5.0.0/24\", \"dhcpEnabled\": true, \"physicalNetwork\": \"lsw-05-sriov-1\", \"networkType\": \"vlan\"}}}, {\"vl_id\": \"VL_vsn1_vsn2_common_private_net\", \"description\": \"\", \"properties\": {\"connectivity_type\": {\"layer_protocol\": \"ipv4\"}, \"vl_profile\": {\"max_bit_rate_requirements\": {\"root\": 10000000, \"leaf\": 10000000}, \"min_bit_rate_requirements\": {\"root\": 10000000, \"leaf\": 10000000}, \"networkName\": \"intelvsn1vsn202_private\", \"cidr\": \"10.3.0.0/24\", \"dhcpEnabled\": true}}}], \"cps\": [{\"cp_id\": \"Cp_vsn1_vsn2_private_net\", \"cpd_id\": \"Cp_vsn1_vsn2_private_net\", \"description\": \"\", \"properties\": {\"layer_protocol\": [\"ipv4\"], \"trunk_mode\": \"false\", \"protocol_data\": [{\"asscociated_layer_protocol\": \"ipv4\", \"address_data\": {\"address_type\": \"ip_address\", \"l3_address_data\": {\"ip_address_assignment\": false, \"floating_ip_activated\": false, \"fixed_ip_address\": [\"10.5.0.21\"]}}}], \"vnic_type\": \"direct\", \"virtual_network_interface_requirements\": [{\"name\": \"sriov-support\", \"support_mandatory\": true, \"network_interface_requirements\": {\"interfaceType\": \"{\\\"schemaVersion\\\": \\\"0\\\", \\\"schemaSelector\\\": \\\"\\\", \\\"hardwarePlatform\\\": \\\"generic\\\", \\\"mandatory\\\": \\\"true\\\", \\\"configurationValue\\\": \\\"SR-IOV\\\"}\"}, \"nic_io_requirements\": {\"logical_node_requirements\": {\"pciVendorId\": \"{\\\"schemaVersion\\\": \\\"0\\\", \\\"schemaSelector\\\": \\\"\\\", \\\"hardwarePlatform\\\": \\\"generic\\\", \\\"mandatory\\\": \\\"true\\\", \\\"configurationValue\\\": \\\"1234\\\"}\", \"pciDeviceId\": \"{\\\"schemaVersion\\\": \\\"0\\\", \\\"schemaSelector\\\": \\\"\\\", \\\"hardwarePlatform\\\": \\\"generic\\\", \\\"mandatory\\\": \\\"true\\\", \\\"configurationValue\\\": \\\"5678\\\"}\", \"pciNumDevices\": \"{\\\"schemaVersion\\\": \\\"0\\\", \\\"schemaSelector\\\": \\\"\\\", \\\"hardwarePlatform\\\": \\\"generic\\\", \\\"mandatory\\\": \\\"true\\\", \\\"configurationValue\\\": \\\"1\\\"}\"}}}]}, \"vl_id\": \"VL_vsn1_vsn2_private_net\", \"vdu_id\": \"VDU_vsn1_0\"}, {\"cp_id\": \"Cp_vsn1_vsn2_common_private_net\", \"cpd_id\": \"Cp_vsn1_vsn2_common_private_net\", \"description\": \"\", \"properties\": {\"layer_protocol\": [\"ipv4\"], \"trunk_mode\": \"false\", \"protocol_data\": [{\"asscociated_layer_protocol\": \"ipv4\", \"address_data\": {\"address_type\": \"ip_address\", \"l3_address_data\": {\"ip_address_assignment\": false, \"floating_ip_activated\": false, \"fixed_ip_address\": [\"10.3.0.21\"]}}}]}, \"vl_id\": \"VL_vsn1_vsn2_common_private_net\", \"vdu_id\": \"VDU_vsn1_0\"}, {\"cp_id\": \"Cp_vsn2_vsn1_private_net\", \"cpd_id\": \"Cp_vsn2_vsn1_private_net\", \"description\": \"\", \"properties\": {\"layer_protocol\": [\"ipv4\"], \"trunk_mode\": \"false\", \"protocol_data\": [{\"asscociated_layer_protocol\": \"ipv4\", \"address_data\": {\"address_type\": \"ip_address\", \"l3_address_data\": {\"ip_address_assignment\": false, \"floating_ip_activated\": false, \"fixed_ip_address\": [\"10.5.0.22\"]}}}], \"vnic_type\": \"direct\", \"virtual_network_interface_requirements\": [{\"name\": \"sriov-support\", \"support_mandatory\": true, \"network_interface_requirements\": {\"interfaceType\": \"{\\\"schemaVersion\\\": \\\"0\\\", \\\"schemaSelector\\\": \\\"\\\", \\\"hardwarePlatform\\\": \\\"generic\\\", \\\"mandatory\\\": \\\"true\\\", \\\"configurationValue\\\": \\\"SR-IOV\\\"}\"}, \"nic_io_requirements\": {\"logical_node_requirements\": {\"pciVendorId\": \"{\\\"schemaVersion\\\": \\\"0\\\", \\\"schemaSelector\\\": \\\"\\\", \\\"hardwarePlatform\\\": \\\"generic\\\", \\\"mandatory\\\": \\\"true\\\", \\\"configurationValue\\\": \\\"1234\\\"}\", \"pciDeviceId\": \"{\\\"schemaVersion\\\": \\\"0\\\", \\\"schemaSelector\\\": \\\"\\\", \\\"hardwarePlatform\\\": \\\"generic\\\", \\\"mandatory\\\": \\\"true\\\", \\\"configurationValue\\\": \\\"5678\\\"}\", \"pciNumDevices\": \"{\\\"schemaVersion\\\": \\\"0\\\", \\\"schemaSelector\\\": \\\"\\\", \\\"hardwarePlatform\\\": \\\"generic\\\", \\\"mandatory\\\": \\\"true\\\", \\\"configurationValue\\\": \\\"1\\\"}\"}}}]}, \"vl_id\": \"VL_vsn1_vsn2_private_net\", \"vdu_id\": \"VDU_vsn2_0\"}, {\"cp_id\": \"Cp_vsn2_vsn1_common_private_net\", \"cpd_id\": \"Cp_vsn2_vsn1_common_private_net\", \"description\": \"\", \"properties\": {\"layer_protocol\": [\"ipv4\"], \"trunk_mode\": \"false\", \"protocol_data\": [{\"asscociated_layer_protocol\": \"ipv4\", \"address_data\": {\"address_type\": \"ip_address\", \"l3_address_data\": {\"ip_address_assignment\": false, \"floating_ip_activated\": false, \"fixed_ip_address\": [\"10.3.0.22\"]}}}]}, \"vl_id\": \"VL_vsn1_vsn2_common_private_net\", \"vdu_id\": \"VDU_vsn2_0\"}], \"vnf_exposed\": {\"external_cps\": [], \"forward_cps\": []}, \"graph\": {\"VL_vsn1_vsn2_private_net\": [\"Cp_vsn1_vsn2_private_net\", \"Cp_vsn2_vsn1_private_net\"], \"VL_vsn1_vsn2_common_private_net\": [\"Cp_vsn2_vsn1_common_private_net\", \"Cp_vsn1_vsn2_common_private_net\"], \"Cp_vsn1_vsn2_private_net\": [], \"VDU_vsn1_0\": [\"Cp_vsn1_vsn2_common_private_net\", \"Cp_vsn1_vsn2_private_net\"], \"Cp_vsn1_vsn2_common_private_net\": [], \"Cp_vsn2_vsn1_private_net\": [], \"VDU_vsn2_0\": [\"Cp_vsn2_vsn1_common_private_net\", \"Cp_vsn2_vsn1_private_net\"], \"Cp_vsn2_vsn1_common_private_net\": [], \"VirtualStorage_root_all\": [\"VDU_vsn1_0\", \"VDU_vsn2_0\"]}}", "downloadUrl": "http://127.0.0.1:8806/static/catalog/d522cbb8-1f5a-4f20-b66e-bb5932fcadd3/vnf-vsn.csar" }, "imageInfo": [] } ]