aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-tosca-converter-lib/openecomp-tosca-converter-core/src/test/resources/pnfDescriptor/in/pnfDescriptor_withLayerProtocolsAndDuplicatedGetInput.yaml
blob: 8549da09b2626ca1b6408a5538bb58d8501bb86c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
tosca_definitions_version: tosca_simple_yaml_1_2

description: service template of an Acme PNF

imports:
  - etsi_nfv_sol001_pnfd_2_5_1_types.yaml

topology_template:
  inputs:
    protocols:
      type: list
      description: IP protocols
      entry_schema:
        type: string
      default: [ ipv4, ipv6 ]
  node_templates:
    myPnf:
      type: tosca.nodes.nfv.PNF
      properties:
        descriptor_id: b1bb0ce7-ebca-4fa7-95ed-4840d70a2233
        function_description: Acme PNF
        provider: Acme
        version: 1.0
        descriptor_invariant_id: 1111-2222-ccaa-bbdd
        name: Acme PNF

    pnfExtCp_1:
      type: tosca.nodes.nfv.PnfExtCp
      properties:
        trunk_mode: false
        layer_protocols: { get_input: protocols }
        role: leaf
        description: External connection point to access Acme myPnf
      requirements:
        - dependency: myPnf

    pnfExtCp_2:
      type: tosca.nodes.nfv.PnfExtCp
      properties:
        trunk_mode: false
        layer_protocols: { get_input: protocols }
        role: leaf
        description: External connection point to access Acme myPnf
      requirements:
        - dependency: myPnf