diff options
author | Dan Timoney <dtimoney@att.com> | 2018-11-15 20:38:00 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-11-15 20:38:00 +0000 |
commit | de65a4a68e23242018284dc350a321d08d8b608e (patch) | |
tree | bf03bf2967768b0fd922fbd61ad32e6a2c3f8616 /platform-logic/generic-resource-api/src/main/xml | |
parent | f40bcee7411ff0f252629cdf39337c9b7436c4ac (diff) | |
parent | a7c0d105a003dc843af8369e767c55ac5b643c4c (diff) |
Merge "wan-connection bug fix for ccvpn integration test"
Former-commit-id: 2608b727fbaa26beacd94530aadc5170f580e837
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/xml')
-rw-r--r-- | platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_wan-connection-topology-operation-activate.xml | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_wan-connection-topology-operation-activate.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_wan-connection-topology-operation-activate.xml index 0b1ff5a9..b11e7408 100644 --- a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_wan-connection-topology-operation-activate.xml +++ b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_wan-connection-topology-operation-activate.xml @@ -131,6 +131,80 @@ <parameter name="prop.remote.connection-attachment.access-node-id" value="`$temp.accessTPs[1].access-node-id`"/> <parameter name="prop.remote.connection-attachment.access-ltp-id" value="`$temp.accessTPs[1].access-ltp-id`"/> </set> + <for index="paidx" start="0" end="`$tmp.network-input-parameters.param_length`"> + <block> + <switch test="`$tmp.network-input-parameters.param[$paidx].name == 'name'`"> + <outcome value="true"> + <set> + <parameter name="template.name" value="`$tmp.network-input-parameters.param[$paidx].value`"/> + </set> + </outcome> + </switch> + <switch test="`$tmp.network-input-parameters.param[$paidx].name == 'service-type'`"> + <outcome value="true"> + <set> + <parameter name="template.service-type" value="`$tmp.network-input-parameters.param[$paidx].value`"/> + </set> + </outcome> + </switch> + <switch test="`$tmp.network-input-parameters.param[$paidx].name == 'total-size'`"> + <outcome value="true"> + <set> + <parameter name="template.total-size" value="`$tmp.network-input-parameters.param[$paidx].value`"/> + </set> + </outcome> + </switch> + <switch test="`$tmp.network-input-parameters.param[$paidx].name == 'pir'`"> + <outcome value="true"> + <set> + <parameter name="template.pir" value="`$tmp.network-input-parameters.param[$paidx].value`"/> + </set> + </outcome> + </switch> + <switch test="`$tmp.network-input-parameters.param[$paidx].name == 'cbs'`"> + <outcome value="true"> + <set> + <parameter name="template.cbs" value="`$tmp.network-input-parameters.param[$paidx].value`"/> + </set> + </outcome> + </switch> + <switch test="`$tmp.network-input-parameters.param[$paidx].name == 'pbs'`"> + <outcome value="true"> + <set> + <parameter name="template.pbs" value="`$tmp.network-input-parameters.param[$paidx].value`"/> + </set> + </outcome> + </switch> + <switch test="`$tmp.network-input-parameters.param[$paidx].name == 'couplingFlag'`"> + <outcome value="true"> + <set> + <parameter name="template.couplingFlag" value="`$tmp.network-input-parameters.param[$paidx].value`"/> + </set> + </outcome> + </switch> + <switch test="`$tmp.network-input-parameters.param[$paidx].name == 'colorAware'`"> + <outcome value="true"> + <set> + <parameter name="template.colorAware" value="`$tmp.network-input-parameters.param[$paidx].value`"/> + </set> + </outcome> + </switch> + <switch test="`$tmp.network-input-parameters.param[$paidx].name == 'route-objective-function'`"> + <outcome value="true"> + <set> + <parameter name="template.route-objective-function" value="`$tmp.network-input-parameters.param[$paidx].value`"/> + </set> + </outcome> + </switch> + <switch test="`$tmp.network-input-parameters.param[$paidx].name == 'diversity-policy'`"> + <outcome value="true"> + <set> + <parameter name="template.diversity-policy" value="`$tmp.network-input-parameters.param[$paidx].value`"/> + </set> + </outcome> + </switch> + </block> + </for> <execute plugin="org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode" method="sendRequest"> <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/' + $prop.restapi.oof-getpath.templatefile`"/> <parameter name="restapiUrl" value="`$prop.restapi.connection-oof-url`"/> |