diff options
author | Ritu Sood <ritu.sood@intel.com> | 2017-09-11 14:20:13 -0700 |
---|---|---|
committer | Ritu Sood <ritu.sood@intel.com> | 2017-09-21 03:35:01 -0700 |
commit | 1aa30b7d83f97103097c7f5d3e4cbd2fad92f659 (patch) | |
tree | 8debfa85be42597ea094a298eadc1d0886e5d50f /controlloop/templates/template.demo/src/test/resources | |
parent | f5431672cc07c00f3d4e0a8a0a28d3edffb7d37e (diff) |
Add VFC Response in Working Memory & JUNIT
Adding code to insert VFC reponse in working
memory and handling that response. Also adding
JUNIT and yaml file for VoLTE usecase.
Issue-Id: POLICY-212
Change-Id: I74a13272ccd931478d27d80715d8c3ac756fb5c7
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
Diffstat (limited to 'controlloop/templates/template.demo/src/test/resources')
-rw-r--r-- | controlloop/templates/template.demo/src/test/resources/yaml/policy_ControlLoop_VFC.yaml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/controlloop/templates/template.demo/src/test/resources/yaml/policy_ControlLoop_VFC.yaml b/controlloop/templates/template.demo/src/test/resources/yaml/policy_ControlLoop_VFC.yaml new file mode 100644 index 000000000..00cced484 --- /dev/null +++ b/controlloop/templates/template.demo/src/test/resources/yaml/policy_ControlLoop_VFC.yaml @@ -0,0 +1,24 @@ +controlLoop: + version: 2.0.0 + controlLoopName: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b + + trigger_policy: unique-policy-id-1-restart + timeout: 3600 + +policies: + - id: unique-policy-id-1-restart + name: Restart the VM + description: + actor: VFC + recipe: Restart + target: + type: VM + retry: 3 + timeout: 1200 + success: final_success + failure: final_failure + failure_timeout: final_failure_timeout + failure_retries: final_failure_retries + failure_exception: final_failure_exception + failure_guard: final_failure_guard + |