From 4e67242253d6254c06ea7daa0bc5eb18176ca573 Mon Sep 17 00:00:00 2001 From: jhh Date: Fri, 8 May 2020 13:45:57 -0500 Subject: Add missing payload section in vFW examples Issue-ID: POLICY-2552 Signed-off-by: jhh Change-Id: I7acc7a7771ded3bc76c3fe420c93c077d84f0d31 --- .../resources/policies/vFirewall.policy.operational.input.tosca.json | 3 +++ .../resources/policies/vFirewall.policy.operational.input.tosca.yaml | 2 ++ .../resources/policies/vFirewall.policy.operational.output.tosca.yaml | 4 +++- 3 files changed, 8 insertions(+), 1 deletion(-) (limited to 'models-examples/src') diff --git a/models-examples/src/main/resources/policies/vFirewall.policy.operational.input.tosca.json b/models-examples/src/main/resources/policies/vFirewall.policy.operational.input.tosca.json index bee87c63e..2b41b7dce 100644 --- a/models-examples/src/main/resources/policies/vFirewall.policy.operational.input.tosca.json +++ b/models-examples/src/main/resources/policies/vFirewall.policy.operational.input.tosca.json @@ -27,6 +27,9 @@ "entityIds": { "resourceID": "bbb3cefd-01c8-413c-9bdd-2b92f9ca3d38" } + }, + "payload": { + "streams": "{\"active-streams\": 5 }" } }, "timeout": 300, diff --git a/models-examples/src/main/resources/policies/vFirewall.policy.operational.input.tosca.yaml b/models-examples/src/main/resources/policies/vFirewall.policy.operational.input.tosca.yaml index 5ad7ef613..e96e86a4b 100644 --- a/models-examples/src/main/resources/policies/vFirewall.policy.operational.input.tosca.yaml +++ b/models-examples/src/main/resources/policies/vFirewall.policy.operational.input.tosca.yaml @@ -22,6 +22,8 @@ topology_template: targetType: VNF entityIds: resourceID: bbb3cefd-01c8-413c-9bdd-2b92f9ca3d38 + payload: + streams: '{"active-streams": 5 }' timeout: 300 retries: 0 success: final_success diff --git a/models-examples/src/main/resources/policies/vFirewall.policy.operational.output.tosca.yaml b/models-examples/src/main/resources/policies/vFirewall.policy.operational.output.tosca.yaml index 22aced815..f758399b2 100644 --- a/models-examples/src/main/resources/policies/vFirewall.policy.operational.output.tosca.yaml +++ b/models-examples/src/main/resources/policies/vFirewall.policy.operational.output.tosca.yaml @@ -28,6 +28,8 @@ topology_template: targetType: VNF entityIds: resourceID: Eace933104d443b496b8.nodes.heat.vpg + payload: + streams: '{"active-streams": 5 }' retry: 0 timeout: 300 success: final_success @@ -35,4 +37,4 @@ topology_template: failure_timeout: final_failure_timeout failure_retries: final_failure_retries failure_exception: final_failure_exception - failure_guard: final_failure_guard \ No newline at end of file + failure_guard: final_failure_guard -- cgit 1.2.3-korg