aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/xml
diff options
context:
space:
mode:
authorprakash.e <prakash.e@huawei.com>2019-05-06 11:11:51 +0530
committerprakash.e <prakash.e@huawei.com>2019-05-06 11:11:57 +0530
commit5a9ce60c616970d510d7d21fd3a69186c3f79731 (patch)
tree9b059aca1664ea9358a7a5e8e9617ae36091b85d /platform-logic/generic-resource-api/src/main/xml
parentfdebf75e0c78bc7d8b93add684c8528c8d4f2ac3 (diff)
Fixed lan-port-deactivate by passing bridgeDomainId
Added bridgeDomainId parameter in lan-port-param DG to pass it in bridgeDomain delete request to controller Change-Id: Ifef40161756256ec57cde1ee1fbf8779edec81fe Issue-ID: SDNC-659 Signed-off-by: Prakash.E <prakash.e@huawei.com> Former-commit-id: 813277f3100e05ae7580b0cd8712ee97eec7e99c
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-get-vf-module-lanport-param.xml11
1 files changed, 9 insertions, 2 deletions
diff --git a/platform-logic/generic-resource-api/src/main/xml/sdwan/GENERIC-RESOURCE-API_sdwan-get-vf-module-lanport-param.xml b/platform-logic/generic-resource-api/src/main/xml/sdwan/GENERIC-RESOURCE-API_sdwan-get-vf-module-lanport-param.xml
index 72241740..70d408d1 100644
--- a/platform-logic/generic-resource-api/src/main/xml/sdwan/GENERIC-RESOURCE-API_sdwan-get-vf-module-lanport-param.xml
+++ b/platform-logic/generic-resource-api/src/main/xml/sdwan/GENERIC-RESOURCE-API_sdwan-get-vf-module-lanport-param.xml
@@ -1,6 +1,6 @@
<service-logic
- xmlns='http://www.onap.org/sdnc/svclogic'
- xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>
+ xmlns='http://www.onap.org/sdnc/svclogic'
+ xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>
<method rpc='sdwan-get-vf-module-lanport-param' mode='sync'>
<block atomic="true">
<for index="idx" start="0" end="`$vf-module-request-input.vf-module-input-parameters.param_length`">
@@ -68,6 +68,13 @@
</set>
</outcome>
</switch>
+ <switch test="`$vf-module-request-input.vf-module-input-parameters.param[$idx].name == 'bridgeDomainId'`">
+ <outcome value='true'>
+ <set>
+ <parameter name='prop.lan.bridgeDomainId' value='`$vf-module-request-input.vf-module-input-parameters.param[$idx].value`' />
+ </set>
+ </outcome>
+ </switch>
<return status='success'>
<parameter name="ack-final-indicator" value="Y" />
<parameter name="error-code" value="200" />