aboutsummaryrefslogtreecommitdiffstats
path: root/controlloop/templates/archetype-cl-amsterdam
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2018-08-27 15:32:14 -0400
committerJim Hahn <jrh3@att.com>2018-08-28 10:56:27 -0400
commitf43b3e32fdf4cdb3361c584491730af18ef46baf (patch)
treed3e6434d66c3e5e8d6371581d64039b79c6ad584 /controlloop/templates/archetype-cl-amsterdam
parent57ac9eac8ac0f8236ddb52e5226f475368d4de33 (diff)
use new SO API for scale-out
Updated licenses and serialization IDs. Moved hashCode() and equals() methods to be in same location as in the original code so it can be more easily compared. Changed vDNS yaml timeout and retry to 1200 and 0, respectively, to match the original values. Removed extra newline from yaml, to match original yaml. Reformatted source to wrap lines at 120 characters and removing trailing white space. Change-Id: I3f5e59a1f44750347de49164f587d4ffefdee8b4 Issue-ID: POLICY-962 Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'controlloop/templates/archetype-cl-amsterdam')
-rw-r--r--controlloop/templates/archetype-cl-amsterdam/src/main/resources/archetype-resources/src/main/config/vDNS.yaml7
1 files changed, 5 insertions, 2 deletions
diff --git a/controlloop/templates/archetype-cl-amsterdam/src/main/resources/archetype-resources/src/main/config/vDNS.yaml b/controlloop/templates/archetype-cl-amsterdam/src/main/resources/archetype-resources/src/main/config/vDNS.yaml
index 6a905c20f..71ee386ef 100644
--- a/controlloop/templates/archetype-cl-amsterdam/src/main/resources/archetype-resources/src/main/config/vDNS.yaml
+++ b/controlloop/templates/archetype-cl-amsterdam/src/main/resources/archetype-resources/src/main/config/vDNS.yaml
@@ -15,7 +15,7 @@ controlLoop:
version: 2.0.0
controlLoopName: ${closedLoopControlName}
trigger_policy: unique-policy-id-1-scale-up
- timeout: 3600
+ timeout: 1200
abatement: false
policies:
@@ -26,7 +26,10 @@ policies:
recipe: VF Module Create
target:
type: VNF
- retry: 3
+ payload:
+ requestParameters: '{"usePreload":true,"userParams":[{"name":"gtp_bind_addr","value":"vmme_private_ip_0"},{"name":"mmc","value":"001"},{"name":"mme_addr","value":"vmme_private_ip_0"},{"name":"mnc","value":"01"},{"name":"n_prob","value":"50"},{"name":"vnfHostIpAddress","value":"veb_private_ip_0"}]}'
+ configurationParameters: '[{"availability-zone":"$.vnf-topology.vnf-resource-assignments.availability-zones.availability-zone[0]","xtz-123":"$.vnf-topology.vnf-resource-assignments.availability-zones.availability-zone[0]"}]'
+ retry: 0
timeout: 1200
success: final_success
failure: final_failure