summaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/xml
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2019-04-27 01:30:50 +0000
committerGerrit Code Review <gerrit@onap.org>2019-04-27 01:30:50 +0000
commit796cd924f57d4f2a373867350efafcd06750c1a4 (patch)
tree42d38f1f19cba191785764fa3413549a6a2a5d17 /platform-logic/generic-resource-api/src/main/xml
parent85c0c3178ad539f30f197f5861476ca04cd2496d (diff)
parentab3c36a57bb6a1f887c9750a5299197622527213 (diff)
Merge "fixed WAN port create issue"
Former-commit-id: 5377ee40ada510053ed0beeba9410de6600a6ae2
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/xml')
-rw-r--r--platform-logic/generic-resource-api/src/main/xml/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-wanport-activate.xml8
1 files changed, 3 insertions, 5 deletions
diff --git a/platform-logic/generic-resource-api/src/main/xml/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-wanport-activate.xml b/platform-logic/generic-resource-api/src/main/xml/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-wanport-activate.xml
index 40b1896d..288dd5d9 100644
--- a/platform-logic/generic-resource-api/src/main/xml/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-wanport-activate.xml
+++ b/platform-logic/generic-resource-api/src/main/xml/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-wanport-activate.xml
@@ -129,7 +129,7 @@
</block>
</outcome>
</switch>
- <switch test="`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-data.request-information.request-action == 'ActivateSiteInstance'`">
+ <switch test="`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-data.request-information.request-action == 'ActivateSDWANSiteInstance'`">
<outcome value='true'>
<set>
<parameter name='tmp.siteVidx' value='`$idx`' />
@@ -346,11 +346,9 @@
<outcome value='true'>
<block atomic="true">
<set>
- <parameter name='prop.wan.ip-address' value="prop.wan.ipAddress" />
- <parameter name='prop.wan.providerIpAddress' value="prop.wan.provideripAddress" />
<parameter name='prop.wan.IpMode' value="static" />
+ <parameter name='prop.wan.ipAddress' value='`$prop.wan.ip-address`' />
<parameter name='prop.route.nextHopType' value="ip-address" />
- <parameter name='prop.route.ipAddress' value="`$prop.wan.ipAddress`" />
</set>
<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
<parameter name="templateFileName" value="`$prop.restapi.templateDir + '/sdwan-wan-port-static.json'`" />
@@ -383,7 +381,7 @@
<outcome value='true'>
<block atomic="true">
<set>
- <parameter name='prop.wan.ip-address' value="" />
+ <parameter name='prop.wan.ipAddress' value="" />
<parameter name='prop.wan.prefixLength' value="" />
<parameter name='prop.wan.providerIpAddress' value="" />
<parameter name='prop.wan.IpMode' value="DHCP" />