[
{
- "id": "966e407d.9086f",
+ "id": "b0e84f67.bfca5",
"type": "comment",
"name": "Generic Neighbor Configuration",
"info": "",
"comments": "",
- "x": 335.50001335144043,
- "y": 20,
- "z": "fef406db.decef8",
+ "x": 365,
+ "y": 42,
+ "z": "252a4e44.929a62",
"wires": []
},
{
- "id": "6fb545d.b9f92bc",
+ "id": "e224f980.9882f8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 391.5,
- "y": 382.01049518585205,
- "z": "fef406db.decef8",
+ "x": 632.0000610351562,
+ "y": 262.010498046875,
+ "z": "252a4e44.929a62",
"wires": [
[
- "542aa267.5de7ec",
- "e4d83e12.5aa3c",
- "261a200c.78536",
- "3400b7a4.1ff4c8",
- "fd45e824.20b968",
- "d7ff45e9.c502f8",
- "9e7ad97b.b26a38",
- "a191be9b.c3b55",
- "375845c8.cdbe7a",
- "bedde1a6.6b5ec"
+ "7f0907cf.082338",
+ "742660e3.0e5d4",
+ "402a9020.563bb",
+ "5b76bc17.f32ce4",
+ "7b4e78c0.a96468",
+ "2c50a619.a494ea",
+ "5ae0e50d.a4dc6c",
+ "d51d9d04.31b31",
+ "a46c5047.46087",
+ "10fb55a2.da074a",
+ "9b2edc01.f191f"
]
]
},
{
- "id": "71827db2.f669d4",
+ "id": "7a6e2451.cb09ac",
"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": 553.0001831054688,
+ "y": 420,
+ "z": "252a4e44.929a62",
"wires": [
[
- "6fb545d.b9f92bc"
+ "e224f980.9882f8"
]
]
},
{
- "id": "542aa267.5de7ec",
+ "id": "7f0907cf.082338",
"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": 937.0011596679688,
+ "y": 64.88909912109375,
+ "z": "252a4e44.929a62",
"wires": []
},
{
- "id": "e4d83e12.5aa3c",
+ "id": "742660e3.0e5d4",
"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": 801.5105075836182,
+ "y": 108.01042747497559,
+ "z": "252a4e44.929a62",
"wires": [
[]
]
},
{
- "id": "7c2f19ac.9408c8",
+ "id": "7b4990e1.529af",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 98.9896125793457,
- "y": 452.9896240234375,
- "z": "fef406db.decef8",
+ "x": 128.48959350585938,
+ "y": 298.9896240234375,
+ "z": "252a4e44.929a62",
"wires": [
[
- "71827db2.f669d4",
- "51af8168.06635",
- "cecc5c7b.7371f",
- "c7654668.510fc8",
- "a6c8572f.221db8",
- "eaa9ba03.7776a8"
+ "e68f35dd.146c08",
+ "a6f2b267.e5311",
+ "138176a8.e62099",
+ "3f9b6f16.92476",
+ "2dbe6e04.1b04f2",
+ "f2bdeb66.05c1e8",
+ "2ae7e255.e92e0e",
+ "f6ddb1c4.e2257",
+ "bd6a5dc6.53e57"
]
]
},
{
- "id": "69c02c08.5e9024",
+ "id": "73bbdcfa.349ac4",
"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": 114,
+ "y": 199.9895782470703,
+ "z": "252a4e44.929a62",
"wires": [
[
- "7c2f19ac.9408c8"
+ "7b4990e1.529af"
]
]
},
{
- "id": "51af8168.06635",
+ "id": "e68f35dd.146c08",
"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": 119.00033950805664,
+ "y": 2859.989965438843,
+ "z": "252a4e44.929a62",
"wires": []
},
{
- "id": "cecc5c7b.7371f",
+ "id": "a6f2b267.e5311",
"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": 415.00030517578125,
+ "y": 99.01042938232422,
+ "z": "252a4e44.929a62",
"wires": [
[]
]
},
{
- "id": "c7654668.510fc8",
+ "id": "138176a8.e62099",
"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": 426.085693359375,
+ "y": 145.9531707763672,
+ "z": "252a4e44.929a62",
"wires": [
[
- "a7de08a4.309828"
+ "9f14658a.014d08"
]
]
},
{
- "id": "a6c8572f.221db8",
+ "id": "3f9b6f16.92476",
"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": 438.00018310546875,
+ "y": 194.01040649414062,
+ "z": "252a4e44.929a62",
"wires": [
[]
]
},
{
- "id": "eaa9ba03.7776a8",
+ "id": "2dbe6e04.1b04f2",
"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": 402.00030517578125,
+ "y": 236.010498046875,
+ "z": "252a4e44.929a62",
"wires": [
[]
]
},
{
- "id": "7c1282e8.0c1fbc",
+ "id": "767a16c9.47c368",
"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": 169.99998474121094,
+ "y": 110.98968505859375,
+ "z": "252a4e44.929a62",
"wires": [
[
- "69c02c08.5e9024"
+ "73bbdcfa.349ac4"
]
]
},
{
- "id": "a7de08a4.309828",
+ "id": "9f14658a.014d08",
"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": 591.0005493164062,
+ "y": 129.98963165283203,
+ "z": "252a4e44.929a62",
"wires": [
[]
]
},
{
- "id": "30d50b81.50d574",
+ "id": "5f1ad16d.8a92a",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 132.50001335144043,
- "y": 59.989585876464844,
- "z": "fef406db.decef8",
+ "x": 105,
+ "y": 48.989585876464844,
+ "z": "252a4e44.929a62",
"wires": [
[
- "7c1282e8.0c1fbc"
+ "767a16c9.47c368"
]
]
},
{
- "id": "bedde1a6.6b5ec",
+ "id": "10fb55a2.da074a",
"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": 872.5108642578125,
+ "y": 152.56614685058594,
+ "z": "252a4e44.929a62",
"wires": [
[]
]
},
{
- "id": "261a200c.78536",
+ "id": "402a9020.563bb",
"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": 799.510498046875,
+ "y": 205.7882080078125,
+ "z": "252a4e44.929a62",
"wires": [
[]
]
},
{
- "id": "3400b7a4.1ff4c8",
+ "id": "5b76bc17.f32ce4",
"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": 1001.5106258392334,
+ "y": 217.78822231292725,
+ "z": "252a4e44.929a62",
"wires": [
[]
]
},
{
- "id": "fd45e824.20b968",
+ "id": "7b4e78c0.a96468",
"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": 869.5104789733887,
+ "y": 261.788197517395,
+ "z": "252a4e44.929a62",
"wires": [
[]
]
},
{
- "id": "d7ff45e9.c502f8",
+ "id": "2c50a619.a494ea",
"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": 892.5105075836182,
+ "y": 306.7882204055786,
+ "z": "252a4e44.929a62",
"wires": [
[]
]
},
{
- "id": "a191be9b.c3b55",
+ "id": "d51d9d04.31b31",
"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": 924.510498046875,
+ "y": 446.788330078125,
+ "z": "252a4e44.929a62",
"wires": [
[
- "49bedeca.324b5",
- "6c592a69.fa7804"
+ "42094d77.460ca4",
+ "ece3aaf8.017e88"
]
]
},
{
- "id": "49bedeca.324b5",
+ "id": "42094d77.460ca4",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 986.0103988647461,
- "y": 570.7777833938599,
- "z": "fef406db.decef8",
+ "x": 1185.5103855133057,
+ "y": 410.77778339385986,
+ "z": "252a4e44.929a62",
"wires": [
[
- "defa5e8b.a3afa"
+ "4d5fe442.9a545c"
]
]
},
{
- "id": "6c592a69.fa7804",
+ "id": "ece3aaf8.017e88",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1004.010440826416,
- "y": 638.7776098251343,
- "z": "fef406db.decef8",
+ "x": 1187.5103302001953,
+ "y": 474.77761459350586,
+ "z": "252a4e44.929a62",
"wires": [
[
- "7e9e1401.b662cc"
+ "186e8503.876f0b"
]
]
},
{
- "id": "4a12d095.a60f9",
+ "id": "75c28db6.dab864",
"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": 1518.510124206543,
+ "y": 470.77770233154297,
+ "z": "252a4e44.929a62",
"wires": [
[]
]
},
{
- "id": "7e9e1401.b662cc",
+ "id": "186e8503.876f0b",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1184.0101051330566,
- "y": 636.7776908874512,
- "z": "fef406db.decef8",
+ "x": 1354.5101737976074,
+ "y": 473.77769660949707,
+ "z": "252a4e44.929a62",
"wires": [
[
- "4a12d095.a60f9"
+ "75c28db6.dab864"
]
]
},
{
- "id": "defa5e8b.a3afa",
+ "id": "4d5fe442.9a545c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1145.0102615356445,
- "y": 579.7777690887451,
- "z": "fef406db.decef8",
+ "x": 1344.510248184204,
+ "y": 419.7777690887451,
+ "z": "252a4e44.929a62",
"wires": [
[
- "4856d409.faf5fc"
+ "91c0b18a.5233d"
]
]
},
{
- "id": "4856d409.faf5fc",
+ "id": "91c0b18a.5233d",
"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": 1520.5100116729736,
+ "y": 404.77774238586426,
+ "z": "252a4e44.929a62",
"wires": []
},
{
- "id": "9e7ad97b.b26a38",
+ "id": "5ae0e50d.a4dc6c",
"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": 922.5104370117188,
+ "y": 358.7882080078125,
+ "z": "252a4e44.929a62",
"wires": [
[
- "3f51c8c2.f96888",
- "65ee4970.885748"
+ "1a9049a4.4660f6",
+ "babfc7f5.e3d6f8"
]
]
},
{
- "id": "3f51c8c2.f96888",
+ "id": "1a9049a4.4660f6",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 974.0105514526367,
- "y": 451.4442539215088,
- "z": "fef406db.decef8",
+ "x": 1190.510498046875,
+ "y": 295.4442491531372,
+ "z": "252a4e44.929a62",
"wires": [
[
- "31328392.853cfc"
+ "61c1aef5.95942"
]
]
},
{
- "id": "65ee4970.885748",
+ "id": "babfc7f5.e3d6f8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 969.010383605957,
- "y": 507.44440746307373,
- "z": "fef406db.decef8",
+ "x": 1177.5103912353516,
+ "y": 359.44439697265625,
+ "z": "252a4e44.929a62",
"wires": [
[
- "2a0f9a0c.8b1026"
+ "fd628eba.9d3f1"
]
]
},
{
- "id": "2a0f9a0c.8b1026",
+ "id": "fd628eba.9d3f1",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1121.0102005004883,
- "y": 516.4443125724792,
- "z": "fef406db.decef8",
+ "x": 1320.5101871490479,
+ "y": 356.44431257247925,
+ "z": "252a4e44.929a62",
"wires": [
[
- "17e660a2.7a5f2f"
+ "e6d88742.250328"
]
]
},
{
- "id": "17e660a2.7a5f2f",
+ "id": "e6d88742.250328",
"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": 1481.510103225708,
+ "y": 350.44458293914795,
+ "z": "252a4e44.929a62",
"wires": [
[]
]
},
{
- "id": "31328392.853cfc",
+ "id": "61c1aef5.95942",
"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": 1389.5103912353516,
+ "y": 285.4442768096924,
+ "z": "252a4e44.929a62",
"wires": []
},
{
- "id": "375845c8.cdbe7a",
+ "id": "a46c5047.46087",
"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": 880.5104370117188,
+ "y": 522.6770629882812,
+ "z": "252a4e44.929a62",
"wires": [
[
- "256027a4.697e18",
- "6f609efb.0848b"
+ "182595bb.f7ee4a",
+ "26bfad36.c5ae22"
]
]
},
{
- "id": "256027a4.697e18",
+ "id": "182595bb.f7ee4a",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1014.0105514526367,
- "y": 689.3331089019775,
- "z": "fef406db.decef8",
+ "x": 1215.5104370117188,
+ "y": 522.3331050872803,
+ "z": "252a4e44.929a62",
"wires": [
[
- "9acf15fd.972cb8"
+ "c2de4855.593ee8"
]
]
},
{
- "id": "6f609efb.0848b",
+ "id": "26bfad36.c5ae22",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1009.010383605957,
- "y": 745.3332624435425,
- "z": "fef406db.decef8",
+ "x": 1208.5103302001953,
+ "y": 574.3333015441895,
+ "z": "252a4e44.929a62",
"wires": [
[
- "68fe6d7.2d08a94"
+ "ceef9fe1.1c80b"
]
]
},
{
- "id": "68fe6d7.2d08a94",
+ "id": "ceef9fe1.1c80b",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1161.0102005004883,
- "y": 754.333167552948,
- "z": "fef406db.decef8",
+ "x": 1377.5100898742676,
+ "y": 581.3332405090332,
+ "z": "252a4e44.929a62",
"wires": [
[
- "dcc83786.96c448"
+ "aa26494c.850b58"
]
]
},
{
- "id": "9acf15fd.972cb8",
+ "id": "c2de4855.593ee8",
"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": 1388.5103912353516,
+ "y": 519.3331327438354,
+ "z": "252a4e44.929a62",
"wires": []
},
{
- "id": "dcc83786.96c448",
+ "id": "aa26494c.850b58",
+ "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": 1524.510124206543,
+ "y": 579.333456993103,
+ "z": "252a4e44.929a62",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8aebb9c4.9c2d58",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 578.9999465942383,
+ "y": 1332.0000581741333,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "d17b4a49.0377f8",
+ "62b6cd99.0b8964",
+ "228ec87c.7b30b8",
+ "a271ebfa.714168",
+ "34a4ad69.82f8c2",
+ "900f320e.2470c",
+ "d3287262.5d0d6",
+ "31829f2b.2121d",
+ "dbd04c8.1f2e4b",
+ "7df6d59c.f8208c",
+ "53f1a4f2.cd94cc",
+ "91a1e388.084d9"
+ ]
+ ]
+ },
+ {
+ "id": "7ffaf0be.ee25f",
+ "type": "for",
+ "name": "for",
+ "xml": "<for index='idx' start='0' end=\"`$generic-neighbor-configuration-input.lte-cell-number-of-entries`\" >",
+ "comments": "",
+ "outputs": 1,
+ "x": 522.0001831054688,
+ "y": 512.989501953125,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "8aebb9c4.9c2d58"
+ ]
+ ]
+ },
+ {
+ "id": "d17b4a49.0377f8",
+ "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": 912.0011806488037,
+ "y": 1015.8786706924438,
+ "z": "252a4e44.929a62",
+ "wires": []
+ },
+ {
+ "id": "62b6cd99.0b8964",
+ "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": 782.5105037689209,
+ "y": 1092.0000381469727,
+ "z": "252a4e44.929a62",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7df6d59c.f8208c",
+ "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": 875.5108242034912,
+ "y": 1153.5557250976562,
+ "z": "252a4e44.929a62",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "228ec87c.7b30b8",
+ "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": 816.5104579925537,
+ "y": 1202.7777709960938,
+ "z": "252a4e44.929a62",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a271ebfa.714168",
+ "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": 880.5105800628662,
+ "y": 1298.7777709960938,
+ "z": "252a4e44.929a62",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "34a4ad69.82f8c2",
+ "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": 855.5104579925537,
+ "y": 1346.7777709960938,
+ "z": "252a4e44.929a62",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "900f320e.2470c",
+ "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": 864.5104579925537,
+ "y": 1383.7777709960938,
+ "z": "252a4e44.929a62",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "31829f2b.2121d",
+ "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": 878.5104579925537,
+ "y": 1513.7778930664062,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "e9803890.320ab8",
+ "19d2bb84.870d44"
+ ]
+ ]
+ },
+ {
+ "id": "e9803890.320ab8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1173.5103454589844,
+ "y": 1520.767346382141,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "d2c2fe00.15af4"
+ ]
+ ]
+ },
+ {
+ "id": "19d2bb84.870d44",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1191.5103874206543,
+ "y": 1588.7671728134155,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "d28bc469.f5aa28"
+ ]
+ ]
+ },
+ {
+ "id": "ffbd161f.e01d28",
+ "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": 1529.510139465332,
+ "y": 1575.7672810554504,
+ "z": "252a4e44.929a62",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d28bc469.f5aa28",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1371.510051727295,
+ "y": 1586.7672538757324,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "ffbd161f.e01d28"
+ ]
+ ]
+ },
+ {
+ "id": "d2c2fe00.15af4",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1332.5102081298828,
+ "y": 1529.7673320770264,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "30f2e462.46c8dc"
+ ]
+ ]
+ },
+ {
+ "id": "30f2e462.46c8dc",
+ "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": 1508.5099716186523,
+ "y": 1514.7673053741455,
+ "z": "252a4e44.929a62",
+ "wires": []
+ },
+ {
+ "id": "d3287262.5d0d6",
+ "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": 888.5103969573975,
+ "y": 1428.7777709960938,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "f0a75827.0ad898",
+ "1be65a71.b6dd36"
+ ]
+ ]
+ },
+ {
+ "id": "f0a75827.0ad898",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1161.510498046875,
+ "y": 1401.43381690979,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "2355719e.d606ce"
+ ]
+ ]
+ },
+ {
+ "id": "1be65a71.b6dd36",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1156.5103302001953,
+ "y": 1457.433970451355,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "a0d79e97.8cfb2"
+ ]
+ ]
+ },
+ {
+ "id": "a0d79e97.8cfb2",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1308.5101470947266,
+ "y": 1466.4338755607605,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "4d7e37ed.51df38"
+ ]
+ ]
+ },
+ {
+ "id": "4d7e37ed.51df38",
"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": 1469.5100631713867,
+ "y": 1460.4341459274292,
+ "z": "252a4e44.929a62",
"wires": [
[]
]
+ },
+ {
+ "id": "2355719e.d606ce",
+ "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": 1362.5102882385254,
+ "y": 1407.433825492859,
+ "z": "252a4e44.929a62",
+ "wires": []
+ },
+ {
+ "id": "dbd04c8.1f2e4b",
+ "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": 844.5103969573975,
+ "y": 1627.6666870117188,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "4d125e.4a93cda4",
+ "bb46ef6d.b2b72"
+ ]
+ ]
+ },
+ {
+ "id": "4d125e.4a93cda4",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1201.510498046875,
+ "y": 1639.3226718902588,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "939a85c1.7d4528"
+ ]
+ ]
+ },
+ {
+ "id": "bb46ef6d.b2b72",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1196.5103302001953,
+ "y": 1695.3228254318237,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "90a83ca2.24d34"
+ ]
+ ]
+ },
+ {
+ "id": "90a83ca2.24d34",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1348.5101470947266,
+ "y": 1704.3227305412292,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "9c430d3f.4728b"
+ ]
+ ]
+ },
+ {
+ "id": "939a85c1.7d4528",
+ "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": 1402.5102882385254,
+ "y": 1645.3226804733276,
+ "z": "252a4e44.929a62",
+ "wires": []
+ },
+ {
+ "id": "9c430d3f.4728b",
+ "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": 1509.5100555419922,
+ "y": 1697.3229751586914,
+ "z": "252a4e44.929a62",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "dc02f9a7.daea28",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 429,
+ "y": 339,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "7a6e2451.cb09ac"
+ ]
+ ]
+ },
+ {
+ "id": "f2bdeb66.05c1e8",
+ "type": "switchNode",
+ "name": "switch mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 327,
+ "y": 428,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "dc02f9a7.daea28",
+ "d85c99ed.eedbf8"
+ ]
+ ]
+ },
+ {
+ "id": "d85c99ed.eedbf8",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 360,
+ "y": 506,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "7ffaf0be.ee25f"
+ ]
+ ]
+ },
+ {
+ "id": "53f1a4f2.cd94cc",
+ "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": 884.9999599456787,
+ "y": 1254.0000610351562,
+ "z": "252a4e44.929a62",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a684245a.ac34d8",
+ "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": 874.0104598999023,
+ "y": 2140.4550261497498,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "15052fc1.cca6c",
+ "6ccf93e6.8f7a4c"
+ ]
+ ]
+ },
+ {
+ "id": "15052fc1.cca6c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1148.0104598999023,
+ "y": 2109.4550261497498,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "3551690e.6b2536"
+ ]
+ ]
+ },
+ {
+ "id": "3551690e.6b2536",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1339.0104598999023,
+ "y": 2112.4550261497498,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "d6d5afed.2d1c5"
+ ]
+ ]
+ },
+ {
+ "id": "d6d5afed.2d1c5",
+ "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": 1507.0104598999023,
+ "y": 2113.4550261497498,
+ "z": "252a4e44.929a62",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "55bd856d.1ca76c",
+ "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": 846.5104598999023,
+ "y": 2256.4550261497498,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "3480a140.d8695e",
+ "630b1a6e.1c5ca4"
+ ]
+ ]
+ },
+ {
+ "id": "fed718fb.801098",
+ "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": 836.0104598999023,
+ "y": 2338.4550261497498,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "41afadd6.491be4",
+ "2950c15f.a9573e"
+ ]
+ ]
+ },
+ {
+ "id": "41afadd6.491be4",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1018.5104598999023,
+ "y": 2346.4550261497498,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "7784e992.808138"
+ ]
+ ]
+ },
+ {
+ "id": "7784e992.808138",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1203.5104598999023,
+ "y": 2344.4550261497498,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "e30277aa.6f4f48"
+ ]
+ ]
+ },
+ {
+ "id": "e30277aa.6f4f48",
+ "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": 1405.5104598999023,
+ "y": 2339.4550261497498,
+ "z": "252a4e44.929a62",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3480a140.d8695e",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1040.0104598999023,
+ "y": 2224.4550261497498,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "67a37d60.dbdd04"
+ ]
+ ]
+ },
+ {
+ "id": "67a37d60.dbdd04",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1215.0104598999023,
+ "y": 2238.4550261497498,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "f9928555.694f68"
+ ]
+ ]
+ },
+ {
+ "id": "f9928555.694f68",
+ "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": 1403.0104598999023,
+ "y": 2240.4550261497498,
+ "z": "252a4e44.929a62",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6ccf93e6.8f7a4c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1147.0104598999023,
+ "y": 2166.4550261497498,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "c443b33.268a25"
+ ]
+ ]
+ },
+ {
+ "id": "c443b33.268a25",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1316.0103378295898,
+ "y": 2172.4550261497498,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "59f0b873.9c5108"
+ ]
+ ]
+ },
+ {
+ "id": "59f0b873.9c5108",
+ "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": 1472.0100936889648,
+ "y": 2171.4550261497498,
+ "z": "252a4e44.929a62",
+ "wires": []
+ },
+ {
+ "id": "630b1a6e.1c5ca4",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1061.0104598999023,
+ "y": 2295.4550261497498,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "f2d69190.67874"
+ ]
+ ]
+ },
+ {
+ "id": "f2d69190.67874",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1229.0103378295898,
+ "y": 2290.4550261497498,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "74ef47ca.f01a78"
+ ]
+ ]
+ },
+ {
+ "id": "74ef47ca.f01a78",
+ "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": 1387.0100326538086,
+ "y": 2293.4550261497498,
+ "z": "252a4e44.929a62",
+ "wires": []
+ },
+ {
+ "id": "2950c15f.a9573e",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1021.0104598999023,
+ "y": 2394.4550261497498,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "3e3b30c7.caf5d"
+ ]
+ ]
+ },
+ {
+ "id": "3e3b30c7.caf5d",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1197.0103378295898,
+ "y": 2395.4550261497498,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "3e56d853.3bee08"
+ ]
+ ]
+ },
+ {
+ "id": "3e56d853.3bee08",
+ "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": 1344.0100326538086,
+ "y": 2398.4550261497498,
+ "z": "252a4e44.929a62",
+ "wires": []
+ },
+ {
+ "id": "2ae7e255.e92e0e",
+ "type": "block",
+ "name": "DMAAP Payload Generation",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 578.0104751586914,
+ "y": 2258.4551243782043,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "a684245a.ac34d8",
+ "55bd856d.1ca76c",
+ "fed718fb.801098"
+ ]
+ ]
+ },
+ {
+ "id": "f6ddb1c4.e2257",
+ "type": "block",
+ "name": "DMAAP Reponse Publish",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 440.0104446411133,
+ "y": 2606.343816280365,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "3f35cc94.a49f84",
+ "8019acb8.c7086"
+ ]
+ ]
+ },
+ {
+ "id": "8019acb8.c7086",
+ "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": 855.0105209350586,
+ "y": 2668.4550433158875,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "33c7111a.a2963e",
+ "14e94231.224a4e"
+ ]
+ ]
+ },
+ {
+ "id": "3f35cc94.a49f84",
+ "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": 841.6772193908691,
+ "y": 2564.4550337791443,
+ "z": "252a4e44.929a62",
+ "wires": []
+ },
+ {
+ "id": "33c7111a.a2963e",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1029.510498046875,
+ "y": 2602.3717608451843,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "94a3b167.874"
+ ]
+ ]
+ },
+ {
+ "id": "14e94231.224a4e",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1052.510353088379,
+ "y": 2731.3718676567078,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "b252cdf3.20703"
+ ]
+ ]
+ },
+ {
+ "id": "94a3b167.874",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1210.510269165039,
+ "y": 2605.3718905448914,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "df9838bf.c57f98"
+ ]
+ ]
+ },
+ {
+ "id": "df9838bf.c57f98",
+ "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": 1384.5099868774414,
+ "y": 2612.3718156814575,
+ "z": "252a4e44.929a62",
+ "wires": []
+ },
+ {
+ "id": "b252cdf3.20703",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1212.5099983215332,
+ "y": 2723.3718400001526,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "d4a05173.00859"
+ ]
+ ]
+ },
+ {
+ "id": "d4a05173.00859",
+ "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": 1389.5101165771484,
+ "y": 2728.3719487190247,
+ "z": "252a4e44.929a62",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a3e4a58a.882fd8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 893.0104370117188,
+ "y": 858.34375,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "82201feb.47811",
+ "a6151b0f.fd4e38",
+ "a9fa611b.f4f53",
+ "f8b28cfb.9ca18"
+ ]
+ ]
+ },
+ {
+ "id": "82201feb.47811",
+ "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": 1175.0103607177734,
+ "y": 711.3437967300415,
+ "z": "252a4e44.929a62",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a6151b0f.fd4e38",
+ "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": 1184.0104522705078,
+ "y": 824.3437929153442,
+ "z": "252a4e44.929a62",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a9fa611b.f4f53",
+ "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": 1151.0104370117188,
+ "y": 929.34375,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "f52685f5.9ec9e8",
+ "1e33abb.7dfcc54"
+ ]
+ ]
+ },
+ {
+ "id": "f52685f5.9ec9e8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1366.0104370117188,
+ "y": 872.34375,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "7a88211d.21404"
+ ]
+ ]
+ },
+ {
+ "id": "1e33abb.7dfcc54",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1366.0103149414062,
+ "y": 968.3436279296875,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "cdb5356d.ee7188"
+ ]
+ ]
+ },
+ {
+ "id": "7a88211d.21404",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1535.0103149414062,
+ "y": 883.34375,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "3afbe91c.525196"
+ ]
+ ]
+ },
+ {
+ "id": "cdb5356d.ee7188",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1528.0100708007812,
+ "y": 969.34375,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "a11318ad.1a6bc8"
+ ]
+ ]
+ },
+ {
+ "id": "3afbe91c.525196",
+ "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": 1689.010009765625,
+ "y": 876.34375,
+ "z": "252a4e44.929a62",
+ "wires": []
+ },
+ {
+ "id": "a11318ad.1a6bc8",
+ "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": 1683.010269165039,
+ "y": 966.3437585830688,
+ "z": "252a4e44.929a62",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9b2edc01.f191f",
+ "type": "switchNode",
+ "name": "switch configdb deployed",
+ "xml": "<switch test='`$prop.configdb-deployed`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 776.0104522705078,
+ "y": 652.343770980835,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "1e56b849.b86cf8",
+ "ae371307.929fb"
+ ]
+ ]
+ },
+ {
+ "id": "1e56b849.b86cf8",
+ "type": "outcome",
+ "name": "Deployed",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 818.0104370117188,
+ "y": 782.34375,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "a3e4a58a.882fd8"
+ ]
+ ]
+ },
+ {
+ "id": "f8b28cfb.9ca18",
+ "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": 1243.0103912353516,
+ "y": 763.4549632072449,
+ "z": "252a4e44.929a62",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d525e267.ae255",
+ "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": 1215.0103645324707,
+ "y": 638.5659379959106,
+ "z": "252a4e44.929a62",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ae371307.929fb",
+ "type": "outcome",
+ "name": "Not Deployed",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1041.0103302001953,
+ "y": 634.6770076751709,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "d525e267.ae255"
+ ]
+ ]
+ },
+ {
+ "id": "11c3d0d6.90744f",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 882.0104370117188,
+ "y": 1936.5660400390625,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "8655da73.bc36d8",
+ "382e3360.38b5ec",
+ "d9ac0eb4.66ffe",
+ "5df7b8fb.71a428"
+ ]
+ ]
+ },
+ {
+ "id": "8655da73.bc36d8",
+ "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": 1209.0103759765625,
+ "y": 1797.5660467147827,
+ "z": "252a4e44.929a62",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "382e3360.38b5ec",
+ "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": 1140.0104370117188,
+ "y": 2007.5660400390625,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "5e7d03c0.aeeeac",
+ "40e48c4e.2e3b44"
+ ]
+ ]
+ },
+ {
+ "id": "5e7d03c0.aeeeac",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1355.0104370117188,
+ "y": 1950.5660400390625,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "9814df0d.82aad"
+ ]
+ ]
+ },
+ {
+ "id": "40e48c4e.2e3b44",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1355.0103149414062,
+ "y": 2046.56591796875,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "72b3f355.14e49c"
+ ]
+ ]
+ },
+ {
+ "id": "9814df0d.82aad",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1524.0103149414062,
+ "y": 1961.5660400390625,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "4c3f314d.e4918"
+ ]
+ ]
+ },
+ {
+ "id": "72b3f355.14e49c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1517.0100708007812,
+ "y": 2047.5660400390625,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "1e520c42.9f5004"
+ ]
+ ]
+ },
+ {
+ "id": "4c3f314d.e4918",
+ "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": 1678.010009765625,
+ "y": 1954.5660400390625,
+ "z": "252a4e44.929a62",
+ "wires": []
+ },
+ {
+ "id": "1e520c42.9f5004",
+ "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": 1672.010269165039,
+ "y": 2044.5660486221313,
+ "z": "252a4e44.929a62",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "91a1e388.084d9",
+ "type": "switchNode",
+ "name": "switch configdb deployed",
+ "xml": "<switch test='`$prop.configdb-deployed`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 698.0107116699219,
+ "y": 1749.566120147705,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "92f1f43a.71c648",
+ "3956df3.7497e2"
+ ]
+ ]
+ },
+ {
+ "id": "92f1f43a.71c648",
+ "type": "outcome",
+ "name": "Deployed",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 902.0104904174805,
+ "y": 1834.5660769939423,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "11c3d0d6.90744f"
+ ]
+ ]
+ },
+ {
+ "id": "d9ac0eb4.66ffe",
+ "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": 1260.0103759765625,
+ "y": 1850.6773228645325,
+ "z": "252a4e44.929a62",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "230508b3.4de498",
+ "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": 1193.0104579925537,
+ "y": 1747.788185119629,
+ "z": "252a4e44.929a62",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3956df3.7497e2",
+ "type": "outcome",
+ "name": "Not Deployed",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1014.010383605957,
+ "y": 1734.8994035720825,
+ "z": "252a4e44.929a62",
+ "wires": [
+ [
+ "230508b3.4de498"
+ ]
+ ]
+ },
+ {
+ "id": "5df7b8fb.71a428",
+ "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": 1205.565933227539,
+ "y": 1907.3437194824219,
+ "z": "252a4e44.929a62",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bd6a5dc6.53e57",
+ "type": "set",
+ "name": "set properties for DMAAP header",
+ "xml": "<set>\n<parameter name=\"prop.oofpcipoc-dmaap-config-resp.timestamp\" value=\"`$generic-neighbor-configuration-input.timeStamp`\"/>\n<parameter name=\"prop.oofpcipoc-dmaap-config-resp.requestID\" value=\"`$generic-neighbor-configuration-input.requestID`\"/>\n<parameter name=\"prop.oofpcipoc-dmaap-config-resp.subrequestID\" value=\"`$generic-neighbor-configuration-input.subRequestID`\"/>",
+ "comments": "",
+ "x": 399,
+ "y": 300,
+ "z": "252a4e44.929a62",
+ "wires": []
}
-]
+]
\ No newline at end of file