diff options
author | Zhuoyao Huang <10112215@zte.com.cn> | 2018-11-09 15:37:03 +0800 |
---|---|---|
committer | Zhuoyao Huang <10112215@zte.com.cn> | 2018-11-09 15:37:03 +0800 |
commit | a7c0d105a003dc843af8369e767c55ac5b643c4c (patch) | |
tree | 92b1a2f872d28ad317c520b49b2c18b1487989e2 /platform-logic/generic-resource-api/src/main/xml | |
parent | 3447fbd0ac1b8bfe7a0c0080fa702e69a80112f3 (diff) |
wan-connection bug fix for ccvpn integration test
Issue-ID: SDNC-354
Change-Id: I0337c77a073b21888c31d25d305f55feb14768ae
Signed-off-by: Zhuoyao Huang <10112215@zte.com.cn>
Former-commit-id: 3a149df679e4cb13ca0f045d254b250fffdddab7
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`"/> |