summaryrefslogtreecommitdiffstats
path: root/models-examples/src/main/resources/policies/vCPE.policy.operational.input.json
diff options
context:
space:
mode:
authorChenfei Gao <cgao@research.att.com>2020-01-09 14:04:05 -0500
committerChenfei Gao <cgao@research.att.com>2020-01-10 09:08:06 -0500
commit3078d33fa62ae86f3d645a1469165c55a5c1efd4 (patch)
treeffd13671ddf365caf7d65b86901bad01cdd991ad /models-examples/src/main/resources/policies/vCPE.policy.operational.input.json
parenta3771d2efbf906cc4bf58683d4b2f40637d63ced (diff)
Added new policy examples to support integration of new version validation feature
Issue-ID: POLICY-2316 Change-Id: Ifcb6739c7dd6c5796067a4b9e2f3eef960e1ace4 Signed-off-by: Chenfei Gao <cgao@research.att.com>
Diffstat (limited to 'models-examples/src/main/resources/policies/vCPE.policy.operational.input.json')
-rw-r--r--models-examples/src/main/resources/policies/vCPE.policy.operational.input.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/models-examples/src/main/resources/policies/vCPE.policy.operational.input.json b/models-examples/src/main/resources/policies/vCPE.policy.operational.input.json
index 393cb0282..7d26e8e67 100644
--- a/models-examples/src/main/resources/policies/vCPE.policy.operational.input.json
+++ b/models-examples/src/main/resources/policies/vCPE.policy.operational.input.json
@@ -1,4 +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