[
{
- "id": "acb70e34.bf9d7",
+ "id": "a7f28f91.d0c05",
"type": "comment",
"name": "Generic Neighbor Configuration",
"info": "",
"comments": "",
- "x": 356,
- "y": 23,
- "z": "c197f7e7.1da478",
+ "x": 388,
+ "y": 52,
+ "z": "ba52aa5d.7da518",
"wires": []
},
{
- "id": "d3fed603.f6fc28",
+ "id": "8223d53f.85d838",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 581.9999866485596,
- "y": 252.01049518585205,
- "z": "c197f7e7.1da478",
+ "x": 2300.0004348754883,
+ "y": 927.0106139183044,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "dd03124b.c1ad6",
- "bb81a2c1.93396",
- "a007069.f2610f8",
- "92d276da.4c88e8",
- "198eb06.8f50d5",
- "f75fac3.b2d7e5",
- "1c57b1b4.beaaee",
- "1e96218.b0f68df",
- "15ad3471.a615dc",
- "cc8e22e1.329b1"
+ "170b3b4c.656ad5",
+ "38719640.9ff38a",
+ "63cd95ef.ea6f3c",
+ "9f8c9052.1b02f",
+ "c4ef1e71.97dc7",
+ "6a9dca64.9235b4",
+ "652333bb.3d79cc",
+ "bdb37a27.c63ea8",
+ "dbbb1880.7e0858",
+ "d49c19c9.0081c8",
+ "aa27e8cf.b39f28"
]
]
},
{
- "id": "86dca6b7.e82f88",
+ "id": "30968c2b.5ef204",
"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": 544.0001831054688,
- "y": 401,
- "z": "c197f7e7.1da478",
+ "x": 1546.0004196166992,
+ "y": 795.0001983642578,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "d3fed603.f6fc28"
+ "8223d53f.85d838"
]
]
},
{
- "id": "dd03124b.c1ad6",
+ "id": "170b3b4c.656ad5",
"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": 928.0011596679688,
- "y": 45.88909912109375,
- "z": "c197f7e7.1da478",
+ "x": 2715.001434326172,
+ "y": 809.8890991210938,
+ "z": "ba52aa5d.7da518",
"wires": []
},
{
- "id": "bb81a2c1.93396",
+ "id": "38719640.9ff38a",
"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": 792.5105075836182,
- "y": 89.01042747497559,
- "z": "c197f7e7.1da478",
+ "x": 2579.5107822418213,
+ "y": 853.0104274749756,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "ac8961a8.d1fb4",
+ "id": "1d627065.1432d",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 119.48959350585938,
- "y": 279.9896240234375,
- "z": "c197f7e7.1da478",
+ "x": 121.48959350585938,
+ "y": 378.9896354675293,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "6501a6c8.9b7ae8",
- "32f454b1.f5ccfc",
- "32ca92c1.87b4ae",
- "dc78859c.2a1938",
- "fb252ea6.2716a",
- "c0db2192.9d16c"
+ "c9639a5f.fe7a58",
+ "7cfce6b.94a6218",
+ "ce068601.876438",
+ "a0905cd3.12507",
+ "eb8b8f0a.4f39e",
+ "6054c5fa.ac505c",
+ "1a25fbfa.21dc54",
+ "a1d0ec6.402511",
+ "7cd3ca30.741c94",
+ "bbcc5cf.88148a",
+ "77dc5996.8aefe8",
+ "b4970e49.8e08a",
+ "9acf91d1.bea66",
+ "73510d60.c124f4",
+ "b00cf0ba.8e879",
+ "90c1420f.c4f22",
+ "9396c2a0.564ea",
+ "7b342193.6ee9e"
]
]
},
{
- "id": "93ef8347.1a6f",
+ "id": "fbe277bd.e72458",
"type": "method",
"name": "method",
"xml": "<method rpc='generic-neighbor-configuration' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 105,
- "y": 180.9895782470703,
- "z": "c197f7e7.1da478",
+ "x": 139,
+ "y": 210.9895782470703,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "ac8961a8.d1fb4"
+ "1d627065.1432d"
]
]
},
{
- "id": "6501a6c8.9b7ae8",
+ "id": "c9639a5f.fe7a58",
"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": 160.00033569335938,
- "y": 647.98974609375,
- "z": "c197f7e7.1da478",
+ "x": 142.00033950805664,
+ "y": 2869.989965438843,
+ "z": "ba52aa5d.7da518",
"wires": []
},
{
- "id": "32f454b1.f5ccfc",
+ "id": "7cfce6b.94a6218",
"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": 406.00030517578125,
- "y": 80.01042938232422,
- "z": "c197f7e7.1da478",
+ "x": 438.00030517578125,
+ "y": 109.01042938232422,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "32ca92c1.87b4ae",
+ "id": "ce068601.876438",
"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": 417.085693359375,
- "y": 126.95317077636719,
- "z": "c197f7e7.1da478",
+ "x": 449.085693359375,
+ "y": 155.9531707763672,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "e3ecab0.b7f5858"
+ "7000571f.f9d288"
]
]
},
{
- "id": "dc78859c.2a1938",
+ "id": "a0905cd3.12507",
"type": "execute",
"name": "execute Properties",
"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": 420.00018310546875,
- "y": 185.01040649414062,
- "z": "c197f7e7.1da478",
+ "x": 459.00018310546875,
+ "y": 205.01040649414062,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "fb252ea6.2716a",
+ "id": "eb8b8f0a.4f39e",
"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": 350.00030517578125,
- "y": 243.010498046875,
- "z": "c197f7e7.1da478",
+ "x": 425.00030517578125,
+ "y": 246.010498046875,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "2071d805.4be628",
+ "id": "143f4ebf.353251",
"type": "service-logic",
"name": "oofpcipoc-api ${project.version}",
"module": "oofpcipoc-api",
"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='${project.version}'>",
"outputs": 1,
- "x": 160.99998474121094,
- "y": 91.98968505859375,
- "z": "c197f7e7.1da478",
+ "x": 192.99998474121094,
+ "y": 120.98968505859375,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "93ef8347.1a6f"
+ "fbe277bd.e72458"
]
]
},
{
- "id": "e3ecab0.b7f5858",
+ "id": "7000571f.f9d288",
"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": 582.0005493164062,
- "y": 110.98963165283203,
- "z": "c197f7e7.1da478",
+ "x": 614.0005493164062,
+ "y": 139.98963165283203,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "6ed34cf7.c51b14",
+ "id": "40f6d84a.52f0f8",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 96,
- "y": 29.989585876464844,
- "z": "c197f7e7.1da478",
+ "x": 128,
+ "y": 58.989585876464844,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "2071d805.4be628"
+ "143f4ebf.353251"
]
]
},
{
- "id": "cc8e22e1.329b1",
+ "id": "d49c19c9.0081c8",
"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": 863.5108642578125,
- "y": 133.56614685058594,
- "z": "c197f7e7.1da478",
+ "x": 2650.5111389160156,
+ "y": 897.5661468505859,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "a007069.f2610f8",
+ "id": "63cd95ef.ea6f3c",
"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": 790.510498046875,
- "y": 186.7882080078125,
- "z": "c197f7e7.1da478",
+ "x": 2577.510772705078,
+ "y": 950.7882080078125,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "92d276da.4c88e8",
+ "id": "9f8c9052.1b02f",
"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": 992.5106258392334,
- "y": 198.78822231292725,
- "z": "c197f7e7.1da478",
+ "x": 2779.5109004974365,
+ "y": 962.7882223129272,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "198eb06.8f50d5",
+ "id": "c4ef1e71.97dc7",
"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": 860.5104789733887,
- "y": 242.78819751739502,
- "z": "c197f7e7.1da478",
+ "x": 2647.510753631592,
+ "y": 1006.788197517395,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "f75fac3.b2d7e5",
+ "id": "6a9dca64.9235b4",
"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": 883.5105075836182,
- "y": 287.7882204055786,
- "z": "c197f7e7.1da478",
+ "x": 2670.5107822418213,
+ "y": 1051.7882204055786,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "1e96218.b0f68df",
+ "id": "bdb37a27.c63ea8",
"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": 915.510498046875,
- "y": 427.788330078125,
- "z": "c197f7e7.1da478",
+ "x": 2702.510772705078,
+ "y": 1191.788330078125,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "9ab812b9.2441c",
- "b2feb5f3.1f8718"
+ "6e331b72.cd4df4",
+ "29e5f1f5.a20cfe"
]
]
},
{
- "id": "9ab812b9.2441c",
+ "id": "6e331b72.cd4df4",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1176.5103855133057,
- "y": 440.77778339385986,
- "z": "c197f7e7.1da478",
+ "x": 2963.510660171509,
+ "y": 1155.7777833938599,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "94c0690e.412458"
+ "da0c6404.906cd8"
]
]
},
{
- "id": "b2feb5f3.1f8718",
+ "id": "29e5f1f5.a20cfe",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1194.5104274749756,
- "y": 508.7776098251343,
- "z": "c197f7e7.1da478",
+ "x": 2965.5106048583984,
+ "y": 1219.7776145935059,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "42fa2758.89b668"
+ "34bd63e4.84922c"
]
]
},
{
- "id": "a8f77123.4f739",
+ "id": "ec845756.b8b808",
"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": 1532.5101795196533,
- "y": 495.7777180671692,
- "z": "c197f7e7.1da478",
+ "x": 3296.510398864746,
+ "y": 1215.777702331543,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "42fa2758.89b668",
+ "id": "34bd63e4.84922c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1374.5100917816162,
- "y": 506.7776908874512,
- "z": "c197f7e7.1da478",
+ "x": 3132.5104484558105,
+ "y": 1218.777696609497,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "a8f77123.4f739"
+ "ec845756.b8b808"
]
]
},
{
- "id": "94c0690e.412458",
+ "id": "da0c6404.906cd8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1335.510248184204,
- "y": 449.7777690887451,
- "z": "c197f7e7.1da478",
+ "x": 3122.510522842407,
+ "y": 1164.7777690887451,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "8f2a4b45.9518e8"
+ "627e451a.3becdc"
]
]
},
{
- "id": "8f2a4b45.9518e8",
+ "id": "627e451a.3becdc",
"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": 1511.5100116729736,
- "y": 434.77774238586426,
- "z": "c197f7e7.1da478",
+ "x": 3298.5102863311768,
+ "y": 1149.7777423858643,
+ "z": "ba52aa5d.7da518",
"wires": []
},
{
- "id": "1c57b1b4.beaaee",
+ "id": "652333bb.3d79cc",
"type": "execute",
"name": "Get neighbor details pre-configuration",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.config-neighbor-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-neighbor-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n",
"comments": "",
"outputs": 1,
- "x": 913.5104370117188,
- "y": 339.7882080078125,
- "z": "c197f7e7.1da478",
+ "x": 2700.510711669922,
+ "y": 1103.7882080078125,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "6f64c3b4.09149c",
- "b4abf739.6c1f68"
+ "a406ed47.1329b",
+ "a58ae4c9.b92a28"
]
]
},
{
- "id": "6f64c3b4.09149c",
+ "id": "a406ed47.1329b",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1164.5105381011963,
- "y": 321.4442539215088,
- "z": "c197f7e7.1da478",
+ "x": 2968.510772705078,
+ "y": 1040.4442491531372,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "a028bb53.ce35a8"
+ "c4763032.d8346"
]
]
},
{
- "id": "b4abf739.6c1f68",
+ "id": "a58ae4c9.b92a28",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1159.5103702545166,
- "y": 377.44440746307373,
- "z": "c197f7e7.1da478",
+ "x": 2955.5106658935547,
+ "y": 1104.4443969726562,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "f4e4f96.daf0108"
+ "82d98f07.28333"
]
]
},
{
- "id": "f4e4f96.daf0108",
+ "id": "82d98f07.28333",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1311.5101871490479,
- "y": 386.44431257247925,
- "z": "c197f7e7.1da478",
+ "x": 3098.510461807251,
+ "y": 1101.4443125724792,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "d3310510.124b48"
+ "5fe184f2.0617dc"
]
]
},
{
- "id": "d3310510.124b48",
+ "id": "5fe184f2.0617dc",
"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": 1472.510103225708,
- "y": 380.44458293914795,
- "z": "c197f7e7.1da478",
+ "x": 3259.510377883911,
+ "y": 1095.444582939148,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "a028bb53.ce35a8",
+ "id": "c4763032.d8346",
"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": 1365.5103282928467,
- "y": 327.44426250457764,
- "z": "c197f7e7.1da478",
+ "x": 3167.5106658935547,
+ "y": 1030.4442768096924,
+ "z": "ba52aa5d.7da518",
"wires": []
},
{
- "id": "15ad3471.a615dc",
+ "id": "dbbb1880.7e0858",
"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": 871.5104370117188,
- "y": 503.67706298828125,
- "z": "c197f7e7.1da478",
+ "x": 2658.510711669922,
+ "y": 1267.6770629882812,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "144ccd4d.5f33d3",
- "6b712cb1.c5f834"
+ "a7be82c.6322a8",
+ "331f59c6.8c63b6"
]
]
},
{
- "id": "144ccd4d.5f33d3",
+ "id": "a7be82c.6322a8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1204.5105381011963,
- "y": 559.3331089019775,
- "z": "c197f7e7.1da478",
+ "x": 2993.510711669922,
+ "y": 1267.3331050872803,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "5f6e00fc.ed03a"
+ "b10789cb.a74668"
]
]
},
{
- "id": "6b712cb1.c5f834",
+ "id": "331f59c6.8c63b6",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1199.5103702545166,
- "y": 615.3332624435425,
- "z": "c197f7e7.1da478",
+ "x": 2986.5106048583984,
+ "y": 1319.3333015441895,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "4913d618.0c8fe8"
+ "67b4dcbe.392ef4"
]
]
},
{
- "id": "4913d618.0c8fe8",
+ "id": "67b4dcbe.392ef4",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1351.5101871490479,
- "y": 624.333167552948,
- "z": "c197f7e7.1da478",
+ "x": 3155.5103645324707,
+ "y": 1326.3332405090332,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "1c9c0def.8b9082"
+ "a61318e1.9a3aa8"
]
]
},
{
- "id": "5f6e00fc.ed03a",
+ "id": "b10789cb.a74668",
"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": 1405.5103282928467,
- "y": 565.3331174850464,
- "z": "c197f7e7.1da478",
+ "x": 3166.5106658935547,
+ "y": 1264.3331327438354,
+ "z": "ba52aa5d.7da518",
"wires": []
},
{
- "id": "1c9c0def.8b9082",
+ "id": "a61318e1.9a3aa8",
"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`\"/>",
+ "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": 1512.5100955963135,
- "y": 617.3334121704102,
- "z": "c197f7e7.1da478",
+ "x": 3302.510398864746,
+ "y": 1324.333456993103,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "1262f222.f1f98e",
+ "id": "e955dbfc.992d08",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 530.9999866485596,
- "y": 869.999997138977,
- "z": "c197f7e7.1da478",
+ "x": 1017.0003280639648,
+ "y": 1297.0000371932983,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "4156eb3.49eb114",
- "28301c50.f9a394",
- "2aab82d0.4d643e",
- "c0b1bda4.651cf",
- "6b902758.7673c8",
- "f337f894.e1cc48",
- "fe8ae27d.83e96",
- "359b0369.a48e7c",
- "8d693ead.befbb",
- "38c29228.79ba4e",
- "411a695d.a4f048"
+ "79e376eb.6500f8",
+ "47162fb7.1285e",
+ "6dfaa028.560a9",
+ "a3b88be.9526578",
+ "6f68c611.e45208",
+ "fd08f6da.9f7c78",
+ "10ec4eec.6d7991",
+ "82c5be65.7418f",
+ "390eb210.bed9be",
+ "4b5d30b0.7c72a",
+ "41d550d9.374ec",
+ "5c4ab543.f31ddc",
+ "da948640.2c3ab8",
+ "ef51be71.1c8b7"
]
]
},
{
- "id": "ae52469b.df3fe8",
+ "id": "e5d9d955.58a1c8",
"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": 513.0001831054688,
- "y": 493.989501953125,
- "z": "c197f7e7.1da478",
+ "x": 927.0002937316895,
+ "y": 888.9896640777588,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "1262f222.f1f98e"
+ "e955dbfc.992d08"
]
]
},
{
- "id": "4156eb3.49eb114",
+ "id": "79e376eb.6500f8",
"type": "set",
"name": "set tmp variables for the requested fap service input parms",
"xml": "<set>\n<parameter name=\"tmp.alias\" value=\"`$generic-neighbor-configuration-input.alias`\"/>\n<parameter name=\"tmp.plmnid\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].plmnid`\"/>\n<parameter name=\"tmp.cid\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].cid`\"/>\n<parameter name=\"tmp.phy-cell-id\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].phy-cell-id`\"/>\n<parameter name=\"tmp.pnf-name\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].pnf-name`\"/>\n<parameter name=\"tmp.blacklisted\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].blacklisted`\"/>\n",
"comments": "",
- "x": 839.0011596679688,
- "y": 598.8786010742188,
- "z": "c197f7e7.1da478",
+ "x": 1342.0015258789062,
+ "y": 940.8787136077881,
+ "z": "ba52aa5d.7da518",
"wires": []
},
{
- "id": "28301c50.f9a394",
+ "id": "47162fb7.1285e",
"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`\"/>",
+ "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`\"/>\n<parameter name=\"field8\" value=\"`tmp.idGNBCUCPFunction`\"/>\n<parameter name=\"field9\" value=\"`tmp.idNRCellCU`\"/>\n<parameter name=\"field10\" value=\"`tmp.idNRCellRelation`\"/>\n<parameter name=\"field11\" value=\"`$tmp.isHOAllowed`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 734.510498046875,
- "y": 642.9999389648438,
- "z": "c197f7e7.1da478",
+ "x": 1260.510887145996,
+ "y": 1115.0002174377441,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "38c29228.79ba4e",
+ "id": "390eb210.bed9be",
"type": "execute",
"name": "generate neighbor config URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.lte-ran-neighbor-in-use.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{alias}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.alias`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 827.5108642578125,
- "y": 691.5556640625,
- "z": "c197f7e7.1da478",
- "wires": [
- []
- ]
- },
- {
- "id": "2aab82d0.4d643e",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Config Neighbor List URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.config-neighbor-service-url`\"/>",
+ "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=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 768.510498046875,
- "y": 740.7777099609375,
- "z": "c197f7e7.1da478",
+ "x": 1329.5112915039062,
+ "y": 1154.5559644699097,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "c0b1bda4.651cf",
+ "id": "6dfaa028.560a9",
"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`\"/>",
+ "name": "populate idNRCellCU",
+ "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=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idNRCellCU`\"/>",
"comments": "",
"outputs": 1,
- "x": 832.5106201171875,
- "y": 836.7777099609375,
- "z": "c197f7e7.1da478",
+ "x": 1304.5110092163086,
+ "y": 1269.7780952453613,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "6b902758.7673c8",
+ "id": "a3b88be.9526578",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Config Neighbor List URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.config-neighbor-service-url`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 807.510498046875,
- "y": 884.7777099609375,
- "z": "c197f7e7.1da478",
+ "x": 1295.5108261108398,
+ "y": 1365.7780170440674,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "f337f894.e1cc48",
+ "id": "6f68c611.e45208",
"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`\"/>",
+ "name": "populate idNRCellRelation",
+ "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=\"{idNRCellRelation}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idNRCellRelation`\"/>",
"comments": "",
"outputs": 1,
- "x": 816.510498046875,
- "y": 921.7777099609375,
- "z": "c197f7e7.1da478",
+ "x": 1292.5108261108398,
+ "y": 1320.7780151367188,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "359b0369.a48e7c",
+ "id": "10ec4eec.6d7991",
"type": "execute",
"name": "Configure neighbor using PATCH",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/oofpcipoc-generic-neighbor-patch.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.config-neighbor-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-neighbor-patch-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/yang.patch-status+json' />",
"comments": "",
"outputs": 1,
- "x": 830.510498046875,
- "y": 1051.77783203125,
- "z": "c197f7e7.1da478",
+ "x": 1316.5108394622803,
+ "y": 1478.7778720855713,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "aaf367ec.71a3d8",
- "f6e2a503.cab1e8"
+ "48d11e6f.62818",
+ "206a6b5.75adc94"
]
]
},
{
- "id": "aaf367ec.71a3d8",
+ "id": "48d11e6f.62818",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1125.5103855133057,
- "y": 1058.7672853469849,
- "z": "c197f7e7.1da478",
+ "x": 1611.510726928711,
+ "y": 1485.7673254013062,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "d64f59f9.bbcd88"
+ "c7df5999.d0fd88"
]
]
},
{
- "id": "f6e2a503.cab1e8",
+ "id": "206a6b5.75adc94",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1143.5104274749756,
- "y": 1126.7671117782593,
- "z": "c197f7e7.1da478",
+ "x": 1629.5107688903809,
+ "y": 1553.7671518325806,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "ad51aa4c.6dd0f8"
+ "77dfa412.b377bc"
]
]
},
{
- "id": "da0a9ad3.338348",
+ "id": "7ccc966c.b94b18",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PATCH Neighbor Executed Successfully \"/>",
"comments": "",
"outputs": 1,
- "x": 1481.5101795196533,
- "y": 1113.7672200202942,
- "z": "c197f7e7.1da478",
+ "x": 1967.5105209350586,
+ "y": 1540.7672600746155,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "ad51aa4c.6dd0f8",
+ "id": "77dfa412.b377bc",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1323.5100917816162,
- "y": 1124.7671928405762,
- "z": "c197f7e7.1da478",
+ "x": 1809.5104331970215,
+ "y": 1551.7672328948975,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "da0a9ad3.338348"
+ "7ccc966c.b94b18"
]
]
},
{
- "id": "d64f59f9.bbcd88",
+ "id": "c7df5999.d0fd88",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1284.510248184204,
- "y": 1067.7672710418701,
- "z": "c197f7e7.1da478",
+ "x": 1770.5105895996094,
+ "y": 1494.7673110961914,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "1a1c9666.4c773a"
+ "5799a5cf.da673c"
]
]
},
{
- "id": "1a1c9666.4c773a",
+ "id": "5799a5cf.da673c",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding a new neighbor\" />",
"comments": "",
- "x": 1460.5100116729736,
- "y": 1052.7672443389893,
- "z": "c197f7e7.1da478",
+ "x": 1946.510353088379,
+ "y": 1479.7672843933105,
+ "z": "ba52aa5d.7da518",
"wires": []
},
{
- "id": "fe8ae27d.83e96",
+ "id": "fd08f6da.9f7c78",
"type": "execute",
"name": "Get neighbor details pre-configuration",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.config-neighbor-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-neighbor-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n",
"comments": "",
"outputs": 1,
- "x": 840.5104370117188,
- "y": 966.7777099609375,
- "z": "c197f7e7.1da478",
+ "x": 1344.5108032226562,
+ "y": 1425.7778949737549,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "dc414a11.7edb78",
- "9db5bb73.2d55e8"
+ "dc2942ed.945fd",
+ "5ba4aef5.ae701"
]
]
},
{
- "id": "dc414a11.7edb78",
+ "id": "dc2942ed.945fd",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1113.5105381011963,
- "y": 939.4337558746338,
- "z": "c197f7e7.1da478",
+ "x": 1599.5108795166016,
+ "y": 1366.433795928955,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "64dcc609.fa2868"
+ "f55bfe83.c0cfc"
]
]
},
{
- "id": "9db5bb73.2d55e8",
+ "id": "5ba4aef5.ae701",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1108.5103702545166,
- "y": 995.4339094161987,
- "z": "c197f7e7.1da478",
+ "x": 1594.5107116699219,
+ "y": 1422.43394947052,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "47f38d6d.89f364"
+ "f165c6ed.df6c78"
]
]
},
{
- "id": "47f38d6d.89f364",
+ "id": "f165c6ed.df6c78",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1260.5101871490479,
- "y": 1004.4338145256042,
- "z": "c197f7e7.1da478",
+ "x": 1746.5105285644531,
+ "y": 1431.4338545799255,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "ab46d61a.7a0318"
+ "45e577df.02afb8"
]
]
},
{
- "id": "ab46d61a.7a0318",
+ "id": "45e577df.02afb8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Details about Neighbor Pre-configuration\"/>\n<parameter name=\"field2\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].plmnid`\"/>\n<parameter name=\"field3\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].cid`\"/>\n<parameter name=\"field4\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].phy-cell-id`\"/>\n<parameter name=\"field5\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].pnf-name`\"/>\n<parameter name=\"field6\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].blacklisted`\"/>",
"comments": "",
"outputs": 1,
- "x": 1421.510103225708,
- "y": 998.434084892273,
- "z": "c197f7e7.1da478",
+ "x": 1907.5104446411133,
+ "y": 1425.4341249465942,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "64dcc609.fa2868",
+ "id": "f55bfe83.c0cfc",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error getting details about new neighbor \" />",
"comments": "",
- "x": 1314.5103282928467,
- "y": 945.4337644577026,
- "z": "c197f7e7.1da478",
+ "x": 1800.510669708252,
+ "y": 1372.433804512024,
+ "z": "ba52aa5d.7da518",
"wires": []
},
{
- "id": "8d693ead.befbb",
+ "id": "82c5be65.7418f",
"type": "execute",
"name": "Get neighbor details post-configuration",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.config-neighbor-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-neighbor-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n",
"comments": "",
"outputs": 1,
- "x": 796.5104370117188,
- "y": 1165.6666259765625,
- "z": "c197f7e7.1da478",
+ "x": 1282.510778427124,
+ "y": 1592.6666660308838,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "8f75a41.6426d58",
- "23c81cd0.efa084"
+ "513eb44d.f05fcc",
+ "aa490505.0fbcd8"
]
]
},
{
- "id": "8f75a41.6426d58",
+ "id": "513eb44d.f05fcc",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1153.5105381011963,
- "y": 1177.3226108551025,
- "z": "c197f7e7.1da478",
+ "x": 1639.5108795166016,
+ "y": 1604.3226509094238,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "bfbdf11e.993f7"
+ "13249c69.f7ff64"
]
]
},
{
- "id": "23c81cd0.efa084",
+ "id": "aa490505.0fbcd8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1148.5103702545166,
- "y": 1233.3227643966675,
- "z": "c197f7e7.1da478",
+ "x": 1634.5107116699219,
+ "y": 1660.3228044509888,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "4d4d048c.c416cc"
+ "8de8189c.faaa08"
]
]
},
{
- "id": "4d4d048c.c416cc",
+ "id": "8de8189c.faaa08",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1300.5101871490479,
- "y": 1242.322669506073,
- "z": "c197f7e7.1da478",
+ "x": 1786.5105285644531,
+ "y": 1669.3227095603943,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "fcddb4e7.12b6d8"
+ "fe0e66c1.874c38"
]
]
},
{
- "id": "bfbdf11e.993f7",
+ "id": "13249c69.f7ff64",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error getting details about new neighbor \" />",
"comments": "",
- "x": 1354.5103282928467,
- "y": 1183.3226194381714,
- "z": "c197f7e7.1da478",
+ "x": 1840.510669708252,
+ "y": 1610.3226594924927,
+ "z": "ba52aa5d.7da518",
"wires": []
},
{
- "id": "fcddb4e7.12b6d8",
+ "id": "fe0e66c1.874c38",
"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`\"/>",
+ "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": 1461.5100955963135,
- "y": 1235.3229141235352,
- "z": "c197f7e7.1da478",
+ "x": 1947.5104370117188,
+ "y": 1662.3229541778564,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "8472ac8d.f6ede",
+ "id": "635cbf1d.89097",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 420,
- "y": 320,
- "z": "c197f7e7.1da478",
+ "x": 1218.000114440918,
+ "y": 800.0001182556152,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "86dca6b7.e82f88"
+ "30968c2b.5ef204"
]
]
},
{
- "id": "c0db2192.9d16c",
+ "id": "6054c5fa.ac505c",
"type": "switchNode",
"name": "switch mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 318,
- "y": 409,
- "z": "c197f7e7.1da478",
+ "x": 501.0000305175781,
+ "y": 824.0000686645508,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "8472ac8d.f6ede",
- "5a41edd6.afaa34"
+ "635cbf1d.89097",
+ "7cea1d00.47e4e4"
]
]
},
{
- "id": "5a41edd6.afaa34",
+ "id": "7cea1d00.47e4e4",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 351,
- "y": 487,
- "z": "c197f7e7.1da478",
+ "x": 724.0000343322754,
+ "y": 864.0000801086426,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "e5d9d955.58a1c8"
+ ]
+ ]
+ },
+ {
+ "id": "4b5d30b0.7c72a",
+ "type": "execute",
+ "name": "populate idGNBCUCPFunction",
+ "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=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUCPFunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1327.000473022461,
+ "y": 1235.0003032684326,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "efb5b7b0.154a98",
+ "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": 897.0104598999023,
+ "y": 2150.4550261497498,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "9ee15074.7428f",
+ "7bc46ce6.76d744"
+ ]
+ ]
+ },
+ {
+ "id": "9ee15074.7428f",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1171.0104598999023,
+ "y": 2119.4550261497498,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "6c44223a.b5b6bc"
+ ]
+ ]
+ },
+ {
+ "id": "6c44223a.b5b6bc",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1362.0104598999023,
+ "y": 2122.4550261497498,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "8dc076ff.3d3b78"
+ ]
+ ]
+ },
+ {
+ "id": "8dc076ff.3d3b78",
+ "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": 1530.0104598999023,
+ "y": 2123.4550261497498,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "68cba313.3642bc",
+ "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": 869.5104598999023,
+ "y": 2266.4550261497498,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "ff4e1b7.c8b3be8",
+ "52f1c865.4127f8"
+ ]
+ ]
+ },
+ {
+ "id": "7c51f533.38528c",
+ "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": 859.0104598999023,
+ "y": 2348.4550261497498,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "878f2b26.a35f78",
+ "dca44756.ee3f98"
+ ]
+ ]
+ },
+ {
+ "id": "878f2b26.a35f78",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1041.5104598999023,
+ "y": 2356.4550261497498,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "6bba1521.5db3dc"
+ ]
+ ]
+ },
+ {
+ "id": "6bba1521.5db3dc",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1226.5104598999023,
+ "y": 2354.4550261497498,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "bf22caa6.6fe278"
+ ]
+ ]
+ },
+ {
+ "id": "bf22caa6.6fe278",
+ "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": 1428.5104598999023,
+ "y": 2349.4550261497498,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ff4e1b7.c8b3be8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1063.0104598999023,
+ "y": 2234.4550261497498,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "685227b1.a05768"
+ ]
+ ]
+ },
+ {
+ "id": "685227b1.a05768",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1238.0104598999023,
+ "y": 2248.4550261497498,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "616f020e.32807c"
+ ]
+ ]
+ },
+ {
+ "id": "616f020e.32807c",
+ "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": 1432.010498046875,
+ "y": 2253.455078125,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7bc46ce6.76d744",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1170.0104598999023,
+ "y": 2176.4550261497498,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "6f14fcec.102994"
+ ]
+ ]
+ },
+ {
+ "id": "6f14fcec.102994",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1339.0103378295898,
+ "y": 2182.4550261497498,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "faf0837.ef7588"
+ ]
+ ]
+ },
+ {
+ "id": "faf0837.ef7588",
+ "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 Generic neighbor configuration\" />",
+ "comments": "",
+ "x": 1495.0100936889648,
+ "y": 2181.4550261497498,
+ "z": "ba52aa5d.7da518",
+ "wires": []
+ },
+ {
+ "id": "52f1c865.4127f8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1084.0104598999023,
+ "y": 2305.4550261497498,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "cdb37322.0d882"
+ ]
+ ]
+ },
+ {
+ "id": "cdb37322.0d882",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1252.0103378295898,
+ "y": 2300.4550261497498,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "ba727e4a.a6a2b"
+ ]
+ ]
+ },
+ {
+ "id": "ba727e4a.a6a2b",
+ "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 Generic neighbor configuration\" />",
+ "comments": "",
+ "x": 1410.0100326538086,
+ "y": 2303.4550261497498,
+ "z": "ba52aa5d.7da518",
+ "wires": []
+ },
+ {
+ "id": "dca44756.ee3f98",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1044.0104598999023,
+ "y": 2404.4550261497498,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "942669e6.4ca0d8"
+ ]
+ ]
+ },
+ {
+ "id": "942669e6.4ca0d8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1220.0103378295898,
+ "y": 2405.4550261497498,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "729de074.cd376"
+ ]
+ ]
+ },
+ {
+ "id": "729de074.cd376",
+ "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 Generic neighbor configuration\" />",
+ "comments": "",
+ "x": 1367.0100326538086,
+ "y": 2408.4550261497498,
+ "z": "ba52aa5d.7da518",
+ "wires": []
+ },
+ {
+ "id": "1a25fbfa.21dc54",
+ "type": "block",
+ "name": "DMAAP Payload Generation",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 601.0104751586914,
+ "y": 2268.4551243782043,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "ae52469b.df3fe8"
+ "efb5b7b0.154a98",
+ "68cba313.3642bc",
+ "7c51f533.38528c"
]
]
},
{
- "id": "411a695d.a4f048",
+ "id": "a1d0ec6.402511",
+ "type": "block",
+ "name": "DMAAP Reponse Publish",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 463.0104446411133,
+ "y": 2616.343816280365,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "64a9c5b.6c9bf3c",
+ "216ef463.8aa38c",
+ "cd3ce974.da7d58",
+ "5b6a153c.794bcc"
+ ]
+ ]
+ },
+ {
+ "id": "216ef463.8aa38c",
+ "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": 736.0105209350586,
+ "y": 3012.455108642578,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "5f06f8f0.e5ffb8",
+ "aa6d61e6.97e69"
+ ]
+ ]
+ },
+ {
+ "id": "64a9c5b.6c9bf3c",
+ "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": 703.67724609375,
+ "y": 2427.455078125,
+ "z": "ba52aa5d.7da518",
+ "wires": []
+ },
+ {
+ "id": "5f06f8f0.e5ffb8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 910.510498046875,
+ "y": 2946.371826171875,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "51524749.21f738"
+ ]
+ ]
+ },
+ {
+ "id": "aa6d61e6.97e69",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 933.5103530883789,
+ "y": 3075.3719329833984,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "a1ca9795.601b48"
+ ]
+ ]
+ },
+ {
+ "id": "51524749.21f738",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1091.510269165039,
+ "y": 2949.371955871582,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "3a181783.148128"
+ ]
+ ]
+ },
+ {
+ "id": "3a181783.148128",
+ "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": 1265.5099868774414,
+ "y": 2956.371881008148,
+ "z": "ba52aa5d.7da518",
+ "wires": []
+ },
+ {
+ "id": "a1ca9795.601b48",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1093.5099983215332,
+ "y": 3067.3719053268433,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "eb4e14e1.4e6448"
+ ]
+ ]
+ },
+ {
+ "id": "eb4e14e1.4e6448",
+ "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": 1270.5101165771484,
+ "y": 3072.3720140457153,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7424cc7d.ccb014",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2671.010711669922,
+ "y": 1603.34375,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "e697f0f4.14379",
+ "6560fdf0.41af04",
+ "154e832e.5e511d",
+ "e4eade49.24ee3"
+ ]
+ ]
+ },
+ {
+ "id": "e697f0f4.14379",
+ "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": 2953.0106353759766,
+ "y": 1456.3437967300415,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6560fdf0.41af04",
+ "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": 2962.010726928711,
+ "y": 1569.3437929153442,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "154e832e.5e511d",
+ "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": 2929.010711669922,
+ "y": 1674.34375,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "d74aa54e.f27c88",
+ "9378eaa3.65e2f8"
+ ]
+ ]
+ },
+ {
+ "id": "d74aa54e.f27c88",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3144.010711669922,
+ "y": 1617.34375,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "997ca9c.41b6c58"
+ ]
+ ]
+ },
+ {
+ "id": "9378eaa3.65e2f8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3164.010841369629,
+ "y": 1713.3436126708984,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "4753cdbc.31ee14"
+ ]
+ ]
+ },
+ {
+ "id": "997ca9c.41b6c58",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 3313.0105895996094,
+ "y": 1628.34375,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "1c97caa5.8b3e15"
+ ]
+ ]
+ },
+ {
+ "id": "4753cdbc.31ee14",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 3326.010597229004,
+ "y": 1714.343734741211,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "d11ea715.e3fd28"
+ ]
+ ]
+ },
+ {
+ "id": "1c97caa5.8b3e15",
+ "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": 3467.010284423828,
+ "y": 1621.34375,
+ "z": "ba52aa5d.7da518",
+ "wires": []
+ },
+ {
+ "id": "d11ea715.e3fd28",
+ "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": 3481.0107955932617,
+ "y": 1711.3437433242798,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "aa27e8cf.b39f28",
+ "type": "switchNode",
+ "name": "switch configdb deployed",
+ "xml": "<switch test='`$prop.configdb-deployed`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2554.010726928711,
+ "y": 1397.343770980835,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "6a49ba23.7746d4",
+ "cc42a191.e0004"
+ ]
+ ]
+ },
+ {
+ "id": "6a49ba23.7746d4",
+ "type": "outcome",
+ "name": "Deployed",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2596.010711669922,
+ "y": 1527.34375,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "7424cc7d.ccb014"
+ ]
+ ]
+ },
+ {
+ "id": "e4eade49.24ee3",
+ "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": 3021.0106658935547,
+ "y": 1508.4549632072449,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e07e5cdd.da815",
+ "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": 2993.010639190674,
+ "y": 1383.5659379959106,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cc42a191.e0004",
+ "type": "outcome",
+ "name": "Not Deployed",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2819.0106048583984,
+ "y": 1379.677007675171,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "e07e5cdd.da815"
+ ]
+ ]
+ },
+ {
+ "id": "ff37f9a6.16ed88",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1320.0108184814453,
+ "y": 1901.5660190582275,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "f2852183.ee3b4",
+ "9a03809.1c2d58",
+ "448062de.87a78c",
+ "9026912f.b13aa"
+ ]
+ ]
+ },
+ {
+ "id": "f2852183.ee3b4",
+ "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": 1647.010757446289,
+ "y": 1762.5660257339478,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9a03809.1c2d58",
+ "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": 1578.0108184814453,
+ "y": 1972.5660190582275,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "695c2325.89324c",
+ "1fbc5cff.613303"
+ ]
+ ]
+ },
+ {
+ "id": "695c2325.89324c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1793.0108184814453,
+ "y": 1915.5660190582275,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "1ccf94d5.42d15b"
+ ]
+ ]
+ },
+ {
+ "id": "1fbc5cff.613303",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1793.0106964111328,
+ "y": 2011.565896987915,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "e2c4f9c3.8b9ba8"
+ ]
+ ]
+ },
+ {
+ "id": "1ccf94d5.42d15b",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1962.0106964111328,
+ "y": 1926.5660190582275,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "214727bf.7723f8"
+ ]
+ ]
+ },
+ {
+ "id": "e2c4f9c3.8b9ba8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1955.0104522705078,
+ "y": 2012.5660190582275,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "caef39f.4de95c8"
+ ]
+ ]
+ },
+ {
+ "id": "214727bf.7723f8",
+ "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": 2116.0103912353516,
+ "y": 1919.5660190582275,
+ "z": "ba52aa5d.7da518",
+ "wires": []
+ },
+ {
+ "id": "caef39f.4de95c8",
+ "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": 2110.0106506347656,
+ "y": 2009.5660276412964,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "41d550d9.374ec",
+ "type": "switchNode",
+ "name": "switch configdb deployed",
+ "xml": "<switch test='`$prop.configdb-deployed`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1136.0110931396484,
+ "y": 1714.5660991668701,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "dcb7f853.018138",
+ "fb0d1686.112c38"
+ ]
+ ]
+ },
+ {
+ "id": "dcb7f853.018138",
+ "type": "outcome",
+ "name": "Deployed",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1340.010871887207,
+ "y": 1799.5660560131073,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "ff37f9a6.16ed88"
+ ]
+ ]
+ },
+ {
+ "id": "448062de.87a78c",
+ "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": 1698.010757446289,
+ "y": 1815.6773018836975,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fc8b34c9.7d3958",
+ "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": 1631.0108394622803,
+ "y": 1712.788164138794,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fb0d1686.112c38",
+ "type": "outcome",
+ "name": "Not Deployed",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1452.0107650756836,
+ "y": 1699.8993825912476,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "fc8b34c9.7d3958"
+ ]
+ ]
+ },
+ {
+ "id": "9026912f.b13aa",
+ "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": 1643.5663146972656,
+ "y": 1872.343698501587,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7cd3ca30.741c94",
+ "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": 502.00001525878906,
+ "y": 290.00001335144043,
+ "z": "ba52aa5d.7da518",
+ "wires": []
+ },
+ {
+ "id": "bbcc5cf.88148a",
+ "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 Message Header stored in properties file \"/>\n<parameter name=\"field2\" value=\"`$prop.oofpcipoc-dmaap-config-resp.timestamp`\"/>\n<parameter name=\"field3\" value=\"`$prop.oofpcipoc-dmaap-config-resp.requestID`\"/>\n<parameter name=\"field4\" value=\"`$prop.oofpcipoc-dmaap-config-resp.subrequestID`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 420.00001525878906,
+ "y": 337.00001525878906,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cd3ce974.da7d58",
+ "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=\"Before DMAAP Event - template file name, restapiURL\"/>\n<parameter name='field3' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.dmaap-publish-config-response.template`\" />\n<parameter name='field4' value=\"`$prop.dmaap-message-router.url + '/' + $prop.oofpcipoc-dmaap-configuration-response.topic`\" />\n<parameter name=\"field5\" value=\"Before DMAAP Event - Timestamp, RequestID, subRequestID\"/>\n<parameter name=\"field6\" value=\"`$prop.oofpcipoc-dmaap-config-resp.timestamp`\"/>\n<parameter name=\"field7\" value=\"`$prop.oofpcipoc-dmaap-config-resp.requestID`\"/>\n<parameter name=\"field8\" value=\"`$prop.oofpcipoc-dmaap-config-resp.subrequestID`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 731,
+ "y": 2912,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5b6a153c.794bcc",
+ "type": "block",
+ "name": "Remove escape chars",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 843,
+ "y": 2619,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "cbc86ebb.71eb2",
+ "875e25e0.d14788",
+ "aec66be4.1a46d8"
+ ]
+ ]
+ },
+ {
+ "id": "cbc86ebb.71eb2",
+ "type": "execute",
+ "name": "Timestamp",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replaceAll' >\n <parameter name=\"source\" value=\"`$prop.oofpcipoc-dmaap-config-resp.timestamp`\"/>\n <parameter name=\"outputPath\" value=\"prop.oofpcipoc-dmaap-config-resp.timestamp\"/>\n <parameter name=\"target\" value='\"'/>\n <parameter name=\"replacement\" value=''/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1052,
+ "y": 2494,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "776ec5d0.227d8c",
+ "b0936ee4.f42ca"
+ ]
+ ]
+ },
+ {
+ "id": "776ec5d0.227d8c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1234.5,
+ "y": 2502,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "cf59cce8.2f19e"
+ ]
+ ]
+ },
+ {
+ "id": "cf59cce8.2f19e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1419.5,
+ "y": 2500,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "d98a36c.52542c8"
+ ]
+ ]
+ },
+ {
+ "id": "d98a36c.52542c8",
+ "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=\"Quotation removed from timestamp for DMAAP response header \\r\"/>\n<parameter name=\"field2\" value=\"`$prop.oofpcipoc-dmaap-config-resp.timestamp`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1622.5,
+ "y": 2496,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b0936ee4.f42ca",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1237,
+ "y": 2550,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "32d62120.888e4e"
+ ]
+ ]
+ },
+ {
+ "id": "32d62120.888e4e",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1412.9998779296875,
+ "y": 2551,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "45a46d90.7d2244"
+ ]
+ ]
+ },
+ {
+ "id": "45a46d90.7d2244",
+ "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 quotation from timestamp for DMAAP response header. Aborting Generic neighbor configuration\" />",
+ "comments": "",
+ "x": 1561.9996337890625,
+ "y": 2558,
+ "z": "ba52aa5d.7da518",
+ "wires": []
+ },
+ {
+ "id": "875e25e0.d14788",
+ "type": "execute",
+ "name": "RequestID",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replaceAll' >\n <parameter name=\"source\" value=\"`$prop.oofpcipoc-dmaap-config-resp.requestID`\"/>\n <parameter name=\"outputPath\" value=\"prop.oofpcipoc-dmaap-config-resp.requestID\"/>\n <parameter name=\"target\" value='\"'/>\n <parameter name=\"replacement\" value=''/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1059,
+ "y": 2635,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "af3350db.e3c08",
+ "7bd80c3f.6380d4"
+ ]
+ ]
+ },
+ {
+ "id": "af3350db.e3c08",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1241.5,
+ "y": 2643,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "f81169a0.ffff98"
+ ]
+ ]
+ },
+ {
+ "id": "f81169a0.ffff98",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1426.5,
+ "y": 2641,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "9ca6fb97.6d2b88"
+ ]
+ ]
+ },
+ {
+ "id": "9ca6fb97.6d2b88",
+ "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=\"Quotation removed from requestID for DMAAP response header \\r\"/>\n<parameter name=\"field2\" value=\"`$prop.oofpcipoc-dmaap-config-resp.requestID`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1628.5,
+ "y": 2636,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7bd80c3f.6380d4",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1244,
+ "y": 2691,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "b7af02a1.eb5e5"
+ ]
+ ]
+ },
+ {
+ "id": "b7af02a1.eb5e5",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1419.9998779296875,
+ "y": 2692,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "e88dc04a.0cc3c"
+ ]
+ ]
+ },
+ {
+ "id": "e88dc04a.0cc3c",
+ "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 quotation from requestID for DMAAP response header. Aborting Generic neighbor configuration\" />",
+ "comments": "",
+ "x": 1568.9996337890625,
+ "y": 2695,
+ "z": "ba52aa5d.7da518",
+ "wires": []
+ },
+ {
+ "id": "aec66be4.1a46d8",
+ "type": "execute",
+ "name": "subRequestID",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replaceAll' >\n <parameter name=\"source\" value=\"`$prop.oofpcipoc-dmaap-config-resp.subrequestID`\"/>\n <parameter name=\"outputPath\" value=\"prop.oofpcipoc-dmaap-config-resp.subrequestID\"/>\n <parameter name=\"target\" value='\"'/>\n <parameter name=\"replacement\" value=''/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 994,
+ "y": 2775,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "136f42ab.3624cd",
+ "8e508cb5.f7701"
+ ]
+ ]
+ },
+ {
+ "id": "136f42ab.3624cd",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1176.5,
+ "y": 2783,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "3088751b.117c8a"
+ ]
+ ]
+ },
+ {
+ "id": "3088751b.117c8a",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1361.5,
+ "y": 2781,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "e41a7390.16911"
+ ]
+ ]
+ },
+ {
+ "id": "e41a7390.16911",
+ "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=\"Quotation removed from subRequestID for DMAAP response header \\r\"/>\n<parameter name=\"field2\" value=\"`$prop.oofpcipoc-dmaap-config-resp.subrequestID`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1563.5,
+ "y": 2776,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8e508cb5.f7701",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1179,
+ "y": 2831,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "e6b9a11a.001ca"
+ ]
+ ]
+ },
+ {
+ "id": "e6b9a11a.001ca",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1354.9998779296875,
+ "y": 2832,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "1b54dee8.603921"
+ ]
+ ]
+ },
+ {
+ "id": "1b54dee8.603921",
+ "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 quotation from timestamp for DMAAP response header. Aborting Generic neighbor configuration\" />",
+ "comments": "",
+ "x": 1501.9995727539062,
+ "y": 2835,
+ "z": "ba52aa5d.7da518",
+ "wires": []
+ },
+ {
+ "id": "5c4ab543.f31ddc",
+ "type": "switchNode",
+ "name": "is blacklisted",
+ "xml": "<switch test='`$tmp.blacklisted`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1224.1670532226562,
+ "y": 1001.5000534057617,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "28bfe2e0.1a95de",
+ "6a8ef43d.8ca4ac"
+ ]
+ ]
+ },
+ {
+ "id": "28bfe2e0.1a95de",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1414.1670608520508,
+ "y": 983.5000524520874,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "f7d721de.3cffd"
+ ]
+ ]
+ },
+ {
+ "id": "6a8ef43d.8ca4ac",
+ "type": "outcome",
+ "name": "False",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1421.1392288208008,
+ "y": 1024.138970375061,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "d40bd77.df06128"
+ ]
+ ]
+ },
+ {
+ "id": "592ca236.e1fefc",
+ "type": "set",
+ "name": "set isHOAllowed as false",
+ "xml": "<set>\n<parameter name='tmp.isHOAllowed' value='false' />",
+ "comments": "",
+ "x": 1845.1114044189453,
+ "y": 980.2500524520874,
+ "z": "ba52aa5d.7da518",
+ "wires": []
+ },
+ {
+ "id": "41e1e4e5.45746c",
+ "type": "set",
+ "name": "set isHOAllowed as true",
+ "xml": "<set>\n<parameter name='tmp.isHOAllowed' value='true' />",
+ "comments": "",
+ "x": 1838.5557403564453,
+ "y": 1018.583306312561,
+ "z": "ba52aa5d.7da518",
+ "wires": []
+ },
+ {
+ "id": "f7d721de.3cffd",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1598.1670608520508,
+ "y": 982.2777223587036,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "592ca236.e1fefc"
+ ]
+ ]
+ },
+ {
+ "id": "d40bd77.df06128",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1586.3335647583008,
+ "y": 1029.6943893432617,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "41e1e4e5.45746c"
+ ]
+ ]
+ },
+ {
+ "id": "da948640.2c3ab8",
+ "type": "set",
+ "name": "set tmp variables",
+ "xml": "<set>\n<parameter name=\"tmp.idNRCellCU\" value=\"`$generic-neighbor-configuration-input.alias`\"/>\n<parameter name=\"tmp.idNRCellRelation\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].cid`\"/>\n<parameter name=\"tmp.idGNBCUCPFunction\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].pnf-name`\"/>\n",
+ "comments": "",
+ "x": 1264.833724975586,
+ "y": 1062.833387374878,
+ "z": "ba52aa5d.7da518",
+ "wires": []
+ },
+ {
+ "id": "ef51be71.1c8b7",
+ "type": "execute",
+ "name": "populate mount name",
+ "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=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUCPFunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1332.833740234375,
+ "y": 1194.8333902359009,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b4970e49.8e08a",
+ "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=\"URL to fetch the anchors\"/>\n<parameter name=\"field2\" value=\"`$tmp.getAnchors.URL`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 456.8641052246094,
+ "y": 467.2198209762573,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "77dc5996.8aefe8",
+ "type": "execute",
+ "name": "getAnchors URL",
+ "xml": "<set>\n\t<parameter name='tmp.getAnchors.URL' value=\"`$prop.restapi.cps.anchors.endpoint`\"/>\n\t",
+ "comments": "",
+ "outputs": 1,
+ "x": 468.61402130126953,
+ "y": 418.0411891937256,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "73510d60.c124f4",
+ "type": "execute",
+ "name": "set anchors size",
+ "xml": "<set>\n\t<parameter name='tmp.anchors.length' value=\"`$get-anchors-cps-response._length`\"/>\n\t",
+ "comments": "",
+ "outputs": 1,
+ "x": 493.1614685058594,
+ "y": 560.1478424072266,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9e42c136.00ec7",
+ "type": "execute",
+ "name": "read schemaSet",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.schemaset.name' />\n\t<parameter name='source' value=\"`'get-anchors-cps-response.['+$anc+'].schemaSetName'`\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 897.6612167358398,
+ "y": 545.0009912252426,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b00cf0ba.8e879",
+ "type": "execute",
+ "name": "initialize nearRTRIC size",
+ "xml": "<set>\n\t<parameter name='tmp.RIC.length' value=\"0\"/>\n\t",
+ "comments": "",
+ "outputs": 1,
+ "x": 525.7517242431641,
+ "y": 603.3860845565796,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1d8ac468.6c3afc",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 694.1695327758789,
+ "y": 679.8983345031738,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "f836a67d.4bc658",
+ "18bb9af.b640365"
+ ]
+ ]
+ },
+ {
+ "id": "8ae1144f.440b88",
+ "type": "execute",
+ "name": "read anchorName",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.anchor.name' />\n\t<parameter name='source' value=\"`'get-anchors-cps-response.['+$anc+'].name'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1480.868064880371,
+ "y": 598.8191026449203,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "90c1420f.c4f22",
+ "type": "for",
+ "name": "For anchorsList",
+ "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 499.0372009277344,
+ "y": 640.2833023071289,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "c3e641b3.c84f4"
+ ]
+ ]
+ },
+ {
+ "id": "c3e641b3.c84f4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 703.5691070556641,
+ "y": 635.2396011352539,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "40b98a83.a14c54",
+ "9e42c136.00ec7"
+ ]
+ ]
+ },
+ {
+ "id": "40b98a83.a14c54",
+ "type": "switchNode",
+ "name": "check schemaSetName",
+ "xml": "<switch test='`$tmp.schemaset.name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 922.1457748413086,
+ "y": 592.0967788696289,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "da640197.e461a"
+ ]
+ ]
+ },
+ {
+ "id": "da640197.e461a",
+ "type": "outcome",
+ "name": "if ran-network",
+ "xml": "<outcome value='ran-network'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1105.4513664245605,
+ "y": 556.5690269470215,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "11ccb517.1119fb"
+ ]
+ ]
+ },
+ {
+ "id": "11ccb517.1119fb",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1276.7537994384766,
+ "y": 542.9023221731186,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "c71c8219.a18a1",
+ "98e97a0b.4da6e8"
+ ]
+ ]
+ },
+ {
+ "id": "c71c8219.a18a1",
+ "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=\"Applicable RIC length\"/>\n<parameter name=\"field2\" value=\"`$tmp.RIC.length`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1455.667221069336,
+ "y": 542.7078641653061,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "18bb9af.b640365",
+ "type": "switchNode",
+ "name": "check schemaSetName",
+ "xml": "<switch test='`$tmp.schemaset.name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 919.9450225830078,
+ "y": 670.470227599144,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "d26ee057.d497e"
+ ]
+ ]
+ },
+ {
+ "id": "f836a67d.4bc658",
+ "type": "execute",
+ "name": "read schemaSet",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.schemaset.name' />\n\t<parameter name='source' value=\"`'get-anchors-cps-response.['+$anc+'].schemaSetName'`\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 903.9728546142578,
+ "y": 629.2202256917953,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d26ee057.d497e",
+ "type": "outcome",
+ "name": "if ran-network",
+ "xml": "<outcome value='ran-network'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1103.7506103515625,
+ "y": 626.9425166845322,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "e0cbe49.9bce318"
+ ]
+ ]
+ },
+ {
+ "id": "e0cbe49.9bce318",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1299.8864440917969,
+ "y": 629.1646836996078,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "8ae1144f.440b88",
+ "f3c2abf1.866b48"
+ ]
+ ]
+ },
+ {
+ "id": "9396c2a0.564ea",
+ "type": "for",
+ "name": "For anchorsList",
+ "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 492.9104118347168,
+ "y": 685.7440776824951,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "1d8ac468.6c3afc"
+ ]
+ ]
+ },
+ {
+ "id": "98e97a0b.4da6e8",
+ "type": "execute",
+ "name": "set nearRTRIC size",
+ "xml": "<set>\n\t<parameter name='tmp.RIC.length' value=\"`$tmp.RIC.length+1`\"/>\n\t",
+ "comments": "",
+ "outputs": 1,
+ "x": 1454.7253341674805,
+ "y": 494.3869060277939,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f3c2abf1.866b48",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1496.8125610351562,
+ "y": 647.5412734746933,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "bfb3f93a.edfc18",
+ "134e6919.4e7fe7",
+ "9e0ba266.4ebcd",
+ "c7a30496.056fc8"
+ ]
+ ]
+ },
+ {
+ "id": "ca517b43.2aeca8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 706.1180114746094,
+ "y": 443.59669530391693,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "9e24122a.3085c"
+ ]
+ ]
+ },
+ {
+ "id": "409278f2.c2d6f8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 720.1181831359863,
+ "y": 517.7911109924316,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "ee6b8e61.ccabf"
+ ]
+ ]
+ },
+ {
+ "id": "9e24122a.3085c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 848.8125076293945,
+ "y": 441.2078946828842,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "acc55fb9.69327",
+ "b5f28a20.bc92b8"
+ ]
+ ]
+ },
+ {
+ "id": "ee6b8e61.ccabf",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 868.5623435974121,
+ "y": 494.4578174352646,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "625a0242.878bbc",
+ "c7919812.55b3d8"
+ ]
+ ]
+ },
+ {
+ "id": "acc55fb9.69327",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 1032.5899353027344,
+ "y": 405.0411046743393,
+ "z": "ba52aa5d.7da518",
+ "wires": []
+ },
+ {
+ "id": "625a0242.878bbc",
+ "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=\"Successfully Obtained anchors from CPS\"/>\n<parameter name=\"field2\" value=\"`$get-anchors-cps-response._length`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1050.3121070861816,
+ "y": 478.7078584432602,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c7919812.55b3d8",
+ "type": "execute",
+ "name": "printContext",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/generic-neighbor-config-context.log' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1063.840347290039,
+ "y": 511.4578603506088,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b5f28a20.bc92b8",
+ "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=\"Failed to fetch anchors from CPS\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1026.3958473205566,
+ "y": 441.56894052028656,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9acf91d1.bea66",
+ "type": "execute",
+ "name": "Get list of anchors from CPS",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.getAnchors.URL`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"restapiUser\" value=\"cpsuser\" />\n<parameter name=\"restapiPassword\" value=\"cpsr0cks!\"/>\n<parameter name=\"responsePrefix\" value=\"get-anchors-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 513.8124313354492,
+ "y": 515.8150367736816,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "409278f2.c2d6f8",
+ "ca517b43.2aeca8"
+ ]
+ ]
+ },
+ {
+ "id": "72b8842.106437c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2002.666732788086,
+ "y": 676.3333171606064,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "6ca04aae.c95a04"
+ ]
+ ]
+ },
+ {
+ "id": "6ca04aae.c95a04",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2211.6666984558105,
+ "y": 647.3334592580795,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "ad4726d3.0ebec8",
+ "3ba42b5.21d6fd4",
+ "7259162d.645098"
+ ]
+ ]
+ },
+ {
+ "id": "22808d4.45d7b72",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2025.666696548462,
+ "y": 622.3334592580795,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "20cd389d.69ce08"
+ ]
+ ]
+ },
+ {
+ "id": "20cd389d.69ce08",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2248.5240592956543,
+ "y": 574.6191524267197,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "1f065164.d7be4f"
+ ]
+ ]
+ },
+ {
+ "id": "bfb3f93a.edfc18",
+ "type": "execute",
+ "name": "generate getNearRTRICsFromidGNBCUCPFunction URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getNearRTRICByidGNBCUCPFunction.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.anchor.name`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1807.5988883972168,
+ "y": 535.2653239965439,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "134e6919.4e7fe7",
+ "type": "execute",
+ "name": "prepare tbdmt template",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.getNearRTRICByidGNBCUCPFunction.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getNearRTRICByidGNBCUCPFunction.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.get-nearrtric-by-idgnbcucpfunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1727.5989418029785,
+ "y": 577.2653249502182,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9e0ba266.4ebcd",
+ "type": "record",
+ "name": "record TBDMT RestAPI params",
+ "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 CPS TDBMT to Get NearRTRIC for idGNBCUCPFunction\"/>\n<parameter name='field2' value=\"`$tmp.cps.getNearRTRICByidGNBCUCPFunction.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1754.5989036560059,
+ "y": 618.2653259038925,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c7a30496.056fc8",
+ "type": "execute",
+ "name": "Get nearRTRIC for idGNBCUCPFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.getNearRTRICByidGNBCUCPFunction.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-get-nearrtric-by-idgnbcucpfunction.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"getNFNSSIRIC-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1754.5988426208496,
+ "y": 663.2653278112411,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "22808d4.45d7b72",
+ "72b8842.106437c"
+ ]
+ ]
+ },
+ {
+ "id": "3ba42b5.21d6fd4",
+ "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=\"Successfully Obtained NearRTRIC ID info from CPS\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2418.598705291748,
+ "y": 672.2652778625488,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ad4726d3.0ebec8",
+ "type": "execute",
+ "name": "printContext",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/generic-neighbor-config-context.log' />\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2397.376777648926,
+ "y": 724.2654819488525,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1f065164.d7be4f",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2420.598850250244,
+ "y": 576.3763355016708,
+ "z": "ba52aa5d.7da518",
+ "wires": []
+ },
+ {
+ "id": "7b342193.6ee9e",
+ "type": "set",
+ "name": "set tmp variables",
+ "xml": "<set>\n<parameter name=\"tmp.idGNBCUCP\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[0].pnf-name`\"/>\n",
+ "comments": "",
+ "x": 476.6666793823242,
+ "y": 380.66667652130127,
+ "z": "ba52aa5d.7da518",
+ "wires": []
+ },
+ {
+ "id": "7259162d.645098",
"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`\"/>",
+ "name": "read nearRTRICId",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.nearRTRICId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-cps-response.[0]'`\" />\n",
"comments": "",
"outputs": 1,
- "x": 837,
- "y": 792,
- "z": "c197f7e7.1da478",
+ "x": 2436.6667404174805,
+ "y": 624.0000200271606,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]