summaryrefslogtreecommitdiffstats
path: root/controlloop/templates/template.demo/src/test
diff options
context:
space:
mode:
authorvamshi.nemalikonda <vn00480215@techmahindra.com>2019-04-10 16:37:08 +0530
committerVamshi Krishna Namilikonda <vn00480215@techmahindra.com>2019-04-10 13:43:26 +0000
commit92fc7744a4df901d1688b9fa8da899372ea76fd8 (patch)
tree4824e50b33023963d8c0977147f3236cdc8e8cc1 /controlloop/templates/template.demo/src/test
parent776b69ebd28440f84a890b1d4170af77ca5974ff (diff)
Parse new model ids from operation policy
Takes VFModule info from policy yaml,instead AAI. Change-Id: If745b3ba32562cbc37571cea29ec7797ee697e88 Issue-ID: POLICY-1545 Signed-off-by: vamshi.nemalikonda <vn00480215@techmahindra.com>
Diffstat (limited to 'controlloop/templates/template.demo/src/test')
-rw-r--r--controlloop/templates/template.demo/src/test/resources/yaml/policy_ControlLoop_SO-test.yaml7
1 files changed, 6 insertions, 1 deletions
diff --git a/controlloop/templates/template.demo/src/test/resources/yaml/policy_ControlLoop_SO-test.yaml b/controlloop/templates/template.demo/src/test/resources/yaml/policy_ControlLoop_SO-test.yaml
index f57a6d62b..c6125d082 100644
--- a/controlloop/templates/template.demo/src/test/resources/yaml/policy_ControlLoop_SO-test.yaml
+++ b/controlloop/templates/template.demo/src/test/resources/yaml/policy_ControlLoop_SO-test.yaml
@@ -28,7 +28,12 @@ policies:
actor: SO
recipe: VF Module Create
target:
- type: VNF
+ type: VFMODULE
+ modelInvariantId: 90b793b5-b8ae-4c36-b10b-4b6372859d3a
+ modelVersionId: 2210154d-e61a-4d7f-8fb9-0face1aee3f8
+ modelName: SproutScalingVf..scaling_sprout..module-1
+ modelVersion: 1
+ modelCustomizationId: 3e2d67ad-3495-4732-82f6-b0b872791fff
payload:
requestParameters: '{"usePreload":true,"userParams":[]}'
configurationParameters: '[{"ip-addr":"$.vf-module-topology.vf-module-parameters.param[9]","oam-ip-addr":"$.vf-module-topology.vf-module-parameters.param[16]","enabled":"$.vf-module-topology.vf-module-parameters.param[23]"}]'