fixed WAN port create issue
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / xml / sdwan / GENERIC-RESOURCE-API_sdwan-vf-operation-wanport-activate.xml
index 40b1896..288dd5d 100644 (file)
                                     </block>\r
                                 </outcome>\r
                             </switch>\r
-                            <switch test="`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-data.request-information.request-action == 'ActivateSiteInstance'`">\r
+                            <switch test="`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-data.request-information.request-action == 'ActivateSDWANSiteInstance'`">\r
                                 <outcome value='true'>\r
                                     <set>\r
                                         <parameter name='tmp.siteVidx' value='`$idx`' />\r
                                     <outcome value='true'>\r
                                         <block atomic="true">\r
                                             <set>\r
-                                                <parameter name='prop.wan.ip-address' value="prop.wan.ipAddress" />\r
-                                                <parameter name='prop.wan.providerIpAddress' value="prop.wan.provideripAddress" />\r
                                                 <parameter name='prop.wan.IpMode' value="static" />\r
+                                                <parameter name='prop.wan.ipAddress' value='`$prop.wan.ip-address`' />\r
                                                 <parameter name='prop.route.nextHopType' value="ip-address" />\r
-                                                <parameter name='prop.route.ipAddress' value="`$prop.wan.ipAddress`" />\r
                                             </set>\r
                                             <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\r
                                                 <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/sdwan-wan-port-static.json'`" />\r
                                     <outcome value='true'>\r
                                         <block atomic="true">\r
                                             <set>\r
-                                                <parameter name='prop.wan.ip-address' value="" />\r
+                                                <parameter name='prop.wan.ipAddress' value="" />\r
                                                 <parameter name='prop.wan.prefixLength' value="" />\r
                                                 <parameter name='prop.wan.providerIpAddress' value="" />\r
                                                 <parameter name='prop.wan.IpMode' value="DHCP" />\r