Implement PNFD Model driven conversion
[sdc.git] / openecomp-be / lib / openecomp-tosca-converter-lib / openecomp-tosca-converter-core / src / test / resources / transformation / pnfParseEngine / pnfAndExtCpWithInput / pnfAndExtCpWithInput.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_1
2
3 description: service template of a PNF
4
5 topology_template:
6   inputs:
7     role:
8       type: string
9       description: Role
10       default: leaf
11     layer_protocols:
12       type: list
13       description: IP protocols
14       entry_schema:
15         type: string
16       default: [ipv4, ipv6, otherProtocol]
17   node_templates:
18     pnf_mainPart:
19       type: tosca.nodes.nfv.PNF
20       properties:
21         descriptor_id: b1bb0ce7-ebca-4fa7-95ed-4840d70a2233
22         function_description: an example PNF
23         provider: Mycompany
24         version: 1.0
25         descriptor_invariant_id: 1111-2222-ccaa-bbdd
26         name: ExamplePnf
27       requirements:
28         - virtual_link:
29             capability: tosca.capabilities.nfv.VirtualLinkable
30             node: pnfExtCp_1
31     pnfExtCp_1:
32       type: tosca.nodes.nfv.PnfExtCp
33       properties:
34         trunk_mode: false
35         layer_protocols: [ ipv4, ipv6, otherProtocol ]
36         role: leaf
37         description: External connection point to access this pnf
38         anObjectAttribute:
39           anyAttribute: anyAttributeValue