summaryrefslogtreecommitdiffstats
path: root/platform-logic/oofpcipoc-api/src/main/xml
diff options
context:
space:
mode:
authoryashwanth <gandhapu.yashwanth@wipro.com>2022-05-06 13:41:03 +0000
committeryashwanth <gandhapu.yashwanth@wipro.com>2022-05-06 13:41:03 +0000
commit29ea29abb480b206ea33354ac980f2e5e1fe8051 (patch)
treee0b8bd9ba170c64516e97a17ca5d3941884ec710 /platform-logic/oofpcipoc-api/src/main/xml
parent04e0c44238e79b708ad06a4f48ef1d952868f8cc (diff)
Configuration phy cell id dg - Fix
Issue-ID: CCSDK-3649 Signed-off-by: yashwanth <gandhapu.yashwanth@wipro.com> Change-Id: I46429ff3e993c771993e57babdc74d8b15bba83a
Diffstat (limited to 'platform-logic/oofpcipoc-api/src/main/xml')
-rw-r--r--platform-logic/oofpcipoc-api/src/main/xml/oofpcipoc-api_configuration-phy-cell-id.xml104
-rw-r--r--platform-logic/oofpcipoc-api/src/main/xml/oofpcipoc-api_generic-neighbor-configuration.xml10
2 files changed, 76 insertions, 38 deletions
diff --git a/platform-logic/oofpcipoc-api/src/main/xml/oofpcipoc-api_configuration-phy-cell-id.xml b/platform-logic/oofpcipoc-api/src/main/xml/oofpcipoc-api_configuration-phy-cell-id.xml
index a1b2d99c..f8b78a72 100644
--- a/platform-logic/oofpcipoc-api/src/main/xml/oofpcipoc-api_configuration-phy-cell-id.xml
+++ b/platform-logic/oofpcipoc-api/src/main/xml/oofpcipoc-api_configuration-phy-cell-id.xml
@@ -250,15 +250,23 @@
</return>
</outcome>
<outcome value='success'>
- <block>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/configuration-phy-cell-id.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Initial NRCELLDU PCI PARMS"/>
- <parameter name="field2" value="`$getgnbdufunction.GNBDUFunction[0].idGNBDUFunction`"/>
- <parameter name="field3" value="`$getgnbdufunction.GNBDUFunction[0].NRCellDU[0].idNRCellDU`"/>
- <parameter name="field4" value="`$getgnbdufunction.GNBDUFunction[0].NRCellDU[0].attributes.nRPCI`"/>
- </record>
+ <block atomic='true'>
+ <for index='idq' start='0' end="`$getgnbdufunction.GNBDUFunction[0].NRCellDU_length`" >
+ <block atomic='true'>
+ <switch test='`$getgnbdufunction.GNBDUFunction[0].NRCellDU[$idq].idNRCellDU == $tmp.idNRCellDU`'>
+ <outcome value='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/configuration-phy-cell-id.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Initial NRCELLDU PCI PARMS"/>
+ <parameter name="field2" value="`$getgnbdufunction.GNBDUFunction[0].idGNBDUFunction`"/>
+ <parameter name="field3" value="`$getgnbdufunction.GNBDUFunction[0].NRCellDU[$idq].idNRCellDU`"/>
+ <parameter name="field4" value="`$getgnbdufunction.GNBDUFunction[0].NRCellDU[$idq].attributes.nRPCI`"/>
+ </record>
+ </outcome>
+ </switch>
+ </block>
+ </for>
</block>
</outcome>
</execute>
@@ -331,15 +339,23 @@
</return>
</outcome>
<outcome value='success'>
- <block>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/configuration-phy-cell-id.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Post Reconfig FAP Service PCI PARMS"/>
- <parameter name="field2" value="`$getgnbdufunction.GNBDUFunction[0].idGNBDUFunction`"/>
- <parameter name="field3" value="`$getgnbdufunction.GNBDUFunction[0].NRCellDU[0].idNRCellDU`"/>
- <parameter name="field4" value="`$getgnbdufunction.GNBDUFunction[0].NRCellDU[0].attributes.nRPCI`"/>
- </record>
+ <block atomic='true'>
+ <for index='idq' start='0' end="`$getgnbdufunction.GNBDUFunction[0].NRCellDU_length`" >
+ <block atomic='true'>
+ <switch test='`$getgnbdufunction.GNBDUFunction[0].NRCellDU[$idq].idNRCellDU == $tmp.idNRCellDU`'>
+ <outcome value='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/configuration-phy-cell-id.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Post Reconfig FAP Service PCI PARMS"/>
+ <parameter name="field2" value="`$getgnbdufunction.GNBDUFunction[0].idGNBDUFunction`"/>
+ <parameter name="field3" value="`$getgnbdufunction.GNBDUFunction[0].NRCellDU[$idq].idNRCellDU`"/>
+ <parameter name="field4" value="`$getgnbdufunction.GNBDUFunction[0].NRCellDU[$idq].attributes.nRPCI`"/>
+ </record>
+ </outcome>
+ </switch>
+ </block>
+ </for>
</block>
</outcome>
</execute>
@@ -518,15 +534,23 @@
</return>
</outcome>
<outcome value='success'>
- <block>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/configuration-phy-cell-id.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Initial NRCellDU PCI PARMS"/>
- <parameter name="field2" value="`$getgnbdufunction.GNBDUFunction[0].idGNBDUFunction`"/>
- <parameter name="field3" value="`$getgnbdufunction.GNBDUFunction[0].NRCellDU[0].idNRCellDU`"/>
- <parameter name="field4" value="`$getgnbdufunction.GNBDUFunction[0].NRCellDU[0].attributes.nRPCI`"/>
- </record>
+ <block atomic='true'>
+ <for index='idq' start='0' end="`$getgnbdufunction.GNBDUFunction[0].NRCellDU_length`" >
+ <block atomic='true'>
+ <switch test='`$getgnbdufunction.GNBDUFunction[0].NRCellDU[$idq].idNRCellDU == $tmp.idNRCellDU`'>
+ <outcome value='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/configuration-phy-cell-id.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Initial NRCellDU PCI PARMS"/>
+ <parameter name="field2" value="`$getgnbdufunction.GNBDUFunction[0].idGNBDUFunction`"/>
+ <parameter name="field3" value="`$getgnbdufunction.GNBDUFunction[0].NRCellDU[$idq].idNRCellDU`"/>
+ <parameter name="field4" value="`$getgnbdufunction.GNBDUFunction[0].NRCellDU[$idq].attributes.nRPCI`"/>
+ </record>
+ </outcome>
+ </switch>
+ </block>
+ </for>
</block>
</outcome>
</execute>
@@ -605,15 +629,23 @@
</return>
</outcome>
<outcome value='success'>
- <block>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/configuration-phy-cell-id.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Post Reconfig NRCELLDU PCI PARMS"/>
- <parameter name="field2" value="`$getgnbdufunction.GNBDUFunction[0].idGNBDUFunction`"/>
- <parameter name="field3" value="`$getgnbdufunction.GNBDUFunction[0].NRCellDU[0].idNRCellDU`"/>
- <parameter name="field4" value="`$getgnbdufunction.GNBDUFunction[0].NRCellDU[0].attributes.nRPCI`"/>
- </record>
+ <block atomic='true'>
+ <for index='idq' start='0' end="`$getgnbdufunction.GNBDUFunction[0].NRCellDU_length`" >
+ <block atomic='true'>
+ <switch test='`$getgnbdufunction.GNBDUFunction[0].NRCellDU[$idq].idNRCellDU == $tmp.idNRCellDU`'>
+ <outcome value='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/configuration-phy-cell-id.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Post Reconfig NRCELLDU PCI PARMS"/>
+ <parameter name="field2" value="`$getgnbdufunction.GNBDUFunction[0].idGNBDUFunction`"/>
+ <parameter name="field3" value="`$getgnbdufunction.GNBDUFunction[0].NRCellDU[$idq].idNRCellDU`"/>
+ <parameter name="field4" value="`$getgnbdufunction.GNBDUFunction[0].NRCellDU[$idq].attributes.nRPCI`"/>
+ </record>
+ </outcome>
+ </switch>
+ </block>
+ </for>
</block>
</outcome>
</execute>
diff --git a/platform-logic/oofpcipoc-api/src/main/xml/oofpcipoc-api_generic-neighbor-configuration.xml b/platform-logic/oofpcipoc-api/src/main/xml/oofpcipoc-api_generic-neighbor-configuration.xml
index 6911f1e4..b4b0b8be 100644
--- a/platform-logic/oofpcipoc-api/src/main/xml/oofpcipoc-api_generic-neighbor-configuration.xml
+++ b/platform-logic/oofpcipoc-api/src/main/xml/oofpcipoc-api_generic-neighbor-configuration.xml
@@ -290,7 +290,10 @@
</return>
</outcome>
<outcome value='success'>
- <block>
+ <block atomic='true'>
+ <set>
+ <parameter name="tmp.nRTCI" value="`$oofpci-neighbor-response.attributes.nRTCI`"/>
+ </set>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/generic-neighbor-config.log" />
<parameter name="level" value="info" />
@@ -568,7 +571,10 @@
</return>
</outcome>
<outcome value='success'>
- <block>
+ <block atomic='true'>
+ <set>
+ <parameter name="tmp.nRTCI" value="`$oofpci-neighbor-response.attributes.nRTCI`"/>
+ </set>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/generic-neighbor-config.log" />
<parameter name="level" value="info" />