tosca_definitions_version: "tosca_simple_yaml_1_2"
tosca_default_namespace: "toscanfv"
description: "Referenxce NSD descriptor "
metadata:
  descriptor_id: "NSD_WITH_1_VNF"
  vendor: "ETSI"
  version: "1.0"
topology_template:
  substitution_mappings:
    node_type: "tosca.nodes.nfv.NS"
    requirements:
      right: [VNF_A, ext_b_right]
      left: [VNF_B, ext_b_left]
      mgmt_b: [VNF_B, management_vnf_b]
  node_templates:
    VNF_B:
      type: "tosca.nodes.nfv.VNF"
      properties:
        descriptorId: "VNF-B"
        descriptorVersion: "1.0"
        provider: "ETSI TST WG"
        productName: "VNF-B"
        softwareVersion: "1.0"
        productInfoName: "VNF-B"
        productInfoDescription: "TST010 reference VNF-A"
        defaultLocalizationLanguage: null
        flavourId: "VNF-B_flavor"
        flavourDescription: "VNF-B flavor"
        vnfm_info: 
          - 'etsivnfm:v2.3.1'
      requirements:
        virtualLink:
          ext_b_right: "vl_right"
          ext_b_left: "vl_left"
          management_vnf_b: "vl_mgmt"
    NS_with_1_VNF:
      type: "tosca.nodes.nfv.NS"
      properties:
        descriptorId: "NS with 1 VNF"
        designer: "ETSI TST WG"
        version: "1.0"
        name: "ns_with_1_vnfs"
        invariantId: "ns_with_1_vnfs"
      requirements:
        virtualLink:
        - "vl_left"
        - "vl_right"
        - "vl_mgmt"
    vl_left:
      type: "tosca.nodes.nfv.NsVirtualLink"
      properties:
        description: "VNF-B external connetivity"
        vlProfile: 
          max_bitrate_requirements:
            root: 1000
          min_bitrate_requirements:  
            root: 1000
        connectivityType:
          layer_protocols: [ipv4]
    vl_right: 
      type: "tosca.nodes.nfv.NsVirtualLink"
      properties:
        description: "VNF-B external connectivity"
        vlProfile: 
          max_bitrate_requirements:
            root: 1000
          min_bitrate_requirements:  
            root: 1000
        connectivityType:
          layer_protocols: [ipv4]
    vl_mgmt: 
      type: "tosca.nodes.nfv.NsVirtualLink"
      properties:
        description: "Management network"
        vlProfile: 
          max_bitrate_requirements:
            root: 1000
          min_bitrate_requirements:  
            root: 1000
        connectivityType:
          layer_protocols: [ipv4]