diff options
author | 2022-10-28 18:13:38 -0400 | |
---|---|---|
committer | 2022-11-01 22:32:18 +0000 | |
commit | 0ae086d29357800287754a19abcbc4c72b117b89 (patch) | |
tree | 6adfd7f70c791c134718f30018910a457c376b81 /platform-logic/datachange/src/main/xml/DataChange_esr-thirdparty-sdnc-discovery.xml | |
parent | 6a3cecab94c3a809bd00bdf1e17d947f33c13849 (diff) |
Support for integration of E-Line based Cloud Leased Line service with hardware domain controller.
Issue-ID: SDNC-1732
Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com>
Change-Id: Iaa49d272769b47148bcb05a5c8e35db49e85dfb7
Former-commit-id: 0a41483ccf986689a3846b9b47982e212c9f4544
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 | 130 |
1 files changed, 116 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 ebed9d63..b9e143d8 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 @@ -21,10 +21,16 @@ <parameter name="format" value="json"/>
<parameter name="httpMethod" value="post"/>
<parameter name="responsePrefix" value="token-result"/>
- <parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>
- <parameter name="trustStorePassword" value="adminadmin"/>
- <parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>
- <parameter name="keyStorePassword" value="adminadmin"/>
+ <!--<parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>-->
+ <!--<parameter name="trustStorePassword" value="adminadmin"/>-->
+ <!--<parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>-->
+ <!--<parameter name="keyStorePassword" value="adminadmin"/>-->
+ <!--<parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>-->
+ <!--<parameter name="trustStorePassword" value="adminadmin"/>-->
+ <!--<parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>-->
+ <!--<parameter name="keyStorePassword" value="adminadmin"/>-->
+ <parameter name="disableHostVerification" value="true"/>
+ <parameter name="ssl" value="false"/>
<outcome value='success'>
<set>
<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />
@@ -43,10 +49,12 @@ <parameter name="format" value="json"/>
<parameter name="httpMethod" value="get"/>
<parameter name="responsePrefix" value="topology"/>
- <parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>
- <parameter name="trustStorePassword" value="adminadmin"/>
- <parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>
- <parameter name="keyStorePassword" value="adminadmin"/>
+ <!--<parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>-->
+ <!--<parameter name="trustStorePassword" value="adminadmin"/>-->
+ <!--<parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>-->
+ <!--<parameter name="keyStorePassword" value="adminadmin"/>-->
+ <parameter name="disableHostVerification" value="true"/>
+ <parameter name="ssl" value="false"/>
<outcome value='failure'>
<return status='failure'>
<parameter name='ack-final' value='Y'/>
@@ -78,7 +86,39 @@ <set>
<parameter name='network.' value='`$topology.networks.network[$netidx].`' />
</set>
- <switch test='`$network.te-topology-identifier.topology-id`'>
+ <set>
+ <parameter name='tmpo.client-id' value='`$network.te-topology-identifier.client-id`' />
+ <parameter name='tmpo.te-topo-id' value='`$network.te-topology-identifier.topology-id`' />
+ <parameter name='tmpo.provider-id' value='`$network.te-topology-identifier.provider-id`' />
+ </set>
+ <switch test="`length($tmpo.client-id) == 0`">
+ <outcome value='true'>
+ <block>
+ <set>
+ <parameter name='tmpo.client-id' value='`$network.client-id`' />
+ </set>
+ </block>
+ </outcome>
+ </switch>
+ <switch test="`length($tmpo.te-topo-id) == 0`">
+ <outcome value='true'>
+ <block>
+ <set>
+ <parameter name='tmpo.te-topo-id' value='`$network.te-topology-id`' />
+ </set>
+ </block>
+ </outcome>
+ </switch>
+ <switch test="`length($tmpo.provider-id) == 0`">
+ <outcome value='true'>
+ <block>
+ <set>
+ <parameter name='tmpo.provider-id' value='`$network.provider-id`' />
+ </set>
+ </block>
+ </outcome>
+ </switch>
+ <switch test='`$tmpo.te-topo-id`'>
<outcome value='1'>
<block>
<set>
@@ -93,6 +133,20 @@ </set>
</block>
</outcome>
+ <outcome value='11'>
+ <block>
+ <set>
+ <parameter name='network-otn.' value='`$topology.networks.network[$netidx].`' />
+ </set>
+ </block>
+ </outcome>
+ <outcome value='33'>
+ <block>
+ <set>
+ <parameter name='network-eth.' value='`$topology.networks.network[$netidx].`' />
+ </set>
+ </block>
+ </outcome>
</switch>
</block>
</for>
@@ -112,10 +166,12 @@ <parameter name="format" value="json"/>
<parameter name="httpMethod" value="get"/>
<parameter name="responsePrefix" value="topology"/>
- <parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>
- <parameter name="trustStorePassword" value="adminadmin"/>
- <parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>
- <parameter name="keyStorePassword" value="adminadmin"/>
+ <!--<parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>-->
+ <!--<parameter name="trustStorePassword" value="adminadmin"/>-->
+ <!--<parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>-->
+ <!--<parameter name="keyStorePassword" value="adminadmin"/>-->
+ <parameter name="disableHostVerification" value="true"/>
+ <parameter name="ssl" value="false"/>
<parameter name='customHttpHeaders' value="`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`" />
<outcome value='failure'>
<return status='failure'>
@@ -148,7 +204,39 @@ <set>
<parameter name='network.' value='`$topology.networks.network[$netidx].`' />
</set>
- <switch test='`$network.te-topology-identifier.topology-id`'>
+ <set>
+ <parameter name='tmpo.client-id' value='`$network.te-topology-identifier.client-id`' />
+ <parameter name='tmpo.te-topo-id' value='`$network.te-topology-identifier.topology-id`' />
+ <parameter name='tmpo.provider-id' value='`$network.te-topology-identifier.provider-id`' />
+ </set>
+ <switch test="`length($tmpo.client-id) == 0`">
+ <outcome value='true'>
+ <block>
+ <set>
+ <parameter name='tmpo.client-id' value='`$network.client-id`' />
+ </set>
+ </block>
+ </outcome>
+ </switch>
+ <switch test="`length($tmpo.te-topo-id) == 0`">
+ <outcome value='true'>
+ <block>
+ <set>
+ <parameter name='tmpo.te-topo-id' value='`$network.te-topology-id`' />
+ </set>
+ </block>
+ </outcome>
+ </switch>
+ <switch test="`length($tmpo.provider-id) == 0`">
+ <outcome value='true'>
+ <block>
+ <set>
+ <parameter name='tmpo.provider-id' value='`$network.provider-id`' />
+ </set>
+ </block>
+ </outcome>
+ </switch>
+ <switch test='`$tmpo.te-topo-id`'>
<outcome value='1'>
<block>
<set>
@@ -163,6 +251,20 @@ </set>
</block>
</outcome>
+ <outcome value='11'>
+ <block>
+ <set>
+ <parameter name='network-otn.' value='`$topology.networks.network[$netidx].`' />
+ </set>
+ </block>
+ </outcome>
+ <outcome value='33'>
+ <block>
+ <set>
+ <parameter name='network-eth.' value='`$topology.networks.network[$netidx].`' />
+ </set>
+ </block>
+ </outcome>
</switch>
</block>
</for>
|