summaryrefslogtreecommitdiffstats
path: root/nokiav2/driver/src/test/resources/unittests/packageconverter/cbam.full.original.vnfd.yaml
blob: dbe57d0b7cf0872eee1c13295847038e287844d0 (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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0_nokia

topology_template:
  substitution_mappings:
    node_type: tosca.nodes.nfv.VNF
    capabilities:
      vnf:
        properties:
          modifiable_attributes:
            extensions:
              existingAttribute:
                default: "value"
      deployment_flavour:
        properties:
          scaling_aspects:
            aspect1:
              max_scale_level: 2
            aspect2:
              max_scale_level: 3
    interfaces:
      Basic:
        instantiate:
          inputs:
            extensions:
              pre_actions:
                - javascript: pre
                  include:
                    - javascript/scalable_prepare_cbam_include.js
                  output: stack_parameters
              post_actions:
                - javascript: post
                  output: ansible_inventory
            additional_parameters:
              kuku: muku
        terminate:
      Scalable:
        scale:
      Healable:
        heal:
  policies:
    - b:
        type: x
    - heat_mapping:
        type: tosca.policies.nfv.HeatMapping
        properties:
          static:
            virtualLinks:
              net1: path
              net2: path
            vdus:
              vdu1:
               - heatResource: path
              vdu2:
               - heatResource: path
            externalConnectionPoints:
              ecp1:
                - path
              ecp2:
                - path
          aspects:
            aspect1:
              vdus:
                vdu1:
                  - heatResource: any
                    connectionPoints:
                      cp1: nic_0
                      cp2: nic_1
                    virtualStorages:
                      disk1: disk_0
                      disk2: disk_1
                vdu2:
                  - heatResource: any
                  - heatResource: any
              externalConnectionPoints:
                ecp1:
                  - path
                ecp2:
                  - path
            aspect2:
              vdus:
                vdu2:
                  - heatResource: any
              externalConnectionPoints:
                ecp2:
                  - path