summaryrefslogtreecommitdiffstats
path: root/platform-logic/oofpcipoc-api/src/main/json/oofpcipoc-api_generic-neighbor-configuration.json
diff options
context:
space:
mode:
authorSandeep Shah <sandeep.shah2@techmahindra.com>2019-06-13 08:46:43 -0500
committerSandeep Shah <sandeep.shah2@techmahindra.com>2019-06-13 08:46:43 -0500
commit5d012b346c6a6b9b87c81da720094afad5282127 (patch)
treea3945212bc03a21e427fb1e5032c79ef0cd8a755 /platform-logic/oofpcipoc-api/src/main/json/oofpcipoc-api_generic-neighbor-configuration.json
parent428403f72cd97df8bdded8dadb624cd01dde459a (diff)
SDNR OOCPCI DG Updates for RANSIM Netconf Mount
RAN Simulator leverages Netconf servers to simulate DU's in the RAN and DG's that reconfigure YANG tree leaf nodes for closed loop automation need to also support RESTCONF API calls for YANG tree leaf nodes behind the mount points. Modified existing DG's and DG properties file Issue-ID: CCSDK-1398 Signed-off-by: SandeepLinux <sandeeplinux1068@gmail.com> Change-Id: I2875860115d6ee07edaa39bfcb2e28c01ac9040f
Diffstat (limited to 'platform-logic/oofpcipoc-api/src/main/json/oofpcipoc-api_generic-neighbor-configuration.json')
-rw-r--r--platform-logic/oofpcipoc-api/src/main/json/oofpcipoc-api_generic-neighbor-configuration.json883
1 files changed, 687 insertions, 196 deletions
diff --git a/platform-logic/oofpcipoc-api/src/main/json/oofpcipoc-api_generic-neighbor-configuration.json b/platform-logic/oofpcipoc-api/src/main/json/oofpcipoc-api_generic-neighbor-configuration.json
index 8127aaf2..fab2d021 100644
--- a/platform-logic/oofpcipoc-api/src/main/json/oofpcipoc-api_generic-neighbor-configuration.json
+++ b/platform-logic/oofpcipoc-api/src/main/json/oofpcipoc-api_generic-neighbor-configuration.json
@@ -1,191 +1,191 @@
[
{
- "id": "966e407d.9086f",
+ "id": "acb70e34.bf9d7",
"type": "comment",
"name": "Generic Neighbor Configuration",
"info": "",
"comments": "",
- "x": 335.50001335144043,
- "y": 20,
- "z": "fef406db.decef8",
+ "x": 356,
+ "y": 23,
+ "z": "c197f7e7.1da478",
"wires": []
},
{
- "id": "6fb545d.b9f92bc",
+ "id": "d3fed603.f6fc28",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 391.5,
- "y": 382.01049518585205,
- "z": "fef406db.decef8",
+ "x": 581.9999866485596,
+ "y": 252.01049518585205,
+ "z": "c197f7e7.1da478",
"wires": [
[
- "542aa267.5de7ec",
- "e4d83e12.5aa3c",
- "261a200c.78536",
- "3400b7a4.1ff4c8",
- "fd45e824.20b968",
- "d7ff45e9.c502f8",
- "9e7ad97b.b26a38",
- "a191be9b.c3b55",
- "375845c8.cdbe7a",
- "bedde1a6.6b5ec"
+ "dd03124b.c1ad6",
+ "bb81a2c1.93396",
+ "a007069.f2610f8",
+ "92d276da.4c88e8",
+ "198eb06.8f50d5",
+ "f75fac3.b2d7e5",
+ "1c57b1b4.beaaee",
+ "1e96218.b0f68df",
+ "15ad3471.a615dc",
+ "cc8e22e1.329b1"
]
]
},
{
- "id": "71827db2.f669d4",
+ "id": "86dca6b7.e82f88",
"type": "for",
"name": "for",
"xml": "<for index='idx' start='0' end=\"`$generic-neighbor-configuration-input.number-of-neighbor-cell-entries`\" >",
"comments": "",
"outputs": 1,
- "x": 287.50018882751465,
- "y": 453.99998664855957,
- "z": "fef406db.decef8",
+ "x": 544.0001831054688,
+ "y": 401,
+ "z": "c197f7e7.1da478",
"wires": [
[
- "6fb545d.b9f92bc"
+ "d3fed603.f6fc28"
]
]
},
{
- "id": "542aa267.5de7ec",
+ "id": "dd03124b.c1ad6",
"type": "set",
"name": "set tmp variables for the requested fap service input parms",
"xml": "<set>\n<parameter name=\"tmp.alias\" value=\"`$generic-neighbor-configuration-input.alias`\"/>\n<parameter name=\"tmp.plmnid\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].plmnid`\"/>\n<parameter name=\"tmp.cid\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].cid`\"/>\n<parameter name=\"tmp.phy-cell-id\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].phy-cell-id`\"/>\n<parameter name=\"tmp.pnf-name\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].pnf-name`\"/>\n<parameter name=\"tmp.blacklisted\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].blacklisted`\"/>\n",
"comments": "",
- "x": 737.5011444091797,
- "y": 175.88909339904785,
- "z": "fef406db.decef8",
+ "x": 928.0011596679688,
+ "y": 45.88909912109375,
+ "z": "c197f7e7.1da478",
"wires": []
},
{
- "id": "e4d83e12.5aa3c",
+ "id": "bb81a2c1.93396",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Temporary varaibles set. Neighbor #: \"/>\n<parameter name=\"field2\" value=\"`$idx`\"/>\n<parameter name=\"field3\" value=\"`$tmp.plmnid`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cid`\"/>\n<parameter name=\"field5\" value=\"`$tmp.phy-cell-id`\"/>\n<parameter name=\"field6\" value=\"`$tmp.pnf-name`\"/>\n<parameter name=\"field7\" value=\"`$tmp.blacklisted`\"/>",
"comments": "",
"outputs": 1,
- "x": 602.0105209350586,
- "y": 219.0104274749756,
- "z": "fef406db.decef8",
+ "x": 792.5105075836182,
+ "y": 89.01042747497559,
+ "z": "c197f7e7.1da478",
"wires": [
[]
]
},
{
- "id": "7c2f19ac.9408c8",
+ "id": "ac8961a8.d1fb4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 98.9896125793457,
- "y": 452.9896240234375,
- "z": "fef406db.decef8",
+ "x": 119.48959350585938,
+ "y": 279.9896240234375,
+ "z": "c197f7e7.1da478",
"wires": [
[
- "71827db2.f669d4",
- "51af8168.06635",
- "cecc5c7b.7371f",
- "c7654668.510fc8",
- "a6c8572f.221db8",
- "eaa9ba03.7776a8"
+ "6501a6c8.9b7ae8",
+ "32f454b1.f5ccfc",
+ "32ca92c1.87b4ae",
+ "dc78859c.2a1938",
+ "fb252ea6.2716a",
+ "c0db2192.9d16c"
]
]
},
{
- "id": "69c02c08.5e9024",
+ "id": "93ef8347.1a6f",
"type": "method",
"name": "method",
"xml": "<method rpc='generic-neighbor-configuration' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 116.50001525878906,
- "y": 255.98958015441895,
- "z": "fef406db.decef8",
+ "x": 105,
+ "y": 180.9895782470703,
+ "z": "c197f7e7.1da478",
"wires": [
[
- "7c2f19ac.9408c8"
+ "ac8961a8.d1fb4"
]
]
},
{
- "id": "51af8168.06635",
+ "id": "6501a6c8.9b7ae8",
"type": "returnSuccess",
"name": "return success",
"xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"SUCCESSFUL Execution\" />\n",
"comments": "",
- "x": 531.5003509521484,
- "y": 808.9897384643555,
- "z": "fef406db.decef8",
+ "x": 160.00033569335938,
+ "y": 647.98974609375,
+ "z": "c197f7e7.1da478",
"wires": []
},
{
- "id": "cecc5c7b.7371f",
+ "id": "32f454b1.f5ccfc",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RPC to Configure Neighbors INVOKED. Number of Neighbors to configure: \"/>\n<parameter name=\"field2\" value=\"`$generic-neighbor-configuration-input.number-of-neighbor-cell-entries`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 351.5003128051758,
- "y": 85.01043033599854,
- "z": "fef406db.decef8",
+ "x": 406.00030517578125,
+ "y": 80.01042938232422,
+ "z": "c197f7e7.1da478",
"wires": [
[]
]
},
{
- "id": "c7654668.510fc8",
+ "id": "32ca92c1.87b4ae",
"type": "for",
"name": "for",
"xml": "<for index='idx' start='0' end=\"`$generic-neighbor-configuration-input.number-of-neighbor-cell-entries`\" >",
"comments": "",
"outputs": 1,
- "x": 530.5857048034668,
- "y": 43.95316982269287,
- "z": "fef406db.decef8",
+ "x": 417.085693359375,
+ "y": 126.95317077636719,
+ "z": "c197f7e7.1da478",
"wires": [
[
- "a7de08a4.309828"
+ "e3ecab0.b7f5858"
]
]
},
{
- "id": "a6c8572f.221db8",
+ "id": "dc78859c.2a1938",
"type": "execute",
"name": "execute Properties",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='%SDNC_CONFIG_DIR%/sdnr-oofpcipoc-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n",
"comments": "",
"outputs": 1,
- "x": 578.5001983642578,
- "y": 90.01041248161346,
- "z": "fef406db.decef8",
+ "x": 420.00018310546875,
+ "y": 185.01040649414062,
+ "z": "c197f7e7.1da478",
"wires": [
[]
]
},
{
- "id": "eaa9ba03.7776a8",
+ "id": "fb252ea6.2716a",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Properties read .. generic neighbor config template\"/>\n<parameter name=\"field2\" value=\"`$prop.restapi.generic-neighbor-patch.template`\"/>\n<parameter name=\"field3\" value=\"`$prop.controller.user`\"/>\n<parameter name=\"field4\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"field5\" value=\"`$prop.controller.url`\"/>",
"comments": "",
"outputs": 1,
- "x": 565.5003471374512,
- "y": 137.01048946380615,
- "z": "fef406db.decef8",
+ "x": 350.00030517578125,
+ "y": 243.010498046875,
+ "z": "c197f7e7.1da478",
"wires": [
[]
]
},
{
- "id": "7c1282e8.0c1fbc",
+ "id": "2071d805.4be628",
"type": "service-logic",
"name": "oofpcipoc-api 0.4.2-SNAPSHOT",
"module": "oofpcipoc-api",
@@ -193,401 +193,892 @@
"comments": "",
"xml": "<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='oofpcipoc-api' version='0.4.2-SNAPSHOT'>",
"outputs": 1,
- "x": 133.5,
- "y": 141.98968315124512,
- "z": "fef406db.decef8",
+ "x": 160.99998474121094,
+ "y": 91.98968505859375,
+ "z": "c197f7e7.1da478",
"wires": [
[
- "69c02c08.5e9024"
+ "93ef8347.1a6f"
]
]
},
{
- "id": "a7de08a4.309828",
+ "id": "e3ecab0.b7f5858",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Input RPC Payload request. Neighbor #: \"/>\n<parameter name=\"field2\" value=\"`$idx`\"/>\n<parameter name=\"field3\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].plmnid`\"/>\n<parameter name=\"field4\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].cid`\"/>\n<parameter name=\"field5\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].phy-cell-id`\"/>\n<parameter name=\"field6\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].pnf-name`\"/>\n<parameter name=\"field7\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].blacklisted`\"/>",
"comments": "",
"outputs": 1,
- "x": 684.5005474090576,
- "y": 45.989633560180664,
- "z": "fef406db.decef8",
+ "x": 582.0005493164062,
+ "y": 110.98963165283203,
+ "z": "c197f7e7.1da478",
"wires": [
[]
]
},
{
- "id": "30d50b81.50d574",
+ "id": "6ed34cf7.c51b14",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 132.50001335144043,
- "y": 59.989585876464844,
- "z": "fef406db.decef8",
+ "x": 96,
+ "y": 29.989585876464844,
+ "z": "c197f7e7.1da478",
"wires": [
[
- "7c1282e8.0c1fbc"
+ "2071d805.4be628"
]
]
},
{
- "id": "bedde1a6.6b5ec",
+ "id": "cc8e22e1.329b1",
"type": "execute",
"name": "generate neighbor config URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.lte-ran-neighbor-in-use`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{alias}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.alias`\"/>",
"comments": "",
"outputs": 1,
- "x": 673.0108947753906,
- "y": 263.5661497116089,
- "z": "fef406db.decef8",
+ "x": 863.5108642578125,
+ "y": 133.56614685058594,
+ "z": "c197f7e7.1da478",
"wires": [
[]
]
},
{
- "id": "261a200c.78536",
+ "id": "a007069.f2610f8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Config Neighbor List URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.config-neighbor-service-url`\"/>",
"comments": "",
"outputs": 1,
- "x": 602.0105018615723,
- "y": 314.78819274902344,
- "z": "fef406db.decef8",
+ "x": 790.510498046875,
+ "y": 186.7882080078125,
+ "z": "c197f7e7.1da478",
"wires": [
[]
]
},
{
- "id": "3400b7a4.1ff4c8",
+ "id": "92d276da.4c88e8",
"type": "execute",
- "name": "execute slipluginutils",
+ "name": "populate plmnid",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.config-neighbor-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{plmnid}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.plmnid`\"/>",
"comments": "",
"outputs": 1,
- "x": 802.0106391906738,
- "y": 328.78822231292725,
- "z": "fef406db.decef8",
+ "x": 992.5106258392334,
+ "y": 198.78822231292725,
+ "z": "c197f7e7.1da478",
"wires": [
[]
]
},
{
- "id": "fd45e824.20b968",
+ "id": "198eb06.8f50d5",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Config Neighbor List URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.config-neighbor-service-url`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 670.0104923248291,
- "y": 372.788197517395,
- "z": "fef406db.decef8",
+ "x": 860.5104789733887,
+ "y": 242.78819751739502,
+ "z": "c197f7e7.1da478",
"wires": [
[]
]
},
{
- "id": "d7ff45e9.c502f8",
+ "id": "f75fac3.b2d7e5",
"type": "execute",
- "name": "execute slipluginutils",
+ "name": "populate cid",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.config-neighbor-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{cid}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>",
"comments": "",
"outputs": 1,
- "x": 693.0105209350586,
- "y": 417.7882204055786,
- "z": "fef406db.decef8",
+ "x": 883.5105075836182,
+ "y": 287.7882204055786,
+ "z": "c197f7e7.1da478",
"wires": [
[]
]
},
{
- "id": "a191be9b.c3b55",
+ "id": "1e96218.b0f68df",
"type": "execute",
"name": "Configure neighbor using PATCH",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/oofpcipoc-generic-neighbor-patch.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.config-neighbor-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-neighbor-patch-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/yang.patch-status+json' />",
"comments": "",
"outputs": 1,
- "x": 691.010498046875,
- "y": 563.7883377075195,
- "z": "fef406db.decef8",
+ "x": 915.510498046875,
+ "y": 427.788330078125,
+ "z": "c197f7e7.1da478",
"wires": [
[
- "49bedeca.324b5",
- "6c592a69.fa7804"
+ "9ab812b9.2441c",
+ "b2feb5f3.1f8718"
]
]
},
{
- "id": "49bedeca.324b5",
+ "id": "9ab812b9.2441c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 986.0103988647461,
- "y": 570.7777833938599,
- "z": "fef406db.decef8",
+ "x": 1176.5103855133057,
+ "y": 440.77778339385986,
+ "z": "c197f7e7.1da478",
"wires": [
[
- "defa5e8b.a3afa"
+ "94c0690e.412458"
]
]
},
{
- "id": "6c592a69.fa7804",
+ "id": "b2feb5f3.1f8718",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1004.010440826416,
- "y": 638.7776098251343,
- "z": "fef406db.decef8",
+ "x": 1194.5104274749756,
+ "y": 508.7776098251343,
+ "z": "c197f7e7.1da478",
"wires": [
[
- "7e9e1401.b662cc"
+ "42fa2758.89b668"
]
]
},
{
- "id": "4a12d095.a60f9",
+ "id": "a8f77123.4f739",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PATCH Neighbor Executed Successfully \"/>",
"comments": "",
"outputs": 1,
- "x": 1342.0101928710938,
- "y": 625.7777180671692,
- "z": "fef406db.decef8",
+ "x": 1532.5101795196533,
+ "y": 495.7777180671692,
+ "z": "c197f7e7.1da478",
"wires": [
[]
]
},
{
- "id": "7e9e1401.b662cc",
+ "id": "42fa2758.89b668",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1184.0101051330566,
- "y": 636.7776908874512,
- "z": "fef406db.decef8",
+ "x": 1374.5100917816162,
+ "y": 506.7776908874512,
+ "z": "c197f7e7.1da478",
"wires": [
[
- "4a12d095.a60f9"
+ "a8f77123.4f739"
]
]
},
{
- "id": "defa5e8b.a3afa",
+ "id": "94c0690e.412458",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1145.0102615356445,
- "y": 579.7777690887451,
- "z": "fef406db.decef8",
+ "x": 1335.510248184204,
+ "y": 449.7777690887451,
+ "z": "c197f7e7.1da478",
"wires": [
[
- "4856d409.faf5fc"
+ "8f2a4b45.9518e8"
]
]
},
{
- "id": "4856d409.faf5fc",
+ "id": "8f2a4b45.9518e8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding a new neighbor\" />",
"comments": "",
- "x": 1321.010025024414,
- "y": 564.7777423858643,
- "z": "fef406db.decef8",
+ "x": 1511.5100116729736,
+ "y": 434.77774238586426,
+ "z": "c197f7e7.1da478",
"wires": []
},
{
- "id": "9e7ad97b.b26a38",
+ "id": "1c57b1b4.beaaee",
"type": "execute",
"name": "Get neighbor details pre-configuration",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.config-neighbor-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-neighbor-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n",
"comments": "",
"outputs": 1,
- "x": 701.0104370117188,
- "y": 477.7882080078125,
- "z": "fef406db.decef8",
+ "x": 913.5104370117188,
+ "y": 339.7882080078125,
+ "z": "c197f7e7.1da478",
"wires": [
[
- "3f51c8c2.f96888",
- "65ee4970.885748"
+ "6f64c3b4.09149c",
+ "b4abf739.6c1f68"
]
]
},
{
- "id": "3f51c8c2.f96888",
+ "id": "6f64c3b4.09149c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 974.0105514526367,
- "y": 451.4442539215088,
- "z": "fef406db.decef8",
+ "x": 1164.5105381011963,
+ "y": 321.4442539215088,
+ "z": "c197f7e7.1da478",
"wires": [
[
- "31328392.853cfc"
+ "a028bb53.ce35a8"
]
]
},
{
- "id": "65ee4970.885748",
+ "id": "b4abf739.6c1f68",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 969.010383605957,
- "y": 507.44440746307373,
- "z": "fef406db.decef8",
+ "x": 1159.5103702545166,
+ "y": 377.44440746307373,
+ "z": "c197f7e7.1da478",
"wires": [
[
- "2a0f9a0c.8b1026"
+ "f4e4f96.daf0108"
]
]
},
{
- "id": "2a0f9a0c.8b1026",
+ "id": "f4e4f96.daf0108",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1121.0102005004883,
- "y": 516.4443125724792,
- "z": "fef406db.decef8",
+ "x": 1311.5101871490479,
+ "y": 386.44431257247925,
+ "z": "c197f7e7.1da478",
"wires": [
[
- "17e660a2.7a5f2f"
+ "d3310510.124b48"
]
]
},
{
- "id": "17e660a2.7a5f2f",
+ "id": "d3310510.124b48",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Details about Neighbor Pre-configuration\"/>\n<parameter name=\"field2\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].plmnid`\"/>\n<parameter name=\"field3\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].cid`\"/>\n<parameter name=\"field4\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].phy-cell-id`\"/>\n<parameter name=\"field5\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].pnf-name`\"/>\n<parameter name=\"field6\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].blacklisted`\"/>",
"comments": "",
"outputs": 1,
- "x": 1282.0101165771484,
- "y": 510.44458293914795,
- "z": "fef406db.decef8",
+ "x": 1472.510103225708,
+ "y": 380.44458293914795,
+ "z": "c197f7e7.1da478",
"wires": [
[]
]
},
{
- "id": "31328392.853cfc",
+ "id": "a028bb53.ce35a8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error getting details about new neighbor \" />",
"comments": "",
- "x": 1175.010341644287,
- "y": 457.44426250457764,
- "z": "fef406db.decef8",
+ "x": 1365.5103282928467,
+ "y": 327.44426250457764,
+ "z": "c197f7e7.1da478",
"wires": []
},
{
- "id": "375845c8.cdbe7a",
+ "id": "15ad3471.a615dc",
"type": "execute",
"name": "Get neighbor details post-configuration",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.config-neighbor-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-neighbor-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n",
"comments": "",
"outputs": 1,
- "x": 741.0104370117188,
- "y": 715.6770629882812,
- "z": "fef406db.decef8",
+ "x": 871.5104370117188,
+ "y": 503.67706298828125,
+ "z": "c197f7e7.1da478",
"wires": [
[
- "256027a4.697e18",
- "6f609efb.0848b"
+ "144ccd4d.5f33d3",
+ "6b712cb1.c5f834"
]
]
},
{
- "id": "256027a4.697e18",
+ "id": "144ccd4d.5f33d3",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1014.0105514526367,
- "y": 689.3331089019775,
- "z": "fef406db.decef8",
+ "x": 1204.5105381011963,
+ "y": 559.3331089019775,
+ "z": "c197f7e7.1da478",
"wires": [
[
- "9acf15fd.972cb8"
+ "5f6e00fc.ed03a"
]
]
},
{
- "id": "6f609efb.0848b",
+ "id": "6b712cb1.c5f834",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1009.010383605957,
- "y": 745.3332624435425,
- "z": "fef406db.decef8",
+ "x": 1199.5103702545166,
+ "y": 615.3332624435425,
+ "z": "c197f7e7.1da478",
"wires": [
[
- "68fe6d7.2d08a94"
+ "4913d618.0c8fe8"
]
]
},
{
- "id": "68fe6d7.2d08a94",
+ "id": "4913d618.0c8fe8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1161.0102005004883,
- "y": 754.333167552948,
- "z": "fef406db.decef8",
+ "x": 1351.5101871490479,
+ "y": 624.333167552948,
+ "z": "c197f7e7.1da478",
"wires": [
[
- "dcc83786.96c448"
+ "1c9c0def.8b9082"
]
]
},
{
- "id": "9acf15fd.972cb8",
+ "id": "5f6e00fc.ed03a",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error getting details about new neighbor \" />",
"comments": "",
- "x": 1215.010341644287,
- "y": 695.3331174850464,
- "z": "fef406db.decef8",
+ "x": 1405.5103282928467,
+ "y": 565.3331174850464,
+ "z": "c197f7e7.1da478",
"wires": []
},
{
- "id": "dcc83786.96c448",
+ "id": "1c9c0def.8b9082",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Details about Neighbor Pre-configuration\"/>\n<parameter name=\"field2\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].plmnid`\"/>\n<parameter name=\"field3\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].cid`\"/>\n<parameter name=\"field4\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].phy-cell-id`\"/>\n<parameter name=\"field5\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].pnf-name`\"/>\n<parameter name=\"field6\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].blacklisted`\"/>",
"comments": "",
"outputs": 1,
- "x": 1322.010108947754,
- "y": 747.3334121704102,
- "z": "fef406db.decef8",
+ "x": 1512.5100955963135,
+ "y": 617.3334121704102,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1262f222.f1f98e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 530.9999866485596,
+ "y": 869.999997138977,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ [
+ "4156eb3.49eb114",
+ "28301c50.f9a394",
+ "2aab82d0.4d643e",
+ "c0b1bda4.651cf",
+ "6b902758.7673c8",
+ "f337f894.e1cc48",
+ "fe8ae27d.83e96",
+ "359b0369.a48e7c",
+ "8d693ead.befbb",
+ "38c29228.79ba4e",
+ "411a695d.a4f048"
+ ]
+ ]
+ },
+ {
+ "id": "ae52469b.df3fe8",
+ "type": "for",
+ "name": "for",
+ "xml": "<for index='idx' start='0' end=\"`$generic-neighbor-configuration-input.number-of-neighbor-cell-entries`\" >",
+ "comments": "",
+ "outputs": 1,
+ "x": 513.0001831054688,
+ "y": 493.989501953125,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ [
+ "1262f222.f1f98e"
+ ]
+ ]
+ },
+ {
+ "id": "4156eb3.49eb114",
+ "type": "set",
+ "name": "set tmp variables for the requested fap service input parms",
+ "xml": "<set>\n<parameter name=\"tmp.alias\" value=\"`$generic-neighbor-configuration-input.alias`\"/>\n<parameter name=\"tmp.plmnid\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].plmnid`\"/>\n<parameter name=\"tmp.cid\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].cid`\"/>\n<parameter name=\"tmp.phy-cell-id\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].phy-cell-id`\"/>\n<parameter name=\"tmp.pnf-name\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].pnf-name`\"/>\n<parameter name=\"tmp.blacklisted\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].blacklisted`\"/>\n",
+ "comments": "",
+ "x": 839.0011596679688,
+ "y": 598.8786010742188,
+ "z": "c197f7e7.1da478",
+ "wires": []
+ },
+ {
+ "id": "28301c50.f9a394",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Temporary varaibles set. Neighbor #: \"/>\n<parameter name=\"field2\" value=\"`$idx`\"/>\n<parameter name=\"field3\" value=\"`$tmp.plmnid`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cid`\"/>\n<parameter name=\"field5\" value=\"`$tmp.phy-cell-id`\"/>\n<parameter name=\"field6\" value=\"`$tmp.pnf-name`\"/>\n<parameter name=\"field7\" value=\"`$tmp.blacklisted`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 734.510498046875,
+ "y": 642.9999389648438,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "38c29228.79ba4e",
+ "type": "execute",
+ "name": "generate neighbor config URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.lte-ran-neighbor-in-use.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{alias}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.alias`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 827.5108642578125,
+ "y": 691.5556640625,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2aab82d0.4d643e",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Config Neighbor List URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.config-neighbor-service-url`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 768.510498046875,
+ "y": 740.7777099609375,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c0b1bda4.651cf",
+ "type": "execute",
+ "name": "populate plmnid",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.config-neighbor-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{plmnid}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.plmnid`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 832.5106201171875,
+ "y": 836.7777099609375,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6b902758.7673c8",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Config Neighbor List URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.config-neighbor-service-url`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 807.510498046875,
+ "y": 884.7777099609375,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f337f894.e1cc48",
+ "type": "execute",
+ "name": "populate cid",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.config-neighbor-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{cid}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 816.510498046875,
+ "y": 921.7777099609375,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "359b0369.a48e7c",
+ "type": "execute",
+ "name": "Configure neighbor using PATCH",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/oofpcipoc-generic-neighbor-patch.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.config-neighbor-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-neighbor-patch-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/yang.patch-status+json' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 830.510498046875,
+ "y": 1051.77783203125,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ [
+ "aaf367ec.71a3d8",
+ "f6e2a503.cab1e8"
+ ]
+ ]
+ },
+ {
+ "id": "aaf367ec.71a3d8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1125.5103855133057,
+ "y": 1058.7672853469849,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ [
+ "d64f59f9.bbcd88"
+ ]
+ ]
+ },
+ {
+ "id": "f6e2a503.cab1e8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1143.5104274749756,
+ "y": 1126.7671117782593,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ [
+ "ad51aa4c.6dd0f8"
+ ]
+ ]
+ },
+ {
+ "id": "da0a9ad3.338348",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PATCH Neighbor Executed Successfully \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1481.5101795196533,
+ "y": 1113.7672200202942,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ad51aa4c.6dd0f8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1323.5100917816162,
+ "y": 1124.7671928405762,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ [
+ "da0a9ad3.338348"
+ ]
+ ]
+ },
+ {
+ "id": "d64f59f9.bbcd88",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1284.510248184204,
+ "y": 1067.7672710418701,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ [
+ "1a1c9666.4c773a"
+ ]
+ ]
+ },
+ {
+ "id": "1a1c9666.4c773a",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding a new neighbor\" />",
+ "comments": "",
+ "x": 1460.5100116729736,
+ "y": 1052.7672443389893,
+ "z": "c197f7e7.1da478",
+ "wires": []
+ },
+ {
+ "id": "fe8ae27d.83e96",
+ "type": "execute",
+ "name": "Get neighbor details pre-configuration",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.config-neighbor-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-neighbor-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 840.5104370117188,
+ "y": 966.7777099609375,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ [
+ "dc414a11.7edb78",
+ "9db5bb73.2d55e8"
+ ]
+ ]
+ },
+ {
+ "id": "dc414a11.7edb78",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1113.5105381011963,
+ "y": 939.4337558746338,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ [
+ "64dcc609.fa2868"
+ ]
+ ]
+ },
+ {
+ "id": "9db5bb73.2d55e8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1108.5103702545166,
+ "y": 995.4339094161987,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ [
+ "47f38d6d.89f364"
+ ]
+ ]
+ },
+ {
+ "id": "47f38d6d.89f364",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1260.5101871490479,
+ "y": 1004.4338145256042,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ [
+ "ab46d61a.7a0318"
+ ]
+ ]
+ },
+ {
+ "id": "ab46d61a.7a0318",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Details about Neighbor Pre-configuration\"/>\n<parameter name=\"field2\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].plmnid`\"/>\n<parameter name=\"field3\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].cid`\"/>\n<parameter name=\"field4\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].phy-cell-id`\"/>\n<parameter name=\"field5\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].pnf-name`\"/>\n<parameter name=\"field6\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].blacklisted`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1421.510103225708,
+ "y": 998.434084892273,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "64dcc609.fa2868",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error getting details about new neighbor \" />",
+ "comments": "",
+ "x": 1314.5103282928467,
+ "y": 945.4337644577026,
+ "z": "c197f7e7.1da478",
+ "wires": []
+ },
+ {
+ "id": "8d693ead.befbb",
+ "type": "execute",
+ "name": "Get neighbor details post-configuration",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.config-neighbor-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-neighbor-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 796.5104370117188,
+ "y": 1165.6666259765625,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ [
+ "8f75a41.6426d58",
+ "23c81cd0.efa084"
+ ]
+ ]
+ },
+ {
+ "id": "8f75a41.6426d58",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1153.5105381011963,
+ "y": 1177.3226108551025,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ [
+ "bfbdf11e.993f7"
+ ]
+ ]
+ },
+ {
+ "id": "23c81cd0.efa084",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1148.5103702545166,
+ "y": 1233.3227643966675,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ [
+ "4d4d048c.c416cc"
+ ]
+ ]
+ },
+ {
+ "id": "4d4d048c.c416cc",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1300.5101871490479,
+ "y": 1242.322669506073,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ [
+ "fcddb4e7.12b6d8"
+ ]
+ ]
+ },
+ {
+ "id": "bfbdf11e.993f7",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error getting details about new neighbor \" />",
+ "comments": "",
+ "x": 1354.5103282928467,
+ "y": 1183.3226194381714,
+ "z": "c197f7e7.1da478",
+ "wires": []
+ },
+ {
+ "id": "fcddb4e7.12b6d8",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Details about Neighbor Pre-configuration\"/>\n<parameter name=\"field2\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].plmnid`\"/>\n<parameter name=\"field3\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].cid`\"/>\n<parameter name=\"field4\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].phy-cell-id`\"/>\n<parameter name=\"field5\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].pnf-name`\"/>\n<parameter name=\"field6\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].blacklisted`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1461.5100955963135,
+ "y": 1235.3229141235352,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8472ac8d.f6ede",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 420,
+ "y": 320,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ [
+ "86dca6b7.e82f88"
+ ]
+ ]
+ },
+ {
+ "id": "c0db2192.9d16c",
+ "type": "switchNode",
+ "name": "switch mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 318,
+ "y": 409,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ [
+ "8472ac8d.f6ede",
+ "5a41edd6.afaa34"
+ ]
+ ]
+ },
+ {
+ "id": "5a41edd6.afaa34",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 351,
+ "y": 487,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ [
+ "ae52469b.df3fe8"
+ ]
+ ]
+ },
+ {
+ "id": "411a695d.a4f048",
+ "type": "execute",
+ "name": "populate netconf mount",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.config-neighbor-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{pnf-name}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.pnf-name`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 837,
+ "y": 792,
+ "z": "c197f7e7.1da478",
"wires": [
[]
]
}
-]
+] \ No newline at end of file