[
{
- "id": "966e407d.9086f",
+ "id": "62c88a41.7901c4",
"type": "comment",
"name": "Generic Neighbor Configuration",
"info": "",
"comments": "",
- "x": 335.50001335144043,
- "y": 20,
- "z": "fef406db.decef8",
+ "x": 363,
+ "y": 27,
+ "z": "b5912bac.e498b8",
"wires": []
},
{
- "id": "6fb545d.b9f92bc",
+ "id": "baa967e2.faeed8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 391.5,
- "y": 382.01049518585205,
- "z": "fef406db.decef8",
+ "x": 604.0000457763672,
+ "y": 247.01050186157227,
+ "z": "b5912bac.e498b8",
"wires": [
[
- "542aa267.5de7ec",
- "e4d83e12.5aa3c",
- "261a200c.78536",
- "3400b7a4.1ff4c8",
- "fd45e824.20b968",
- "d7ff45e9.c502f8",
- "9e7ad97b.b26a38",
- "a191be9b.c3b55",
- "375845c8.cdbe7a",
- "bedde1a6.6b5ec"
+ "e7f7731c.df44c",
+ "e8c58776.722298",
+ "26d77802.a1d148",
+ "a1ea2bf1.677578",
+ "1dc9243f.b48cec",
+ "42fc4612.e644c8",
+ "dd9a5d15.06aae",
+ "772f6c66.8f6644",
+ "9257d114.fbb5f",
+ "bf3b2072.183ee",
+ "5dfa3076.0f2dc"
]
]
},
{
- "id": "71827db2.f669d4",
+ "id": "3b46224d.2d6b5e",
"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": 551.0001831054688,
+ "y": 405,
+ "z": "b5912bac.e498b8",
"wires": [
[
- "6fb545d.b9f92bc"
+ "baa967e2.faeed8"
]
]
},
{
- "id": "542aa267.5de7ec",
+ "id": "e7f7731c.df44c",
"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": 935.0011596679688,
+ "y": 49.88909912109375,
+ "z": "b5912bac.e498b8",
"wires": []
},
{
- "id": "e4d83e12.5aa3c",
+ "id": "e8c58776.722298",
"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": 799.5105075836182,
+ "y": 93.01042747497559,
+ "z": "b5912bac.e498b8",
"wires": [
[]
]
},
{
- "id": "7c2f19ac.9408c8",
+ "id": "472be384.ef3bac",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 98.9896125793457,
- "y": 452.9896240234375,
- "z": "fef406db.decef8",
+ "x": 126.48959350585938,
+ "y": 283.9896240234375,
+ "z": "b5912bac.e498b8",
"wires": [
[
- "71827db2.f669d4",
- "51af8168.06635",
- "cecc5c7b.7371f",
- "c7654668.510fc8",
- "a6c8572f.221db8",
- "eaa9ba03.7776a8"
+ "58f1d84.b947928",
+ "f7111027.f6312",
+ "be76099f.4dfad8",
+ "ce40b7fa.694068",
+ "d8ef20b.61a53e",
+ "1cfec41e.135f0c",
+ "598648b2.5aa358",
+ "3e67b041.fa193"
]
]
},
{
- "id": "69c02c08.5e9024",
+ "id": "98417a7.9342688",
"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": 112,
+ "y": 184.9895782470703,
+ "z": "b5912bac.e498b8",
"wires": [
[
- "7c2f19ac.9408c8"
+ "472be384.ef3bac"
]
]
},
{
- "id": "51af8168.06635",
+ "id": "58f1d84.b947928",
"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": 117.00033950805664,
+ "y": 2844.989965438843,
+ "z": "b5912bac.e498b8",
"wires": []
},
{
- "id": "cecc5c7b.7371f",
+ "id": "f7111027.f6312",
"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": 413.00030517578125,
+ "y": 84.01042938232422,
+ "z": "b5912bac.e498b8",
"wires": [
[]
]
},
{
- "id": "c7654668.510fc8",
+ "id": "be76099f.4dfad8",
"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": 424.085693359375,
+ "y": 130.9531707763672,
+ "z": "b5912bac.e498b8",
"wires": [
[
- "a7de08a4.309828"
+ "93be64d3.f030f8"
]
]
},
{
- "id": "a6c8572f.221db8",
+ "id": "ce40b7fa.694068",
"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": 427.00018310546875,
+ "y": 189.01040649414062,
+ "z": "b5912bac.e498b8",
"wires": [
[]
]
},
{
- "id": "eaa9ba03.7776a8",
+ "id": "d8ef20b.61a53e",
"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": 379.000301361084,
+ "y": 257.01050090789795,
+ "z": "b5912bac.e498b8",
"wires": [
[]
]
},
{
- "id": "7c1282e8.0c1fbc",
+ "id": "f6fcf198.4f53a",
"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": 167.99998474121094,
+ "y": 95.98968505859375,
+ "z": "b5912bac.e498b8",
"wires": [
[
- "69c02c08.5e9024"
+ "98417a7.9342688"
]
]
},
{
- "id": "a7de08a4.309828",
+ "id": "93be64d3.f030f8",
"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": 589.0005493164062,
+ "y": 114.98963165283203,
+ "z": "b5912bac.e498b8",
"wires": [
[]
]
},
{
- "id": "30d50b81.50d574",
+ "id": "9a50d806.bf9d88",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 132.50001335144043,
- "y": 59.989585876464844,
- "z": "fef406db.decef8",
+ "x": 103,
+ "y": 33.989585876464844,
+ "z": "b5912bac.e498b8",
"wires": [
[
- "7c1282e8.0c1fbc"
+ "f6fcf198.4f53a"
]
]
},
{
- "id": "bedde1a6.6b5ec",
+ "id": "bf3b2072.183ee",
"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": 870.5108642578125,
+ "y": 137.56614685058594,
+ "z": "b5912bac.e498b8",
"wires": [
[]
]
},
{
- "id": "261a200c.78536",
+ "id": "26d77802.a1d148",
"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": 797.510498046875,
+ "y": 190.7882080078125,
+ "z": "b5912bac.e498b8",
"wires": [
[]
]
},
{
- "id": "3400b7a4.1ff4c8",
+ "id": "a1ea2bf1.677578",
"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": 999.5106258392334,
+ "y": 202.78822231292725,
+ "z": "b5912bac.e498b8",
"wires": [
[]
]
},
{
- "id": "fd45e824.20b968",
+ "id": "1dc9243f.b48cec",
"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": 867.5104789733887,
+ "y": 246.78819751739502,
+ "z": "b5912bac.e498b8",
"wires": [
[]
]
},
{
- "id": "d7ff45e9.c502f8",
+ "id": "42fc4612.e644c8",
"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": 890.5105075836182,
+ "y": 291.7882204055786,
+ "z": "b5912bac.e498b8",
"wires": [
[]
]
},
{
- "id": "a191be9b.c3b55",
+ "id": "772f6c66.8f6644",
"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": 922.510498046875,
+ "y": 431.788330078125,
+ "z": "b5912bac.e498b8",
"wires": [
[
- "49bedeca.324b5",
- "6c592a69.fa7804"
+ "18e5fc47.677d84",
+ "9996e5f3.0463a8"
]
]
},
{
- "id": "49bedeca.324b5",
+ "id": "18e5fc47.677d84",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 986.0103988647461,
- "y": 570.7777833938599,
- "z": "fef406db.decef8",
+ "x": 1183.5103855133057,
+ "y": 395.77778339385986,
+ "z": "b5912bac.e498b8",
"wires": [
[
- "defa5e8b.a3afa"
+ "7e1599c6.f4b258"
]
]
},
{
- "id": "6c592a69.fa7804",
+ "id": "9996e5f3.0463a8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1004.010440826416,
- "y": 638.7776098251343,
- "z": "fef406db.decef8",
+ "x": 1185.5103302001953,
+ "y": 459.77761459350586,
+ "z": "b5912bac.e498b8",
"wires": [
[
- "7e9e1401.b662cc"
+ "8be63bfe.ba0d78"
]
]
},
{
- "id": "4a12d095.a60f9",
+ "id": "24c17f16.af7c2",
"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": 1516.510124206543,
+ "y": 455.77770233154297,
+ "z": "b5912bac.e498b8",
"wires": [
[]
]
},
{
- "id": "7e9e1401.b662cc",
+ "id": "8be63bfe.ba0d78",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1184.0101051330566,
- "y": 636.7776908874512,
- "z": "fef406db.decef8",
+ "x": 1352.5101737976074,
+ "y": 458.77769660949707,
+ "z": "b5912bac.e498b8",
"wires": [
[
- "4a12d095.a60f9"
+ "24c17f16.af7c2"
]
]
},
{
- "id": "defa5e8b.a3afa",
+ "id": "7e1599c6.f4b258",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1145.0102615356445,
- "y": 579.7777690887451,
- "z": "fef406db.decef8",
+ "x": 1342.510248184204,
+ "y": 404.7777690887451,
+ "z": "b5912bac.e498b8",
"wires": [
[
- "4856d409.faf5fc"
+ "ce7d1839.31b058"
]
]
},
{
- "id": "4856d409.faf5fc",
+ "id": "ce7d1839.31b058",
"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": 1518.5100116729736,
+ "y": 389.77774238586426,
+ "z": "b5912bac.e498b8",
"wires": []
},
{
- "id": "9e7ad97b.b26a38",
+ "id": "dd9a5d15.06aae",
"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": 920.5104370117188,
+ "y": 343.7882080078125,
+ "z": "b5912bac.e498b8",
"wires": [
[
- "3f51c8c2.f96888",
- "65ee4970.885748"
+ "9fe95e60.166c3",
+ "9512e3ea.241a4"
]
]
},
{
- "id": "3f51c8c2.f96888",
+ "id": "9fe95e60.166c3",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 974.0105514526367,
- "y": 451.4442539215088,
- "z": "fef406db.decef8",
+ "x": 1188.510498046875,
+ "y": 280.4442491531372,
+ "z": "b5912bac.e498b8",
"wires": [
[
- "31328392.853cfc"
+ "5a501fde.87adb"
]
]
},
{
- "id": "65ee4970.885748",
+ "id": "9512e3ea.241a4",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 969.010383605957,
- "y": 507.44440746307373,
- "z": "fef406db.decef8",
+ "x": 1175.5103912353516,
+ "y": 344.44439697265625,
+ "z": "b5912bac.e498b8",
"wires": [
[
- "2a0f9a0c.8b1026"
+ "f3752e03.cce3d"
]
]
},
{
- "id": "2a0f9a0c.8b1026",
+ "id": "f3752e03.cce3d",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1121.0102005004883,
- "y": 516.4443125724792,
- "z": "fef406db.decef8",
+ "x": 1318.5101871490479,
+ "y": 341.44431257247925,
+ "z": "b5912bac.e498b8",
"wires": [
[
- "17e660a2.7a5f2f"
+ "56993fd5.34454"
]
]
},
{
- "id": "17e660a2.7a5f2f",
+ "id": "56993fd5.34454",
"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": 1479.510103225708,
+ "y": 335.44458293914795,
+ "z": "b5912bac.e498b8",
"wires": [
[]
]
},
{
- "id": "31328392.853cfc",
+ "id": "5a501fde.87adb",
"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": 1387.5103912353516,
+ "y": 270.4442768096924,
+ "z": "b5912bac.e498b8",
"wires": []
},
{
- "id": "375845c8.cdbe7a",
+ "id": "9257d114.fbb5f",
"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": 878.5104370117188,
+ "y": 507.67706298828125,
+ "z": "b5912bac.e498b8",
"wires": [
[
- "256027a4.697e18",
- "6f609efb.0848b"
+ "f3eccc73.b462e",
+ "3ed6cc6a.c6c044"
]
]
},
{
- "id": "256027a4.697e18",
+ "id": "f3eccc73.b462e",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1014.0105514526367,
- "y": 689.3331089019775,
- "z": "fef406db.decef8",
+ "x": 1213.5104370117188,
+ "y": 507.3331050872803,
+ "z": "b5912bac.e498b8",
"wires": [
[
- "9acf15fd.972cb8"
+ "1ebdbe5d.7f30b2"
]
]
},
{
- "id": "6f609efb.0848b",
+ "id": "3ed6cc6a.c6c044",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1009.010383605957,
- "y": 745.3332624435425,
- "z": "fef406db.decef8",
+ "x": 1206.5103302001953,
+ "y": 559.3333015441895,
+ "z": "b5912bac.e498b8",
"wires": [
[
- "68fe6d7.2d08a94"
+ "7a33e4a5.c1140c"
]
]
},
{
- "id": "68fe6d7.2d08a94",
+ "id": "7a33e4a5.c1140c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1161.0102005004883,
- "y": 754.333167552948,
- "z": "fef406db.decef8",
+ "x": 1375.5100898742676,
+ "y": 566.3332405090332,
+ "z": "b5912bac.e498b8",
"wires": [
[
- "dcc83786.96c448"
+ "8874cc8.fdd9c3"
]
]
},
{
- "id": "9acf15fd.972cb8",
+ "id": "1ebdbe5d.7f30b2",
"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": 1386.5103912353516,
+ "y": 504.33313274383545,
+ "z": "b5912bac.e498b8",
"wires": []
},
{
- "id": "dcc83786.96c448",
+ "id": "8874cc8.fdd9c3",
+ "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": 1522.510124206543,
+ "y": 564.333456993103,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "caedd83d.51f7c8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 576.9999465942383,
+ "y": 1317.0000581741333,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "1c84f0b8.618d3f",
+ "661254e5.c354ac",
+ "30fcd4e2.e8af6c",
+ "f65cc795.09a8f8",
+ "6002fae9.c462d4",
+ "26a41e87.9a2a42",
+ "8ad484a4.2e48f8",
+ "9cd115c6.7d3528",
+ "aa95ae6a.9db0c",
+ "917698f.742c268",
+ "5d5cd71e.9e8ad8",
+ "dd44dc35.baa9a"
+ ]
+ ]
+ },
+ {
+ "id": "49402706.7c5b88",
+ "type": "for",
+ "name": "for",
+ "xml": "<for index='idx' start='0' end=\"`$generic-neighbor-configuration-input.lte-cell-number-of-entries`\" >",
+ "comments": "",
+ "outputs": 1,
+ "x": 520.0001831054688,
+ "y": 497.989501953125,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "caedd83d.51f7c8"
+ ]
+ ]
+ },
+ {
+ "id": "1c84f0b8.618d3f",
+ "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": 910.0011806488037,
+ "y": 1000.8786706924438,
+ "z": "b5912bac.e498b8",
+ "wires": []
+ },
+ {
+ "id": "661254e5.c354ac",
+ "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": 780.5105037689209,
+ "y": 1077.0000381469727,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "917698f.742c268",
+ "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": 873.5108242034912,
+ "y": 1138.5557250976562,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "30fcd4e2.e8af6c",
+ "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": 814.5104579925537,
+ "y": 1187.7777709960938,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f65cc795.09a8f8",
+ "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": 878.5105800628662,
+ "y": 1283.7777709960938,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6002fae9.c462d4",
+ "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": 853.5104579925537,
+ "y": 1331.7777709960938,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "26a41e87.9a2a42",
+ "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": 862.5104579925537,
+ "y": 1368.7777709960938,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9cd115c6.7d3528",
+ "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": 876.5104579925537,
+ "y": 1498.7778930664062,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "550d2fe8.b2398",
+ "c01d1028.d9257"
+ ]
+ ]
+ },
+ {
+ "id": "550d2fe8.b2398",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1171.5103454589844,
+ "y": 1505.767346382141,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "6a5a8363.937f4c"
+ ]
+ ]
+ },
+ {
+ "id": "c01d1028.d9257",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1189.5103874206543,
+ "y": 1573.7671728134155,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "52465faf.7e9e9"
+ ]
+ ]
+ },
+ {
+ "id": "7626dcea.9b0314",
+ "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": 1527.510139465332,
+ "y": 1560.7672810554504,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "52465faf.7e9e9",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1369.510051727295,
+ "y": 1571.7672538757324,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "7626dcea.9b0314"
+ ]
+ ]
+ },
+ {
+ "id": "6a5a8363.937f4c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1330.5102081298828,
+ "y": 1514.7673320770264,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "c37acb1b.5bf368"
+ ]
+ ]
+ },
+ {
+ "id": "c37acb1b.5bf368",
+ "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": 1506.5099716186523,
+ "y": 1499.7673053741455,
+ "z": "b5912bac.e498b8",
+ "wires": []
+ },
+ {
+ "id": "8ad484a4.2e48f8",
+ "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": 886.5103969573975,
+ "y": 1413.7777709960938,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "91fb4292.af9ba",
+ "4fbff7ac.8fb1f8"
+ ]
+ ]
+ },
+ {
+ "id": "91fb4292.af9ba",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1159.510498046875,
+ "y": 1386.43381690979,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "a8a950c8.2502f"
+ ]
+ ]
+ },
+ {
+ "id": "4fbff7ac.8fb1f8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1154.5103302001953,
+ "y": 1442.433970451355,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "ffc0c87a.ab73b8"
+ ]
+ ]
+ },
+ {
+ "id": "ffc0c87a.ab73b8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1306.5101470947266,
+ "y": 1451.4338755607605,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "d27f355.abdb1c8"
+ ]
+ ]
+ },
+ {
+ "id": "d27f355.abdb1c8",
"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": 1467.5100631713867,
+ "y": 1445.4341459274292,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a8a950c8.2502f",
+ "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": 1360.5102882385254,
+ "y": 1392.433825492859,
+ "z": "b5912bac.e498b8",
+ "wires": []
+ },
+ {
+ "id": "aa95ae6a.9db0c",
+ "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": 842.5103969573975,
+ "y": 1612.6666870117188,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "9a649311.6c99",
+ "6cc8d6fb.f0ac98"
+ ]
+ ]
+ },
+ {
+ "id": "9a649311.6c99",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1199.510498046875,
+ "y": 1624.3226718902588,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "cdae9665.c04dc8"
+ ]
+ ]
+ },
+ {
+ "id": "6cc8d6fb.f0ac98",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1194.5103302001953,
+ "y": 1680.3228254318237,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "c3f07c0c.f0779"
+ ]
+ ]
+ },
+ {
+ "id": "c3f07c0c.f0779",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1346.5101470947266,
+ "y": 1689.3227305412292,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "adbc9ce8.ce34e"
+ ]
+ ]
+ },
+ {
+ "id": "cdae9665.c04dc8",
+ "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": 1400.5102882385254,
+ "y": 1630.3226804733276,
+ "z": "b5912bac.e498b8",
+ "wires": []
+ },
+ {
+ "id": "adbc9ce8.ce34e",
+ "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": 1507.5100555419922,
+ "y": 1682.3229751586914,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9e1d4a81.fff878",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 427,
+ "y": 324,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "3b46224d.2d6b5e"
+ ]
+ ]
+ },
+ {
+ "id": "1cfec41e.135f0c",
+ "type": "switchNode",
+ "name": "switch mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 325,
+ "y": 413,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "9e1d4a81.fff878",
+ "f4668911.4ee4b8"
+ ]
+ ]
+ },
+ {
+ "id": "f4668911.4ee4b8",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 358,
+ "y": 491,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "49402706.7c5b88"
+ ]
+ ]
+ },
+ {
+ "id": "5d5cd71e.9e8ad8",
+ "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": 882.9999599456787,
+ "y": 1239.0000610351562,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3cf0d2d4.0a5d0e",
+ "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": 872.0104598999023,
+ "y": 2125.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "fb7f30bc.4c65b",
+ "bdb5c927.8af808"
+ ]
+ ]
+ },
+ {
+ "id": "fb7f30bc.4c65b",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1146.0104598999023,
+ "y": 2094.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "c11aee10.e6e67"
+ ]
+ ]
+ },
+ {
+ "id": "c11aee10.e6e67",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1337.0104598999023,
+ "y": 2097.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "9a917d5e.1c727"
+ ]
+ ]
+ },
+ {
+ "id": "9a917d5e.1c727",
+ "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": 1505.0104598999023,
+ "y": 2098.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "df99ee06.4ace2",
+ "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": 844.5104598999023,
+ "y": 2241.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "c93e93f1.a82ee",
+ "185060e1.24becf"
+ ]
+ ]
+ },
+ {
+ "id": "2dc1f234.42072e",
+ "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": 834.0104598999023,
+ "y": 2323.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "6e15985e.9487b8",
+ "ee17f7c6.a13008"
+ ]
+ ]
+ },
+ {
+ "id": "d94faf20.0bc6f",
+ "type": "execute",
+ "name": "Escape JSON String",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='escapeJsonString' >\n <parameter name=\"source\" value='`$tmp.oofpcipoc-dmaap-config-resp.payload`'/>\n <parameter name=\"target\" value='tmp.oofpcipoc-dmaap-config-resp.payload'/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 821.5104598999023,
+ "y": 2439.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "90e3f8bd.7c3bc8",
+ "a4d7a3a6.62a39"
+ ]
+ ]
+ },
+ {
+ "id": "90e3f8bd.7c3bc8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1023.5104598999023,
+ "y": 2429.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "dc13ddfc.0613e"
+ ]
+ ]
+ },
+ {
+ "id": "6e15985e.9487b8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1016.5104598999023,
+ "y": 2331.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "a4df22c7.c42fd"
+ ]
+ ]
+ },
+ {
+ "id": "dc13ddfc.0613e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1187.5104598999023,
+ "y": 2431.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "a1498459.692f68"
+ ]
+ ]
+ },
+ {
+ "id": "a1498459.692f68",
+ "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 as an Escaped string\"/>\n<parameter name='field3' value='`$tmp.oofpcipoc-dmaap-config-resp.payload`' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1347.5104598999023,
+ "y": 2430.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a4df22c7.c42fd",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1201.5104598999023,
+ "y": 2329.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "64c913b9.99501c"
+ ]
+ ]
+ },
+ {
+ "id": "64c913b9.99501c",
+ "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": 1403.5104598999023,
+ "y": 2324.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c93e93f1.a82ee",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1038.0104598999023,
+ "y": 2209.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "d0d96a57.50b6a8"
+ ]
+ ]
+ },
+ {
+ "id": "d0d96a57.50b6a8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1213.0104598999023,
+ "y": 2223.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "f893a35e.08e4f"
+ ]
+ ]
+ },
+ {
+ "id": "f893a35e.08e4f",
+ "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": 1401.0104598999023,
+ "y": 2225.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bdb5c927.8af808",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1145.0104598999023,
+ "y": 2151.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "3f455a05.46ca56"
+ ]
+ ]
+ },
+ {
+ "id": "3f455a05.46ca56",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1314.0103378295898,
+ "y": 2157.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "4b319563.0e680c"
+ ]
+ ]
+ },
+ {
+ "id": "4b319563.0e680c",
+ "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": 1470.0100936889648,
+ "y": 2156.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": []
+ },
+ {
+ "id": "185060e1.24becf",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1059.0104598999023,
+ "y": 2280.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "f035b64a.afd518"
+ ]
+ ]
+ },
+ {
+ "id": "f035b64a.afd518",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1227.0103378295898,
+ "y": 2275.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "3f311f39.6d976"
+ ]
+ ]
+ },
+ {
+ "id": "3f311f39.6d976",
+ "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": 1385.0100326538086,
+ "y": 2278.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": []
+ },
+ {
+ "id": "ee17f7c6.a13008",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1019.0104598999023,
+ "y": 2379.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "435f1a9.a102ee4"
+ ]
+ ]
+ },
+ {
+ "id": "435f1a9.a102ee4",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1195.0103378295898,
+ "y": 2380.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "d581508c.2e804"
+ ]
+ ]
+ },
+ {
+ "id": "d581508c.2e804",
+ "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": 1342.0100326538086,
+ "y": 2383.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": []
+ },
+ {
+ "id": "a4d7a3a6.62a39",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1017.0104598999023,
+ "y": 2491.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "7a39172d.482ce8"
+ ]
+ ]
+ },
+ {
+ "id": "7a39172d.482ce8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1179.0103378295898,
+ "y": 2487.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "7705a742.9b25b8"
+ ]
+ ]
+ },
+ {
+ "id": "7705a742.9b25b8",
+ "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 inserting escape chars in SDNR response payload string. Aborting PCI configuration\" />",
+ "comments": "",
+ "x": 1340.0100326538086,
+ "y": 2495.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": []
+ },
+ {
+ "id": "598648b2.5aa358",
+ "type": "block",
+ "name": "DMAAP Payload Generation",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 576.0104751586914,
+ "y": 2243.4551243782043,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "3cf0d2d4.0a5d0e",
+ "df99ee06.4ace2",
+ "2dc1f234.42072e",
+ "d94faf20.0bc6f"
+ ]
+ ]
+ },
+ {
+ "id": "3e67b041.fa193",
+ "type": "block",
+ "name": "DMAAP Reponse Publish",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 438.0104446411133,
+ "y": 2591.343816280365,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "31416be7.b41224",
+ "5ccbfc1e.20e2f4"
+ ]
+ ]
+ },
+ {
+ "id": "5ccbfc1e.20e2f4",
+ "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": 853.0105209350586,
+ "y": 2653.4550433158875,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "35df2cf3.78dc74",
+ "ecbae94b.e41fd8"
+ ]
+ ]
+ },
+ {
+ "id": "31416be7.b41224",
+ "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": 839.6772193908691,
+ "y": 2549.4550337791443,
+ "z": "b5912bac.e498b8",
+ "wires": []
+ },
+ {
+ "id": "35df2cf3.78dc74",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1027.510498046875,
+ "y": 2587.3717608451843,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "6faec48c.adf59c"
+ ]
+ ]
+ },
+ {
+ "id": "ecbae94b.e41fd8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1050.510353088379,
+ "y": 2716.3718676567078,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "7c97eaeb.048ce4"
+ ]
+ ]
+ },
+ {
+ "id": "6faec48c.adf59c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1208.510269165039,
+ "y": 2590.3718905448914,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "96ee7bd4.ade948"
+ ]
+ ]
+ },
+ {
+ "id": "96ee7bd4.ade948",
+ "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": 1382.5099868774414,
+ "y": 2597.3718156814575,
+ "z": "b5912bac.e498b8",
+ "wires": []
+ },
+ {
+ "id": "7c97eaeb.048ce4",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1210.5099983215332,
+ "y": 2708.3718400001526,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "9752c29a.925d5"
+ ]
+ ]
+ },
+ {
+ "id": "9752c29a.925d5",
+ "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": 1387.5101165771484,
+ "y": 2713.3719487190247,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6658e995.a8afc8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 891.0104370117188,
+ "y": 843.34375,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "be155b7f.4b4658",
+ "e5e6ffd6.3ceea",
+ "33c67261.6b5ade",
+ "aa8fe0bd.58667"
+ ]
+ ]
+ },
+ {
+ "id": "be155b7f.4b4658",
+ "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": 1173.0103607177734,
+ "y": 696.3437967300415,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e5e6ffd6.3ceea",
+ "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": 1182.0104522705078,
+ "y": 809.3437929153442,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "33c67261.6b5ade",
+ "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": 1149.0104370117188,
+ "y": 914.34375,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "cbd12702.8e4338",
+ "12af70f8.c2945f"
+ ]
+ ]
+ },
+ {
+ "id": "cbd12702.8e4338",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1364.0104370117188,
+ "y": 857.34375,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "eebd8d4d.fd481"
+ ]
+ ]
+ },
+ {
+ "id": "12af70f8.c2945f",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1364.0103149414062,
+ "y": 953.3436279296875,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "342f48d0.8ab638"
+ ]
+ ]
+ },
+ {
+ "id": "eebd8d4d.fd481",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1533.0103149414062,
+ "y": 868.34375,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "d55d851b.fc1958"
+ ]
+ ]
+ },
+ {
+ "id": "342f48d0.8ab638",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1526.0100708007812,
+ "y": 954.34375,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "6dcdc966.a406c8"
+ ]
+ ]
+ },
+ {
+ "id": "d55d851b.fc1958",
+ "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": 1687.010009765625,
+ "y": 861.34375,
+ "z": "b5912bac.e498b8",
+ "wires": []
+ },
+ {
+ "id": "6dcdc966.a406c8",
+ "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": 1681.010269165039,
+ "y": 951.3437585830688,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5dfa3076.0f2dc",
+ "type": "switchNode",
+ "name": "switch configdb deployed",
+ "xml": "<switch test='`$prop.configdb-deployed`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 774.0104522705078,
+ "y": 637.343770980835,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "f86727f0.323a28",
+ "b1853d4e.2ef79"
+ ]
+ ]
+ },
+ {
+ "id": "f86727f0.323a28",
+ "type": "outcome",
+ "name": "Deployed",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 816.0104370117188,
+ "y": 767.34375,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "6658e995.a8afc8"
+ ]
+ ]
+ },
+ {
+ "id": "aa8fe0bd.58667",
+ "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": 1241.0103912353516,
+ "y": 748.4549632072449,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fcdde69d.5ef6b8",
+ "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": 1213.0103645324707,
+ "y": 623.5659379959106,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b1853d4e.2ef79",
+ "type": "outcome",
+ "name": "Not Deployed",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1039.0103302001953,
+ "y": 619.6770076751709,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "fcdde69d.5ef6b8"
+ ]
+ ]
+ },
+ {
+ "id": "b59fe403.100df8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 880.0104370117188,
+ "y": 1921.5660400390625,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "5fee4a24.714e24",
+ "e80f49c7.bc5e98",
+ "9f3eddb8.4c8b6",
+ "ede238d3.02b908"
+ ]
+ ]
+ },
+ {
+ "id": "5fee4a24.714e24",
+ "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": 1207.0103759765625,
+ "y": 1782.5660467147827,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e80f49c7.bc5e98",
+ "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": 1138.0104370117188,
+ "y": 1992.5660400390625,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "fde36f04.ecf63",
+ "5da0cd73.d5ac34"
+ ]
+ ]
+ },
+ {
+ "id": "fde36f04.ecf63",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1353.0104370117188,
+ "y": 1935.5660400390625,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "b0184360.4173a"
+ ]
+ ]
+ },
+ {
+ "id": "5da0cd73.d5ac34",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1353.0103149414062,
+ "y": 2031.56591796875,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "6d733c40.16c4e4"
+ ]
+ ]
+ },
+ {
+ "id": "b0184360.4173a",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1522.0103149414062,
+ "y": 1946.5660400390625,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "c56ebe3b.bbda7"
+ ]
+ ]
+ },
+ {
+ "id": "6d733c40.16c4e4",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1515.0100708007812,
+ "y": 2032.5660400390625,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "c9d72369.59a1b"
+ ]
+ ]
+ },
+ {
+ "id": "c56ebe3b.bbda7",
+ "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": 1676.010009765625,
+ "y": 1939.5660400390625,
+ "z": "b5912bac.e498b8",
+ "wires": []
+ },
+ {
+ "id": "c9d72369.59a1b",
+ "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": 1670.010269165039,
+ "y": 2029.5660486221313,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "dd44dc35.baa9a",
+ "type": "switchNode",
+ "name": "switch configdb deployed",
+ "xml": "<switch test='`$prop.configdb-deployed`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 696.0107116699219,
+ "y": 1734.566120147705,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "b541eb45.1e5278",
+ "eefdf306.9fa25"
+ ]
+ ]
+ },
+ {
+ "id": "b541eb45.1e5278",
+ "type": "outcome",
+ "name": "Deployed",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 900.0104904174805,
+ "y": 1819.5660769939423,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "b59fe403.100df8"
+ ]
+ ]
+ },
+ {
+ "id": "9f3eddb8.4c8b6",
+ "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": 1258.0103759765625,
+ "y": 1835.6773228645325,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a5a8d47.a6e5b28",
+ "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": 1191.0104579925537,
+ "y": 1732.788185119629,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "eefdf306.9fa25",
+ "type": "outcome",
+ "name": "Not Deployed",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1012.010383605957,
+ "y": 1719.8994035720825,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "a5a8d47.a6e5b28"
+ ]
+ ]
+ },
+ {
+ "id": "ede238d3.02b908",
+ "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": 1203.565933227539,
+ "y": 1892.3437194824219,
+ "z": "b5912bac.e498b8",
"wires": [
[]
]