Corrections in vCPE and vFW tosca to match spec. 96/102096/2
authorjhh <jorge.hernandez-herrero@att.com>
Thu, 20 Feb 2020 21:40:08 +0000 (15:40 -0600)
committerjhh <jorge.hernandez-herrero@att.com>
Fri, 21 Feb 2020 00:25:15 +0000 (18:25 -0600)
Issue-ID: POLICY-2375
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Ibffc67dd0b68da8597a5fdff7c65321ef4313352
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
models-examples/src/main/resources/policies/vCPE.policy.operational.input.tosca.json
models-examples/src/main/resources/policies/vCPE.policy.operational.input.tosca.yaml
models-examples/src/main/resources/policies/vCPE.policy.operational.output.tosca.json
models-examples/src/main/resources/policies/vFirewall.policy.operational.input.tosca.json
models-examples/src/main/resources/policies/vFirewall.policy.operational.input.tosca.yaml
models-examples/src/main/resources/policies/vFirewall.policy.operational.output.tosca.yaml

index 6d9c030..11db9cf 100644 (file)
@@ -23,7 +23,7 @@
                   "actor": "APPC",
                   "operation": "Restart",
                   "target": {
-                    "type": "VNF"
+                    "targetType": "VNF"
                   }
                 },
                 "timeout": 1200,
index 9641eec..27d0202 100644 (file)
@@ -19,7 +19,7 @@ topology_template:
                         actor: APPC
                         operation: Restart
                         target:
-                            type: VNF
+                            targetType: VNF
                     timeout: 1200
                     retries: 3
                     success: final_success
index d738537..aeac309 100644 (file)
@@ -26,7 +26,7 @@
                                 "actor": "APPC",
                                 "recipe": "Restart",
                                 "target": {
-                                    "type": "VM"
+                                    "targetType": "VM"
                                 },
                                 "retry": 3,
                                 "timeout": 1200,
index f6f15fe..1716940 100644 (file)
@@ -23,7 +23,7 @@
                                     "operation": "ModifyConfig",
                                     "target": {
                                         "targetType": "VNF",
-                                        "entityId": {
+                                        "entityIds": {
                                             "resourceID": "bbb3cefd-01c8-413c-9bdd-2b92f9ca3d38"
                                         }
                                     }
index e3166f7..4689465 100644 (file)
@@ -19,7 +19,7 @@ topology_template:
                         operation: ModifyConfig
                         target:
                             targetType: VNF
-                            entityId:
+                            entityIds:
                                 resourceID: bbb3cefd-01c8-413c-9bdd-2b92f9ca3d38
                     timeout: 300
                     retries: 0
index 42ea511..555d84b 100644 (file)
@@ -24,8 +24,9 @@ topology_template:
                 recipe: ModifyConfig
                 target:
                   # TBD - Cannot be known until instantiation is done
-                  resourceID: Eace933104d443b496b8.nodes.heat.vpg
-                  type: VNF
+                  targetType: VNF
+                  entityIds:
+                    resourceID: Eace933104d443b496b8.nodes.heat.vpg
                 retry: 0
                 timeout: 300
                 success: final_success