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_bbs-access-connectivity-network-topology-operation-create-huawei.xml8
-rw-r--r--platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_bbs-internet-profile-network-topology-operation-common-huawei.xml8
-rw-r--r--platform-logic/generic-resource-api/src/main/xml/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-lanport-activate.xml23
3 files changed, 28 insertions, 11 deletions
diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_bbs-access-connectivity-network-topology-operation-create-huawei.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_bbs-access-connectivity-network-topology-operation-create-huawei.xml
index b207014c..0137e010 100644
--- a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_bbs-access-connectivity-network-topology-operation-create-huawei.xml
+++ b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_bbs-access-connectivity-network-topology-operation-create-huawei.xml
@@ -16,7 +16,7 @@
</execute>
<for index='idx' start='0' end='`$network-input-parameters.param_length`' >
<block>
- <switch test="`$network-input-parameters.param[$idx].name == 'accessID'`">
+ <switch test="`$network-input-parameters.param[$idx].name == 'remote_id'`">
<outcome value='true'>
<switch test='`$network-input-parameters.param[$idx].value`'>
<outcome value=''>
@@ -28,7 +28,7 @@
</outcome>
<outcome value='Other'>
<set>
- <parameter name='prop.bbs.accessID' value='`$network-input-parameters.param[$idx].value`' />
+ <parameter name='prop.bbs.remote_id' value='`$network-input-parameters.param[$idx].value`' />
</set>
</outcome>
</switch>
@@ -228,7 +228,7 @@
AND service-instance.service-instance-id = $network-topology-operation-input.service-information.service-instance-id" force="true" pfx="tmp.AnAI-data"
>
<parameter name="metadata.metadatum[0].metaname" value="remote-id" />
- <parameter name="metadata.metadatum[0].metaval" value="`$prop.bbs.accessID`" />
+ <parameter name="metadata.metadatum[0].metaval" value="`$prop.bbs.remote_id`" />
<parameter name="metadata.metadatum[1].metaname" value="controller-service-id" />
<parameter name="metadata.metadatum[1].metaval" value="`$prop.bbs.serviceID`" />
<outcome value='failure'>
@@ -260,4 +260,4 @@
</return>
</block>
</method>
-</service-logic> \ No newline at end of file
+</service-logic>
diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_bbs-internet-profile-network-topology-operation-common-huawei.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_bbs-internet-profile-network-topology-operation-common-huawei.xml
index 95a3ac11..0eea0e09 100644
--- a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_bbs-internet-profile-network-topology-operation-common-huawei.xml
+++ b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_bbs-internet-profile-network-topology-operation-common-huawei.xml
@@ -15,7 +15,7 @@
</execute>
<for index='idx' start='0' end='`$network-input-parameters.param_length`' >
<block>
- <switch test="`$network-input-parameters.param[$idx].name == 'ip_access_id'`">
+ <switch test="`$network-input-parameters.param[$idx].name == 'ip_remote_id'`">
<outcome value='true'>
<switch test='`$network-input-parameters.param[$idx].value`'>
<outcome value=''>
@@ -27,7 +27,7 @@
</outcome>
<outcome value='Other'>
<set>
- <parameter name='prop.bbs.access_id' value='`$network-input-parameters.param[$idx].value`' />
+ <parameter name='prop.bbs.remote_id' value='`$network-input-parameters.param[$idx].value`' />
</set>
</outcome>
</switch>
@@ -165,7 +165,7 @@
<parameter name="file" value="/opt/oak/logx.txt" />
<parameter name="field1" value="bbs-internet-profile-common" />
<parameter name="field2" value="`$prop.bbs.service_id`" />
- <parameter name="field3" value="`$prop.bbs.access_id`" />
+ <parameter name="field3" value="`$prop.bbs.remote_id`" />
<parameter name="field4" value="`$prop.bbs.ont_sn`" />
<parameter name="field5" value="`$prop.bbs.service_type`" />
<parameter name="field6" value="`$prop.bbs.mac`" />
@@ -176,4 +176,4 @@
</record>
</block>
</method>
-</service-logic> \ No newline at end of file
+</service-logic>
diff --git a/platform-logic/generic-resource-api/src/main/xml/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-lanport-activate.xml b/platform-logic/generic-resource-api/src/main/xml/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-lanport-activate.xml
index 45a9bce9..d13b5db5 100644
--- a/platform-logic/generic-resource-api/src/main/xml/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-lanport-activate.xml
+++ b/platform-logic/generic-resource-api/src/main/xml/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-lanport-activate.xml
@@ -374,7 +374,11 @@
</return>
</outcome>
<outcome value='success'>
- <block atomic="true"></block>
+ <block atomic="true">
+ <set>
+ <parameter name='prop.lan.bridgeDomainId' value='`$bridgeDomainResp.success[0].id`' />
+ </set>
+ </block>
</outcome>
</execute>
</outcome>
@@ -402,7 +406,7 @@
<outcome value='success'>
<block atomic="true">
<set>
- <parameter name='prop.lan.lanPortId' value='`lanPortResp.success[0].id`' />
+ <parameter name='prop.lan.lanPortId' value='`$lanPortResp.success[0].id`' />
</set>
</block>
</outcome>
@@ -412,10 +416,23 @@
<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length].value' value='`$prop.lan.devicePortId`' />
</set>
<set>
+ <parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length + 1`' />
+ </set>
+ <set>
<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length].name' value='lanPortId' />
<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length].value' value='`$prop.lan.lanPortId`' />
</set>
<set>
+ <parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length + 1`' />
+ </set>
+ <set>
+ <parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length].name' value='bridgeDomainId' />
+ <parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length].value' value='`$prop.lan.bridgeDomainId`' />
+ </set>
+ <set>
+ <parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length + 1`' />
+ </set>
+ <set>
<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.sdnc-request-header.' value='`$vf-module-topology-operation-input.sdnc-request-header.`' />
<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.request-information.' value='`$vf-module-topology-operation-input.request-information.`' />
<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.service-information.' value='`$vf-module-topology-operation-input.service-information.`' />
@@ -458,4 +475,4 @@
</return>
</block>
</method>
-</service-logic>
+</service-logic> \ No newline at end of file