aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-tosca-converter-lib/openecomp-tosca-converter-core/src/test/resources/transformation/pnfParseEngine/pnfWithGetInput/pnfWithGetInput.yaml
blob: 1b89d15293246fd74d58376a67803079e27ddca3 (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
tosca_definitions_version: tosca_simple_yaml_1_1

description: service template of a PNF

topology_template:
  inputs:
    role:
      type: string
      description: Role
      default: leaf
    role1:
      type: string
      description: Role
      default: leaf
    layer_protocols:
      type: list
      description: IP protocols
      entry_schema:
        type: string
      default: [ipv4, ipv6, otherProtocol]
  node_templates:
    notToBeConvertedNode:
      type: tosca.nodes.nfv.PNF
      properties:
        descriptor_id: b1bb0ce7-ebca-4fa7-95ed-4840d70a2233
        function_description: an example PNF
        provider: Mycompany
        version: 1.0
        descriptor_invariant_id: 1111-2222-ccaa-bbdd
        name: ExamplePnf
      requirements:
        - virtual_link:
            capability: tosca.capabilities.nfv.VirtualLinkable
            node: pnfExtCp_1
    pnfExtCp_1:
      type: tosca.nodes.nfv.PnfExtCp
      properties:
        trunk_mode: false
        layer_protocols: [ipv4, ipv6, otherProtocol]
        role: leaf
        description: External connection point to access this pnf
        anObjectAttribute:
          anyAttribute: anyAttributeValue
    pnfExtCp_2:
      type: tosca.nodes.nfv.PnfExtCp
      properties:
        trunk_mode: false
        layer_protocols:
          get_input: layer_protocols
        role: {get_input: role}
        description: External connection point to access this pnf
        anObjectAttribute:
          anyAttribute: anyAttributeValue
    pnfExtCp_3:
      type: tosca.nodes.nfv.PnfExtCp
      properties:
        trunk_mode: false
        description: External connection point to access this pnf
        anObjectAttribute:
          anyAttribute: anyAttributeValue
        role: {get_input: role1}