Merge "Ansible playbook for vFW TD"
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / xml / GENERIC-RESOURCE-API_sdwan-vnf-topology-operation-wanport-create.xml
index cf209c0..a182dc5 100644 (file)
                 <parameter name="vnf-object-path" value="`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $vnf-topology-operation-input.service-information.service-instance-id  + '/service-data/vnfs/vnf/'  + $prop.vnf-index  + '/vnf-data/'` " />\r
             </set>\r
             <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='wan-port-config' \r
-      key='wan-port-config.id = $prop.vnf-index' >\r
-                <parameter name="id" value="`$prop.vnf-index`" />\r
-                <parameter name="name" value="`$prop.wan.name`" />\r
+      key='wan-port-config.wan-port-config-id = $prop.vnf-index' >\r
+                <parameter name="wan-port-config-id" value="`$prop.vnf-index`" />\r
+                <parameter name="wan-port-config-name" value="`$prop.wan.name`" />\r
                 <parameter name="device-id" value="`$prop.wan.deviceName`" />\r
                 <parameter name='vlan-id' value="`$prop.wan.vlanId`" />\r
-                <parameter name="ip-address" value="`$prop.wan.ipAdddress`" />\r
+                <parameter name="ip-address" value="`$prop.wan.ipAddress`" />\r
                 <parameter name="provider-ip-address" value="`$prop.wan.providerIpAddress`" />\r
                 <parameter name="input-bandwidth" value="`$prop.wan.inputBandwidth`" />\r
                 <parameter name="output-bandwidth" value="`$prop.wan.outputBandwidth`" />\r
       force="true" pfx="tmp.AnAI-data">\r
                 <parameter name="relationship-list.relationship[0].related-to" value="wan-port-config" />\r
                 <parameter name="relationship-list.relationship[0].related-link" value="`'/network/wan-port-configs/wan-port-config/' + $prop.vnf-index`" />\r
-                <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-key" value="wan-port-config.id" />\r
+                <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-key" value="wan-port-config.wan-port-config-id" />\r
                 <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="`$prop.vnf-index`" />\r
             </save>\r
             <return status='success'>\r