diff options
author | 2019-06-04 14:36:28 +0800 | |
---|---|---|
committer | 2019-06-06 11:28:21 +0800 | |
commit | 3657ff330adc9580e1e01470d02a7d660d43701e (patch) | |
tree | a2573234df675b6f78f5fd06097185b5a336468f /products/onap-dublin/features/vfc/src/main/resources/open-cli-sample/catalog/vfc-catalog-get-vnf-schema-moco.json | |
parent | 3b737178f4c3f41579eb0663f53202251df60c93 (diff) |
Add ns termination
Issue-ID: CLI-149
Change-Id: Ie82c7392570754ef30d4a234d63ffb2faf90a037
Signed-off-by: Haibin Huang <haibin.huang@intel.com>
Diffstat (limited to 'products/onap-dublin/features/vfc/src/main/resources/open-cli-sample/catalog/vfc-catalog-get-vnf-schema-moco.json')
-rw-r--r-- | products/onap-dublin/features/vfc/src/main/resources/open-cli-sample/catalog/vfc-catalog-get-vnf-schema-moco.json | 124 |
1 files changed, 114 insertions, 10 deletions
diff --git a/products/onap-dublin/features/vfc/src/main/resources/open-cli-sample/catalog/vfc-catalog-get-vnf-schema-moco.json b/products/onap-dublin/features/vfc/src/main/resources/open-cli-sample/catalog/vfc-catalog-get-vnf-schema-moco.json index fa1cc5dd..43e2fb7e 100644 --- a/products/onap-dublin/features/vfc/src/main/resources/open-cli-sample/catalog/vfc-catalog-get-vnf-schema-moco.json +++ b/products/onap-dublin/features/vfc/src/main/resources/open-cli-sample/catalog/vfc-catalog-get-vnf-schema-moco.json @@ -1,7 +1,7 @@ [ { "request" : { "method" : "get", - "uri" : "/api/catalog/v1/vnfpackages/af59a474-6391-4500-989c-f78df18d77f0", + "uri" : "/api/catalog/v1/vnfpackages", "headers" : { "Accept" : "application/json", "Content-Type" : "application/json" @@ -10,19 +10,123 @@ }, "response" : { "status" : 200, - "json" : { - "csarId" : "af59a474-6391-4500-989c-f78df18d77f0", + "json" : [ { + "csarId" : "09d355fb-83d6-4f91-ba8a-199ef7d24dc7", "packageInfo" : { - "vnfdId" : "0408f076-e6c0-4c82-9940-272fddbb82de", - "vnfPackageId" : "af59a474-6391-4500-989c-f78df18d77f0", + "vnfdId" : null, + "vnfPackageId" : "09d355fb-83d6-4f91-ba8a-199ef7d24dc7", + "vnfdProvider" : null, + "vnfdVersion" : null, + "vnfVersion" : null, + "csarName" : null, + "vnfdModel" : null, + "downloadUrl" : "http://10.42.3.30:8806/static/catalog/09d355fb-83d6-4f91-ba8a-199ef7d24dc7/None" + }, + "imageInfo" : [ ] + }, { + "csarId" : "24d97292-0845-49ed-9d9d-2ffa927c783f", + "packageInfo" : { + "vnfdId" : null, + "vnfPackageId" : "24d97292-0845-49ed-9d9d-2ffa927c783f", + "vnfdProvider" : null, + "vnfdVersion" : null, + "vnfVersion" : null, + "csarName" : null, + "vnfdModel" : null, + "downloadUrl" : "http://10.42.3.30:8806/static/catalog/24d97292-0845-49ed-9d9d-2ffa927c783f/None" + }, + "imageInfo" : [ ] + }, { + "csarId" : "6eb437ba-e295-4139-bac9-6bf857fd5629", + "packageInfo" : { + "vnfdId" : null, + "vnfPackageId" : "6eb437ba-e295-4139-bac9-6bf857fd5629", + "vnfdProvider" : null, + "vnfdVersion" : null, + "vnfVersion" : null, + "csarName" : null, + "vnfdModel" : null, + "downloadUrl" : "http://10.42.3.30:8806/static/catalog/6eb437ba-e295-4139-bac9-6bf857fd5629/None" + }, + "imageInfo" : [ ] + }, { + "csarId" : "7e9385be-497a-4707-a530-1274df12eb9b", + "packageInfo" : { + "vnfdId" : null, + "vnfPackageId" : "7e9385be-497a-4707-a530-1274df12eb9b", + "vnfdProvider" : null, + "vnfdVersion" : null, + "vnfVersion" : null, + "csarName" : null, + "vnfdModel" : null, + "downloadUrl" : "http://10.42.3.30:8806/static/catalog/7e9385be-497a-4707-a530-1274df12eb9b/None" + }, + "imageInfo" : [ ] + }, { + "csarId" : "905e4a2f-5f24-4253-aa76-b293a7c2e52f", + "packageInfo" : { + "vnfdId" : null, + "vnfPackageId" : "905e4a2f-5f24-4253-aa76-b293a7c2e52f", + "vnfdProvider" : null, + "vnfdVersion" : null, + "vnfVersion" : null, + "csarName" : null, + "vnfdModel" : null, + "downloadUrl" : "http://10.42.3.30:8806/static/catalog/905e4a2f-5f24-4253-aa76-b293a7c2e52f/None" + }, + "imageInfo" : [ ] + }, { + "csarId" : "965cb252-788f-4e24-ba92-089866d47d37", + "packageInfo" : { + "vnfdId" : null, + "vnfPackageId" : "965cb252-788f-4e24-ba92-089866d47d37", + "vnfdProvider" : null, + "vnfdVersion" : null, + "vnfVersion" : null, + "csarName" : null, + "vnfdModel" : null, + "downloadUrl" : "http://10.42.3.30:8806/static/catalog/965cb252-788f-4e24-ba92-089866d47d37/None" + }, + "imageInfo" : [ ] + }, { + "csarId" : "a8571488-d72d-4d9f-b534-4e7380390175", + "packageInfo" : { + "vnfdId" : "b1bb0ce7-2222-4fa7-95ed-4840d70a1177", + "vnfPackageId" : "a8571488-d72d-4d9f-b534-4e7380390175", "vnfdProvider" : "onap", "vnfdVersion" : "1.0", - "vnfVersion" : "1.0.0", - "csarName" : "tst_vgmux.csar", - "vnfdModel" : "{\"volume_storages\": [{\"properties\": {\"size_of_storage\": \"\\\"40 GB\\\"\", \"type_of_storage\": \"root\"}, \"volume_storage_id\": \"VirtualStorage_root_all\", \"description\": \"\"}], \"vnf\": {\"type\": \"tosca.nodes.nfv.VNF\", \"requirements\": {\"virtual_link\": [\"Cp_vgmux_public\", \"virtual_link\"]}, \"properties\": {\"descriptor_id\": \"0408f076-e6c0-4c82-9940-272fddbb82de\", \"flavour_description\": \"simple\", \"descriptor_verison\": \"1.0\", \"software_version\": \"1.0.0\", \"template_name\": \"vCPE_vgmux\", \"vnfm_info\": [\"gvnfmdriver\"], \"descriptor_version\": \"1.0.0\", \"provider\": \"onap\", \"flavour_id\": \"simple\", \"product_name\": \"vcpe_vgmux\"}, \"capabilities\": {}, \"metadata\": {\"template_name\": \"vCPE_vgmux\", \"template_version\": \"1.0\", \"template_author\": \"onap\"}}, \"vdus\": [{\"description\": \"\", \"virtual_storages\": [{\"virtual_storage_id\": \"VirtualStorage_root_all\"}], \"vdu_id\": \"VDU_vgmux_0\", \"artifacts\": [{\"artifact_name\": \"sw_image\", \"type\": \"tosca.artifacts.nfv.SwImage\", \"file\": \"../Artifacts/Deployment/OTHER/ubuntu_16.04\"}], \"dependencies\": [], \"virtual_compute\": {\"virtual_cpu\": {\"num_virtual_cpu\": 2, \"cpu_architecture\": \"generic\"}, \"virtual_memory\": {\"vdu_memory_requirements\": {\"numberOfPages\": \"{\\\"schemaVersion\\\": \\\"0\\\", \\\"schemaSelector\\\": \\\"\\\", \\\"hardwarePlatform\\\": \\\"generic\\\", \\\"mandatory\\\": \\\"true\\\", \\\"configurationValue\\\": \\\"1024\\\"}\", \"memoryPageSize\": \"{\\\"schemaVersion\\\": \\\"0\\\", \\\"schemaSelector\\\": \\\"\\\", \\\"hardwarePlatform\\\": \\\"generic\\\", \\\"mandatory\\\": \\\"true\\\", \\\"configurationValue\\\": \\\"2 MB\\\"}\"}, \"virtual_mem_size\": \"4096 MB\"}}, \"vls\": [\"VL_bng_gmux_private_net\", \"VL_mux_gw_private_net\"], \"cps\": [\"Cp_vgmux_bng_gmux_private_net\", \"Cp_vgmux_mux_gw_private_net\", \"Cp_vgmux_public\"], \"type\": \"tosca.nodes.nfv.Vdu.Compute\", \"properties\": {\"name\": \"zdcpe1cpe01mux01\", \"inject_files\": {\"source_path\": \"../Artifacts/Deployment/OTHER/authorized_keys\", \"source_data_base64\": \"c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFER3g2U0tyQXVDejFWOEtHZXZa\\ndWVrc0xkV29QV0pQNnozcjI5WjdUbVBWRU9qTSs3UElQZVNzMkJWUngzcm5IWkJBbGFzTXJaK2ZK\\nQlMyNXRzOXZmQytJdGV6UWFoL2hyOXZya213eENSNTRMYjg0cG9XK3NUb1BlRjZpNWVaWTdXK2pX\\nSmZMYUZTRng5ZDJ2cDR6ZXMvZk9sVDNOdllDWGJuLzNRZHJ5UW9HbDdWRkk4b2VtWnlwVmNpa1pY\\nRWxKZWVLZ0FWZFN3bnJ6dXF0Ty90bWJYY0FlU2JZdlZqa2k4eXdZY3NXTVZNWVdVV2hoKzFCQUI2\\na1huVHNJV3F6cnEwUGZ2eSs4MVdEd3RpcXNxbWQ5M0hZOGhFMHNjQnJYRkJaelFTL0FZZklGQmxF\\ndUZOZExjemNobnRqYlowbjdkbURYazh6SHRDWllOazdrd2I4ay8K\\n\", \"dest_path\": \"/home/ubuntu/.ssh/authorized_keys\"}, \"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 mux_to_bng_net_ipaddr)\\\" > /opt/config/mux_to_bng_net_ipaddr.txt\\necho \\\"$(get_metadata oam_ipaddr)\\\" > /opt/config/oam_ipaddr.txt\\necho \\\"$(get_metadata mux_gw_net_ipaddr)\\\" > /opt/config/mux_gw_net_ipaddr.txt\\necho \\\"$(get_metadata bng_to_mux_net_ipaddr)\\\" > /opt/config/bng_to_mux_net_ipaddr.txt\\necho \\\"$(get_metadata bng_mux_net_cidr)\\\" > /opt/config/bng_mux_net_cidr.txt\\necho \\\"$(get_metadata oam_cidr)\\\" > /opt/config/oam_cidr.txt\\necho \\\"$(get_metadata mux_gw_net_cidr)\\\" > /opt/config/mux_gw_net_cidr.txt\\necho \\\"$(get_metadata brg_bng_net_cidr)\\\" > /opt/config/brg_bng_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 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_gmux_install.sh\\ncd /opt\\nchmod +x v_gmux_install.sh\\n./v_gmux_install.sh\\n\", \"configurable_properties\": {\"additional_vnfc_configurable_properties\": {}}, \"meta_data\": {\"vf_module_id\": \"vCPE_Intrastructure_Metro_vGMUX\", \"oam_cidr\": \"10.0.0.0/16\", \"oam_ipaddr\": \"10.0.101.20\", \"bng_to_mux_net_ipaddr\": \"10.1.0.10\", \"bng_mux_net_cidr\": \"10.1.0.0/24\", \"install_script_version\": \"1.2.0-SNAPSHOT\", \"mux_gw_net_cidr\": \"10.5.0.0/24\", \"mux_gw_net_ipaddr\": \"10.5.0.20\", \"cloud_env\": \"openstack\", \"vnf_id\": \"vCPE_Infrastructure_vGMUX_demo_app\", \"brg_bng_net_cidr\": \"10.3.0.0/24\", \"mux_to_bng_net_ipaddr\": \"10.1.0.20\", \"nexus_artifact_repo\": \"https://nexus.onap.org\"}, \"vdu_profile\": {\"max_number_of_instances\": 1, \"watchdog\": \"none\", \"min_number_of_instances\": 1}, \"description\": \"vgmux\"}}], \"description\": \"vCPE_vgmux\", \"inputs\": {\"vf_module_id\": {\"default\": \"vCPE_Intrastructure_Metro_vGMUX\", \"type\": \"string\", \"description\": \"The vCPE Module ID is provided by ONAP\"}, \"install_script_version\": {\"default\": \"1.2.0-SNAPSHOT\", \"type\": \"string\", \"description\": \"install script version number\"}, \"vnf_id\": {\"default\": \"vCPE_Infrastructure_vGMUX_demo_app\", \"type\": \"string\", \"description\": \"The VNF ID is provided by ONAP\"}, \"onap_private_net_id\": {\"type\": \"string\", \"description\": \"onap OAM network id\"}, \"mux_gw_private_net_id\": {\"default\": \"zdfw1muxgw01_private\", \"type\": \"string\", \"description\": \"Private network that connects vGMUX to vGWs\"}, \"vcpe_image_name\": {\"default\": \"ubuntu_16.04\", \"type\": \"string\", \"description\": \"image name for vcpe in openstack glance\"}, \"bng_gmux_private_net_id\": {\"default\": \"zdfw1bngmux01_private\", \"type\": \"string\", \"description\": \"Private network that connects vBNG to vGMUX\"}, \"onap_private_net_cidr\": {\"default\": \"10.0.0.0/16\", \"type\": \"string\", \"description\": \"oanp OAM network cidr\"}, \"vgmux_private_ip_0\": {\"default\": \"10.1.0.20\", \"type\": \"string\", \"description\": \"Private IP address that is assigned to the vGMUX to communicate with the vBNG\"}, \"vgmux_private_ip_1\": {\"default\": \"10.0.101.20\", \"type\": \"string\", \"description\": \"Private IP address that is assigned to the vGMUX to communicate with ONAP components\"}, \"vgmux_private_ip_2\": {\"default\": \"10.5.0.20\", \"type\": \"string\", \"description\": \"Private IP address that is assigned to the vGMUX to communicate with vGWs\"}, \"dcae_collector_port\": {\"default\": 8080, \"type\": \"integer\", \"description\": \"dcae collector port\"}, \"mux_gw_private_net_cidr\": {\"default\": \"10.5.0.0/24\", \"type\": \"string\", \"description\": \"The CIDR of the vGMUX private network\"}, \"vgmux_name_0\": {\"default\": \"zdcpe1cpe01mux01\", \"type\": \"string\", \"description\": \"Name of the vGMUX\"}, \"brgemu_bng_private_net_cidr\": {\"default\": \"10.3.0.0/24\", \"type\": \"string\", \"description\": \"The CIDR of the vBRG-vBNG private network\"}, \"public_net_id\": {\"type\": \"string\", \"description\": \"public network id used during onap installation\"}, \"dcae_collector_ip\": {\"default\": \"10.0.4.102\", \"type\": \"string\", \"description\": \"dcae collector ip\"}, \"cloud_env\": {\"default\": \"openstack\", \"type\": \"string\", \"description\": \"cloud environment(openstack or rackspace)\"}, \"pub_key\": {\"default\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDGx6SKrAuCz1V8KGevZueksLdWoPWJP6z3r29Z7TmPVEOjM+7PIPeSs2BVRx3rnHZBAlasMrZ+fJBS25ts9vfC+ItezQah/hr9vrkmwxCR54Lb84poW+sToPeF6i5eZY7W+jWJfLaFSFx9d2vp4zes/fOlT3NvYCXbn/3QdryQoGl7VFI8oemZypVcikZXElJeeKgAVdSwnrzuqtO/tmbXcAeSbYvVjki8ywYcsWMVMYWUWhh+1BAB6kXnTsIWqzrq0Pfvy+81WDwtiqsqmd93HY8hE0scBrXFBZzQS/AYfIFBlEuFNdLczchntjbZ0n7dmDXk8zHtCZYNk7kwb8k/\", \"type\": \"string\", \"description\": \"ssh public key\"}, \"bng_gmux_private_ip\": {\"default\": \"10.1.0.10\", \"type\": \"string\", \"description\": \"Private IP address that is assigned to the vBNG to communicate with the vGMUX\"}, \"nexus_artifact_repo\": {\"default\": \"https://nexus.onap.org\", \"type\": \"string\", \"description\": \"Root URL for the Nexus repository for Maven artifacts\"}, \"bng_gmux_private_net_cidr\": {\"default\": \"10.1.0.0/24\", \"type\": \"string\", \"description\": \"The CIDR of the vBNG-vGMUX private network\"}}, \"graph\": {\"VL_mux_gw_private_net\": [\"Cp_vgmux_mux_gw_private_net\"], \"Cp_vgmux_mux_gw_private_net\": [], \"Cp_vgmux_bng_gmux_private_net\": [], \"VDU_vgmux_0\": [\"Cp_vgmux_bng_gmux_private_net\", \"Cp_vgmux_mux_gw_private_net\", \"Cp_vgmux_public\"], \"VirtualStorage_root_all\": [\"VDU_vgmux_0\"], \"VL_bng_gmux_private_net\": [\"Cp_vgmux_bng_gmux_private_net\"], \"Cp_vgmux_public\": []}, \"basepath\": \"/tmp/tmp9s9juL/Definitions\", \"vnf_exposed\": {\"external_cps\": [{\"key_name\": \"virtual_link\", \"cpd_id\": \"Cp_vgmux_public\"}], \"forward_cps\": []}, \"vls\": [{\"vl_id\": \"VL_mux_gw_private_net\", \"description\": \"\", \"properties\": {\"connectivity_type\": {\"layer_protocol\": \"ipv4\"}, \"vl_profile\": {\"physicalNetwork\": \"lsw-05-sriov-1\", \"max_bit_rate_requirements\": {\"root\": 10000000, \"leaf\": 10000000}, \"min_bit_rate_requirements\": {\"root\": 10000000, \"leaf\": 10000000}, \"networkType\": \"vlan\", \"cidr\": \"10.5.0.0/24\", \"networkName\": \"zdfw1muxgw01_private\", \"dhcpEnabled\": false}}}, {\"vl_id\": \"VL_bng_gmux_private_net\", \"description\": \"\", \"properties\": {\"connectivity_type\": {\"layer_protocol\": \"ipv4\"}, \"vl_profile\": {\"physicalNetwork\": \"lsw-05-sriov-1\", \"max_bit_rate_requirements\": {\"root\": 10000000, \"leaf\": 10000000}, \"min_bit_rate_requirements\": {\"root\": 10000000, \"leaf\": 10000000}, \"networkType\": \"vlan\", \"cidr\": \"10.1.0.0/24\", \"networkName\": \"zdfw1bngmux01_private\", \"dhcpEnabled\": false}}}], \"cps\": [{\"vl_id\": \"VL_bng_gmux_private_net\", \"description\": \"\", \"vdu_id\": \"VDU_vgmux_0\", \"properties\": {\"vnic_type\": \"direct\", \"virtual_network_interface_requirements\": [{\"network_interface_requirements\": {\"interfaceType\": \"{\\\"schemaVersion\\\": \\\"0\\\", \\\"schemaSelector\\\": \\\"\\\", \\\"hardwarePlatform\\\": \\\"generic\\\", \\\"mandatory\\\": \\\"true\\\", \\\"configurationValue\\\": \\\"SR-IOV\\\"}\"}, \"support_mandatory\": true, \"name\": \"sriov-support\", \"nic_io_requirements\": {\"logical_node_requirements\": {\"pciVendorId\": \"{\\\"schemaVersion\\\": \\\"0\\\", \\\"schemaSelector\\\": \\\"\\\", \\\"hardwarePlatform\\\": \\\"generic\\\", \\\"mandatory\\\": \\\"true\\\", \\\"configurationValue\\\": \\\"1234\\\"}\", \"pciNumDevices\": \"{\\\"schemaVersion\\\": \\\"0\\\", \\\"schemaSelector\\\": \\\"\\\", \\\"hardwarePlatform\\\": \\\"generic\\\", \\\"mandatory\\\": \\\"true\\\", \\\"configurationValue\\\": \\\"1\\\"}\", \"pciDeviceId\": \"{\\\"schemaVersion\\\": \\\"0\\\", \\\"schemaSelector\\\": \\\"\\\", \\\"hardwarePlatform\\\": \\\"generic\\\", \\\"mandatory\\\": \\\"true\\\", \\\"configurationValue\\\": \\\"5678\\\"}\"}}}], \"layer_protocol\": [\"ipv4\"], \"trunk_mode\": \"false\", \"protocol_data\": [{\"asscociated_layer_protocol\": \"ipv4\", \"address_data\": {\"address_type\": \"ip_address\", \"l3_address_data\": {\"floating_ip_activated\": false, \"fixed_ip_address\": [\"10.1.0.20\"], \"ip_address_assignment\": false}}}]}, \"cp_id\": \"Cp_vgmux_bng_gmux_private_net\", \"cpd_id\": \"Cp_vgmux_bng_gmux_private_net\"}, {\"vl_id\": \"VL_mux_gw_private_net\", \"description\": \"\", \"vdu_id\": \"VDU_vgmux_0\", \"properties\": {\"vnic_type\": \"direct\", \"virtual_network_interface_requirements\": [{\"network_interface_requirements\": {\"interfaceType\": \"{\\\"schemaVersion\\\": \\\"0\\\", \\\"schemaSelector\\\": \\\"\\\", \\\"hardwarePlatform\\\": \\\"generic\\\", \\\"mandatory\\\": \\\"true\\\", \\\"configurationValue\\\": \\\"SR-IOV\\\"}\"}, \"support_mandatory\": true, \"name\": \"sriov-support\", \"nic_io_requirements\": {\"logical_node_requirements\": {\"pciVendorId\": \"{\\\"schemaVersion\\\": \\\"0\\\", \\\"schemaSelector\\\": \\\"\\\", \\\"hardwarePlatform\\\": \\\"generic\\\", \\\"mandatory\\\": \\\"true\\\", \\\"configurationValue\\\": \\\"1234\\\"}\", \"pciNumDevices\": \"{\\\"schemaVersion\\\": \\\"0\\\", \\\"schemaSelector\\\": \\\"\\\", \\\"hardwarePlatform\\\": \\\"generic\\\", \\\"mandatory\\\": \\\"true\\\", \\\"configurationValue\\\": \\\"1\\\"}\", \"pciDeviceId\": \"{\\\"schemaVersion\\\": \\\"0\\\", \\\"schemaSelector\\\": \\\"\\\", \\\"hardwarePlatform\\\": \\\"generic\\\", \\\"mandatory\\\": \\\"true\\\", \\\"configurationValue\\\": \\\"5678\\\"}\"}}}], \"layer_protocol\": [\"ipv4\"], \"trunk_mode\": \"false\", \"protocol_data\": [{\"asscociated_layer_protocol\": \"ipv4\", \"address_data\": {\"address_type\": \"ip_address\", \"l3_address_data\": {\"floating_ip_activated\": false, \"fixed_ip_address\": [\"10.5.0.20\"], \"ip_address_assignment\": false}}}]}, \"cp_id\": \"Cp_vgmux_mux_gw_private_net\", \"cpd_id\": \"Cp_vgmux_mux_gw_private_net\"}, {\"vl_id\": \"\", \"description\": \"\", \"vdu_id\": \"VDU_vgmux_0\", \"properties\": {\"layer_protocol\": [\"ipv4\"], \"trunk_mode\": \"false\", \"protocol_data\": [{\"asscociated_layer_protocol\": \"ipv4\", \"address_data\": {\"address_type\": \"ip_address\", \"l3_address_data\": {\"floating_ip_activated\": false, \"ip_address_assignment\": false}}}]}, \"cp_id\": \"Cp_vgmux_public\", \"cpd_id\": \"Cp_vgmux_public\"}], \"metadata\": {\"template_name\": \"vCPE_vgmux\", \"template_version\": \"1.0\", \"template_author\": \"onap\"}}", - "downloadUrl" : "http://10.42.43.172:8806/static/catalog/af59a474-6391-4500-989c-f78df18d77f0/tst_vgmux.csar" + "vnfVersion" : "1.0", + "csarName" : "vgw.csar", + "vnfdModel" : "{\"volume_storages\": [], \"vnf\": {\"type\": \"tosca.nodes.nfv.VNF\", \"requirements\": [{\"virtual_link_public\": {\"capability\": \"tosca.capabilities.nfv.VirtualLinkable\", \"occurrences\": [0, 1], \"relationship\": \"tosca.relationships.nfv.VirtualLinksTo\"}}, {\"virtual_link_private\": {\"capability\": \"tosca.capabilities.nfv.VirtualLinkable\", \"occurrences\": [0, 1], \"relationship\": \"tosca.relationships.nfv.VirtualLinksTo\"}}], \"properties\": {\"descriptor_id\": \"b1bb0ce7-2222-4fa7-95ed-4840d70a1177\", \"software_version\": \"1.0\", \"product_info_name\": \"\", \"template_name\": \"vCPE_vgw\", \"product_info_description\": \"\", \"flavour_description\": \"\", \"monitoring_parameters\": {}, \"flavour_id\": \"simple\", \"default_localization_language\": \"\", \"localization_languages\": {}, \"vnfm_info\": [\"gvnfm\"], \"descriptor_version\": \"1.0\", \"provider\": \"onap\", \"lcm_operations_configuration\": \"\", \"product_name\": \"vcpe_vgw\"}, \"capabilities\": {}, \"metadata\": {\"template_name\": \"vCPE_vgw\", \"VNFD_SCHEMA_VERSION\": \"2.5.1+1\", \"template_version\": \"1.0\", \"template_author\": \"onap\"}}, \"vdus\": [{\"description\": \"\", \"vdu_id\": \"VDU_vgw_0\", \"artifacts\": [{\"artifact_name\": \"sw_image\", \"type\": \"tosca.artifacts.nfv.SwImage\", \"file\": \"../Artifacts/Deployment/OTHER/image\"}], \"dependencies\": [], \"virtual_compute\": {\"virtual_cpu\": {\"num_virtual_cpu\": 2, \"cpu_architecture\": \"generic\"}, \"virtual_memory\": {\"vdu_mem_requirements\": {\"numberOfPages\": \"{\\\"schemaVersion\\\": \\\"0\\\", \\\"schemaSelector\\\": \\\"\\\", \\\"hardwarePlatform\\\": \\\"generic\\\", \\\"mandatory\\\": \\\"true\\\", \\\"configurationValue\\\": \\\"1024\\\"}\", \"memoryPageSize\": \"{\\\"schemaVersion\\\": \\\"0\\\", \\\"schemaSelector\\\": \\\"\\\", \\\"hardwarePlatform\\\": \\\"generic\\\", \\\"mandatory\\\": \\\"true\\\", \\\"configurationValue\\\": \\\"2 MB\\\"}\"}, \"virtual_mem_size\": \"4096 MB\"}, \"virtual_storages\": [{\"size_of_storage\": \"40 GB\"}]}, \"vls\": [\"VL_mux_gw_private_net\", \"VL_cpe_public\"], \"cps\": [\"Cp_vgw_mux_gw_private_net\", \"Cp_vgw_onap_private\", \"Cp_vgw_public\", \"Cp_vgw_cpe_public\"], \"type\": \"tosca.nodes.nfv.Vdu.Compute\", \"properties\": {\"name\": \"zdcpe1cpe01gw01\", \"inject_files\": {\"source_path\": \"../Artifacts/Deployment/OTHER/authorized_keys\", \"source_data_base64\": \"c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFER3g2U0tyQXVDejFWOEtHZXZa\\ndWVrc0xkV29QV0pQNnozcjI5WjdUbVBWRU9qTSs3UElQZVNzMkJWUngzcm5IWkJBbGFzTXJaK2ZK\\nQlMyNXRzOXZmQytJdGV6UWFoL2hyOXZya213eENSNTRMYjg0cG9XK3NUb1BlRjZpNWVaWTdXK2pX\\nSmZMYUZTRng5ZDJ2cDR6ZXMvZk9sVDNOdllDWGJuLzNRZHJ5UW9HbDdWRkk4b2VtWnlwVmNpa1pY\\nRWxKZWVLZ0FWZFN3bnJ6dXF0Ty90bWJYY0FlU2JZdlZqa2k4eXdZY3NXTVZNWVdVV2hoKzFCQUI2\\na1huVHNJV3F6cnEwUGZ2eSs4MVdEd3RpcXNxbWQ5M0hZOGhFMHNjQnJYRkJaelFTL0FZZklGQmxF\\ndUZOZExjemNobnRqYlowbjdkbURYazh6SHRDWllOazdrd2I4ay8K\\n\", \"dest_path\": \"/home/ubuntu/.ssh/authorized_keys\"}, \"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\", \"meta_data\": {\"cpe_public_net_cidr\": \"10.2.0.0/24\", \"vf_module_id\": \"vCPE_Customer_GW\", \"oam_cidr\": \"10.0.0.0/16\", \"mux_gw_private_net_cidr\": \"10.5.0.0/24\", \"oam_ipaddr\": \"10.0.101.30\", \"mux_gw_private_net_ipaddr\": \"10.5.0.21\", \"vg_vgmux_tunnel_vni\": \"100\", \"install_script_version\": \"1.2.0-SNAPSHOT\", \"cloud_env\": \"openstack\", \"mux_ip_addr\": \"10.5.0.20\", \"vnf_id\": \"vCPE_Infrastructure_GW_demo_app\", \"nexus_artifact_repo\": \"https://nexus.onap.org\"}, \"vdu_profile\": {\"max_number_of_instances\": 1, \"watchdog\": \"none\", \"min_number_of_instances\": 1}, \"description\": \"vgw\"}}], \"description\": \"vCPE_vgw\", \"inputs\": {\"cpe_public_net_cidr\": {\"default\": \"10.2.0.0/24\", \"type\": \"string\", \"description\": \"cpe public net cidr\"}, \"vf_module_id\": {\"default\": \"vCPE_Customer_GW\", \"type\": \"string\", \"description\": \"The vCPE Module ID is provided by ONAP\"}, \"install_script_version\": {\"default\": \"1.2.0-SNAPSHOT\", \"type\": \"string\", \"description\": \"install script version number\"}, \"vnf_id\": {\"default\": \"vCPE_Infrastructure_GW_demo_app\", \"type\": \"string\", \"description\": \"The VNF ID is provided by ONAP\"}, \"onap_private_net_id\": {\"default\": \"oam_onap\", \"type\": \"string\", \"description\": \"onap OAM network id\"}, \"mux_gw_private_net_id\": {\"default\": \"shared-sriov\", \"type\": \"string\", \"description\": \"Private network that connects vGMUX to vGWs\"}, \"vcpe_image_name\": {\"default\": \"ubuntu_16.04\", \"type\": \"string\", \"description\": \"image name for vcpe in openstack glance\"}, \"vgw_name_0\": {\"default\": \"zdcpe1cpe01gw01\", \"type\": \"string\", \"description\": \"Name of the vGW\"}, \"onap_private_net_cidr\": {\"default\": \"10.0.0.0/16\", \"type\": \"string\", \"description\": \"oanp OAM network cidr\"}, \"demo_artifacts_version\": {\"default\": \"1.2.0\", \"type\": \"string\", \"description\": \"artifacts version used in demo vnfs\"}, \"mux_ip_addr\": {\"default\": \"10.5.0.20\", \"type\": \"string\", \"description\": \"IP address of vGMUX\"}, \"vgw_private_ip_1\": {\"default\": \"10.0.101.30\", \"type\": \"string\", \"description\": \"Private IP address that is assigned to the vGW to communicate with ONAP components\"}, \"vgw_private_ip_0\": {\"default\": \"10.5.0.21\", \"type\": \"string\", \"description\": \"Private IP address that is assigned to the vGW to communicate with vGMUX\"}, \"dcae_collector_port\": {\"default\": \"8080\", \"type\": \"string\", \"description\": \"dcae collector port\"}, \"vgw_private_ip_2\": {\"default\": \"10.2.0.3\", \"type\": \"string\", \"description\": \"Private IP address that is assigned to the vGW to communicate with vCPE public network\"}, \"mux_gw_private_net_cidr\": {\"default\": \"10.5.0.0/24\", \"type\": \"string\", \"description\": \"he CIDR of the vGMUX private network\"}, \"vg_vgmux_tunnel_vni\": {\"default\": \"100\", \"type\": \"string\", \"description\": \"vni value of vG-vGMUX vxlan tunnel\"}, \"public_net_id\": {\"default\": \"external\", \"type\": \"string\", \"description\": \"public network id used during onap installation\"}, \"dcae_collector_ip\": {\"default\": \"10.0.4.102\", \"type\": \"string\", \"description\": \"dcae collector ip\"}, \"cloud_env\": {\"default\": \"openstack\", \"type\": \"string\", \"description\": \"cloud environment(openstack or rackspace)\"}, \"pub_key\": {\"default\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDGx6SKrAuCz1V8KGevZueksLdWoPWJP6z3r29Z7TmPVEOjM+7PIPeSs2BVRx3rnHZBAlasMrZ+fJBS25ts9vfC+ItezQah/hr9vrkmwxCR54Lb84poW+sToPeF6i5eZY7W+jWJfLaFSFx9d2vp4zes/fOlT3NvYCXbn/3QdryQoGl7VFI8oemZypVcikZXElJeeKgAVdSwnrzuqtO/tmbXcAeSbYvVjki8ywYcsWMVMYWUWhh+1BAB6kXnTsIWqzrq0Pfvy+81WDwtiqsqmd93HY8hE0scBrXFBZzQS/AYfIFBlEuFNdLczchntjbZ0n7dmDXk8zHtCZYNk7kwb8k/\", \"type\": \"string\", \"description\": \"ssh public key\"}, \"cpe_public_net_id\": {\"default\": \"oam_zte\", \"type\": \"string\", \"description\": \"cpe public net name\"}, \"nexus_artifact_repo\": {\"default\": \"https://nexus.onap.org\", \"type\": \"string\", \"description\": \"Root URL for the Nexus repository for Maven artifacts\"}}, \"graph\": {\"VL_cpe_public\": [\"Cp_vgw_cpe_public\"], \"VL_mux_gw_private_net\": [\"Cp_vgw_mux_gw_private_net\"], \"Cp_vgw_mux_gw_private_net\": [], \"Cp_vgw_onap_private\": [], \"Cp_vgw_public\": [], \"VDU_vgw_0\": [\"Cp_vgw_public\", \"Cp_vgw_onap_private\", \"Cp_vgw_mux_gw_private_net\", \"Cp_vgw_cpe_public\"], \"Cp_vgw_cpe_public\": [], \"LLU_VNF\": []}, \"basepath\": \"/tmp/tmpvutEO9/Definitions\", \"vnf_exposed\": {\"external_cps\": [{\"key_name\": \"virtual_link_public\", \"cpd_id\": {\"capability\": \"tosca.capabilities.nfv.VirtualLinkable\", \"occurrences\": [0, 1], \"relationship\": \"tosca.relationships.nfv.VirtualLinksTo\"}}, {\"key_name\": \"virtual_link_private\", \"cpd_id\": {\"capability\": \"tosca.capabilities.nfv.VirtualLinkable\", \"occurrences\": [0, 1], \"relationship\": \"tosca.relationships.nfv.VirtualLinksTo\"}}], \"forward_cps\": []}, \"vls\": [{\"vl_id\": \"VL_cpe_public\", \"description\": \"\", \"properties\": {\"connectivity_type\": {\"layer_protocols\": [\"ipv4\"], \"layer_protocol\": [\"ipv4\"]}, \"vl_profile\": {\"min_bitrate_requirements\": {\"root\": 10000000, \"leaf\": 10000000}, \"max_bit_rate_requirements\": {\"root\": 10000000, \"leaf\": 10000000}, \"virtual_link_protocol_data\": [{\"l3_protocol_data\": {\"ip_version\": \"ipv4\", \"cidr\": \"10.2.0.0/24\", \"name\": \"oam_zte\", \"dhcp_enabled\": false}, \"associated_layer_protocol\": \"ipv4\"}], \"min_bit_rate_requirements\": {\"root\": 10000000, \"leaf\": 10000000}, \"associated_layer_protocol\": \"ipv4\", \"max_bitrate_requirements\": {\"root\": 10000000, \"leaf\": 10000000}, \"ip_version\": \"ipv4\", \"cidr\": \"10.2.0.0/24\", \"networkName\": \"oam_zte\", \"dhcpEnabled\": false}}}, {\"vl_id\": \"VL_mux_gw_private_net\", \"description\": \"\", \"properties\": {\"connectivity_type\": {\"layer_protocols\": [\"ipv4\"], \"layer_protocol\": [\"ipv4\"]}, \"vl_profile\": {\"physicalNetwork\": \"shared-1\", \"min_bitrate_requirements\": {\"root\": 10000000, \"leaf\": 10000000}, \"max_bit_rate_requirements\": {\"root\": 10000000, \"leaf\": 10000000}, \"virtual_link_protocol_data\": [{\"l3_protocol_data\": {\"ip_version\": \"ipv4\", \"cidr\": \"10.5.0.0/24\", \"name\": \"shared-sriov\", \"dhcp_enabled\": false}, \"l2_protocol_data\": {\"physical_network\": \"shared-1\"}, \"associated_layer_protocol\": \"ipv4\"}], \"min_bit_rate_requirements\": {\"root\": 10000000, \"leaf\": 10000000}, \"associated_layer_protocol\": \"ipv4\", \"max_bitrate_requirements\": {\"root\": 10000000, \"leaf\": 10000000}, \"ip_version\": \"ipv4\", \"cidr\": \"10.5.0.0/24\", \"networkName\": \"shared-sriov\", \"dhcpEnabled\": false}}}], \"cps\": [{\"vl_id\": \"VL_mux_gw_private_net\", \"description\": \"\", \"vdu_id\": \"VDU_vgw_0\", \"properties\": {\"vnic_type\": \"direct\", \"virtual_network_interface_requirements\": [{\"network_interface_requirements\": {\"interfaceType\": \"{\\\"schemaVersion\\\": \\\"0\\\", \\\"schemaSelector\\\": \\\"\\\", \\\"hardwarePlatform\\\": \\\"generic\\\", \\\"mandatory\\\": \\\"true\\\", \\\"configurationValue\\\": \\\"SR-IOV\\\"}\"}, \"support_mandatory\": true, \"name\": \"sriov-support\", \"nic_io_requirements\": {\"logical_node_requirements\": {\"pciVendorId\": \"{\\\"schemaVersion\\\": \\\"0\\\", \\\"schemaSelector\\\": \\\"\\\", \\\"hardwarePlatform\\\": \\\"generic\\\", \\\"mandatory\\\": \\\"true\\\", \\\"configurationValue\\\": \\\"1234\\\"}\", \"pciNumDevices\": \"{\\\"schemaVersion\\\": \\\"0\\\", \\\"schemaSelector\\\": \\\"\\\", \\\"hardwarePlatform\\\": \\\"generic\\\", \\\"mandatory\\\": \\\"true\\\", \\\"configurationValue\\\": \\\"1\\\"}\", \"pciDeviceId\": \"{\\\"schemaVersion\\\": \\\"0\\\", \\\"schemaSelector\\\": \\\"\\\", \\\"hardwarePlatform\\\": \\\"generic\\\", \\\"mandatory\\\": \\\"true\\\", \\\"configurationValue\\\": \\\"5678\\\"}\"}}}], \"layer_protocol\": [\"ipv4\"], \"protocol_data\": [{\"asscociated_layer_protocol\": \"ipv4\", \"address_data\": {\"address_type\": \"ip_address\", \"l3_address_data\": {\"floating_ip_activated\": false, \"fixed_ip_address\": [\"10.5.0.21\"], \"ip_address_assignment\": false}}, \"associated_layer_protocol\": \"ipv4\"}], \"trunk_mode\": \"false\"}, \"cp_id\": \"Cp_vgw_mux_gw_private_net\", \"cpd_id\": \"Cp_vgw_mux_gw_private_net\"}, {\"vl_id\": \"\", \"description\": \"\", \"vdu_id\": \"VDU_vgw_0\", \"properties\": {\"layer_protocol\": [\"ipv4\"], \"protocol_data\": [{\"asscociated_layer_protocol\": \"ipv4\", \"address_data\": {\"address_type\": \"ip_address\", \"l3_address_data\": {\"floating_ip_activated\": false, \"fixed_ip_address\": [\"10.0.101.30\"], \"ip_address_assignment\": false}}, \"associated_layer_protocol\": \"ipv4\"}], \"trunk_mode\": \"false\"}, \"cp_id\": \"Cp_vgw_onap_private\", \"cpd_id\": \"Cp_vgw_onap_private\"}, {\"vl_id\": \"\", \"description\": \"\", \"vdu_id\": \"VDU_vgw_0\", \"properties\": {\"layer_protocol\": [\"ipv4\"], \"protocol_data\": [{\"asscociated_layer_protocol\": \"ipv4\", \"address_data\": {\"address_type\": \"ip_address\", \"l3_address_data\": {\"floating_ip_activated\": false, \"ip_address_assignment\": false}}, \"associated_layer_protocol\": \"ipv4\"}], \"trunk_mode\": \"false\"}, \"cp_id\": \"Cp_vgw_public\", \"cpd_id\": \"Cp_vgw_public\"}, {\"vl_id\": \"VL_cpe_public\", \"description\": \"\", \"vdu_id\": \"VDU_vgw_0\", \"properties\": {\"layer_protocol\": [\"ipv4\"], \"protocol_data\": [{\"asscociated_layer_protocol\": \"ipv4\", \"address_data\": {\"address_type\": \"ip_address\", \"l3_address_data\": {\"floating_ip_activated\": false, \"fixed_ip_address\": [\"10.2.0.3\"], \"ip_address_assignment\": false}}, \"associated_layer_protocol\": \"ipv4\"}], \"trunk_mode\": \"false\"}, \"cp_id\": \"Cp_vgw_cpe_public\", \"cpd_id\": \"Cp_vgw_cpe_public\"}], \"metadata\": {\"template_name\": \"vCPE_vgw\", \"VNFD_SCHEMA_VERSION\": \"2.5.1+1\", \"template_version\": \"1.0\", \"template_author\": \"onap\"}}", + "downloadUrl" : "http://10.42.3.30:8806/static/catalog/a8571488-d72d-4d9f-b534-4e7380390175/vgw.csar" + }, + "imageInfo" : [ ] + }, { + "csarId" : "ae2a4458-de56-4513-a44c-1edb34942f78", + "packageInfo" : { + "vnfdId" : null, + "vnfPackageId" : "ae2a4458-de56-4513-a44c-1edb34942f78", + "vnfdProvider" : null, + "vnfdVersion" : null, + "vnfVersion" : null, + "csarName" : null, + "vnfdModel" : null, + "downloadUrl" : "http://10.42.3.30:8806/static/catalog/ae2a4458-de56-4513-a44c-1edb34942f78/None" + }, + "imageInfo" : [ ] + }, { + "csarId" : "d328c91f-72ef-453a-a3b4-db66ffc90226", + "packageInfo" : { + "vnfdId" : null, + "vnfPackageId" : "d328c91f-72ef-453a-a3b4-db66ffc90226", + "vnfdProvider" : null, + "vnfdVersion" : null, + "vnfVersion" : null, + "csarName" : null, + "vnfdModel" : null, + "downloadUrl" : "http://10.42.3.30:8806/static/catalog/d328c91f-72ef-453a-a3b4-db66ffc90226/None" }, "imageInfo" : [ ] - } + } ] } } ]
\ No newline at end of file |