[
{
- "id": "d0e2330e.dd019",
+ "id": "a7f28f91.d0c05",
"type": "comment",
"name": "Generic Neighbor Configuration",
"info": "",
"comments": "",
- "x": 390.0104064941406,
- "y": 36.010414123535156,
- "z": "d6ec916.8139a7",
+ "x": 388,
+ "y": 52,
+ "z": "ba52aa5d.7da518",
"wires": []
},
{
- "id": "5dfdcd01.84b604",
+ "id": "8223d53f.85d838",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 631.0104522705078,
- "y": 256.0209159851074,
- "z": "d6ec916.8139a7",
+ "x": 2300.0004348754883,
+ "y": 927.0106139183044,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "974d680f.76f648",
- "ffd54ab.ffbd1b8",
- "36063fad.1cea",
- "6d746eb6.f750f",
- "af6305e8.738f98",
- "91adaea7.e39c",
- "293691a3.763afe",
- "9adcdf48.89f9a",
- "c43ffb14.6b99d8",
- "402887.5e785778",
- "358802c3.47e34e"
+ "170b3b4c.656ad5",
+ "38719640.9ff38a",
+ "63cd95ef.ea6f3c",
+ "9f8c9052.1b02f",
+ "c4ef1e71.97dc7",
+ "6a9dca64.9235b4",
+ "652333bb.3d79cc",
+ "bdb37a27.c63ea8",
+ "dbbb1880.7e0858",
+ "d49c19c9.0081c8",
+ "aa27e8cf.b39f28"
]
]
},
{
- "id": "cd37cc80.83b05",
+ "id": "30968c2b.5ef204",
"type": "for",
"name": "for",
"xml": "<for index='idx' start='0' end=\"`$generic-neighbor-configuration-input.lte-cell-number-of-entries`\" >",
"comments": "",
"outputs": 1,
- "x": 578.0105895996094,
- "y": 414.01041412353516,
- "z": "d6ec916.8139a7",
+ "x": 1546.0004196166992,
+ "y": 795.0001983642578,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "5dfdcd01.84b604"
+ "8223d53f.85d838"
]
]
},
{
- "id": "974d680f.76f648",
+ "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": 962.0115661621094,
- "y": 58.899513244628906,
- "z": "d6ec916.8139a7",
+ "x": 2715.001434326172,
+ "y": 809.8890991210938,
+ "z": "ba52aa5d.7da518",
"wires": []
},
{
- "id": "ffd54ab.ffbd1b8",
+ "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": 826.5209140777588,
- "y": 102.02084159851074,
- "z": "d6ec916.8139a7",
+ "x": 2579.5107822418213,
+ "y": 853.0104274749756,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "27b0597e.d8a2a6",
+ "id": "1d627065.1432d",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 153.5,
- "y": 293.00003814697266,
- "z": "d6ec916.8139a7",
+ "x": 121.48959350585938,
+ "y": 378.9896354675293,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "6abe663a.7efa98",
- "68b7eea8.7de3b",
- "9cda453e.0abf28",
- "a5fd7aa3.7b58d8",
- "46dea300.ac250c",
- "1a0d310b.f6a53f",
- "a3fe027d.820d4",
- "2f1179a.0005886"
+ "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": "51fad8f4.1d8738",
+ "id": "fbe277bd.e72458",
"type": "method",
"name": "method",
"xml": "<method rpc='generic-neighbor-configuration' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 139.01040649414062,
- "y": 193.99999237060547,
- "z": "d6ec916.8139a7",
+ "x": 139,
+ "y": 210.9895782470703,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "27b0597e.d8a2a6"
+ "1d627065.1432d"
]
]
},
{
- "id": "6abe663a.7efa98",
+ "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": 144.01074600219727,
- "y": 2854.000379562378,
- "z": "d6ec916.8139a7",
+ "x": 142.00033950805664,
+ "y": 2869.989965438843,
+ "z": "ba52aa5d.7da518",
"wires": []
},
{
- "id": "68b7eea8.7de3b",
+ "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.lte-cell-number-of-entries`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 440.0107116699219,
- "y": 93.02084350585938,
- "z": "d6ec916.8139a7",
+ "x": 438.00030517578125,
+ "y": 109.01042938232422,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "9cda453e.0abf28",
+ "id": "ce068601.876438",
"type": "for",
"name": "for",
"xml": "<for index='idx' start='0' end=\"`$generic-neighbor-configuration-input.lte-cell-number-of-entries`\" >",
"comments": "",
"outputs": 1,
- "x": 451.0960998535156,
- "y": 139.96358489990234,
- "z": "d6ec916.8139a7",
+ "x": 449.085693359375,
+ "y": 155.9531707763672,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "a3004a52.319a18"
+ "7000571f.f9d288"
]
]
},
{
- "id": "a5fd7aa3.7b58d8",
+ "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": 454.0105895996094,
- "y": 198.02082061767578,
- "z": "d6ec916.8139a7",
+ "x": 459.00018310546875,
+ "y": 205.01040649414062,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "46dea300.ac250c",
+ "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": 408.0107192993164,
- "y": 268.0209140777588,
- "z": "d6ec916.8139a7",
+ "x": 425.00030517578125,
+ "y": 246.010498046875,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "cd34e05c.615e2",
+ "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": 195.01039123535156,
- "y": 105.0000991821289,
- "z": "d6ec916.8139a7",
+ "x": 192.99998474121094,
+ "y": 120.98968505859375,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "51fad8f4.1d8738"
+ "fbe277bd.e72458"
]
]
},
{
- "id": "a3004a52.319a18",
+ "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": 616.0109558105469,
- "y": 124.00004577636719,
- "z": "d6ec916.8139a7",
+ "x": 614.0005493164062,
+ "y": 139.98963165283203,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "e06f1f1c.d6952",
+ "id": "40f6d84a.52f0f8",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 130.01040649414062,
- "y": 43,
- "z": "d6ec916.8139a7",
+ "x": 128,
+ "y": 58.989585876464844,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "cd34e05c.615e2"
+ "143f4ebf.353251"
]
]
},
{
- "id": "402887.5e785778",
+ "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": 897.5212707519531,
- "y": 146.5765609741211,
- "z": "d6ec916.8139a7",
+ "x": 2650.5111389160156,
+ "y": 897.5661468505859,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "36063fad.1cea",
+ "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": 824.5209045410156,
- "y": 199.79862213134766,
- "z": "d6ec916.8139a7",
+ "x": 2577.510772705078,
+ "y": 950.7882080078125,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "6d746eb6.f750f",
+ "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": 1026.521032333374,
- "y": 211.7986364364624,
- "z": "d6ec916.8139a7",
+ "x": 2779.5109004974365,
+ "y": 962.7882223129272,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "af6305e8.738f98",
+ "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": 894.5208854675293,
- "y": 255.79861164093018,
- "z": "d6ec916.8139a7",
+ "x": 2647.510753631592,
+ "y": 1006.788197517395,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "91adaea7.e39c",
+ "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": 917.5209140777588,
- "y": 300.79863452911377,
- "z": "d6ec916.8139a7",
+ "x": 2670.5107822418213,
+ "y": 1051.7882204055786,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "9adcdf48.89f9a",
+ "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": 949.5209045410156,
- "y": 440.79874420166016,
- "z": "d6ec916.8139a7",
+ "x": 2702.510772705078,
+ "y": 1191.788330078125,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "22593c53.2e3704",
- "61ad6fb2.eff45"
+ "6e331b72.cd4df4",
+ "29e5f1f5.a20cfe"
]
]
},
{
- "id": "22593c53.2e3704",
+ "id": "6e331b72.cd4df4",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1210.5207920074463,
- "y": 404.788197517395,
- "z": "d6ec916.8139a7",
+ "x": 2963.510660171509,
+ "y": 1155.7777833938599,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "c761c957.dedf48"
+ "da0c6404.906cd8"
]
]
},
{
- "id": "61ad6fb2.eff45",
+ "id": "29e5f1f5.a20cfe",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1212.520736694336,
- "y": 468.788028717041,
- "z": "d6ec916.8139a7",
+ "x": 2965.5106048583984,
+ "y": 1219.7776145935059,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "ff97581a.3ffb78"
+ "34bd63e4.84922c"
]
]
},
{
- "id": "932587a2.10c5b8",
+ "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": 1543.5205307006836,
- "y": 464.7881164550781,
- "z": "d6ec916.8139a7",
+ "x": 3296.510398864746,
+ "y": 1215.777702331543,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "ff97581a.3ffb78",
+ "id": "34bd63e4.84922c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1379.520580291748,
- "y": 467.7881107330322,
- "z": "d6ec916.8139a7",
+ "x": 3132.5104484558105,
+ "y": 1218.777696609497,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "932587a2.10c5b8"
+ "ec845756.b8b808"
]
]
},
{
- "id": "c761c957.dedf48",
+ "id": "da0c6404.906cd8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1369.5206546783447,
- "y": 413.7881832122803,
- "z": "d6ec916.8139a7",
+ "x": 3122.510522842407,
+ "y": 1164.7777690887451,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "3f189c10.9d0974"
+ "627e451a.3becdc"
]
]
},
{
- "id": "3f189c10.9d0974",
+ "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": 1545.5204181671143,
- "y": 398.7881565093994,
- "z": "d6ec916.8139a7",
+ "x": 3298.5102863311768,
+ "y": 1149.7777423858643,
+ "z": "ba52aa5d.7da518",
"wires": []
},
{
- "id": "293691a3.763afe",
+ "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": 947.5208435058594,
- "y": 352.79862213134766,
- "z": "d6ec916.8139a7",
+ "x": 2700.510711669922,
+ "y": 1103.7882080078125,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "b5029146.a42d5",
- "a42c72d.e2d129"
+ "a406ed47.1329b",
+ "a58ae4c9.b92a28"
]
]
},
{
- "id": "b5029146.a42d5",
+ "id": "a406ed47.1329b",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1215.5209045410156,
- "y": 289.45466327667236,
- "z": "d6ec916.8139a7",
+ "x": 2968.510772705078,
+ "y": 1040.4442491531372,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "700df0ce.ff7ea"
+ "c4763032.d8346"
]
]
},
{
- "id": "a42c72d.e2d129",
+ "id": "a58ae4c9.b92a28",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1202.5207977294922,
- "y": 353.4548110961914,
- "z": "d6ec916.8139a7",
+ "x": 2955.5106658935547,
+ "y": 1104.4443969726562,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "291ffd2d.96c9c2"
+ "82d98f07.28333"
]
]
},
{
- "id": "291ffd2d.96c9c2",
+ "id": "82d98f07.28333",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1345.5205936431885,
- "y": 350.4547266960144,
- "z": "d6ec916.8139a7",
+ "x": 3098.510461807251,
+ "y": 1101.4443125724792,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "3e25c03b.b3b17"
+ "5fe184f2.0617dc"
]
]
},
{
- "id": "3e25c03b.b3b17",
+ "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": 1506.5205097198486,
- "y": 344.4549970626831,
- "z": "d6ec916.8139a7",
+ "x": 3259.510377883911,
+ "y": 1095.444582939148,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "700df0ce.ff7ea",
+ "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": 1414.5207977294922,
- "y": 279.45469093322754,
- "z": "d6ec916.8139a7",
+ "x": 3167.5106658935547,
+ "y": 1030.4442768096924,
+ "z": "ba52aa5d.7da518",
"wires": []
},
{
- "id": "c43ffb14.6b99d8",
+ "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": 905.5208435058594,
- "y": 516.6874771118164,
- "z": "d6ec916.8139a7",
+ "x": 2658.510711669922,
+ "y": 1267.6770629882812,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "e1ac38ab.5b2678",
- "28d404f.3a94bfc"
+ "a7be82c.6322a8",
+ "331f59c6.8c63b6"
]
]
},
{
- "id": "e1ac38ab.5b2678",
+ "id": "a7be82c.6322a8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1240.5208435058594,
- "y": 516.3435192108154,
- "z": "d6ec916.8139a7",
+ "x": 2993.510711669922,
+ "y": 1267.3331050872803,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "db457a19.686678"
+ "b10789cb.a74668"
]
]
},
{
- "id": "28d404f.3a94bfc",
+ "id": "331f59c6.8c63b6",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1233.520736694336,
- "y": 568.3437156677246,
- "z": "d6ec916.8139a7",
+ "x": 2986.5106048583984,
+ "y": 1319.3333015441895,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "d569846c.bbb0a8"
+ "67b4dcbe.392ef4"
]
]
},
{
- "id": "d569846c.bbb0a8",
+ "id": "67b4dcbe.392ef4",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1402.5204963684082,
- "y": 575.3436546325684,
- "z": "d6ec916.8139a7",
+ "x": 3155.5103645324707,
+ "y": 1326.3332405090332,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "d8455bac.fb0098"
+ "a61318e1.9a3aa8"
]
]
},
{
- "id": "db457a19.686678",
+ "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": 1413.5207977294922,
- "y": 513.3435468673706,
- "z": "d6ec916.8139a7",
+ "x": 3166.5106658935547,
+ "y": 1264.3331327438354,
+ "z": "ba52aa5d.7da518",
"wires": []
},
{
- "id": "d8455bac.fb0098",
+ "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 Post-configuration\"/>\n<parameter name=\"field2\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].plmnid`\"/>\n<parameter name=\"field3\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].cid`\"/>\n<parameter name=\"field4\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].phy-cell-id`\"/>\n<parameter name=\"field5\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].pnf-name`\"/>\n<parameter name=\"field6\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].blacklisted`\"/>",
"comments": "",
"outputs": 1,
- "x": 1549.5205307006836,
- "y": 573.3438711166382,
- "z": "d6ec916.8139a7",
+ "x": 3302.510398864746,
+ "y": 1324.333456993103,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "4895fc97.e32324",
+ "id": "e955dbfc.992d08",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 604.0103530883789,
- "y": 1326.0104722976685,
- "z": "d6ec916.8139a7",
+ "x": 1017.0003280639648,
+ "y": 1297.0000371932983,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "19788b57.90a7e5",
- "385fcdb8.05b3d2",
- "5628b9b0.c40b68",
- "c3097a46.f42c48",
- "367fb347.85f46c",
- "b9a8089a.03ce48",
- "fed6b7a1.a8d0a8",
- "c614fa93.bff818",
- "81cbcc37.957ee",
- "b67a292f.048478",
- "ef79f154.b96da",
- "d0e25241.e0e23"
+ "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": "fab83ed4.d6eae",
+ "id": "e5d9d955.58a1c8",
"type": "for",
"name": "for",
"xml": "<for index='idx' start='0' end=\"`$generic-neighbor-configuration-input.lte-cell-number-of-entries`\" >",
"comments": "",
"outputs": 1,
- "x": 547.0105895996094,
- "y": 506.99991607666016,
- "z": "d6ec916.8139a7",
+ "x": 927.0002937316895,
+ "y": 888.9896640777588,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "4895fc97.e32324"
+ "e955dbfc.992d08"
]
]
},
{
- "id": "19788b57.90a7e5",
+ "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": 937.0115871429443,
- "y": 1009.889084815979,
- "z": "d6ec916.8139a7",
+ "x": 1342.0015258789062,
+ "y": 940.8787136077881,
+ "z": "ba52aa5d.7da518",
"wires": []
},
{
- "id": "385fcdb8.05b3d2",
+ "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": 807.5209102630615,
- "y": 1086.0104522705078,
- "z": "d6ec916.8139a7",
+ "x": 1260.510887145996,
+ "y": 1115.0002174377441,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "b67a292f.048478",
+ "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": 900.5212306976318,
- "y": 1147.5661392211914,
- "z": "d6ec916.8139a7",
- "wires": [
- []
- ]
- },
- {
- "id": "5628b9b0.c40b68",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Config Neighbor List URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.config-neighbor-service-url`\"/>",
+ "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": 841.5208644866943,
- "y": 1196.788185119629,
- "z": "d6ec916.8139a7",
+ "x": 1329.5112915039062,
+ "y": 1154.5559644699097,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "c3097a46.f42c48",
+ "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": 905.5209865570068,
- "y": 1292.788185119629,
- "z": "d6ec916.8139a7",
+ "x": 1304.5110092163086,
+ "y": 1269.7780952453613,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "367fb347.85f46c",
+ "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": 880.5208644866943,
- "y": 1340.788185119629,
- "z": "d6ec916.8139a7",
+ "x": 1295.5108261108398,
+ "y": 1365.7780170440674,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "b9a8089a.03ce48",
+ "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": 889.5208644866943,
- "y": 1377.788185119629,
- "z": "d6ec916.8139a7",
+ "x": 1292.5108261108398,
+ "y": 1320.7780151367188,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "c614fa93.bff818",
+ "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": 903.5208644866943,
- "y": 1507.7883071899414,
- "z": "d6ec916.8139a7",
+ "x": 1316.5108394622803,
+ "y": 1478.7778720855713,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "4c4f9668.9a6768",
- "d03774b5.088378"
+ "48d11e6f.62818",
+ "206a6b5.75adc94"
]
]
},
{
- "id": "4c4f9668.9a6768",
+ "id": "48d11e6f.62818",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1198.520751953125,
- "y": 1514.7777605056763,
- "z": "d6ec916.8139a7",
+ "x": 1611.510726928711,
+ "y": 1485.7673254013062,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "a2cf7a8.1cb9388"
+ "c7df5999.d0fd88"
]
]
},
{
- "id": "d03774b5.088378",
+ "id": "206a6b5.75adc94",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1216.520793914795,
- "y": 1582.7775869369507,
- "z": "d6ec916.8139a7",
+ "x": 1629.5107688903809,
+ "y": 1553.7671518325806,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "718f1a13.9fb2a4"
+ "77dfa412.b377bc"
]
]
},
{
- "id": "a830f268.e88c7",
+ "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": 1554.5205459594727,
- "y": 1569.7776951789856,
- "z": "d6ec916.8139a7",
+ "x": 1967.5105209350586,
+ "y": 1540.7672600746155,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "718f1a13.9fb2a4",
+ "id": "77dfa412.b377bc",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1396.5204582214355,
- "y": 1580.7776679992676,
- "z": "d6ec916.8139a7",
+ "x": 1809.5104331970215,
+ "y": 1551.7672328948975,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "a830f268.e88c7"
+ "7ccc966c.b94b18"
]
]
},
{
- "id": "a2cf7a8.1cb9388",
+ "id": "c7df5999.d0fd88",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1357.5206146240234,
- "y": 1523.7777462005615,
- "z": "d6ec916.8139a7",
+ "x": 1770.5105895996094,
+ "y": 1494.7673110961914,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "242984bf.f0802c"
+ "5799a5cf.da673c"
]
]
},
{
- "id": "242984bf.f0802c",
+ "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": 1533.520378112793,
- "y": 1508.7777194976807,
- "z": "d6ec916.8139a7",
+ "x": 1946.510353088379,
+ "y": 1479.7672843933105,
+ "z": "ba52aa5d.7da518",
"wires": []
},
{
- "id": "fed6b7a1.a8d0a8",
+ "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": 913.5208034515381,
- "y": 1422.788185119629,
- "z": "d6ec916.8139a7",
+ "x": 1344.5108032226562,
+ "y": 1425.7778949737549,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "efb6986a.a3d5c8",
- "ede271f9.16cb"
+ "dc2942ed.945fd",
+ "5ba4aef5.ae701"
]
]
},
{
- "id": "efb6986a.a3d5c8",
+ "id": "dc2942ed.945fd",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1186.5209045410156,
- "y": 1395.4442310333252,
- "z": "d6ec916.8139a7",
+ "x": 1599.5108795166016,
+ "y": 1366.433795928955,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "d1dfa9a6.c787b8"
+ "f55bfe83.c0cfc"
]
]
},
{
- "id": "ede271f9.16cb",
+ "id": "5ba4aef5.ae701",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1181.520736694336,
- "y": 1451.4443845748901,
- "z": "d6ec916.8139a7",
+ "x": 1594.5107116699219,
+ "y": 1422.43394947052,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "490c9697.67ef88"
+ "f165c6ed.df6c78"
]
]
},
{
- "id": "490c9697.67ef88",
+ "id": "f165c6ed.df6c78",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1333.5205535888672,
- "y": 1460.4442896842957,
- "z": "d6ec916.8139a7",
+ "x": 1746.5105285644531,
+ "y": 1431.4338545799255,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "4b9f8ddf.96d214"
+ "45e577df.02afb8"
]
]
},
{
- "id": "4b9f8ddf.96d214",
+ "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": 1494.5204696655273,
- "y": 1454.4445600509644,
- "z": "d6ec916.8139a7",
+ "x": 1907.5104446411133,
+ "y": 1425.4341249465942,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "d1dfa9a6.c787b8",
+ "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": 1387.520694732666,
- "y": 1401.444239616394,
- "z": "d6ec916.8139a7",
+ "x": 1800.510669708252,
+ "y": 1372.433804512024,
+ "z": "ba52aa5d.7da518",
"wires": []
},
{
- "id": "81cbcc37.957ee",
+ "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": 869.5208034515381,
- "y": 1621.677101135254,
- "z": "d6ec916.8139a7",
+ "x": 1282.510778427124,
+ "y": 1592.6666660308838,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "8381427b.3a415",
- "4a867416.bc28ac"
+ "513eb44d.f05fcc",
+ "aa490505.0fbcd8"
]
]
},
{
- "id": "8381427b.3a415",
+ "id": "513eb44d.f05fcc",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1226.5209045410156,
- "y": 1633.333086013794,
- "z": "d6ec916.8139a7",
+ "x": 1639.5108795166016,
+ "y": 1604.3226509094238,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "71c70e29.c9f39"
+ "13249c69.f7ff64"
]
]
},
{
- "id": "4a867416.bc28ac",
+ "id": "aa490505.0fbcd8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1221.520736694336,
- "y": 1689.333239555359,
- "z": "d6ec916.8139a7",
+ "x": 1634.5107116699219,
+ "y": 1660.3228044509888,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "2fdc95ce.87b1ca"
+ "8de8189c.faaa08"
]
]
},
{
- "id": "2fdc95ce.87b1ca",
+ "id": "8de8189c.faaa08",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1373.5205535888672,
- "y": 1698.3331446647644,
- "z": "d6ec916.8139a7",
+ "x": 1786.5105285644531,
+ "y": 1669.3227095603943,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "50e2721e.a2ab5c"
+ "fe0e66c1.874c38"
]
]
},
{
- "id": "71c70e29.c9f39",
+ "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": 1427.520694732666,
- "y": 1639.3330945968628,
- "z": "d6ec916.8139a7",
+ "x": 1840.510669708252,
+ "y": 1610.3226594924927,
+ "z": "ba52aa5d.7da518",
"wires": []
},
{
- "id": "50e2721e.a2ab5c",
+ "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 Post-configuration\"/>\n<parameter name=\"field2\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].plmnid`\"/>\n<parameter name=\"field3\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].cid`\"/>\n<parameter name=\"field4\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].phy-cell-id`\"/>\n<parameter name=\"field5\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].pnf-name`\"/>\n<parameter name=\"field6\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].blacklisted`\"/>",
"comments": "",
"outputs": 1,
- "x": 1534.5204620361328,
- "y": 1691.3333892822266,
- "z": "d6ec916.8139a7",
+ "x": 1947.5104370117188,
+ "y": 1662.3229541778564,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "cf6755dc.b50b78",
+ "id": "635cbf1d.89097",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 454.0104064941406,
- "y": 333.01041412353516,
- "z": "d6ec916.8139a7",
+ "x": 1218.000114440918,
+ "y": 800.0001182556152,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "cd37cc80.83b05"
+ "30968c2b.5ef204"
]
]
},
{
- "id": "1a0d310b.f6a53f",
+ "id": "6054c5fa.ac505c",
"type": "switchNode",
"name": "switch mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 352.0104064941406,
- "y": 422.01041412353516,
- "z": "d6ec916.8139a7",
+ "x": 501.0000305175781,
+ "y": 824.0000686645508,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "cf6755dc.b50b78",
- "5f209115.361e5"
+ "635cbf1d.89097",
+ "7cea1d00.47e4e4"
]
]
},
{
- "id": "5f209115.361e5",
+ "id": "7cea1d00.47e4e4",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 385.0104064941406,
- "y": 500.01041412353516,
- "z": "d6ec916.8139a7",
+ "x": 724.0000343322754,
+ "y": 864.0000801086426,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "fab83ed4.d6eae"
+ "e5d9d955.58a1c8"
]
]
},
{
- "id": "ef79f154.b96da",
+ "id": "4b5d30b0.7c72a",
"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": "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": 910.0103664398193,
- "y": 1248.0104751586914,
- "z": "d6ec916.8139a7",
+ "x": 1327.000473022461,
+ "y": 1235.0003032684326,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "3c0d7f19.6c811",
+ "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": 899.020866394043,
- "y": 2134.465440273285,
- "z": "d6ec916.8139a7",
+ "x": 897.0104598999023,
+ "y": 2150.4550261497498,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "b2a6c2c3.f1a3b",
- "294194dd.c5fd5c"
+ "9ee15074.7428f",
+ "7bc46ce6.76d744"
]
]
},
{
- "id": "b2a6c2c3.f1a3b",
+ "id": "9ee15074.7428f",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1173.020866394043,
- "y": 2103.465440273285,
- "z": "d6ec916.8139a7",
+ "x": 1171.0104598999023,
+ "y": 2119.4550261497498,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "8238e819.a3ec88"
+ "6c44223a.b5b6bc"
]
]
},
{
- "id": "8238e819.a3ec88",
+ "id": "6c44223a.b5b6bc",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1364.020866394043,
- "y": 2106.465440273285,
- "z": "d6ec916.8139a7",
+ "x": 1362.0104598999023,
+ "y": 2122.4550261497498,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "89f27573.4e9d08"
+ "8dc076ff.3d3b78"
]
]
},
{
- "id": "89f27573.4e9d08",
+ "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": 1532.020866394043,
- "y": 2107.465440273285,
- "z": "d6ec916.8139a7",
+ "x": 1530.0104598999023,
+ "y": 2123.4550261497498,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "2d15e84e.91cbd8",
+ "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": 871.520866394043,
- "y": 2250.465440273285,
- "z": "d6ec916.8139a7",
+ "x": 869.5104598999023,
+ "y": 2266.4550261497498,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "5debb003.5b86d",
- "f677a278.2fa7"
+ "ff4e1b7.c8b3be8",
+ "52f1c865.4127f8"
]
]
},
{
- "id": "e8161499.fba198",
+ "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": 861.020866394043,
- "y": 2332.465440273285,
- "z": "d6ec916.8139a7",
+ "x": 859.0104598999023,
+ "y": 2348.4550261497498,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "17433612.64f8ea",
- "2d401fc.38631e"
+ "878f2b26.a35f78",
+ "dca44756.ee3f98"
]
]
},
{
- "id": "17433612.64f8ea",
+ "id": "878f2b26.a35f78",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1043.520866394043,
- "y": 2340.465440273285,
- "z": "d6ec916.8139a7",
+ "x": 1041.5104598999023,
+ "y": 2356.4550261497498,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "8233dba4.2a6c08"
+ "6bba1521.5db3dc"
]
]
},
{
- "id": "8233dba4.2a6c08",
+ "id": "6bba1521.5db3dc",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1228.520866394043,
- "y": 2338.465440273285,
- "z": "d6ec916.8139a7",
+ "x": 1226.5104598999023,
+ "y": 2354.4550261497498,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "de84fc8b.e06b5"
+ "bf22caa6.6fe278"
]
]
},
{
- "id": "de84fc8b.e06b5",
+ "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": 1430.520866394043,
- "y": 2333.465440273285,
- "z": "d6ec916.8139a7",
+ "x": 1428.5104598999023,
+ "y": 2349.4550261497498,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "5debb003.5b86d",
+ "id": "ff4e1b7.c8b3be8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1065.020866394043,
- "y": 2218.465440273285,
- "z": "d6ec916.8139a7",
+ "x": 1063.0104598999023,
+ "y": 2234.4550261497498,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "9d89b03e.2ff07"
+ "685227b1.a05768"
]
]
},
{
- "id": "9d89b03e.2ff07",
+ "id": "685227b1.a05768",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1240.020866394043,
- "y": 2232.465440273285,
- "z": "d6ec916.8139a7",
+ "x": 1238.0104598999023,
+ "y": 2248.4550261497498,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "dabf9835.e13098"
+ "616f020e.32807c"
]
]
},
{
- "id": "dabf9835.e13098",
+ "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": 1428.020866394043,
- "y": 2234.465440273285,
- "z": "d6ec916.8139a7",
+ "x": 1432.010498046875,
+ "y": 2253.455078125,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "294194dd.c5fd5c",
+ "id": "7bc46ce6.76d744",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1172.020866394043,
- "y": 2160.465440273285,
- "z": "d6ec916.8139a7",
+ "x": 1170.0104598999023,
+ "y": 2176.4550261497498,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "53c27ee.7f69b8"
+ "6f14fcec.102994"
]
]
},
{
- "id": "53c27ee.7f69b8",
+ "id": "6f14fcec.102994",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1341.0207443237305,
- "y": 2166.465440273285,
- "z": "d6ec916.8139a7",
+ "x": 1339.0103378295898,
+ "y": 2182.4550261497498,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "cf58efc6.7b3ca"
+ "faf0837.ef7588"
]
]
},
{
- "id": "cf58efc6.7b3ca",
+ "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 PCI configuration\" />",
+ "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": 1497.0205001831055,
- "y": 2165.465440273285,
- "z": "d6ec916.8139a7",
+ "x": 1495.0100936889648,
+ "y": 2181.4550261497498,
+ "z": "ba52aa5d.7da518",
"wires": []
},
{
- "id": "f677a278.2fa7",
+ "id": "52f1c865.4127f8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1086.020866394043,
- "y": 2289.465440273285,
- "z": "d6ec916.8139a7",
+ "x": 1084.0104598999023,
+ "y": 2305.4550261497498,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "d2d6e5d8.209298"
+ "cdb37322.0d882"
]
]
},
{
- "id": "d2d6e5d8.209298",
+ "id": "cdb37322.0d882",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1254.0207443237305,
- "y": 2284.465440273285,
- "z": "d6ec916.8139a7",
+ "x": 1252.0103378295898,
+ "y": 2300.4550261497498,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "2d9f0013.4f0cb"
+ "ba727e4a.a6a2b"
]
]
},
{
- "id": "2d9f0013.4f0cb",
+ "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 PCI configuration\" />",
+ "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": 1412.0204391479492,
- "y": 2287.465440273285,
- "z": "d6ec916.8139a7",
+ "x": 1410.0100326538086,
+ "y": 2303.4550261497498,
+ "z": "ba52aa5d.7da518",
"wires": []
},
{
- "id": "2d401fc.38631e",
+ "id": "dca44756.ee3f98",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1046.020866394043,
- "y": 2388.465440273285,
- "z": "d6ec916.8139a7",
+ "x": 1044.0104598999023,
+ "y": 2404.4550261497498,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "bda74b26.1b1388"
+ "942669e6.4ca0d8"
]
]
},
{
- "id": "bda74b26.1b1388",
+ "id": "942669e6.4ca0d8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1222.0207443237305,
- "y": 2389.465440273285,
- "z": "d6ec916.8139a7",
+ "x": 1220.0103378295898,
+ "y": 2405.4550261497498,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "d56e28d4.650d08"
+ "729de074.cd376"
]
]
},
{
- "id": "d56e28d4.650d08",
+ "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 PCI configuration\" />",
+ "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": 1369.0204391479492,
- "y": 2392.465440273285,
- "z": "d6ec916.8139a7",
+ "x": 1367.0100326538086,
+ "y": 2408.4550261497498,
+ "z": "ba52aa5d.7da518",
"wires": []
},
{
- "id": "a3fe027d.820d4",
+ "id": "1a25fbfa.21dc54",
"type": "block",
"name": "DMAAP Payload Generation",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 603.020881652832,
- "y": 2252.4655385017395,
- "z": "d6ec916.8139a7",
+ "x": 601.0104751586914,
+ "y": 2268.4551243782043,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "3c0d7f19.6c811",
- "2d15e84e.91cbd8",
- "e8161499.fba198"
+ "efb5b7b0.154a98",
+ "68cba313.3642bc",
+ "7c51f533.38528c"
]
]
},
{
- "id": "2f1179a.0005886",
+ "id": "a1d0ec6.402511",
"type": "block",
"name": "DMAAP Reponse Publish",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 465.0208511352539,
- "y": 2600.3542304039,
- "z": "d6ec916.8139a7",
+ "x": 463.0104446411133,
+ "y": 2616.343816280365,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "b22d0788.83a868",
- "74c6c1ac.1e42d"
+ "64a9c5b.6c9bf3c",
+ "216ef463.8aa38c",
+ "cd3ce974.da7d58",
+ "5b6a153c.794bcc"
]
]
},
{
- "id": "74c6c1ac.1e42d",
+ "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": 880.0209274291992,
- "y": 2662.4654574394226,
- "z": "d6ec916.8139a7",
+ "x": 736.0105209350586,
+ "y": 3012.455108642578,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "66967541.9509fc",
- "19014f9c.5bacd"
+ "5f06f8f0.e5ffb8",
+ "aa6d61e6.97e69"
]
]
},
{
- "id": "b22d0788.83a868",
+ "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": 866.6876258850098,
- "y": 2558.4654479026794,
- "z": "d6ec916.8139a7",
+ "x": 703.67724609375,
+ "y": 2427.455078125,
+ "z": "ba52aa5d.7da518",
"wires": []
},
{
- "id": "66967541.9509fc",
+ "id": "5f06f8f0.e5ffb8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1054.5209045410156,
- "y": 2596.3821749687195,
- "z": "d6ec916.8139a7",
+ "x": 910.510498046875,
+ "y": 2946.371826171875,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "5277ae5c.6edee"
+ "51524749.21f738"
]
]
},
{
- "id": "19014f9c.5bacd",
+ "id": "aa6d61e6.97e69",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1077.5207595825195,
- "y": 2725.382281780243,
- "z": "d6ec916.8139a7",
+ "x": 933.5103530883789,
+ "y": 3075.3719329833984,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "3817a66f.511b9a"
+ "a1ca9795.601b48"
]
]
},
{
- "id": "5277ae5c.6edee",
+ "id": "51524749.21f738",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1235.5206756591797,
- "y": 2599.3823046684265,
- "z": "d6ec916.8139a7",
+ "x": 1091.510269165039,
+ "y": 2949.371955871582,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "5d24962d.477fe8"
+ "3a181783.148128"
]
]
},
{
- "id": "5d24962d.477fe8",
+ "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": 1409.520393371582,
- "y": 2606.3822298049927,
- "z": "d6ec916.8139a7",
+ "x": 1265.5099868774414,
+ "y": 2956.371881008148,
+ "z": "ba52aa5d.7da518",
"wires": []
},
{
- "id": "3817a66f.511b9a",
+ "id": "a1ca9795.601b48",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1237.5204048156738,
- "y": 2717.3822541236877,
- "z": "d6ec916.8139a7",
+ "x": 1093.5099983215332,
+ "y": 3067.3719053268433,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "2e47c897.bb4cb8"
+ "eb4e14e1.4e6448"
]
]
},
{
- "id": "2e47c897.bb4cb8",
+ "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": 1414.520523071289,
- "y": 2722.38236284256,
- "z": "d6ec916.8139a7",
+ "x": 1270.5101165771484,
+ "y": 3072.3720140457153,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "f89579dd.91a288",
+ "id": "7424cc7d.ccb014",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 918.0208435058594,
- "y": 852.3541641235352,
- "z": "d6ec916.8139a7",
+ "x": 2671.010711669922,
+ "y": 1603.34375,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "e2e4a468.8a1838",
- "89dd4b27.cf59d8",
- "67336a18.ae2e64",
- "68bfb6e.dac1e48"
+ "e697f0f4.14379",
+ "6560fdf0.41af04",
+ "154e832e.5e511d",
+ "e4eade49.24ee3"
]
]
},
{
- "id": "e2e4a468.8a1838",
+ "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": 1200.020767211914,
- "y": 705.3542108535767,
- "z": "d6ec916.8139a7",
+ "x": 2953.0106353759766,
+ "y": 1456.3437967300415,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "89dd4b27.cf59d8",
+ "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": 1209.0208587646484,
- "y": 818.3542070388794,
- "z": "d6ec916.8139a7",
+ "x": 2962.010726928711,
+ "y": 1569.3437929153442,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "67336a18.ae2e64",
+ "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": 1176.0208435058594,
- "y": 923.3541641235352,
- "z": "d6ec916.8139a7",
+ "x": 2929.010711669922,
+ "y": 1674.34375,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "ef644403.24c058",
- "fdf802eb.60d9c"
+ "d74aa54e.f27c88",
+ "9378eaa3.65e2f8"
]
]
},
{
- "id": "ef644403.24c058",
+ "id": "d74aa54e.f27c88",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1391.0208435058594,
- "y": 866.3541641235352,
- "z": "d6ec916.8139a7",
+ "x": 3144.010711669922,
+ "y": 1617.34375,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "8b811332.af384"
+ "997ca9c.41b6c58"
]
]
},
{
- "id": "fdf802eb.60d9c",
+ "id": "9378eaa3.65e2f8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1391.0207214355469,
- "y": 962.3540420532227,
- "z": "d6ec916.8139a7",
+ "x": 3164.010841369629,
+ "y": 1713.3436126708984,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "e176cd2e.3e59"
+ "4753cdbc.31ee14"
]
]
},
{
- "id": "8b811332.af384",
+ "id": "997ca9c.41b6c58",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1560.0207214355469,
- "y": 877.3541641235352,
- "z": "d6ec916.8139a7",
+ "x": 3313.0105895996094,
+ "y": 1628.34375,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "476e5e5b.ebfba"
+ "1c97caa5.8b3e15"
]
]
},
{
- "id": "e176cd2e.3e59",
+ "id": "4753cdbc.31ee14",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1553.0204772949219,
- "y": 963.3541641235352,
- "z": "d6ec916.8139a7",
+ "x": 3326.010597229004,
+ "y": 1714.343734741211,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "13d8c36c.6c2d3d"
+ "d11ea715.e3fd28"
]
]
},
{
- "id": "476e5e5b.ebfba",
+ "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": 1714.0204162597656,
- "y": 870.3541641235352,
- "z": "d6ec916.8139a7",
+ "x": 3467.010284423828,
+ "y": 1621.34375,
+ "z": "ba52aa5d.7da518",
"wires": []
},
{
- "id": "13d8c36c.6c2d3d",
+ "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": 1708.0206756591797,
- "y": 960.354172706604,
- "z": "d6ec916.8139a7",
+ "x": 3481.0107955932617,
+ "y": 1711.3437433242798,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "358802c3.47e34e",
+ "id": "aa27e8cf.b39f28",
"type": "switchNode",
"name": "switch configdb deployed",
"xml": "<switch test='`$prop.configdb-deployed`'>\n",
"comments": "",
"outputs": 1,
- "x": 801.0208587646484,
- "y": 646.3541851043701,
- "z": "d6ec916.8139a7",
+ "x": 2554.010726928711,
+ "y": 1397.343770980835,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "85f30747.c1b888",
- "2d20c343.20b36c"
+ "6a49ba23.7746d4",
+ "cc42a191.e0004"
]
]
},
{
- "id": "85f30747.c1b888",
+ "id": "6a49ba23.7746d4",
"type": "outcome",
"name": "Deployed",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 843.0208435058594,
- "y": 776.3541641235352,
- "z": "d6ec916.8139a7",
+ "x": 2596.010711669922,
+ "y": 1527.34375,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "f89579dd.91a288"
+ "7424cc7d.ccb014"
]
]
},
{
- "id": "68bfb6e.dac1e48",
+ "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": 1268.0207977294922,
- "y": 757.46537733078,
- "z": "d6ec916.8139a7",
+ "x": 3021.0106658935547,
+ "y": 1508.4549632072449,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "8a8d9414.5fc568",
+ "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": 1240.0207710266113,
- "y": 632.5763521194458,
- "z": "d6ec916.8139a7",
+ "x": 2993.010639190674,
+ "y": 1383.5659379959106,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "2d20c343.20b36c",
+ "id": "cc42a191.e0004",
"type": "outcome",
"name": "Not Deployed",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1066.020736694336,
- "y": 628.687421798706,
- "z": "d6ec916.8139a7",
+ "x": 2819.0106048583984,
+ "y": 1379.677007675171,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "8a8d9414.5fc568"
+ "e07e5cdd.da815"
]
]
},
{
- "id": "94a1fc66.854fd",
+ "id": "ff37f9a6.16ed88",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 907.0208435058594,
- "y": 1930.5764541625977,
- "z": "d6ec916.8139a7",
+ "x": 1320.0108184814453,
+ "y": 1901.5660190582275,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "dd73feca.07c61",
- "37207b6c.909104",
- "b87cd468.06cb68",
- "ab8ee4d1.6884d8"
+ "f2852183.ee3b4",
+ "9a03809.1c2d58",
+ "448062de.87a78c",
+ "9026912f.b13aa"
]
]
},
{
- "id": "dd73feca.07c61",
+ "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": 1234.0207824707031,
- "y": 1791.5764608383179,
- "z": "d6ec916.8139a7",
+ "x": 1647.010757446289,
+ "y": 1762.5660257339478,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "37207b6c.909104",
+ "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": 1165.0208435058594,
- "y": 2001.5764541625977,
- "z": "d6ec916.8139a7",
+ "x": 1578.0108184814453,
+ "y": 1972.5660190582275,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "1813ece8.963fa3",
- "183b086e.f8d5e8"
+ "695c2325.89324c",
+ "1fbc5cff.613303"
]
]
},
{
- "id": "1813ece8.963fa3",
+ "id": "695c2325.89324c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1380.0208435058594,
- "y": 1944.5764541625977,
- "z": "d6ec916.8139a7",
+ "x": 1793.0108184814453,
+ "y": 1915.5660190582275,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "6a8582d5.f0470c"
+ "1ccf94d5.42d15b"
]
]
},
{
- "id": "183b086e.f8d5e8",
+ "id": "1fbc5cff.613303",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1380.0207214355469,
- "y": 2040.5763320922852,
- "z": "d6ec916.8139a7",
+ "x": 1793.0106964111328,
+ "y": 2011.565896987915,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "6f48523c.7e7b2c"
+ "e2c4f9c3.8b9ba8"
]
]
},
{
- "id": "6a8582d5.f0470c",
+ "id": "1ccf94d5.42d15b",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1549.0207214355469,
- "y": 1955.5764541625977,
- "z": "d6ec916.8139a7",
+ "x": 1962.0106964111328,
+ "y": 1926.5660190582275,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "9bd49b3c.96bdb8"
+ "214727bf.7723f8"
]
]
},
{
- "id": "6f48523c.7e7b2c",
+ "id": "e2c4f9c3.8b9ba8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1542.0204772949219,
- "y": 2041.5764541625977,
- "z": "d6ec916.8139a7",
+ "x": 1955.0104522705078,
+ "y": 2012.5660190582275,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "6bee533f.79d24c"
+ "caef39f.4de95c8"
]
]
},
{
- "id": "9bd49b3c.96bdb8",
+ "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": 1703.0204162597656,
- "y": 1948.5764541625977,
- "z": "d6ec916.8139a7",
+ "x": 2116.0103912353516,
+ "y": 1919.5660190582275,
+ "z": "ba52aa5d.7da518",
"wires": []
},
{
- "id": "6bee533f.79d24c",
+ "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": 1697.0206756591797,
- "y": 2038.5764627456665,
- "z": "d6ec916.8139a7",
+ "x": 2110.0106506347656,
+ "y": 2009.5660276412964,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "d0e25241.e0e23",
+ "id": "41d550d9.374ec",
"type": "switchNode",
"name": "switch configdb deployed",
"xml": "<switch test='`$prop.configdb-deployed`'>\n",
"comments": "",
"outputs": 1,
- "x": 723.0211181640625,
- "y": 1743.5765342712402,
- "z": "d6ec916.8139a7",
+ "x": 1136.0110931396484,
+ "y": 1714.5660991668701,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "5b4167c1.3f34a8",
- "dd0ef7.efed5108"
+ "dcb7f853.018138",
+ "fb0d1686.112c38"
]
]
},
{
- "id": "5b4167c1.3f34a8",
+ "id": "dcb7f853.018138",
"type": "outcome",
"name": "Deployed",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 927.0208969116211,
- "y": 1828.5764911174774,
- "z": "d6ec916.8139a7",
+ "x": 1340.010871887207,
+ "y": 1799.5660560131073,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "94a1fc66.854fd"
+ "ff37f9a6.16ed88"
]
]
},
{
- "id": "b87cd468.06cb68",
+ "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": 1285.0207824707031,
- "y": 1844.6877369880676,
- "z": "d6ec916.8139a7",
+ "x": 1698.010757446289,
+ "y": 1815.6773018836975,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "c3d98242.04a72",
+ "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": 1218.0208644866943,
- "y": 1741.798599243164,
- "z": "d6ec916.8139a7",
+ "x": 1631.0108394622803,
+ "y": 1712.788164138794,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
},
{
- "id": "dd0ef7.efed5108",
+ "id": "fb0d1686.112c38",
"type": "outcome",
"name": "Not Deployed",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1039.0207901000977,
- "y": 1728.9098176956177,
- "z": "d6ec916.8139a7",
+ "x": 1452.0107650756836,
+ "y": 1699.8993825912476,
+ "z": "ba52aa5d.7da518",
"wires": [
[
- "c3d98242.04a72"
+ "fc8b34c9.7d3958"
]
]
},
{
- "id": "ab8ee4d1.6884d8",
+ "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": 1230.5763397216797,
- "y": 1901.354133605957,
- "z": "d6ec916.8139a7",
+ "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": "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": 2436.6667404174805,
+ "y": 624.0000200271606,
+ "z": "ba52aa5d.7da518",
"wires": [
[]
]
}
-]
\ No newline at end of file
+]