dbe57d0b7cf0872eee1c13295847038e287844d0
[vfc/nfvo/driver/vnfm/svnfm.git] / nokiav2 / driver / src / test / resources / unittests / packageconverter / cbam.full.original.vnfd.yaml
1 tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0_nokia
2
3 topology_template:
4   substitution_mappings:
5     node_type: tosca.nodes.nfv.VNF
6     capabilities:
7       vnf:
8         properties:
9           modifiable_attributes:
10             extensions:
11               existingAttribute:
12                 default: "value"
13       deployment_flavour:
14         properties:
15           scaling_aspects:
16             aspect1:
17               max_scale_level: 2
18             aspect2:
19               max_scale_level: 3
20     interfaces:
21       Basic:
22         instantiate:
23           inputs:
24             extensions:
25               pre_actions:
26                 - javascript: pre
27                   include:
28                     - javascript/scalable_prepare_cbam_include.js
29                   output: stack_parameters
30               post_actions:
31                 - javascript: post
32                   output: ansible_inventory
33             additional_parameters:
34               kuku: muku
35         terminate:
36       Scalable:
37         scale:
38       Healable:
39         heal:
40   policies:
41     - b:
42         type: x
43     - heat_mapping:
44         type: tosca.policies.nfv.HeatMapping
45         properties:
46           static:
47             virtualLinks:
48               net1: path
49               net2: path
50             vdus:
51               vdu1:
52                - heatResource: path
53               vdu2:
54                - heatResource: path
55             externalConnectionPoints:
56               ecp1:
57                 - path
58               ecp2:
59                 - path
60           aspects:
61             aspect1:
62               vdus:
63                 vdu1:
64                   - heatResource: any
65                     connectionPoints:
66                       cp1: nic_0
67                       cp2: nic_1
68                     virtualStorages:
69                       disk1: disk_0
70                       disk2: disk_1
71                 vdu2:
72                   - heatResource: any
73                   - heatResource: any
74               externalConnectionPoints:
75                 ecp1:
76                   - path
77                 ecp2:
78                   - path
79             aspect2:
80               vdus:
81                 vdu2:
82                   - heatResource: any
83               externalConnectionPoints:
84                 ecp2:
85                   - path
86