diff options
author | Jim Hahn <jrh3@att.com> | 2018-11-02 14:19:30 -0400 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2018-11-02 20:41:25 +0000 |
commit | be2597b8c7723ecd80543d8892b1d3558602cfa0 (patch) | |
tree | b20b30761caa00894d4f590d64e1aa36872e5b41 /controlloop/common/policy-yaml | |
parent | 7540f701f023a07b5fd1804b3339849eaac49707 (diff) |
Re-added requestParams to vDNS policy
Undo inadvertent change to compiler test.
Change-Id: I1973612f4783936271c3fd74fb978a4f263a14a9
Issue-ID: POLICY-1240
Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'controlloop/common/policy-yaml')
-rw-r--r-- | controlloop/common/policy-yaml/README-v2.0.0.md | 10 | ||||
-rw-r--r-- | controlloop/common/policy-yaml/src/test/resources/v2.0.0/policy_ONAP_demo_vDNS.yaml | 1 |
2 files changed, 6 insertions, 5 deletions
diff --git a/controlloop/common/policy-yaml/README-v2.0.0.md b/controlloop/common/policy-yaml/README-v2.0.0.md index e08b7334a..4d79fce98 100644 --- a/controlloop/common/policy-yaml/README-v2.0.0.md +++ b/controlloop/common/policy-yaml/README-v2.0.0.md @@ -322,12 +322,9 @@ policies: controlLoop: version: 2.0.0 controlLoopName: ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3 - services: - - serviceName: d4738992-6497-4dca-9db9 - serviceInvariantUUID: dc112d6e-7e73-4777-9c6f-1a7fb5fd1b6f - serviceUUID: 2eea06c6-e1d3-4c3a-b9c4-478c506eeedf trigger_policy: unique-policy-id-1-scale-up timeout: 1200 + abatement: false policies: - id: unique-policy-id-1-scale-up @@ -336,7 +333,10 @@ policies: actor: SO recipe: VF Module Create target: - resourceID: 59a2ee3fB58045feB5a1.nodes.heat.vdns + type: VNF + 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]"}]' retry: 0 timeout: 1200 success: final_success diff --git a/controlloop/common/policy-yaml/src/test/resources/v2.0.0/policy_ONAP_demo_vDNS.yaml b/controlloop/common/policy-yaml/src/test/resources/v2.0.0/policy_ONAP_demo_vDNS.yaml index 50de04d45..dc8d5e7b6 100644 --- a/controlloop/common/policy-yaml/src/test/resources/v2.0.0/policy_ONAP_demo_vDNS.yaml +++ b/controlloop/common/policy-yaml/src/test/resources/v2.0.0/policy_ONAP_demo_vDNS.yaml @@ -51,6 +51,7 @@ policies: target: type: VNF 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]"}]' retry: 0 timeout: 1200 |