summaryrefslogtreecommitdiffstats
path: root/models-examples/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'models-examples/src/main')
-rw-r--r--models-examples/src/main/resources/policies/vFirewall.policy.operational.input.tosca.json3
-rw-r--r--models-examples/src/main/resources/policies/vFirewall.policy.operational.input.tosca.yaml2
-rw-r--r--models-examples/src/main/resources/policies/vFirewall.policy.operational.output.tosca.yaml4
3 files changed, 8 insertions, 1 deletions
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