diff options
author | 2020-10-30 03:29:17 +0000 | |
---|---|---|
committer | 2020-11-03 09:47:25 -0500 | |
commit | 550fe5b30603ff6da993acc5aeea83d1096433eb (patch) | |
tree | a4a76af7d7438cd396f775f8b5f7b452af034341 /platform-logic/datachange/src/main/xml/DataChange_esr-thirdparty-sdnc-discovery.xml | |
parent | bc5810f48963ec7414b69d077cd2ed91ae187136 (diff) |
Completing the logic and the call flow for Transport Slicing operations:
- Allocate a Transport Slice
- Activate a Transport Slice
- DeActivate a Transport Slice
- Delete a Transport Slice
Bug Fixing and cleaning up the DGs.
Issue-ID: SDNC-1202
Issue-ID: SDNC-1404
Change-Id: Ib2eae06c543ae8277ee2014fda87ca2ca3a516af
Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com>
Former-commit-id: 7d1d841fd7271844c65ca1e9754ad5eec2487c4d
Diffstat (limited to 'platform-logic/datachange/src/main/xml/DataChange_esr-thirdparty-sdnc-discovery.xml')
-rw-r--r-- | platform-logic/datachange/src/main/xml/DataChange_esr-thirdparty-sdnc-discovery.xml | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/platform-logic/datachange/src/main/xml/DataChange_esr-thirdparty-sdnc-discovery.xml b/platform-logic/datachange/src/main/xml/DataChange_esr-thirdparty-sdnc-discovery.xml index 057f6313..98585dbd 100644 --- a/platform-logic/datachange/src/main/xml/DataChange_esr-thirdparty-sdnc-discovery.xml +++ b/platform-logic/datachange/src/main/xml/DataChange_esr-thirdparty-sdnc-discovery.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='DataChange' 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='DataChange' version='${project.version}'>
<method rpc='esr-thirdparty-sdnc-discovery' mode='sync'>
<block atomic="true">
<switch test="`$prop.sdncRestApi.vendor == 'ZTE'`">
@@ -76,14 +76,14 @@ <parameter name='network.' value='`$topology.networks.network[$netidx].`' />
</set>
<switch test='`$network.te-topology-id`'>
- <outcome value='11'>
+ <outcome value='1'>
<block>
<set>
<parameter name='network-otn.' value='`$topology.networks.network[$netidx].`' />
</set>
</block>
</outcome>
- <outcome value='33'>
+ <outcome value='2'>
<block>
<set>
<parameter name='network-eth.' value='`$topology.networks.network[$netidx].`' />
@@ -143,14 +143,14 @@ <parameter name='network.' value='`$topology.networks.network[$netidx].`' />
</set>
<switch test='`$network.te-topology-id`'>
- <outcome value='11'>
+ <outcome value='1'>
<block>
<set>
<parameter name='network-otn.' value='`$topology.networks.network[$netidx].`' />
</set>
</block>
</outcome>
- <outcome value='33'>
+ <outcome value='2'>
<block>
<set>
<parameter name='network-eth.' value='`$topology.networks.network[$netidx].`' />
@@ -275,14 +275,14 @@ <parameter name='controllerid' value="`$prop.sdncRestApi.type + '_' + $prop.sdncRestApi.thirdpartySdnc.url + '_' + $prop.sdncRestApi.thirdpartySdnc.id`" />
</set>
<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'
-key='SELECT controller_id
+ key='SELECT controller_id
from TOPOLOGY_LOGICAL_RELATION_TO_PINTERFACE
WHERE controller_id = $controllerid'
-pfx='dbcontrollerid'>
+ pfx='dbcontrollerid'>
<outcome value='success'>
<delete plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource'
- resource="SQL"
- key="DELETE FROM TOPOLOGY_LOGICAL_RELATION_TO_PINTERFACE WHERE controller_id = $controllerid"></delete>
+ resource="SQL"
+ key="DELETE FROM TOPOLOGY_LOGICAL_RELATION_TO_PINTERFACE WHERE controller_id = $controllerid"></delete>
</outcome>
<outcome value='failure'>
<return status='failure'>
@@ -307,14 +307,14 @@ pfx='dbcontrollerid'> <parameter name='controllerid' value="`$prop.sdncRestApi.type + '_' + $prop.sdncRestApi.thirdpartySdnc.url + '_' + $prop.sdncRestApi.thirdpartySdnc.id`" />
</set>
<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'
-key='SELECT controller_id
+ key='SELECT controller_id
from TOPOLOGY_LOGICAL_RELATION_TO_PINTERFACE
WHERE controller_id = $controllerid'
-pfx='dbcontrollerid'>
+ pfx='dbcontrollerid'>
<outcome value='success'>
<delete plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource'
- resource="SQL"
- key="DELETE FROM TOPOLOGY_LOGICAL_RELATION_TO_PINTERFACE WHERE controller_id = $controllerid"></delete>
+ resource="SQL"
+ key="DELETE FROM TOPOLOGY_LOGICAL_RELATION_TO_PINTERFACE WHERE controller_id = $controllerid"></delete>
</outcome>
<outcome value='failure'>
<return status='failure'>
|