Add SO APIs to Nokia VNFM adapter
[vfc/nfvo/driver/vnfm/svnfm.git] / nokiav2 / driver / src / test / resources / unittests / packageconverter / cbam.full.original.vnfd.yaml
index 42569b0..dbe57d0 100644 (file)
@@ -10,6 +10,13 @@ topology_template:
             extensions:
               existingAttribute:
                 default: "value"
+      deployment_flavour:
+        properties:
+          scaling_aspects:
+            aspect1:
+              max_scale_level: 2
+            aspect2:
+              max_scale_level: 3
     interfaces:
       Basic:
         instantiate:
@@ -30,4 +37,50 @@ topology_template:
         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