summaryrefslogtreecommitdiffstats
path: root/models-examples/src/main/resources/policies/vCPE.policy.operational.legacy.output.json
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2020-02-12 11:35:07 -0500
committerPamela Dragosh <pdragosh@research.att.com>2020-02-17 11:02:38 -0500
commita807429423c70dbbd2a0967facdc426b4d1b853b (patch)
treeaa2cf08a93d2c4cc2501dfdc77cdbf20c0b68a34 /models-examples/src/main/resources/policies/vCPE.policy.operational.legacy.output.json
parent170d740e8a1d74875317e86b4266b798ea8baaab (diff)
Add missing entry_schema for operational policy type
Also ensure the json for vFirewall matches the yaml. We will need to clean up some of the other legacy operational policies. Or at least rename them. Renamed legacy Operational policies to avoid confusion. Fixed wrong derived_from policy types. Operational Policy Types are now solely for new TOSCA compliant operational policy types. Issue-ID: POLICY-2146 Change-Id: Ia0bcabe6cca8e197f1bec8157a3004a420033969 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'models-examples/src/main/resources/policies/vCPE.policy.operational.legacy.output.json')
-rw-r--r--models-examples/src/main/resources/policies/vCPE.policy.operational.legacy.output.json5
1 files changed, 5 insertions, 0 deletions
diff --git a/models-examples/src/main/resources/policies/vCPE.policy.operational.legacy.output.json b/models-examples/src/main/resources/policies/vCPE.policy.operational.legacy.output.json
new file mode 100644
index 000000000..7d26e8e67
--- /dev/null
+++ b/models-examples/src/main/resources/policies/vCPE.policy.operational.legacy.output.json
@@ -0,0 +1,5 @@
+{
+ "policy-id" : "operational.restart",
+ "policy-version" : "1",
+ "content" : "controlLoop%3A%0A%20%20version%3A%202.0.0%0A%20%20controlLoopName%3A%20ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e%0A%20%20trigger_policy%3A%20unique-policy-id-1-restart%0A%20%20timeout%3A%203600%0A%20%20abatement%3A%20true%0A%20%0Apolicies%3A%0A%20%20-%20id%3A%20unique-policy-id-1-restart%0A%20%20%20%20name%3A%20Restart%20the%20VM%0A%20%20%20%20description%3A%0A%20%20%20%20actor%3A%20APPC%0A%20%20%20%20recipe%3A%20Restart%0A%20%20%20%20target%3A%0A%20%20%20%20%20%20type%3A%20VM%0A%20%20%20%20retry%3A%203%0A%20%20%20%20timeout%3A%201200%0A%20%20%20%20success%3A%20final_success%0A%20%20%20%20failure%3A%20final_failure%0A%20%20%20%20failure_timeout%3A%20final_failure_timeout%0A%20%20%20%20failure_retries%3A%20final_failure_retries%0A%20%20%20%20failure_exception%3A%20final_failure_exception%0A%20%20%20%20failure_guard%3A%20final_failure_guard"
+} \ No newline at end of file