diff options
author | Hesam Rahimi <hesam.rahimi@huawei.com> | 2020-11-16 15:09:47 +0000 |
---|---|---|
committer | Hesam Rahimi <hesam.rahimi@huawei.com> | 2020-11-16 15:09:47 +0000 |
commit | 9a0ec68b26b4c2346263c01366ed48552f9ee1f2 (patch) | |
tree | c9f893bd1ce0f037293c129e83311820bdd90ff5 /platform-logic/generic-resource-api/src/main/xml | |
parent | 1d98b77f5794ce6f2ec457ae5cc73a5d4601491a (diff) |
Reset a context memory variable (vpn-binding) in a for loop block
Issue-ID: SDNC-1414
Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com>
Change-Id: I9582036fbee5f676b12a0b7df4d7d119c020706b
Former-commit-id: 14efdd64ace038a131d7aca9e14c057fa5d7a0b0
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/xml')
-rw-r--r-- | platform-logic/generic-resource-api/src/main/xml/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-activate.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/platform-logic/generic-resource-api/src/main/xml/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-activate.xml b/platform-logic/generic-resource-api/src/main/xml/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-activate.xml index 3af9347e..bb6d1ae1 100644 --- a/platform-logic/generic-resource-api/src/main/xml/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-activate.xml +++ b/platform-logic/generic-resource-api/src/main/xml/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-activate.xml @@ -36,6 +36,9 @@ <switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>
<outcome value='vpn-binding'>
<block atomic="true">
+ <set>
+ <parameter name='tmp.aai.vpn-binding.' value='' />
+ </set>
<get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
resource="vpn-binding"
key="vpn-binding.vpn-id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value"
|