[
{
- "id": "966e407d.9086f",
+ "id": "d0e2330e.dd019",
"type": "comment",
"name": "Generic Neighbor Configuration",
"info": "",
"comments": "",
- "x": 335.50001335144043,
- "y": 20,
- "z": "fef406db.decef8",
+ "x": 390.0104064941406,
+ "y": 36.010414123535156,
+ "z": "d6ec916.8139a7",
"wires": []
},
{
- "id": "6fb545d.b9f92bc",
+ "id": "5dfdcd01.84b604",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 391.5,
- "y": 382.01049518585205,
- "z": "fef406db.decef8",
+ "x": 631.0104522705078,
+ "y": 256.0209159851074,
+ "z": "d6ec916.8139a7",
"wires": [
[
- "542aa267.5de7ec",
- "e4d83e12.5aa3c",
- "261a200c.78536",
- "3400b7a4.1ff4c8",
- "fd45e824.20b968",
- "d7ff45e9.c502f8",
- "9e7ad97b.b26a38",
- "a191be9b.c3b55",
- "375845c8.cdbe7a",
- "bedde1a6.6b5ec"
+ "974d680f.76f648",
+ "ffd54ab.ffbd1b8",
+ "36063fad.1cea",
+ "6d746eb6.f750f",
+ "af6305e8.738f98",
+ "91adaea7.e39c",
+ "293691a3.763afe",
+ "9adcdf48.89f9a",
+ "c43ffb14.6b99d8",
+ "402887.5e785778",
+ "358802c3.47e34e"
]
]
},
{
- "id": "71827db2.f669d4",
+ "id": "cd37cc80.83b05",
"type": "for",
"name": "for",
- "xml": "<for index='idx' start='0' end=\"`$generic-neighbor-configuration-input.number-of-neighbor-cell-entries`\" >",
+ "xml": "<for index='idx' start='0' end=\"`$generic-neighbor-configuration-input.lte-cell-number-of-entries`\" >",
"comments": "",
"outputs": 1,
- "x": 287.50018882751465,
- "y": 453.99998664855957,
- "z": "fef406db.decef8",
+ "x": 578.0105895996094,
+ "y": 414.01041412353516,
+ "z": "d6ec916.8139a7",
"wires": [
[
- "6fb545d.b9f92bc"
+ "5dfdcd01.84b604"
]
]
},
{
- "id": "542aa267.5de7ec",
+ "id": "974d680f.76f648",
"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": 962.0115661621094,
+ "y": 58.899513244628906,
+ "z": "d6ec916.8139a7",
"wires": []
},
{
- "id": "e4d83e12.5aa3c",
+ "id": "ffd54ab.ffbd1b8",
"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": 826.5209140777588,
+ "y": 102.02084159851074,
+ "z": "d6ec916.8139a7",
"wires": [
[]
]
},
{
- "id": "7c2f19ac.9408c8",
+ "id": "27b0597e.d8a2a6",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 98.9896125793457,
- "y": 452.9896240234375,
- "z": "fef406db.decef8",
+ "x": 153.5,
+ "y": 293.00003814697266,
+ "z": "d6ec916.8139a7",
"wires": [
[
- "71827db2.f669d4",
- "51af8168.06635",
- "cecc5c7b.7371f",
- "c7654668.510fc8",
- "a6c8572f.221db8",
- "eaa9ba03.7776a8"
+ "6abe663a.7efa98",
+ "68b7eea8.7de3b",
+ "9cda453e.0abf28",
+ "a5fd7aa3.7b58d8",
+ "46dea300.ac250c",
+ "1a0d310b.f6a53f",
+ "a3fe027d.820d4",
+ "2f1179a.0005886"
]
]
},
{
- "id": "69c02c08.5e9024",
+ "id": "51fad8f4.1d8738",
"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": 139.01040649414062,
+ "y": 193.99999237060547,
+ "z": "d6ec916.8139a7",
"wires": [
[
- "7c2f19ac.9408c8"
+ "27b0597e.d8a2a6"
]
]
},
{
- "id": "51af8168.06635",
+ "id": "6abe663a.7efa98",
"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": 144.01074600219727,
+ "y": 2854.000379562378,
+ "z": "d6ec916.8139a7",
"wires": []
},
{
- "id": "cecc5c7b.7371f",
+ "id": "68b7eea8.7de3b",
"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",
+ "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.lte-cell-number-of-entries`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 351.5003128051758,
- "y": 85.01043033599854,
- "z": "fef406db.decef8",
+ "x": 440.0107116699219,
+ "y": 93.02084350585938,
+ "z": "d6ec916.8139a7",
"wires": [
[]
]
},
{
- "id": "c7654668.510fc8",
+ "id": "9cda453e.0abf28",
"type": "for",
"name": "for",
- "xml": "<for index='idx' start='0' end=\"`$generic-neighbor-configuration-input.number-of-neighbor-cell-entries`\" >",
+ "xml": "<for index='idx' start='0' end=\"`$generic-neighbor-configuration-input.lte-cell-number-of-entries`\" >",
"comments": "",
"outputs": 1,
- "x": 530.5857048034668,
- "y": 43.95316982269287,
- "z": "fef406db.decef8",
+ "x": 451.0960998535156,
+ "y": 139.96358489990234,
+ "z": "d6ec916.8139a7",
"wires": [
[
- "a7de08a4.309828"
+ "a3004a52.319a18"
]
]
},
{
- "id": "a6c8572f.221db8",
+ "id": "a5fd7aa3.7b58d8",
"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",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='/opt/onap/ccsdk/data/properties/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": 454.0105895996094,
+ "y": 198.02082061767578,
+ "z": "d6ec916.8139a7",
"wires": [
[]
]
},
{
- "id": "eaa9ba03.7776a8",
+ "id": "46dea300.ac250c",
"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": 408.0107192993164,
+ "y": 268.0209140777588,
+ "z": "d6ec916.8139a7",
"wires": [
[]
]
},
{
- "id": "7c1282e8.0c1fbc",
+ "id": "cd34e05c.615e2",
"type": "service-logic",
- "name": "oofpcipoc-api 0.4.2-SNAPSHOT",
+ "name": "oofpcipoc-api ${project.version}",
"module": "oofpcipoc-api",
"version": "${project.version}",
"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'>",
+ "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='${project.version}'>",
"outputs": 1,
- "x": 133.5,
- "y": 141.98968315124512,
- "z": "fef406db.decef8",
+ "x": 195.01039123535156,
+ "y": 105.0000991821289,
+ "z": "d6ec916.8139a7",
"wires": [
[
- "69c02c08.5e9024"
+ "51fad8f4.1d8738"
]
]
},
{
- "id": "a7de08a4.309828",
+ "id": "a3004a52.319a18",
"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": 616.0109558105469,
+ "y": 124.00004577636719,
+ "z": "d6ec916.8139a7",
"wires": [
[]
]
},
{
- "id": "30d50b81.50d574",
+ "id": "e06f1f1c.d6952",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 132.50001335144043,
- "y": 59.989585876464844,
- "z": "fef406db.decef8",
+ "x": 130.01040649414062,
+ "y": 43,
+ "z": "d6ec916.8139a7",
"wires": [
[
- "7c1282e8.0c1fbc"
+ "cd34e05c.615e2"
]
]
},
{
- "id": "bedde1a6.6b5ec",
+ "id": "402887.5e785778",
"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": 897.5212707519531,
+ "y": 146.5765609741211,
+ "z": "d6ec916.8139a7",
"wires": [
[]
]
},
{
- "id": "261a200c.78536",
+ "id": "36063fad.1cea",
"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": 824.5209045410156,
+ "y": 199.79862213134766,
+ "z": "d6ec916.8139a7",
"wires": [
[]
]
},
{
- "id": "3400b7a4.1ff4c8",
+ "id": "6d746eb6.f750f",
"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": 1026.521032333374,
+ "y": 211.7986364364624,
+ "z": "d6ec916.8139a7",
"wires": [
[]
]
},
{
- "id": "fd45e824.20b968",
+ "id": "af6305e8.738f98",
"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": 894.5208854675293,
+ "y": 255.79861164093018,
+ "z": "d6ec916.8139a7",
"wires": [
[]
]
},
{
- "id": "d7ff45e9.c502f8",
+ "id": "91adaea7.e39c",
"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": 917.5209140777588,
+ "y": 300.79863452911377,
+ "z": "d6ec916.8139a7",
"wires": [
[]
]
},
{
- "id": "a191be9b.c3b55",
+ "id": "9adcdf48.89f9a",
"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": 949.5209045410156,
+ "y": 440.79874420166016,
+ "z": "d6ec916.8139a7",
"wires": [
[
- "49bedeca.324b5",
- "6c592a69.fa7804"
+ "22593c53.2e3704",
+ "61ad6fb2.eff45"
]
]
},
{
- "id": "49bedeca.324b5",
+ "id": "22593c53.2e3704",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 986.0103988647461,
- "y": 570.7777833938599,
- "z": "fef406db.decef8",
+ "x": 1210.5207920074463,
+ "y": 404.788197517395,
+ "z": "d6ec916.8139a7",
"wires": [
[
- "defa5e8b.a3afa"
+ "c761c957.dedf48"
]
]
},
{
- "id": "6c592a69.fa7804",
+ "id": "61ad6fb2.eff45",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1004.010440826416,
- "y": 638.7776098251343,
- "z": "fef406db.decef8",
+ "x": 1212.520736694336,
+ "y": 468.788028717041,
+ "z": "d6ec916.8139a7",
"wires": [
[
- "7e9e1401.b662cc"
+ "ff97581a.3ffb78"
]
]
},
{
- "id": "4a12d095.a60f9",
+ "id": "932587a2.10c5b8",
"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": 1543.5205307006836,
+ "y": 464.7881164550781,
+ "z": "d6ec916.8139a7",
"wires": [
[]
]
},
{
- "id": "7e9e1401.b662cc",
+ "id": "ff97581a.3ffb78",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1184.0101051330566,
- "y": 636.7776908874512,
- "z": "fef406db.decef8",
+ "x": 1379.520580291748,
+ "y": 467.7881107330322,
+ "z": "d6ec916.8139a7",
"wires": [
[
- "4a12d095.a60f9"
+ "932587a2.10c5b8"
]
]
},
{
- "id": "defa5e8b.a3afa",
+ "id": "c761c957.dedf48",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1145.0102615356445,
- "y": 579.7777690887451,
- "z": "fef406db.decef8",
+ "x": 1369.5206546783447,
+ "y": 413.7881832122803,
+ "z": "d6ec916.8139a7",
"wires": [
[
- "4856d409.faf5fc"
+ "3f189c10.9d0974"
]
]
},
{
- "id": "4856d409.faf5fc",
+ "id": "3f189c10.9d0974",
"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": 1545.5204181671143,
+ "y": 398.7881565093994,
+ "z": "d6ec916.8139a7",
"wires": []
},
{
- "id": "9e7ad97b.b26a38",
+ "id": "293691a3.763afe",
"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": 947.5208435058594,
+ "y": 352.79862213134766,
+ "z": "d6ec916.8139a7",
"wires": [
[
- "3f51c8c2.f96888",
- "65ee4970.885748"
+ "b5029146.a42d5",
+ "a42c72d.e2d129"
]
]
},
{
- "id": "3f51c8c2.f96888",
+ "id": "b5029146.a42d5",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 974.0105514526367,
- "y": 451.4442539215088,
- "z": "fef406db.decef8",
+ "x": 1215.5209045410156,
+ "y": 289.45466327667236,
+ "z": "d6ec916.8139a7",
"wires": [
[
- "31328392.853cfc"
+ "700df0ce.ff7ea"
]
]
},
{
- "id": "65ee4970.885748",
+ "id": "a42c72d.e2d129",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 969.010383605957,
- "y": 507.44440746307373,
- "z": "fef406db.decef8",
+ "x": 1202.5207977294922,
+ "y": 353.4548110961914,
+ "z": "d6ec916.8139a7",
"wires": [
[
- "2a0f9a0c.8b1026"
+ "291ffd2d.96c9c2"
]
]
},
{
- "id": "2a0f9a0c.8b1026",
+ "id": "291ffd2d.96c9c2",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1121.0102005004883,
- "y": 516.4443125724792,
- "z": "fef406db.decef8",
+ "x": 1345.5205936431885,
+ "y": 350.4547266960144,
+ "z": "d6ec916.8139a7",
"wires": [
[
- "17e660a2.7a5f2f"
+ "3e25c03b.b3b17"
]
]
},
{
- "id": "17e660a2.7a5f2f",
+ "id": "3e25c03b.b3b17",
"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": 1506.5205097198486,
+ "y": 344.4549970626831,
+ "z": "d6ec916.8139a7",
"wires": [
[]
]
},
{
- "id": "31328392.853cfc",
+ "id": "700df0ce.ff7ea",
"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": 1414.5207977294922,
+ "y": 279.45469093322754,
+ "z": "d6ec916.8139a7",
"wires": []
},
{
- "id": "375845c8.cdbe7a",
+ "id": "c43ffb14.6b99d8",
"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": 905.5208435058594,
+ "y": 516.6874771118164,
+ "z": "d6ec916.8139a7",
"wires": [
[
- "256027a4.697e18",
- "6f609efb.0848b"
+ "e1ac38ab.5b2678",
+ "28d404f.3a94bfc"
]
]
},
{
- "id": "256027a4.697e18",
+ "id": "e1ac38ab.5b2678",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1014.0105514526367,
- "y": 689.3331089019775,
- "z": "fef406db.decef8",
+ "x": 1240.5208435058594,
+ "y": 516.3435192108154,
+ "z": "d6ec916.8139a7",
"wires": [
[
- "9acf15fd.972cb8"
+ "db457a19.686678"
]
]
},
{
- "id": "6f609efb.0848b",
+ "id": "28d404f.3a94bfc",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1009.010383605957,
- "y": 745.3332624435425,
- "z": "fef406db.decef8",
+ "x": 1233.520736694336,
+ "y": 568.3437156677246,
+ "z": "d6ec916.8139a7",
"wires": [
[
- "68fe6d7.2d08a94"
+ "d569846c.bbb0a8"
]
]
},
{
- "id": "68fe6d7.2d08a94",
+ "id": "d569846c.bbb0a8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1161.0102005004883,
- "y": 754.333167552948,
- "z": "fef406db.decef8",
+ "x": 1402.5204963684082,
+ "y": 575.3436546325684,
+ "z": "d6ec916.8139a7",
"wires": [
[
- "dcc83786.96c448"
+ "d8455bac.fb0098"
]
]
},
{
- "id": "9acf15fd.972cb8",
+ "id": "db457a19.686678",
"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": 1413.5207977294922,
+ "y": 513.3435468673706,
+ "z": "d6ec916.8139a7",
"wires": []
},
{
- "id": "dcc83786.96c448",
+ "id": "d8455bac.fb0098",
+ "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 Post-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": 1549.5205307006836,
+ "y": 573.3438711166382,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4895fc97.e32324",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 604.0103530883789,
+ "y": 1326.0104722976685,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "19788b57.90a7e5",
+ "385fcdb8.05b3d2",
+ "5628b9b0.c40b68",
+ "c3097a46.f42c48",
+ "367fb347.85f46c",
+ "b9a8089a.03ce48",
+ "fed6b7a1.a8d0a8",
+ "c614fa93.bff818",
+ "81cbcc37.957ee",
+ "b67a292f.048478",
+ "ef79f154.b96da",
+ "d0e25241.e0e23"
+ ]
+ ]
+ },
+ {
+ "id": "fab83ed4.d6eae",
+ "type": "for",
+ "name": "for",
+ "xml": "<for index='idx' start='0' end=\"`$generic-neighbor-configuration-input.lte-cell-number-of-entries`\" >",
+ "comments": "",
+ "outputs": 1,
+ "x": 547.0105895996094,
+ "y": 506.99991607666016,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "4895fc97.e32324"
+ ]
+ ]
+ },
+ {
+ "id": "19788b57.90a7e5",
+ "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": 937.0115871429443,
+ "y": 1009.889084815979,
+ "z": "d6ec916.8139a7",
+ "wires": []
+ },
+ {
+ "id": "385fcdb8.05b3d2",
+ "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": 807.5209102630615,
+ "y": 1086.0104522705078,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b67a292f.048478",
+ "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": 900.5212306976318,
+ "y": 1147.5661392211914,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5628b9b0.c40b68",
+ "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": 841.5208644866943,
+ "y": 1196.788185119629,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c3097a46.f42c48",
+ "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": 905.5209865570068,
+ "y": 1292.788185119629,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "367fb347.85f46c",
+ "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": 880.5208644866943,
+ "y": 1340.788185119629,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b9a8089a.03ce48",
+ "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": 889.5208644866943,
+ "y": 1377.788185119629,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c614fa93.bff818",
+ "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": 903.5208644866943,
+ "y": 1507.7883071899414,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "4c4f9668.9a6768",
+ "d03774b5.088378"
+ ]
+ ]
+ },
+ {
+ "id": "4c4f9668.9a6768",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1198.520751953125,
+ "y": 1514.7777605056763,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "a2cf7a8.1cb9388"
+ ]
+ ]
+ },
+ {
+ "id": "d03774b5.088378",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1216.520793914795,
+ "y": 1582.7775869369507,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "718f1a13.9fb2a4"
+ ]
+ ]
+ },
+ {
+ "id": "a830f268.e88c7",
+ "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": 1554.5205459594727,
+ "y": 1569.7776951789856,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "718f1a13.9fb2a4",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1396.5204582214355,
+ "y": 1580.7776679992676,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "a830f268.e88c7"
+ ]
+ ]
+ },
+ {
+ "id": "a2cf7a8.1cb9388",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1357.5206146240234,
+ "y": 1523.7777462005615,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "242984bf.f0802c"
+ ]
+ ]
+ },
+ {
+ "id": "242984bf.f0802c",
+ "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": 1533.520378112793,
+ "y": 1508.7777194976807,
+ "z": "d6ec916.8139a7",
+ "wires": []
+ },
+ {
+ "id": "fed6b7a1.a8d0a8",
+ "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": 913.5208034515381,
+ "y": 1422.788185119629,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "efb6986a.a3d5c8",
+ "ede271f9.16cb"
+ ]
+ ]
+ },
+ {
+ "id": "efb6986a.a3d5c8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1186.5209045410156,
+ "y": 1395.4442310333252,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "d1dfa9a6.c787b8"
+ ]
+ ]
+ },
+ {
+ "id": "ede271f9.16cb",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1181.520736694336,
+ "y": 1451.4443845748901,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "490c9697.67ef88"
+ ]
+ ]
+ },
+ {
+ "id": "490c9697.67ef88",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1333.5205535888672,
+ "y": 1460.4442896842957,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "4b9f8ddf.96d214"
+ ]
+ ]
+ },
+ {
+ "id": "4b9f8ddf.96d214",
"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": 1494.5204696655273,
+ "y": 1454.4445600509644,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d1dfa9a6.c787b8",
+ "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": 1387.520694732666,
+ "y": 1401.444239616394,
+ "z": "d6ec916.8139a7",
+ "wires": []
+ },
+ {
+ "id": "81cbcc37.957ee",
+ "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": 869.5208034515381,
+ "y": 1621.677101135254,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "8381427b.3a415",
+ "4a867416.bc28ac"
+ ]
+ ]
+ },
+ {
+ "id": "8381427b.3a415",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1226.5209045410156,
+ "y": 1633.333086013794,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "71c70e29.c9f39"
+ ]
+ ]
+ },
+ {
+ "id": "4a867416.bc28ac",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1221.520736694336,
+ "y": 1689.333239555359,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "2fdc95ce.87b1ca"
+ ]
+ ]
+ },
+ {
+ "id": "2fdc95ce.87b1ca",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1373.5205535888672,
+ "y": 1698.3331446647644,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "50e2721e.a2ab5c"
+ ]
+ ]
+ },
+ {
+ "id": "71c70e29.c9f39",
+ "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": 1427.520694732666,
+ "y": 1639.3330945968628,
+ "z": "d6ec916.8139a7",
+ "wires": []
+ },
+ {
+ "id": "50e2721e.a2ab5c",
+ "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 Post-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": 1534.5204620361328,
+ "y": 1691.3333892822266,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cf6755dc.b50b78",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 454.0104064941406,
+ "y": 333.01041412353516,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "cd37cc80.83b05"
+ ]
+ ]
+ },
+ {
+ "id": "1a0d310b.f6a53f",
+ "type": "switchNode",
+ "name": "switch mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 352.0104064941406,
+ "y": 422.01041412353516,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "cf6755dc.b50b78",
+ "5f209115.361e5"
+ ]
+ ]
+ },
+ {
+ "id": "5f209115.361e5",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 385.0104064941406,
+ "y": 500.01041412353516,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "fab83ed4.d6eae"
+ ]
+ ]
+ },
+ {
+ "id": "ef79f154.b96da",
+ "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": 910.0103664398193,
+ "y": 1248.0104751586914,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3c0d7f19.6c811",
+ "type": "execute",
+ "name": "execute TemplateNode",
+ "xml": "<execute plugin=\"org.onap.ccsdk.sli.plugins.template.TemplateNode\" method=\"evaluateTemplate\" >\n <parameter name='templatePath' value='oofpcipoc-dmaap-publish-modifyconfiganr-resp-payload-template.vtl' />\n <parameter name='output' value='resp-payload' />\n <parameter name='prefix' value='sdnr' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 899.020866394043,
+ "y": 2134.465440273285,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "b2a6c2c3.f1a3b",
+ "294194dd.c5fd5c"
+ ]
+ ]
+ },
+ {
+ "id": "b2a6c2c3.f1a3b",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1173.020866394043,
+ "y": 2103.465440273285,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "8238e819.a3ec88"
+ ]
+ ]
+ },
+ {
+ "id": "8238e819.a3ec88",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1364.020866394043,
+ "y": 2106.465440273285,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "89f27573.4e9d08"
+ ]
+ ]
+ },
+ {
+ "id": "89f27573.4e9d08",
+ "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=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Redndred sdnr payload template as a string\"/>\n<parameter name='field3' value='`$sdnr.resp-payload`' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1532.020866394043,
+ "y": 2107.465440273285,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2d15e84e.91cbd8",
+ "type": "execute",
+ "name": "remove new lines",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replaceAll' >\n <parameter name=\"source\" value=\"`$sdnr.resp-payload`\"/>\n <parameter name=\"outputPath\" value=\"tmp.oofpcipoc-dmaap-config-resp.payload\"/>\n <parameter name=\"target\" value=\"\\n\"/>\n <parameter name=\"replacement\" value=\"\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 871.520866394043,
+ "y": 2250.465440273285,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "5debb003.5b86d",
+ "f677a278.2fa7"
+ ]
+ ]
+ },
+ {
+ "id": "e8161499.fba198",
+ "type": "execute",
+ "name": "remove tabs",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replaceAll' >\n <parameter name=\"source\" value=\"`$tmp.oofpcipoc-dmaap-config-resp.payload`\"/>\n <parameter name=\"outputPath\" value=\"tmp.oofpcipoc-dmaap-config-resp.payload\"/>\n <parameter name=\"target\" value=\"\\t\"/>\n <parameter name=\"replacement\" value=\"\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 861.020866394043,
+ "y": 2332.465440273285,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "17433612.64f8ea",
+ "2d401fc.38631e"
+ ]
+ ]
+ },
+ {
+ "id": "17433612.64f8ea",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1043.520866394043,
+ "y": 2340.465440273285,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "8233dba4.2a6c08"
+ ]
+ ]
+ },
+ {
+ "id": "8233dba4.2a6c08",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1228.520866394043,
+ "y": 2338.465440273285,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "de84fc8b.e06b5"
+ ]
+ ]
+ },
+ {
+ "id": "de84fc8b.e06b5",
+ "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=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Redndred template with tabs removed \\r\"/>\n<parameter name='field3' value='`$tmp.oofpcipoc-dmaap-config-resp.payload`' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1430.520866394043,
+ "y": 2333.465440273285,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5debb003.5b86d",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1065.020866394043,
+ "y": 2218.465440273285,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "9d89b03e.2ff07"
+ ]
+ ]
+ },
+ {
+ "id": "9d89b03e.2ff07",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1240.020866394043,
+ "y": 2232.465440273285,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "dabf9835.e13098"
+ ]
+ ]
+ },
+ {
+ "id": "dabf9835.e13098",
+ "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=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Redndred template with lines removed \\r\"/>\n<parameter name='field3' value='`$tmp.oofpcipoc-dmaap-config-resp.payload`' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1428.020866394043,
+ "y": 2234.465440273285,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "294194dd.c5fd5c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1172.020866394043,
+ "y": 2160.465440273285,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "53c27ee.7f69b8"
+ ]
+ ]
+ },
+ {
+ "id": "53c27ee.7f69b8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1341.0207443237305,
+ "y": 2166.465440273285,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "cf58efc6.7b3ca"
+ ]
+ ]
+ },
+ {
+ "id": "cf58efc6.7b3ca",
+ "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 creating SDNR response payload string. Aborting PCI configuration\" />",
+ "comments": "",
+ "x": 1497.0205001831055,
+ "y": 2165.465440273285,
+ "z": "d6ec916.8139a7",
+ "wires": []
+ },
+ {
+ "id": "f677a278.2fa7",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1086.020866394043,
+ "y": 2289.465440273285,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "d2d6e5d8.209298"
+ ]
+ ]
+ },
+ {
+ "id": "d2d6e5d8.209298",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1254.0207443237305,
+ "y": 2284.465440273285,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "2d9f0013.4f0cb"
+ ]
+ ]
+ },
+ {
+ "id": "2d9f0013.4f0cb",
+ "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 removing lines from SDNR response payload string. Aborting PCI configuration\" />",
+ "comments": "",
+ "x": 1412.0204391479492,
+ "y": 2287.465440273285,
+ "z": "d6ec916.8139a7",
+ "wires": []
+ },
+ {
+ "id": "2d401fc.38631e",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1046.020866394043,
+ "y": 2388.465440273285,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "bda74b26.1b1388"
+ ]
+ ]
+ },
+ {
+ "id": "bda74b26.1b1388",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1222.0207443237305,
+ "y": 2389.465440273285,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "d56e28d4.650d08"
+ ]
+ ]
+ },
+ {
+ "id": "d56e28d4.650d08",
+ "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 removing tabs from SDNR response payload string. Aborting PCI configuration\" />",
+ "comments": "",
+ "x": 1369.0204391479492,
+ "y": 2392.465440273285,
+ "z": "d6ec916.8139a7",
+ "wires": []
+ },
+ {
+ "id": "a3fe027d.820d4",
+ "type": "block",
+ "name": "DMAAP Payload Generation",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 603.020881652832,
+ "y": 2252.4655385017395,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "3c0d7f19.6c811",
+ "2d15e84e.91cbd8",
+ "e8161499.fba198"
+ ]
+ ]
+ },
+ {
+ "id": "2f1179a.0005886",
+ "type": "block",
+ "name": "DMAAP Reponse Publish",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 465.0208511352539,
+ "y": 2600.3542304039,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "b22d0788.83a868",
+ "74c6c1ac.1e42d"
+ ]
+ ]
+ },
+ {
+ "id": "74c6c1ac.1e42d",
+ "type": "execute",
+ "name": "execute DmaapMsg",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.dmaap-publish-config-response.template`\" />\n <parameter name='restapiUrl' value=\"`$prop.dmaap-message-router.url + '/' + $prop.oofpcipoc-dmaap-configuration-response.topic`\" />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='POST' />\n <parameter name='contentType' value='application/json' />\n <parameter name='responsePrefix' value='dmaap' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 880.0209274291992,
+ "y": 2662.4654574394226,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "66967541.9509fc",
+ "19014f9c.5bacd"
+ ]
+ ]
+ },
+ {
+ "id": "b22d0788.83a868",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='tmp.oofpcipoc-dmaap-config-resp.rpc-name' value='`$prop.oofpcipoc-dmaap-config-resp.rpc-name.modifyconfiganr`'/>",
+ "comments": "",
+ "x": 866.6876258850098,
+ "y": 2558.4654479026794,
+ "z": "d6ec916.8139a7",
+ "wires": []
+ },
+ {
+ "id": "66967541.9509fc",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1054.5209045410156,
+ "y": 2596.3821749687195,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "5277ae5c.6edee"
+ ]
+ ]
+ },
+ {
+ "id": "19014f9c.5bacd",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1077.5207595825195,
+ "y": 2725.382281780243,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "3817a66f.511b9a"
+ ]
+ ]
+ },
+ {
+ "id": "5277ae5c.6edee",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1235.5206756591797,
+ "y": 2599.3823046684265,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "5d24962d.477fe8"
+ ]
+ ]
+ },
+ {
+ "id": "5d24962d.477fe8",
+ "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 publishing DMAAP Config Response message. ConfigDB Updated; TO be rolled back...will handle next release\" />",
+ "comments": "",
+ "x": 1409.520393371582,
+ "y": 2606.3822298049927,
+ "z": "d6ec916.8139a7",
+ "wires": []
+ },
+ {
+ "id": "3817a66f.511b9a",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1237.5204048156738,
+ "y": 2717.3822541236877,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "2e47c897.bb4cb8"
+ ]
+ ]
+ },
+ {
+ "id": "2e47c897.bb4cb8",
+ "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=\"DMAAP Config Response Message Successfully Published \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1414.520523071289,
+ "y": 2722.38236284256,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f89579dd.91a288",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 918.0208435058594,
+ "y": 852.3541641235352,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "e2e4a468.8a1838",
+ "89dd4b27.cf59d8",
+ "67336a18.ae2e64",
+ "68bfb6e.dac1e48"
+ ]
+ ]
+ },
+ {
+ "id": "e2e4a468.8a1838",
+ "type": "execute",
+ "name": "generate configdb nbr ho patch url",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.patch-ho-for-nbr`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.patch-ho-for-nbr.url\"/>\n <parameter name=\"target\" value=\"{cellId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.alias`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1200.020767211914,
+ "y": 705.3542108535767,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "89dd4b27.cf59d8",
+ "type": "record",
+ "name": "record configdb RestAPI parms",
+ "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=\"URL for configDB PCI Update\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.patch-ho-for-nbr.url`\" />\n<parameter name='field3' value=\"`$tmp.alias`\" />\n<parameter name='field4' value=\"`$tmp.cid`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1209.0208587646484,
+ "y": 818.3542070388794,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "67336a18.ae2e64",
+ "type": "execute",
+ "name": "Configure PCI value in configdb",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/oofpcipoc-patch-configdb-ho-for-nbr.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.patch-ho-for-nbr.url`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1176.0208435058594,
+ "y": 923.3541641235352,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "ef644403.24c058",
+ "fdf802eb.60d9c"
+ ]
+ ]
+ },
+ {
+ "id": "ef644403.24c058",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1391.0208435058594,
+ "y": 866.3541641235352,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "8b811332.af384"
+ ]
+ ]
+ },
+ {
+ "id": "fdf802eb.60d9c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1391.0207214355469,
+ "y": 962.3540420532227,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "e176cd2e.3e59"
+ ]
+ ]
+ },
+ {
+ "id": "8b811332.af384",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1560.0207214355469,
+ "y": 877.3541641235352,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "476e5e5b.ebfba"
+ ]
+ ]
+ },
+ {
+ "id": "e176cd2e.3e59",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1553.0204772949219,
+ "y": 963.3541641235352,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "13d8c36c.6c2d3d"
+ ]
+ ]
+ },
+ {
+ "id": "476e5e5b.ebfba",
+ "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 updating configDB. Aborting Nbr HO configuration\" />",
+ "comments": "",
+ "x": 1714.0204162597656,
+ "y": 870.3541641235352,
+ "z": "d6ec916.8139a7",
+ "wires": []
+ },
+ {
+ "id": "13d8c36c.6c2d3d",
+ "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=\"HO Value for nbr updated in ConfigDB\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1708.0206756591797,
+ "y": 960.354172706604,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "358802c3.47e34e",
+ "type": "switchNode",
+ "name": "switch configdb deployed",
+ "xml": "<switch test='`$prop.configdb-deployed`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 801.0208587646484,
+ "y": 646.3541851043701,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "85f30747.c1b888",
+ "2d20c343.20b36c"
+ ]
+ ]
+ },
+ {
+ "id": "85f30747.c1b888",
+ "type": "outcome",
+ "name": "Deployed",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 843.0208435058594,
+ "y": 776.3541641235352,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "f89579dd.91a288"
+ ]
+ ]
+ },
+ {
+ "id": "68bfb6e.dac1e48",
+ "type": "execute",
+ "name": "Update target cellid for configdb nbr ho patch url",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.configdb.patch-ho-for-nbr.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.patch-ho-for-nbr.url\"/>\n <parameter name=\"target\" value=\"{targetCellId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1268.0207977294922,
+ "y": 757.46537733078,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8a8d9414.5fc568",
+ "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=\"ConfigDB Update Skipped\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1240.0207710266113,
+ "y": 632.5763521194458,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2d20c343.20b36c",
+ "type": "outcome",
+ "name": "Not Deployed",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1066.020736694336,
+ "y": 628.687421798706,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "8a8d9414.5fc568"
+ ]
+ ]
+ },
+ {
+ "id": "94a1fc66.854fd",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 907.0208435058594,
+ "y": 1930.5764541625977,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "dd73feca.07c61",
+ "37207b6c.909104",
+ "b87cd468.06cb68",
+ "ab8ee4d1.6884d8"
+ ]
+ ]
+ },
+ {
+ "id": "dd73feca.07c61",
+ "type": "execute",
+ "name": "generate configdb nbr ho patch url",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.patch-ho-for-nbr`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.patch-ho-for-nbr.url\"/>\n <parameter name=\"target\" value=\"{cellId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.alias`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1234.0207824707031,
+ "y": 1791.5764608383179,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "37207b6c.909104",
+ "type": "execute",
+ "name": "Configure Nbr HO value in configdb",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/oofpcipoc-patch-configdb-ho-for-nbr.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.patch-ho-for-nbr.url`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1165.0208435058594,
+ "y": 2001.5764541625977,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "1813ece8.963fa3",
+ "183b086e.f8d5e8"
+ ]
+ ]
+ },
+ {
+ "id": "1813ece8.963fa3",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1380.0208435058594,
+ "y": 1944.5764541625977,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "6a8582d5.f0470c"
+ ]
+ ]
+ },
+ {
+ "id": "183b086e.f8d5e8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1380.0207214355469,
+ "y": 2040.5763320922852,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "6f48523c.7e7b2c"
+ ]
+ ]
+ },
+ {
+ "id": "6a8582d5.f0470c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1549.0207214355469,
+ "y": 1955.5764541625977,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "9bd49b3c.96bdb8"
+ ]
+ ]
+ },
+ {
+ "id": "6f48523c.7e7b2c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1542.0204772949219,
+ "y": 2041.5764541625977,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "6bee533f.79d24c"
+ ]
+ ]
+ },
+ {
+ "id": "9bd49b3c.96bdb8",
+ "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 updating configDB. Aborting Nbr HO configuration\" />",
+ "comments": "",
+ "x": 1703.0204162597656,
+ "y": 1948.5764541625977,
+ "z": "d6ec916.8139a7",
+ "wires": []
+ },
+ {
+ "id": "6bee533f.79d24c",
+ "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=\"HO Value for nbr updated in ConfigDB\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1697.0206756591797,
+ "y": 2038.5764627456665,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d0e25241.e0e23",
+ "type": "switchNode",
+ "name": "switch configdb deployed",
+ "xml": "<switch test='`$prop.configdb-deployed`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 723.0211181640625,
+ "y": 1743.5765342712402,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "5b4167c1.3f34a8",
+ "dd0ef7.efed5108"
+ ]
+ ]
+ },
+ {
+ "id": "5b4167c1.3f34a8",
+ "type": "outcome",
+ "name": "Deployed",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 927.0208969116211,
+ "y": 1828.5764911174774,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "94a1fc66.854fd"
+ ]
+ ]
+ },
+ {
+ "id": "b87cd468.06cb68",
+ "type": "execute",
+ "name": "Update target cellid for configdb nbr ho patch url",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.configdb.patch-ho-for-nbr.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.patch-ho-for-nbr.url\"/>\n <parameter name=\"target\" value=\"{targetCellId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1285.0207824707031,
+ "y": 1844.6877369880676,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c3d98242.04a72",
+ "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=\"ConfigDB Update Skipped\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1218.0208644866943,
+ "y": 1741.798599243164,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "dd0ef7.efed5108",
+ "type": "outcome",
+ "name": "Not Deployed",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1039.0207901000977,
+ "y": 1728.9098176956177,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "c3d98242.04a72"
+ ]
+ ]
+ },
+ {
+ "id": "ab8ee4d1.6884d8",
+ "type": "record",
+ "name": "record configdb RestAPI parms",
+ "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=\"URL for configDB PCI Update\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.patch-ho-for-nbr.url`\" />\n<parameter name='field3' value=\"`$tmp.alias`\" />\n<parameter name='field4' value=\"`$tmp.cid`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1230.5763397216797,
+ "y": 1901.354133605957,
+ "z": "d6ec916.8139a7",
"wires": [
[]
]
}
-]
+]
\ No newline at end of file