aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/xml
diff options
context:
space:
mode:
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.xml74
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`"/>