diff options
author | 2022-05-04 15:20:28 -0400 | |
---|---|---|
committer | 2022-05-04 15:20:28 -0400 | |
commit | 284450cd6da9aabcb9817f22b606d6f149d3d8df (patch) | |
tree | 42f4c2c71f433ed18a7b9e286388289d93abf538 /platform-logic/generic-resource-api/src/main/xml/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof.xml | |
parent | 3eb164a4255f6b43b18f05c3ec22f245ade9f007 (diff) |
Make sure to set dst topology id when hasSecondary flag is empty. This is
required for CCVPN Transport Slicing use-case.
Issue-ID: SDNC-1694
Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com>
Change-Id: I3d99ee179007b582f798312e6fe84907ebf36a8a
Former-commit-id: 50acc01f3c29efe1551dd16cc24b72aab87ce8e2
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/xml/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof.xml')
-rw-r--r-- | platform-logic/generic-resource-api/src/main/xml/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof.xml | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/platform-logic/generic-resource-api/src/main/xml/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof.xml b/platform-logic/generic-resource-api/src/main/xml/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof.xml index 2f2e4d96..9313ff60 100644 --- a/platform-logic/generic-resource-api/src/main/xml/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof.xml +++ b/platform-logic/generic-resource-api/src/main/xml/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof.xml @@ -31,11 +31,6 @@ <outcome value='true'>
<block>
<switch test='`$hasSecondary`'>
- <outcome value='false'>
- <set>
- <parameter name='otnTopoIdDst' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />
- </set>
- </outcome>
<outcome value='true'>
<block>
<!-- This is to check the provider-id of ROOt and SECONDARY-ROOT-->
@@ -60,6 +55,11 @@ </switch>
</block>
</outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name='otnTopoIdDst' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />
+ </set>
+ </outcome>
</switch>
</block>
</outcome>
@@ -71,7 +71,11 @@ <block>
<switch test='`$hasSecondary`'>
<outcome value='true'>
- <block></block>
+ <block>
+ <set>
+ <parameter name='otnTopoIdDstBackup' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />
+ </set>
+ </block>
</outcome>
</switch>
</block>
|