X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=tosca%2FvCPE%2Fvgw%2FMainServiceTemplate.yaml;h=802c383ef5c6721077a9d9fce64640593665c871;hb=167ba62076deec76e0364414153dd76d860049e3;hp=96d7f65c598fe09aafcf1256b9dfad610d26599c;hpb=714334d05a3ce47075a4b17a59daa0a7443b95f4;p=demo.git diff --git a/tosca/vCPE/vgw/MainServiceTemplate.yaml b/tosca/vCPE/vgw/MainServiceTemplate.yaml index 96d7f65c..802c383e 100644 --- a/tosca/vCPE/vgw/MainServiceTemplate.yaml +++ b/tosca/vCPE/vgw/MainServiceTemplate.yaml @@ -8,43 +8,6 @@ description: vCPE_vgw imports: - onap_dm.yaml -node_types: - onap.vcpe_vgw: - derived_from: tosca.nodes.nfv.VNF - properties: - descriptor_id: - type: string - constraints: [ valid_values: [ b1bb0ce7-2222-4fa7-95ed-4840d70a1177 ] ] - default: b1bb0ce7-2222-4fa7-95ed-4840d70a1177 - provider: - type: string - constraints: [ valid_values: [ onap ] ] - default: onap - product_name: - type: string - constraints: [ valid_values: [ vcpe_vgw ] ] - default: vcpe_vgw - software_version: - type: string - constraints: [ valid_values: [ '1.0' ] ] - default: '1.0' - descriptor_version: - type: string - constraints: [ valid_values: [ '1.0' ] ] - default: '1.0' - flavour_id: - type: string - constraints: [ valid_values: [ simple ] ] #only one and only allowed one DF in this example - default: simple - flavour_description: - type: string - default: simple - vnfm_info: - type: list - entry_schema: - type: string - default: ['gvnfm'] - topology_template: #substitution_mappings: # node_type: onap.vcpe_vgw @@ -106,9 +69,9 @@ topology_template: description: dcae collector ip default: 10.0.4.102 dcae_collector_port: - type: integer + type: string description: dcae collector port - default: 8080 + default: "8080" pub_key: type: string description: ssh public key @@ -134,9 +97,9 @@ topology_template: description: IP address of vGMUX default: 10.5.0.20 vg_vgmux_tunnel_vni: - type: integer + type: string description: vni value of vG-vGMUX vxlan tunnel - default: 100 + default: "100" vnf_id: type: string description: The VNF ID is provided by ONAP @@ -147,6 +110,19 @@ topology_template: default: vCPE_Customer_GW node_templates: + LLU_VNF: + type: tosca.nodes.nfv.VNF + properties: + descriptor_id: b1bb0ce7-2222-4fa7-95ed-4840d70a1177 + provider: onap + product_name: vcpe_vgw + software_version: '1.0' + descriptor_version: '1.0' + flavour_id: simple + flavour_description: simple + vnfm_info: ['gvnfm'] + + #onap public net # VL_public: # type: tosca.nodes.nfv.VnfVirtualLink @@ -308,14 +284,14 @@ topology_template: max_number_of_instances: 1 watchdog: none inject_files: # TODO SDC BUG - source_path: ../Artifacts/keys/authorized_keys #SSH authorized_keys + source_path: ../Artifacts/Deployment/Other/authorized_keys #SSH authorized_keys dest_path: /home/ubuntu/.ssh/authorized_keys meta_data: vnf_id: { get_input: vnf_id } vf_module_id: { get_input: vf_module_id } mux_gw_private_net_ipaddr: { get_input: vgw_private_ip_0 } oam_ipaddr: { get_input: vgw_private_ip_1 } - oam_cidr: { get_input: oam_private_net_cidr } + oam_cidr: { get_input: onap_private_net_cidr } cpe_public_net_cidr: { get_input: cpe_public_net_cidr } mux_gw_private_net_cidr: { get_input: mux_gw_private_net_cidr } mux_ip_addr: { get_input: mux_ip_addr } @@ -373,5 +349,5 @@ topology_template: artifacts: sw_image: #TODO need to put glance image name here #file: { get_input: vcpe_image_name } - file: ../Artifacts/images/ubuntu_16.04 + file: ../Artifacts/Deployment/Other/image type: tosca.artifacts.nfv.SwImage