[
{
- "id": "acb70e34.bf9d7",
+ "id": "7497e618.fbc9e8",
"type": "comment",
"name": "Generic Neighbor Configuration",
"info": "",
"comments": "",
- "x": 356,
- "y": 23,
- "z": "c197f7e7.1da478",
+ "x": 419.9999694824219,
+ "y": 51.666666984558105,
+ "z": "93716ca1.df16b",
"wires": []
},
{
- "id": "d3fed603.f6fc28",
+ "id": "b87f24bf.7b3ca8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 581.9999866485596,
- "y": 252.01049518585205,
- "z": "c197f7e7.1da478",
+ "x": 2332.00040435791,
+ "y": 926.6772809028625,
+ "z": "93716ca1.df16b",
"wires": [
[
- "dd03124b.c1ad6",
- "bb81a2c1.93396",
- "a007069.f2610f8",
- "92d276da.4c88e8",
- "198eb06.8f50d5",
- "f75fac3.b2d7e5",
- "1c57b1b4.beaaee",
- "1e96218.b0f68df",
- "15ad3471.a615dc",
- "cc8e22e1.329b1"
+ "4733a250.77958c",
+ "dc0a8329.30e8",
+ "ec9be427.25e9a8",
+ "387cb9f3.f70276",
+ "a97fcdf6.a499d",
+ "1de1e583.8fb7fa",
+ "5e95d235.988f0c",
+ "4f68e3db.956bac",
+ "d62d2854.e6ac28",
+ "15d3f16c.8176ef",
+ "57f80d61.d3fa74",
+ "f8b63e76.98572",
+ "1fdbb9e6.5c2526"
]
]
},
{
- "id": "86dca6b7.e82f88",
+ "id": "d893d229.1e59d",
"type": "for",
"name": "for",
- "xml": "<for index='idx' start='0' end=\"`$generic-neighbor-configuration-input.number-of-neighbor-cell-entries`\" >",
+ "xml": "<for index='idx' start='0' end=\"`$generic-neighbor-configuration-input.lte-cell-number-of-entries`\" >",
"comments": "",
"outputs": 1,
- "x": 544.0001831054688,
- "y": 401,
- "z": "c197f7e7.1da478",
+ "x": 1578.000389099121,
+ "y": 794.6668653488159,
+ "z": "93716ca1.df16b",
"wires": [
[
- "d3fed603.f6fc28"
+ "b87f24bf.7b3ca8"
]
]
},
{
- "id": "dd03124b.c1ad6",
+ "id": "4733a250.77958c",
"type": "set",
"name": "set tmp variables for the requested fap service input parms",
"xml": "<set>\n<parameter name=\"tmp.alias\" value=\"`$generic-neighbor-configuration-input.alias`\"/>\n<parameter name=\"tmp.plmnid\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].plmnid`\"/>\n<parameter name=\"tmp.cid\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].cid`\"/>\n<parameter name=\"tmp.phy-cell-id\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].phy-cell-id`\"/>\n<parameter name=\"tmp.pnf-name\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].pnf-name`\"/>\n<parameter name=\"tmp.blacklisted\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].blacklisted`\"/>\n",
"comments": "",
- "x": 928.0011596679688,
- "y": 45.88909912109375,
- "z": "c197f7e7.1da478",
+ "x": 2737.001449584961,
+ "y": 776.2224531173706,
+ "z": "93716ca1.df16b",
"wires": []
},
{
- "id": "bb81a2c1.93396",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Temporary varaibles set. Neighbor #: \"/>\n<parameter name=\"field2\" value=\"`$idx`\"/>\n<parameter name=\"field3\" value=\"`$tmp.plmnid`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cid`\"/>\n<parameter name=\"field5\" value=\"`$tmp.phy-cell-id`\"/>\n<parameter name=\"field6\" value=\"`$tmp.pnf-name`\"/>\n<parameter name=\"field7\" value=\"`$tmp.blacklisted`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 792.5105075836182,
- "y": 89.01042747497559,
- "z": "c197f7e7.1da478",
- "wires": [
- []
- ]
- },
- {
- "id": "ac8961a8.d1fb4",
+ "id": "9d97f004.d2075",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 119.48959350585938,
- "y": 279.9896240234375,
- "z": "c197f7e7.1da478",
+ "x": 153.48956298828125,
+ "y": 378.6563024520874,
+ "z": "93716ca1.df16b",
"wires": [
[
- "6501a6c8.9b7ae8",
- "32f454b1.f5ccfc",
- "32ca92c1.87b4ae",
- "dc78859c.2a1938",
- "fb252ea6.2716a",
- "c0db2192.9d16c"
+ "8a0a1234.c615",
+ "f8773aff.9925f8",
+ "d8c9c555.90df68",
+ "e0d1bd80.fdd2c",
+ "c8406de0.e7d19",
+ "655b71f9.458d1",
+ "b025f934.fbf218",
+ "3103a38e.d771ec",
+ "2816cf49.04226",
+ "16823f81.eb375",
+ "ecefd81d.f9cab8",
+ "560d1a47.8473d4",
+ "2e676669.44090a",
+ "3f5bd73.2a4f028",
+ "a8b2bc66.e3a98",
+ "4eb9dd77.949f74",
+ "902d542b.495ea8",
+ "f1691caa.0d71"
]
]
},
{
- "id": "93ef8347.1a6f",
+ "id": "db5a5af.157f7a8",
"type": "method",
"name": "method",
"xml": "<method rpc='generic-neighbor-configuration' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 105,
- "y": 180.9895782470703,
- "z": "c197f7e7.1da478",
+ "x": 170.99996948242188,
+ "y": 210.65624523162842,
+ "z": "93716ca1.df16b",
"wires": [
[
- "ac8961a8.d1fb4"
+ "9d97f004.d2075"
]
]
},
{
- "id": "6501a6c8.9b7ae8",
+ "id": "8a0a1234.c615",
"type": "returnSuccess",
"name": "return success",
"xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"SUCCESSFUL Execution\" />\n",
"comments": "",
- "x": 160.00033569335938,
- "y": 647.98974609375,
- "z": "c197f7e7.1da478",
+ "x": 174.00030899047852,
+ "y": 2869.656632423401,
+ "z": "93716ca1.df16b",
"wires": []
},
{
- "id": "32f454b1.f5ccfc",
+ "id": "f8773aff.9925f8",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RPC to Configure Neighbors INVOKED. Number of Neighbors to configure: \"/>\n<parameter name=\"field2\" value=\"`$generic-neighbor-configuration-input.number-of-neighbor-cell-entries`\"/>\n",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RPC to Configure Neighbors INVOKED. Number of Neighbors to configure: \"/>\n<parameter name=\"field2\" value=\"`$generic-neighbor-configuration-input.lte-cell-number-of-entries`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 406.00030517578125,
- "y": 80.01042938232422,
- "z": "c197f7e7.1da478",
+ "x": 470.0002746582031,
+ "y": 108.67709636688232,
+ "z": "93716ca1.df16b",
"wires": [
[]
]
},
{
- "id": "32ca92c1.87b4ae",
+ "id": "d8c9c555.90df68",
"type": "for",
"name": "for",
- "xml": "<for index='idx' start='0' end=\"`$generic-neighbor-configuration-input.number-of-neighbor-cell-entries`\" >",
+ "xml": "<for index='idx' start='0' end=\"`$generic-neighbor-configuration-input.lte-cell-number-of-entries`\" >",
"comments": "",
"outputs": 1,
- "x": 417.085693359375,
- "y": 126.95317077636719,
- "z": "c197f7e7.1da478",
+ "x": 481.0856628417969,
+ "y": 155.6198377609253,
+ "z": "93716ca1.df16b",
"wires": [
[
- "e3ecab0.b7f5858"
+ "89da7c92.4df0d"
]
]
},
{
- "id": "dc78859c.2a1938",
+ "id": "e0d1bd80.fdd2c",
"type": "execute",
"name": "execute Properties",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='%SDNC_CONFIG_DIR%/sdnr-oofpcipoc-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='/opt/onap/ccsdk/data/properties/sdnr-oofpcipoc-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n",
"comments": "",
"outputs": 1,
- "x": 420.00018310546875,
- "y": 185.01040649414062,
- "z": "c197f7e7.1da478",
+ "x": 491.0001525878906,
+ "y": 204.67707347869873,
+ "z": "93716ca1.df16b",
"wires": [
[]
]
},
{
- "id": "fb252ea6.2716a",
+ "id": "c8406de0.e7d19",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Properties read .. generic neighbor config template\"/>\n<parameter name=\"field2\" value=\"`$prop.restapi.generic-neighbor-patch.template`\"/>\n<parameter name=\"field3\" value=\"`$prop.controller.user`\"/>\n<parameter name=\"field4\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"field5\" value=\"`$prop.controller.url`\"/>",
"comments": "",
"outputs": 1,
- "x": 350.00030517578125,
- "y": 243.010498046875,
- "z": "c197f7e7.1da478",
+ "x": 457.0002746582031,
+ "y": 245.6771650314331,
+ "z": "93716ca1.df16b",
"wires": [
[]
]
},
{
- "id": "2071d805.4be628",
+ "id": "9719444.b72f1b8",
"type": "service-logic",
- "name": "oofpcipoc-api 0.4.2-SNAPSHOT",
+ "name": "oofpcipoc-api ${project.version}",
"module": "oofpcipoc-api",
"version": "${project.version}",
"comments": "",
- "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='oofpcipoc-api' version='0.4.2-SNAPSHOT'>",
+ "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='oofpcipoc-api' version='${project.version}'>",
"outputs": 1,
- "x": 160.99998474121094,
- "y": 91.98968505859375,
- "z": "c197f7e7.1da478",
+ "x": 224.9999542236328,
+ "y": 120.65635204315186,
+ "z": "93716ca1.df16b",
"wires": [
[
- "93ef8347.1a6f"
+ "db5a5af.157f7a8"
]
]
},
{
- "id": "e3ecab0.b7f5858",
+ "id": "89da7c92.4df0d",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Input RPC Payload request. Neighbor #: \"/>\n<parameter name=\"field2\" value=\"`$idx`\"/>\n<parameter name=\"field3\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].plmnid`\"/>\n<parameter name=\"field4\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].cid`\"/>\n<parameter name=\"field5\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].phy-cell-id`\"/>\n<parameter name=\"field6\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].pnf-name`\"/>\n<parameter name=\"field7\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].blacklisted`\"/>",
"comments": "",
"outputs": 1,
- "x": 582.0005493164062,
- "y": 110.98963165283203,
- "z": "c197f7e7.1da478",
+ "x": 646.0005187988281,
+ "y": 139.65629863739014,
+ "z": "93716ca1.df16b",
"wires": [
[]
]
},
{
- "id": "6ed34cf7.c51b14",
+ "id": "556d3bac.37b8d4",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 96,
- "y": 29.989585876464844,
- "z": "c197f7e7.1da478",
+ "x": 159.99996948242188,
+ "y": 58.65625286102295,
+ "z": "93716ca1.df16b",
"wires": [
[
- "2071d805.4be628"
+ "9719444.b72f1b8"
]
]
},
{
- "id": "cc8e22e1.329b1",
+ "id": "1de1e583.8fb7fa",
"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`\"/>",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchNRCellRelation`\"/>\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": 863.5108642578125,
- "y": 133.56614685058594,
- "z": "c197f7e7.1da478",
+ "x": 2655.8447341918945,
+ "y": 982.2327842712402,
+ "z": "93716ca1.df16b",
"wires": [
[]
]
},
{
- "id": "a007069.f2610f8",
+ "id": "dc0a8329.30e8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Config Neighbor List URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.config-neighbor-service-url`\"/>",
"comments": "",
"outputs": 1,
- "x": 790.510498046875,
- "y": 186.7882080078125,
- "z": "c197f7e7.1da478",
- "wires": [
- []
- ]
- },
- {
- "id": "92d276da.4c88e8",
- "type": "execute",
- "name": "populate plmnid",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.config-neighbor-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{plmnid}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.plmnid`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 992.5106258392334,
- "y": 198.78822231292725,
- "z": "c197f7e7.1da478",
- "wires": [
- []
- ]
- },
- {
- "id": "198eb06.8f50d5",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Config Neighbor List URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.config-neighbor-service-url`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 860.5104789733887,
- "y": 242.78819751739502,
- "z": "c197f7e7.1da478",
- "wires": [
- []
- ]
- },
- {
- "id": "f75fac3.b2d7e5",
- "type": "execute",
- "name": "populate cid",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.config-neighbor-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{cid}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 883.5105075836182,
- "y": 287.7882204055786,
- "z": "c197f7e7.1da478",
+ "x": 2589.510669708252,
+ "y": 1180.454996585846,
+ "z": "93716ca1.df16b",
"wires": [
[]
]
},
{
- "id": "1e96218.b0f68df",
+ "id": "387cb9f3.f70276",
"type": "execute",
"name": "Configure neighbor using PATCH",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/oofpcipoc-generic-neighbor-patch.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.config-neighbor-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-neighbor-patch-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/yang.patch-status+json' />",
"comments": "",
"outputs": 1,
- "x": 915.510498046875,
- "y": 427.788330078125,
- "z": "c197f7e7.1da478",
+ "x": 2624.510757446289,
+ "y": 1281.455023765564,
+ "z": "93716ca1.df16b",
"wires": [
[
- "9ab812b9.2441c",
- "b2feb5f3.1f8718"
+ "824122cc.ec932",
+ "6c82f7ae.11e058"
]
]
},
{
- "id": "9ab812b9.2441c",
+ "id": "824122cc.ec932",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1176.5103855133057,
- "y": 440.77778339385986,
- "z": "c197f7e7.1da478",
+ "x": 2995.5106296539307,
+ "y": 1155.444450378418,
+ "z": "93716ca1.df16b",
"wires": [
[
- "94c0690e.412458"
+ "7f135f2b.5e4e"
]
]
},
{
- "id": "b2feb5f3.1f8718",
+ "id": "6c82f7ae.11e058",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1194.5104274749756,
- "y": 508.7776098251343,
- "z": "c197f7e7.1da478",
+ "x": 2997.5105743408203,
+ "y": 1219.444281578064,
+ "z": "93716ca1.df16b",
"wires": [
[
- "42fa2758.89b668"
+ "c824fb0e.366fb8"
]
]
},
{
- "id": "a8f77123.4f739",
+ "id": "2259619a.132d9e",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PATCH Neighbor Executed Successfully \"/>",
"comments": "",
"outputs": 1,
- "x": 1532.5101795196533,
- "y": 495.7777180671692,
- "z": "c197f7e7.1da478",
+ "x": 3328.510368347168,
+ "y": 1215.444369316101,
+ "z": "93716ca1.df16b",
"wires": [
[]
]
},
{
- "id": "42fa2758.89b668",
+ "id": "c824fb0e.366fb8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1374.5100917816162,
- "y": 506.7776908874512,
- "z": "c197f7e7.1da478",
+ "x": 3164.5104179382324,
+ "y": 1218.4443635940552,
+ "z": "93716ca1.df16b",
"wires": [
[
- "a8f77123.4f739"
+ "2259619a.132d9e"
]
]
},
{
- "id": "94c0690e.412458",
+ "id": "7f135f2b.5e4e",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1335.510248184204,
- "y": 449.7777690887451,
- "z": "c197f7e7.1da478",
+ "x": 3154.510492324829,
+ "y": 1164.4444360733032,
+ "z": "93716ca1.df16b",
"wires": [
[
- "8f2a4b45.9518e8"
+ "8001866e.ecf208"
]
]
},
{
- "id": "8f2a4b45.9518e8",
+ "id": "8001866e.ecf208",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding a new neighbor\" />",
"comments": "",
- "x": 1511.5100116729736,
- "y": 434.77774238586426,
- "z": "c197f7e7.1da478",
+ "x": 3330.5102558135986,
+ "y": 1149.4444093704224,
+ "z": "93716ca1.df16b",
"wires": []
},
{
- "id": "1c57b1b4.beaaee",
+ "id": "ec9be427.25e9a8",
"type": "execute",
"name": "Get neighbor details pre-configuration",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.config-neighbor-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-neighbor-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n",
"comments": "",
"outputs": 1,
- "x": 913.5104370117188,
- "y": 339.7882080078125,
- "z": "c197f7e7.1da478",
+ "x": 2649.1774291992188,
+ "y": 1228.4549360275269,
+ "z": "93716ca1.df16b",
"wires": [
[
- "6f64c3b4.09149c",
- "b4abf739.6c1f68"
+ "5cc21c61.53ce94",
+ "8abf7676.42ec98"
]
]
},
{
- "id": "6f64c3b4.09149c",
+ "id": "5cc21c61.53ce94",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1164.5105381011963,
- "y": 321.4442539215088,
- "z": "c197f7e7.1da478",
+ "x": 3000.5107421875,
+ "y": 1040.1109161376953,
+ "z": "93716ca1.df16b",
"wires": [
[
- "a028bb53.ce35a8"
+ "9fc3eccd.d50ad"
]
]
},
{
- "id": "b4abf739.6c1f68",
+ "id": "8abf7676.42ec98",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1159.5103702545166,
- "y": 377.44440746307373,
- "z": "c197f7e7.1da478",
+ "x": 2987.5106353759766,
+ "y": 1104.1110639572144,
+ "z": "93716ca1.df16b",
"wires": [
[
- "f4e4f96.daf0108"
+ "34e2f3c6.0b029c"
]
]
},
{
- "id": "f4e4f96.daf0108",
+ "id": "34e2f3c6.0b029c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1311.5101871490479,
- "y": 386.44431257247925,
- "z": "c197f7e7.1da478",
+ "x": 3130.510431289673,
+ "y": 1101.1109795570374,
+ "z": "93716ca1.df16b",
"wires": [
[
- "d3310510.124b48"
+ "cd9b04e7.c021d8"
]
]
},
{
- "id": "d3310510.124b48",
+ "id": "cd9b04e7.c021d8",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Details about Neighbor Pre-configuration\"/>\n<parameter name=\"field2\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].plmnid`\"/>\n<parameter name=\"field3\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].cid`\"/>\n<parameter name=\"field4\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].phy-cell-id`\"/>\n<parameter name=\"field5\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].pnf-name`\"/>\n<parameter name=\"field6\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].blacklisted`\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Details about Neighbor Pre-configuration\"/>\n<parameter name=\"field2\" value=\"`$oofpci-neighbor-response.attributes.nRTCI`\"/>\n<parameter name=\"field3\" value=\"`$oofpci-neighbor-response.attributes.isHOAllowed`\"/>",
"comments": "",
"outputs": 1,
- "x": 1472.510103225708,
- "y": 380.44458293914795,
- "z": "c197f7e7.1da478",
+ "x": 3291.510347366333,
+ "y": 1095.111249923706,
+ "z": "93716ca1.df16b",
"wires": [
[]
]
},
{
- "id": "a028bb53.ce35a8",
+ "id": "9fc3eccd.d50ad",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error getting details about new neighbor \" />",
"comments": "",
- "x": 1365.5103282928467,
- "y": 327.44426250457764,
- "z": "c197f7e7.1da478",
+ "x": 3199.5106353759766,
+ "y": 1030.1109437942505,
+ "z": "93716ca1.df16b",
"wires": []
},
{
- "id": "15ad3471.a615dc",
+ "id": "a97fcdf6.a499d",
"type": "execute",
"name": "Get neighbor details post-configuration",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.config-neighbor-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-neighbor-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n",
"comments": "",
"outputs": 1,
- "x": 871.5104370117188,
- "y": 503.67706298828125,
- "z": "c197f7e7.1da478",
+ "x": 2630.510757446289,
+ "y": 1335.6770753860474,
+ "z": "93716ca1.df16b",
"wires": [
[
- "144ccd4d.5f33d3",
- "6b712cb1.c5f834"
+ "fac5fb98.f8bda8",
+ "c868ebf.6c9bd18"
]
]
},
{
- "id": "144ccd4d.5f33d3",
+ "id": "fac5fb98.f8bda8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1204.5105381011963,
- "y": 559.3331089019775,
- "z": "c197f7e7.1da478",
+ "x": 3025.5106811523438,
+ "y": 1266.9997720718384,
+ "z": "93716ca1.df16b",
"wires": [
[
- "5f6e00fc.ed03a"
+ "29b41d9b.c7aa62"
]
]
},
{
- "id": "6b712cb1.c5f834",
+ "id": "c868ebf.6c9bd18",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1199.5103702545166,
- "y": 615.3332624435425,
- "z": "c197f7e7.1da478",
+ "x": 3018.5105743408203,
+ "y": 1318.9999685287476,
+ "z": "93716ca1.df16b",
"wires": [
[
- "4913d618.0c8fe8"
+ "e84a4e3c.2a362"
]
]
},
{
- "id": "4913d618.0c8fe8",
+ "id": "e84a4e3c.2a362",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1351.5101871490479,
- "y": 624.333167552948,
- "z": "c197f7e7.1da478",
+ "x": 3187.5103340148926,
+ "y": 1325.9999074935913,
+ "z": "93716ca1.df16b",
"wires": [
[
- "1c9c0def.8b9082"
+ "7d034b7a.7ded04"
]
]
},
{
- "id": "5f6e00fc.ed03a",
+ "id": "29b41d9b.c7aa62",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error getting details about new neighbor \" />",
"comments": "",
- "x": 1405.5103282928467,
- "y": 565.3331174850464,
- "z": "c197f7e7.1da478",
+ "x": 3198.5106353759766,
+ "y": 1263.9997997283936,
+ "z": "93716ca1.df16b",
"wires": []
},
{
- "id": "1c9c0def.8b9082",
+ "id": "7d034b7a.7ded04",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Details about Neighbor Pre-configuration\"/>\n<parameter name=\"field2\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].plmnid`\"/>\n<parameter name=\"field3\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].cid`\"/>\n<parameter name=\"field4\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].phy-cell-id`\"/>\n<parameter name=\"field5\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].pnf-name`\"/>\n<parameter name=\"field6\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].blacklisted`\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Details about Neighbor Post-configuration\"/>\n<parameter name=\"field2\" value=\"`$oofpci-neighbor-response.attributes.nRTCI`\"/>\n<parameter name=\"field3\" value=\"`$oofpci-neighbor-response.attributes.isHOAllowed`\"/>",
"comments": "",
"outputs": 1,
- "x": 1512.5100955963135,
- "y": 617.3334121704102,
- "z": "c197f7e7.1da478",
+ "x": 3334.510368347168,
+ "y": 1324.0001239776611,
+ "z": "93716ca1.df16b",
"wires": [
[]
]
},
{
- "id": "1262f222.f1f98e",
+ "id": "f929eb5b.440608",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 530.9999866485596,
- "y": 869.999997138977,
- "z": "c197f7e7.1da478",
+ "x": 1049.0002975463867,
+ "y": 1296.6667041778564,
+ "z": "93716ca1.df16b",
"wires": [
[
- "4156eb3.49eb114",
- "28301c50.f9a394",
- "2aab82d0.4d643e",
- "c0b1bda4.651cf",
- "6b902758.7673c8",
- "f337f894.e1cc48",
- "fe8ae27d.83e96",
- "359b0369.a48e7c",
- "8d693ead.befbb",
- "38c29228.79ba4e",
- "411a695d.a4f048"
+ "d03e1f91.9c56d",
+ "a5ced40f.c5ed98",
+ "200057ef.f758b8",
+ "c6cfba86.3c2758",
+ "1535bf80.d7eaa1",
+ "3d1c31b8.6a42de",
+ "5731ee67.20bdf",
+ "72454488.439cfc",
+ "fa7a1ecf.9d12a",
+ "67a527dc.0e62f8",
+ "112b836f.c3a6fd",
+ "c1718eaa.0441e",
+ "b411ee0f.38431",
+ "1bc42ca7.cbfc53"
]
]
},
{
- "id": "ae52469b.df3fe8",
+ "id": "e1a1b2cb.34ffd",
"type": "for",
"name": "for",
- "xml": "<for index='idx' start='0' end=\"`$generic-neighbor-configuration-input.number-of-neighbor-cell-entries`\" >",
+ "xml": "<for index='idx' start='0' end=\"`$generic-neighbor-configuration-input.lte-cell-number-of-entries`\" >",
"comments": "",
"outputs": 1,
- "x": 513.0001831054688,
- "y": 493.989501953125,
- "z": "c197f7e7.1da478",
+ "x": 959.0002632141113,
+ "y": 888.6563310623169,
+ "z": "93716ca1.df16b",
"wires": [
[
- "1262f222.f1f98e"
+ "f929eb5b.440608"
]
]
},
{
- "id": "4156eb3.49eb114",
+ "id": "d03e1f91.9c56d",
"type": "set",
"name": "set tmp variables for the requested fap service input parms",
"xml": "<set>\n<parameter name=\"tmp.alias\" value=\"`$generic-neighbor-configuration-input.alias`\"/>\n<parameter name=\"tmp.plmnid\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].plmnid`\"/>\n<parameter name=\"tmp.cid\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].cid`\"/>\n<parameter name=\"tmp.phy-cell-id\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].phy-cell-id`\"/>\n<parameter name=\"tmp.pnf-name\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].pnf-name`\"/>\n<parameter name=\"tmp.blacklisted\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].blacklisted`\"/>\n",
"comments": "",
- "x": 839.0011596679688,
- "y": 598.8786010742188,
- "z": "c197f7e7.1da478",
+ "x": 1375.6682662963867,
+ "y": 932.2120847702026,
+ "z": "93716ca1.df16b",
"wires": []
},
{
- "id": "28301c50.f9a394",
- "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": 734.510498046875,
- "y": 642.9999389648438,
- "z": "c197f7e7.1da478",
- "wires": [
- []
- ]
- },
- {
- "id": "38c29228.79ba4e",
+ "id": "72454488.439cfc",
"type": "execute",
"name": "generate neighbor config URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.lte-ran-neighbor-in-use.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{alias}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.alias`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 827.5108642578125,
- "y": 691.5556640625,
- "z": "c197f7e7.1da478",
- "wires": [
- []
- ]
- },
- {
- "id": "2aab82d0.4d643e",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Config Neighbor List URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.config-neighbor-service-url`\"/>",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchNRCellRelation.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 768.510498046875,
- "y": 740.7777099609375,
- "z": "c197f7e7.1da478",
+ "x": 1361.5112609863281,
+ "y": 1154.2226314544678,
+ "z": "93716ca1.df16b",
"wires": [
[]
]
},
{
- "id": "c0b1bda4.651cf",
+ "id": "a5ced40f.c5ed98",
"type": "execute",
- "name": "populate plmnid",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.config-neighbor-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{plmnid}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.plmnid`\"/>",
+ "name": "populate idNRCellCU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.config-neighbor-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idNRCellCU`\"/>",
"comments": "",
"outputs": 1,
- "x": 832.5106201171875,
- "y": 836.7777099609375,
- "z": "c197f7e7.1da478",
+ "x": 1336.5109786987305,
+ "y": 1269.4447622299194,
+ "z": "93716ca1.df16b",
"wires": [
[]
]
},
{
- "id": "6b902758.7673c8",
+ "id": "200057ef.f758b8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Config Neighbor List URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.config-neighbor-service-url`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 807.510498046875,
- "y": 884.7777099609375,
- "z": "c197f7e7.1da478",
+ "x": 1287.5108909606934,
+ "y": 1372.5876927375793,
+ "z": "93716ca1.df16b",
"wires": [
[]
]
},
{
- "id": "f337f894.e1cc48",
+ "id": "c6cfba86.3c2758",
"type": "execute",
- "name": "populate cid",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.config-neighbor-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{cid}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>",
+ "name": "populate idNRCellRelation",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.config-neighbor-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{idNRCellRelation}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idNRCellRelation`\"/>",
"comments": "",
"outputs": 1,
- "x": 816.510498046875,
- "y": 921.7777099609375,
- "z": "c197f7e7.1da478",
+ "x": 1324.5107955932617,
+ "y": 1320.4446821212769,
+ "z": "93716ca1.df16b",
"wires": [
[]
]
},
{
- "id": "359b0369.a48e7c",
+ "id": "3d1c31b8.6a42de",
"type": "execute",
"name": "Configure neighbor using PATCH",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/oofpcipoc-generic-neighbor-patch.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.config-neighbor-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-neighbor-patch-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/yang.patch-status+json' />",
"comments": "",
"outputs": 1,
- "x": 830.510498046875,
- "y": 1051.77783203125,
- "z": "c197f7e7.1da478",
+ "x": 1348.5108089447021,
+ "y": 1478.4445390701294,
+ "z": "93716ca1.df16b",
"wires": [
[
- "aaf367ec.71a3d8",
- "f6e2a503.cab1e8"
+ "68f4d126.e55b1",
+ "b2bb07ce.f4e058"
]
]
},
{
- "id": "aaf367ec.71a3d8",
+ "id": "68f4d126.e55b1",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1125.5103855133057,
- "y": 1058.7672853469849,
- "z": "c197f7e7.1da478",
+ "x": 1643.5106964111328,
+ "y": 1485.4339923858643,
+ "z": "93716ca1.df16b",
"wires": [
[
- "d64f59f9.bbcd88"
+ "b9ec00d4.b538e"
]
]
},
{
- "id": "f6e2a503.cab1e8",
+ "id": "b2bb07ce.f4e058",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1143.5104274749756,
- "y": 1126.7671117782593,
- "z": "c197f7e7.1da478",
+ "x": 1661.5107383728027,
+ "y": 1553.4338188171387,
+ "z": "93716ca1.df16b",
"wires": [
[
- "ad51aa4c.6dd0f8"
+ "d7cf72c2.e9805"
]
]
},
{
- "id": "da0a9ad3.338348",
+ "id": "41489bd.b250264",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PATCH Neighbor Executed Successfully \"/>",
"comments": "",
"outputs": 1,
- "x": 1481.5101795196533,
- "y": 1113.7672200202942,
- "z": "c197f7e7.1da478",
+ "x": 1999.5104904174805,
+ "y": 1540.4339270591736,
+ "z": "93716ca1.df16b",
"wires": [
[]
]
},
{
- "id": "ad51aa4c.6dd0f8",
+ "id": "d7cf72c2.e9805",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1323.5100917816162,
- "y": 1124.7671928405762,
- "z": "c197f7e7.1da478",
+ "x": 1841.5104026794434,
+ "y": 1551.4338998794556,
+ "z": "93716ca1.df16b",
"wires": [
[
- "da0a9ad3.338348"
+ "41489bd.b250264"
]
]
},
{
- "id": "d64f59f9.bbcd88",
+ "id": "b9ec00d4.b538e",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1284.510248184204,
- "y": 1067.7672710418701,
- "z": "c197f7e7.1da478",
+ "x": 1802.5105590820312,
+ "y": 1494.4339780807495,
+ "z": "93716ca1.df16b",
"wires": [
[
- "1a1c9666.4c773a"
+ "132f7afb.055025"
]
]
},
{
- "id": "1a1c9666.4c773a",
+ "id": "132f7afb.055025",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding a new neighbor\" />",
"comments": "",
- "x": 1460.5100116729736,
- "y": 1052.7672443389893,
- "z": "c197f7e7.1da478",
+ "x": 1978.5103225708008,
+ "y": 1479.4339513778687,
+ "z": "93716ca1.df16b",
"wires": []
},
{
- "id": "fe8ae27d.83e96",
+ "id": "1535bf80.d7eaa1",
"type": "execute",
"name": "Get neighbor details pre-configuration",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.config-neighbor-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-neighbor-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n",
"comments": "",
"outputs": 1,
- "x": 840.5104370117188,
- "y": 966.7777099609375,
- "z": "c197f7e7.1da478",
+ "x": 1376.5107727050781,
+ "y": 1425.444561958313,
+ "z": "93716ca1.df16b",
"wires": [
[
- "dc414a11.7edb78",
- "9db5bb73.2d55e8"
+ "ffb3bdf3.53433",
+ "65b8d71f.1788f8"
]
]
},
{
- "id": "dc414a11.7edb78",
+ "id": "ffb3bdf3.53433",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1113.5105381011963,
- "y": 939.4337558746338,
- "z": "c197f7e7.1da478",
+ "x": 1631.5108489990234,
+ "y": 1366.1004629135132,
+ "z": "93716ca1.df16b",
"wires": [
[
- "64dcc609.fa2868"
+ "b8b2890a.64acb8"
]
]
},
{
- "id": "9db5bb73.2d55e8",
+ "id": "65b8d71f.1788f8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1108.5103702545166,
- "y": 995.4339094161987,
- "z": "c197f7e7.1da478",
+ "x": 1626.5106811523438,
+ "y": 1422.1006164550781,
+ "z": "93716ca1.df16b",
"wires": [
[
- "47f38d6d.89f364"
+ "e1049af6.3e7568"
]
]
},
{
- "id": "47f38d6d.89f364",
+ "id": "e1049af6.3e7568",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1260.5101871490479,
- "y": 1004.4338145256042,
- "z": "c197f7e7.1da478",
+ "x": 1778.510498046875,
+ "y": 1431.1005215644836,
+ "z": "93716ca1.df16b",
"wires": [
[
- "ab46d61a.7a0318"
+ "dcb8a2b0.2ca1d"
]
]
},
{
- "id": "ab46d61a.7a0318",
+ "id": "dcb8a2b0.2ca1d",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Details about Neighbor Pre-configuration\"/>\n<parameter name=\"field2\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].plmnid`\"/>\n<parameter name=\"field3\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].cid`\"/>\n<parameter name=\"field4\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].phy-cell-id`\"/>\n<parameter name=\"field5\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].pnf-name`\"/>\n<parameter name=\"field6\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].blacklisted`\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Details about Neighbor Pre-configuration\"/>\n<parameter name=\"field2\" value=\"`$oofpci-neighbor-response.attributes.nRTCI`\"/>\n<parameter name=\"field3\" value=\"`$oofpci-neighbor-response.attributes.isHOAllowed`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1421.510103225708,
- "y": 998.434084892273,
- "z": "c197f7e7.1da478",
+ "x": 1939.5104508399963,
+ "y": 1425.1008186340332,
+ "z": "93716ca1.df16b",
"wires": [
[]
]
},
{
- "id": "64dcc609.fa2868",
+ "id": "b8b2890a.64acb8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error getting details about new neighbor \" />",
"comments": "",
- "x": 1314.5103282928467,
- "y": 945.4337644577026,
- "z": "c197f7e7.1da478",
+ "x": 1832.5106391906738,
+ "y": 1372.100471496582,
+ "z": "93716ca1.df16b",
"wires": []
},
{
- "id": "8d693ead.befbb",
+ "id": "5731ee67.20bdf",
"type": "execute",
"name": "Get neighbor details post-configuration",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.config-neighbor-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-neighbor-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n",
"comments": "",
"outputs": 1,
- "x": 796.5104370117188,
- "y": 1165.6666259765625,
- "z": "c197f7e7.1da478",
+ "x": 1314.510747909546,
+ "y": 1592.333333015442,
+ "z": "93716ca1.df16b",
"wires": [
[
- "8f75a41.6426d58",
- "23c81cd0.efa084"
+ "791b1b2d.b6fc04",
+ "83ecad5c.08b18"
]
]
},
{
- "id": "8f75a41.6426d58",
+ "id": "791b1b2d.b6fc04",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1153.5105381011963,
- "y": 1177.3226108551025,
- "z": "c197f7e7.1da478",
+ "x": 1671.5108489990234,
+ "y": 1603.989317893982,
+ "z": "93716ca1.df16b",
"wires": [
[
- "bfbdf11e.993f7"
+ "5765dd3c.e9a584"
]
]
},
{
- "id": "23c81cd0.efa084",
+ "id": "83ecad5c.08b18",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1148.5103702545166,
- "y": 1233.3227643966675,
- "z": "c197f7e7.1da478",
+ "x": 1666.5106811523438,
+ "y": 1659.9894714355469,
+ "z": "93716ca1.df16b",
"wires": [
[
- "4d4d048c.c416cc"
+ "4aa99161.720b"
]
]
},
{
- "id": "4d4d048c.c416cc",
+ "id": "4aa99161.720b",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1300.5101871490479,
- "y": 1242.322669506073,
- "z": "c197f7e7.1da478",
+ "x": 1818.510498046875,
+ "y": 1668.9893765449524,
+ "z": "93716ca1.df16b",
"wires": [
[
- "fcddb4e7.12b6d8"
+ "840d8d33.ff91a"
]
]
},
{
- "id": "bfbdf11e.993f7",
+ "id": "5765dd3c.e9a584",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error getting details about new neighbor \" />",
"comments": "",
- "x": 1354.5103282928467,
- "y": 1183.3226194381714,
- "z": "c197f7e7.1da478",
+ "x": 1872.5106391906738,
+ "y": 1609.9893264770508,
+ "z": "93716ca1.df16b",
"wires": []
},
{
- "id": "fcddb4e7.12b6d8",
+ "id": "840d8d33.ff91a",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Details about Neighbor Pre-configuration\"/>\n<parameter name=\"field2\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].plmnid`\"/>\n<parameter name=\"field3\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].cid`\"/>\n<parameter name=\"field4\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].phy-cell-id`\"/>\n<parameter name=\"field5\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].pnf-name`\"/>\n<parameter name=\"field6\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].blacklisted`\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Details about Neighbor Post-configuration\"/>\n<parameter name=\"field2\" value=\"`$oofpci-neighbor-response.attributes.nRTCI`\"/>\n<parameter name=\"field3\" value=\"`$oofpci-neighbor-response.attributes.isHOAllowed`\"/>",
"comments": "",
"outputs": 1,
- "x": 1461.5100955963135,
- "y": 1235.3229141235352,
- "z": "c197f7e7.1da478",
+ "x": 1979.5104064941406,
+ "y": 1661.9896211624146,
+ "z": "93716ca1.df16b",
"wires": [
[]
]
},
{
- "id": "8472ac8d.f6ede",
+ "id": "836164a0.8f5908",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 420,
- "y": 320,
- "z": "c197f7e7.1da478",
+ "x": 1250.0000839233398,
+ "y": 799.6667852401733,
+ "z": "93716ca1.df16b",
"wires": [
[
- "86dca6b7.e82f88"
+ "d893d229.1e59d"
]
]
},
{
- "id": "c0db2192.9d16c",
+ "id": "655b71f9.458d1",
"type": "switchNode",
"name": "switch mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 318,
- "y": 409,
- "z": "c197f7e7.1da478",
+ "x": 533,
+ "y": 823.6667356491089,
+ "z": "93716ca1.df16b",
"wires": [
[
- "8472ac8d.f6ede",
- "5a41edd6.afaa34"
+ "836164a0.8f5908",
+ "f8eae7b7.829e38"
]
]
},
{
- "id": "5a41edd6.afaa34",
+ "id": "f8eae7b7.829e38",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 351,
- "y": 487,
- "z": "c197f7e7.1da478",
+ "x": 756.0000038146973,
+ "y": 863.6667470932007,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "e1a1b2cb.34ffd"
+ ]
+ ]
+ },
+ {
+ "id": "fa7a1ecf.9d12a",
+ "type": "execute",
+ "name": "populate idGNBCUCPFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.config-neighbor-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUCPFunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1359.0004425048828,
+ "y": 1234.6669702529907,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "52143aa1.b77114",
+ "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": 999.0104293823242,
+ "y": 2645.12168122828,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "e440e098.78e0c",
+ "7053a05.65d0d6"
+ ]
+ ]
+ },
+ {
+ "id": "e440e098.78e0c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1273.0104293823242,
+ "y": 2614.12168122828,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "576ec5c3.1d1b0c"
+ ]
+ ]
+ },
+ {
+ "id": "576ec5c3.1d1b0c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1464.0104293823242,
+ "y": 2617.12168122828,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "8466c66f.0d0e98"
+ ]
+ ]
+ },
+ {
+ "id": "8466c66f.0d0e98",
+ "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": 1632.0104293823242,
+ "y": 2618.12168122828,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a73a0ee8.bd8fb",
+ "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": 971.5104293823242,
+ "y": 2761.12168122828,
+ "z": "93716ca1.df16b",
"wires": [
[
- "ae52469b.df3fe8"
+ "afa088b0.5ed568",
+ "505337c.4e27cc8"
]
]
},
{
- "id": "411a695d.a4f048",
+ "id": "4c7ec6de.f7c0e8",
"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": "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": 961.0104293823242,
+ "y": 2843.12168122828,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "367fbfbb.3f84b",
+ "85f2cc20.ba3c"
+ ]
+ ]
+ },
+ {
+ "id": "367fbfbb.3f84b",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1143.5104293823242,
+ "y": 2851.12168122828,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "65dff440.5780ac"
+ ]
+ ]
+ },
+ {
+ "id": "65dff440.5780ac",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1328.5104293823242,
+ "y": 2849.12168122828,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "92783d84.1e475"
+ ]
+ ]
+ },
+ {
+ "id": "92783d84.1e475",
+ "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": 1530.5104293823242,
+ "y": 2844.12168122828,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "afa088b0.5ed568",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1165.0104293823242,
+ "y": 2729.12168122828,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "568762d7.690adc"
+ ]
+ ]
+ },
+ {
+ "id": "568762d7.690adc",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1340.0104293823242,
+ "y": 2743.12168122828,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "53b43155.d39b3"
+ ]
+ ]
+ },
+ {
+ "id": "53b43155.d39b3",
+ "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": 837,
- "y": 792,
- "z": "c197f7e7.1da478",
+ "x": 1534.0104675292969,
+ "y": 2748.1217332035303,
+ "z": "93716ca1.df16b",
"wires": [
[]
]
+ },
+ {
+ "id": "7053a05.65d0d6",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1272.0104293823242,
+ "y": 2671.12168122828,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "2c1648f2.22bda8"
+ ]
+ ]
+ },
+ {
+ "id": "2c1648f2.22bda8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1441.0103073120117,
+ "y": 2677.12168122828,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "94bab17f.bef16"
+ ]
+ ]
+ },
+ {
+ "id": "94bab17f.bef16",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error creating SDNR response payload string. Aborting Generic neighbor configuration\" />",
+ "comments": "",
+ "x": 1597.0100631713867,
+ "y": 2676.12168122828,
+ "z": "93716ca1.df16b",
+ "wires": []
+ },
+ {
+ "id": "505337c.4e27cc8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1186.0104293823242,
+ "y": 2800.12168122828,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "d8b65a92.3a6a38"
+ ]
+ ]
+ },
+ {
+ "id": "d8b65a92.3a6a38",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1354.0103073120117,
+ "y": 2795.12168122828,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "4d64cb22.623374"
+ ]
+ ]
+ },
+ {
+ "id": "4d64cb22.623374",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error removing lines from SDNR response payload string. Aborting Generic neighbor configuration\" />",
+ "comments": "",
+ "x": 1512.0100021362305,
+ "y": 2798.12168122828,
+ "z": "93716ca1.df16b",
+ "wires": []
+ },
+ {
+ "id": "85f2cc20.ba3c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1141.0104751586914,
+ "y": 2934.1218128204346,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "6c51fb4a.22de44"
+ ]
+ ]
+ },
+ {
+ "id": "6c51fb4a.22de44",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1317.010353088379,
+ "y": 2935.1218128204346,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "46221b5f.bc8fd4"
+ ]
+ ]
+ },
+ {
+ "id": "46221b5f.bc8fd4",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error removing tabs from SDNR response payload string. Aborting Generic neighbor configuration\" />",
+ "comments": "",
+ "x": 1464.0100479125977,
+ "y": 2938.1218128204346,
+ "z": "93716ca1.df16b",
+ "wires": []
+ },
+ {
+ "id": "b025f934.fbf218",
+ "type": "block",
+ "name": "DMAAP Payload Generation",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 703.0104446411133,
+ "y": 2763.1217794567347,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "52143aa1.b77114",
+ "a73a0ee8.bd8fb",
+ "4c7ec6de.f7c0e8"
+ ]
+ ]
+ },
+ {
+ "id": "3103a38e.d771ec",
+ "type": "block",
+ "name": "DMAAP Reponse Publish",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 560.0104598999023,
+ "y": 3146.01060295105,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "2a4f46db.7ddf0a",
+ "7618d1ef.077ec",
+ "c3ee7dcf.f6392",
+ "ebff5a7d.3ae608"
+ ]
+ ]
+ },
+ {
+ "id": "7618d1ef.077ec",
+ "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": 833.0105361938477,
+ "y": 3542.121895313263,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "78df8849.978328",
+ "b04a81c6.04818"
+ ]
+ ]
+ },
+ {
+ "id": "2a4f46db.7ddf0a",
+ "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": 800.6772613525391,
+ "y": 2957.121864795685,
+ "z": "93716ca1.df16b",
+ "wires": []
+ },
+ {
+ "id": "78df8849.978328",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1007.5105133056641,
+ "y": 3476.03861284256,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "cfb0100e.7b4bb"
+ ]
+ ]
+ },
+ {
+ "id": "b04a81c6.04818",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1030.510368347168,
+ "y": 3605.0387196540833,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "2aea7185.58dc4e"
+ ]
+ ]
+ },
+ {
+ "id": "cfb0100e.7b4bb",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1188.5102844238281,
+ "y": 3479.038742542267,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "271bf6b2.9b956a"
+ ]
+ ]
+ },
+ {
+ "id": "271bf6b2.9b956a",
+ "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": 1362.5100021362305,
+ "y": 3486.038667678833,
+ "z": "93716ca1.df16b",
+ "wires": []
+ },
+ {
+ "id": "2aea7185.58dc4e",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1190.5100135803223,
+ "y": 3597.038691997528,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "f884c5ea.f20388"
+ ]
+ ]
+ },
+ {
+ "id": "f884c5ea.f20388",
+ "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": 1367.5101318359375,
+ "y": 3602.0388007164,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7ee07b59.9e6bf4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2703.0106811523438,
+ "y": 1603.010416984558,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "333a376b.8a5ba8",
+ "7c603463.f85d2c",
+ "e325883.c2c6178",
+ "e93b8bb1.624708"
+ ]
+ ]
+ },
+ {
+ "id": "333a376b.8a5ba8",
+ "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": 2985.0106048583984,
+ "y": 1456.0104637145996,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7c603463.f85d2c",
+ "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": 2994.010696411133,
+ "y": 1569.0104598999023,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e325883.c2c6178",
+ "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": 2961.0106811523438,
+ "y": 1674.010416984558,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "3ba68e94.ae1022",
+ "b05dcf0b.e1a9e"
+ ]
+ ]
+ },
+ {
+ "id": "3ba68e94.ae1022",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3176.0106811523438,
+ "y": 1617.010416984558,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "210e3756.c957f8"
+ ]
+ ]
+ },
+ {
+ "id": "b05dcf0b.e1a9e",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3196.010810852051,
+ "y": 1713.0102796554565,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "69eb930.9374e6c"
+ ]
+ ]
+ },
+ {
+ "id": "210e3756.c957f8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 3345.0105590820312,
+ "y": 1628.010416984558,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "79bb5cbc.ddc6b4"
+ ]
+ ]
+ },
+ {
+ "id": "69eb930.9374e6c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 3358.010566711426,
+ "y": 1714.010401725769,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "3d553e85.a473f2"
+ ]
+ ]
+ },
+ {
+ "id": "79bb5cbc.ddc6b4",
+ "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": 3499.01025390625,
+ "y": 1621.010416984558,
+ "z": "93716ca1.df16b",
+ "wires": []
+ },
+ {
+ "id": "3d553e85.a473f2",
+ "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": 3513.0107650756836,
+ "y": 1711.010410308838,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5e95d235.988f0c",
+ "type": "switchNode",
+ "name": "switch configdb deployed",
+ "xml": "<switch test='`$prop.configdb-deployed`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2586.010696411133,
+ "y": 1397.010437965393,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "6f0b801a.27af3",
+ "25cfc748.d94fc8"
+ ]
+ ]
+ },
+ {
+ "id": "6f0b801a.27af3",
+ "type": "outcome",
+ "name": "Deployed",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2628.0106811523438,
+ "y": 1527.010416984558,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "7ee07b59.9e6bf4"
+ ]
+ ]
+ },
+ {
+ "id": "e93b8bb1.624708",
+ "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": 3053.0106353759766,
+ "y": 1508.121630191803,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "25cfc748.d94fc8",
+ "type": "outcome",
+ "name": "Not Deployed",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2993.010643005371,
+ "y": 1387.3435907363892,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "8a4f7193.b86bf"
+ ]
+ ]
+ },
+ {
+ "id": "2e5bd9d.2048726",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1277.010856628418,
+ "y": 2261.2328357696533,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "f9a355bd.18d688",
+ "9acfbe6.cb2fb4",
+ "21d304e2.82fa0c",
+ "d2241176.acb26"
+ ]
+ ]
+ },
+ {
+ "id": "f9a355bd.18d688",
+ "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": 1644.0108032226562,
+ "y": 2202.2328839302063,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9acfbe6.cb2fb4",
+ "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": 1575.0108642578125,
+ "y": 2412.232877254486,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "9d654cdb.37cfb",
+ "1cdd3f11.0ca791"
+ ]
+ ]
+ },
+ {
+ "id": "9d654cdb.37cfb",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1790.0108642578125,
+ "y": 2355.232877254486,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "b793486c.9f63a8"
+ ]
+ ]
+ },
+ {
+ "id": "1cdd3f11.0ca791",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1790.0107421875,
+ "y": 2451.2327551841736,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "f10cf49.aecaa08"
+ ]
+ ]
+ },
+ {
+ "id": "b793486c.9f63a8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1959.0107421875,
+ "y": 2366.232877254486,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "46e50dfd.86c824"
+ ]
+ ]
+ },
+ {
+ "id": "f10cf49.aecaa08",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1952.010498046875,
+ "y": 2452.232877254486,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "ccfb6b0a.501f38"
+ ]
+ ]
+ },
+ {
+ "id": "46e50dfd.86c824",
+ "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": 2113.0104370117188,
+ "y": 2359.232877254486,
+ "z": "93716ca1.df16b",
+ "wires": []
+ },
+ {
+ "id": "ccfb6b0a.501f38",
+ "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": 2107.010696411133,
+ "y": 2449.232885837555,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "67a527dc.0e62f8",
+ "type": "switchNode",
+ "name": "switch configdb deployed",
+ "xml": "<switch test='`$prop.configdb-deployed`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1168.0110626220703,
+ "y": 1714.2327661514282,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "36a46d3c.be4442",
+ "5e248492.325e0c"
+ ]
+ ]
+ },
+ {
+ "id": "36a46d3c.be4442",
+ "type": "outcome",
+ "name": "Deployed",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1007.0108604431152,
+ "y": 2104.2328310012817,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "2e5bd9d.2048726"
+ ]
+ ]
+ },
+ {
+ "id": "21d304e2.82fa0c",
+ "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": 1695.0108032226562,
+ "y": 2255.344160079956,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "373fca41.5a1086",
+ "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=\"CPS is Deployed, ConfigDB Skipped\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1607.0107688903809,
+ "y": 1754.4547662734985,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5e248492.325e0c",
+ "type": "outcome",
+ "name": "Not Deployed",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1484.0107345581055,
+ "y": 1699.5660495758057,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "ae070250.5fb89"
+ ]
+ ]
+ },
+ {
+ "id": "d2241176.acb26",
+ "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": 1640.5663604736328,
+ "y": 2312.0105566978455,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2816cf49.04226",
+ "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": 533.9999847412109,
+ "y": 289.66668033599854,
+ "z": "93716ca1.df16b",
+ "wires": []
+ },
+ {
+ "id": "16823f81.eb375",
+ "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": 451.99998474121094,
+ "y": 336.66668224334717,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c3ee7dcf.f6392",
+ "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": 828.0000152587891,
+ "y": 3441.666786670685,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ebff5a7d.3ae608",
+ "type": "block",
+ "name": "Remove escape chars",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 940.0000152587891,
+ "y": 3148.666786670685,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "e0e39992.047088",
+ "ed36b701.cd7678",
+ "7b42709a.d2c18"
+ ]
+ ]
+ },
+ {
+ "id": "e0e39992.047088",
+ "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": 1149.000015258789,
+ "y": 3023.666786670685,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "be777b6b.1902e8",
+ "3b769001.8c875"
+ ]
+ ]
+ },
+ {
+ "id": "be777b6b.1902e8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1331.500015258789,
+ "y": 3031.666786670685,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "6ed29261.1ded5c"
+ ]
+ ]
+ },
+ {
+ "id": "6ed29261.1ded5c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1516.500015258789,
+ "y": 3029.666786670685,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "55c7e10b.6ef8b"
+ ]
+ ]
+ },
+ {
+ "id": "55c7e10b.6ef8b",
+ "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": 1719.500015258789,
+ "y": 3025.666786670685,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3b769001.8c875",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1334.000015258789,
+ "y": 3079.666786670685,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "91641e00.19532"
+ ]
+ ]
+ },
+ {
+ "id": "91641e00.19532",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1509.9998931884766,
+ "y": 3080.666786670685,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "fc8fcaad.3d9528"
+ ]
+ ]
+ },
+ {
+ "id": "fc8fcaad.3d9528",
+ "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": 1658.9996490478516,
+ "y": 3087.666786670685,
+ "z": "93716ca1.df16b",
+ "wires": []
+ },
+ {
+ "id": "ed36b701.cd7678",
+ "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": 1156.000015258789,
+ "y": 3164.666786670685,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "d9a4b590.61dcf8",
+ "3c1bbeac.ead2d2"
+ ]
+ ]
+ },
+ {
+ "id": "d9a4b590.61dcf8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1338.500015258789,
+ "y": 3172.666786670685,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "e737e3a7.64beb"
+ ]
+ ]
+ },
+ {
+ "id": "e737e3a7.64beb",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1523.500015258789,
+ "y": 3170.666786670685,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "8d3f1f67.cb6d2"
+ ]
+ ]
+ },
+ {
+ "id": "8d3f1f67.cb6d2",
+ "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": 1725.500015258789,
+ "y": 3165.666786670685,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3c1bbeac.ead2d2",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1341.000015258789,
+ "y": 3220.666786670685,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "85cbfa6a.583a78"
+ ]
+ ]
+ },
+ {
+ "id": "85cbfa6a.583a78",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1516.9998931884766,
+ "y": 3221.666786670685,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "b3ae9015.4961a"
+ ]
+ ]
+ },
+ {
+ "id": "b3ae9015.4961a",
+ "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": 1665.9996490478516,
+ "y": 3224.666786670685,
+ "z": "93716ca1.df16b",
+ "wires": []
+ },
+ {
+ "id": "7b42709a.d2c18",
+ "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": 1091.000015258789,
+ "y": 3304.666786670685,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "86c5ba9c.cbb738",
+ "8336750.437c288"
+ ]
+ ]
+ },
+ {
+ "id": "86c5ba9c.cbb738",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1273.500015258789,
+ "y": 3312.666786670685,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "69338529.ff300c"
+ ]
+ ]
+ },
+ {
+ "id": "69338529.ff300c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1458.500015258789,
+ "y": 3310.666786670685,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "c6a56252.dfaea"
+ ]
+ ]
+ },
+ {
+ "id": "c6a56252.dfaea",
+ "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": 1660.500015258789,
+ "y": 3305.666786670685,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8336750.437c288",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1276.000015258789,
+ "y": 3360.666786670685,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "ee4be641.ccbc38"
+ ]
+ ]
+ },
+ {
+ "id": "ee4be641.ccbc38",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1451.9998931884766,
+ "y": 3361.666786670685,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "480a5f5d.9d504"
+ ]
+ ]
+ },
+ {
+ "id": "480a5f5d.9d504",
+ "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": 1598.9995880126953,
+ "y": 3364.666786670685,
+ "z": "93716ca1.df16b",
+ "wires": []
+ },
+ {
+ "id": "112b836f.c3a6fd",
+ "type": "switchNode",
+ "name": "is blacklisted",
+ "xml": "<switch test='`$tmp.blacklisted`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1256.1670227050781,
+ "y": 1001.1667203903198,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "e6abed7f.2d8fc",
+ "9428e6c7.bdbd68"
+ ]
+ ]
+ },
+ {
+ "id": "e6abed7f.2d8fc",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1446.1670303344727,
+ "y": 983.1667194366455,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "e7850e65.747a3"
+ ]
+ ]
+ },
+ {
+ "id": "9428e6c7.bdbd68",
+ "type": "outcome",
+ "name": "False",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1453.1391983032227,
+ "y": 1023.8056373596191,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "721613a3.d7ab2c"
+ ]
+ ]
+ },
+ {
+ "id": "911f37c7.a6eaf8",
+ "type": "set",
+ "name": "set isHOAllowed as false",
+ "xml": "<set>\n<parameter name='tmp.isHOAllowed' value='false' />",
+ "comments": "",
+ "x": 1877.1113739013672,
+ "y": 979.9167194366455,
+ "z": "93716ca1.df16b",
+ "wires": []
+ },
+ {
+ "id": "4437ac82.bcc6c4",
+ "type": "set",
+ "name": "set isHOAllowed as true",
+ "xml": "<set>\n<parameter name='tmp.isHOAllowed' value='true' />",
+ "comments": "",
+ "x": 1870.5557098388672,
+ "y": 1018.2499732971191,
+ "z": "93716ca1.df16b",
+ "wires": []
+ },
+ {
+ "id": "e7850e65.747a3",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1630.1670303344727,
+ "y": 981.9443893432617,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "911f37c7.a6eaf8"
+ ]
+ ]
+ },
+ {
+ "id": "721613a3.d7ab2c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1618.3335342407227,
+ "y": 1029.3610563278198,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "4437ac82.bcc6c4"
+ ]
+ ]
+ },
+ {
+ "id": "c1718eaa.0441e",
+ "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`\"/>",
+ "comments": "",
+ "x": 1293.500331878662,
+ "y": 1057.500075340271,
+ "z": "93716ca1.df16b",
+ "wires": []
+ },
+ {
+ "id": "b411ee0f.38431",
+ "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": 1338.1671295166016,
+ "y": 1194.5000009536743,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "560d1a47.8473d4",
+ "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": 488.86407470703125,
+ "y": 466.88648796081543,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ecefd81d.f9cab8",
+ "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": 500.6139907836914,
+ "y": 417.7078561782837,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3f5bd73.2a4f028",
+ "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": 525.1614379882812,
+ "y": 559.8145093917847,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "980162ee.9edeb",
+ "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": 929.6611862182617,
+ "y": 544.6676582098007,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a8b2bc66.e3a98",
+ "type": "execute",
+ "name": "initialize nearRTRIC size",
+ "xml": "<set>\n\t<parameter name='tmp.RIC.length' value=\"0\"/>\n\t",
+ "comments": "",
+ "outputs": 1,
+ "x": 557.7516937255859,
+ "y": 603.0527515411377,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f0a7b180.38474",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 726.1695022583008,
+ "y": 679.5650014877319,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "1938693.e03a497",
+ "73399f70.9ab02"
+ ]
+ ]
+ },
+ {
+ "id": "56fbabb.efc7154",
+ "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": 1512.868034362793,
+ "y": 598.4857696294785,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4eb9dd77.949f74",
+ "type": "for",
+ "name": "For anchorsList",
+ "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 531.0371704101562,
+ "y": 639.949969291687,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "f40e037f.bc749"
+ ]
+ ]
+ },
+ {
+ "id": "f40e037f.bc749",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 735.5690765380859,
+ "y": 634.906268119812,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "3983f507.2f68da",
+ "980162ee.9edeb"
+ ]
+ ]
+ },
+ {
+ "id": "3983f507.2f68da",
+ "type": "switchNode",
+ "name": "check schemaSetName",
+ "xml": "<switch test='`$tmp.schemaset.name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 954.1457443237305,
+ "y": 591.763445854187,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "7a22756f.e5a93c"
+ ]
+ ]
+ },
+ {
+ "id": "7a22756f.e5a93c",
+ "type": "outcome",
+ "name": "if ran-network",
+ "xml": "<outcome value='ran-network'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1137.4513359069824,
+ "y": 556.2356939315796,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "f0e5d566.9803a8"
+ ]
+ ]
+ },
+ {
+ "id": "f0e5d566.9803a8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1308.7537689208984,
+ "y": 542.5689891576767,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "3bdadb62.fea184",
+ "7961d9b7.7fe598"
+ ]
+ ]
+ },
+ {
+ "id": "3bdadb62.fea184",
+ "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": 1487.6671905517578,
+ "y": 542.3745311498642,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "73399f70.9ab02",
+ "type": "switchNode",
+ "name": "check schemaSetName",
+ "xml": "<switch test='`$tmp.schemaset.name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 951.9449920654297,
+ "y": 670.1368945837021,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "b771af8b.ffacc"
+ ]
+ ]
+ },
+ {
+ "id": "1938693.e03a497",
+ "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": 935.9728240966797,
+ "y": 628.8868926763535,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b771af8b.ffacc",
+ "type": "outcome",
+ "name": "if ran-network",
+ "xml": "<outcome value='ran-network'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1135.7505798339844,
+ "y": 626.6091836690903,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "32307f0a.71ea1"
+ ]
+ ]
+ },
+ {
+ "id": "32307f0a.71ea1",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1331.8864135742188,
+ "y": 628.831350684166,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "56fbabb.efc7154",
+ "bd7a2ea8.b034e"
+ ]
+ ]
+ },
+ {
+ "id": "902d542b.495ea8",
+ "type": "for",
+ "name": "For anchorsList",
+ "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 524.9103813171387,
+ "y": 685.4107446670532,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "f0a7b180.38474"
+ ]
+ ]
+ },
+ {
+ "id": "7961d9b7.7fe598",
+ "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": 1486.7253036499023,
+ "y": 494.053573012352,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bd7a2ea8.b034e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1528.8125305175781,
+ "y": 647.2079404592514,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "c181925b.0b237",
+ "a229596b.c5e3c8",
+ "336876a2.4db05a",
+ "e6d5faef.426518"
+ ]
+ ]
+ },
+ {
+ "id": "292f2bdb.404e94",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 738.1179809570312,
+ "y": 443.26336228847504,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "babc71f6.4b1db"
+ ]
+ ]
+ },
+ {
+ "id": "689197fa.211fb8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 752.1181526184082,
+ "y": 517.4577779769897,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "77d5394c.7997b8"
+ ]
+ ]
+ },
+ {
+ "id": "babc71f6.4b1db",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 880.8124771118164,
+ "y": 440.8745616674423,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "770e5775.57e468",
+ "d035965a.8e7598"
+ ]
+ ]
+ },
+ {
+ "id": "77d5394c.7997b8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 900.562313079834,
+ "y": 494.1244844198227,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "37717870.1cbac8",
+ "ca6bc514.5f28a8"
+ ]
+ ]
+ },
+ {
+ "id": "770e5775.57e468",
+ "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": 1064.5899047851562,
+ "y": 404.7077716588974,
+ "z": "93716ca1.df16b",
+ "wires": []
+ },
+ {
+ "id": "37717870.1cbac8",
+ "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": 1082.3120765686035,
+ "y": 478.3745254278183,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ca6bc514.5f28a8",
+ "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": 1095.840316772461,
+ "y": 511.12452733516693,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d035965a.8e7598",
+ "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": 1058.3958168029785,
+ "y": 441.23560750484467,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2e676669.44090a",
+ "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": 545.8124008178711,
+ "y": 515.4817037582397,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "689197fa.211fb8",
+ "292f2bdb.404e94"
+ ]
+ ]
+ },
+ {
+ "id": "df020a42.c20898",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2034.6667022705078,
+ "y": 675.9999841451645,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "460c436f.8ca33c"
+ ]
+ ]
+ },
+ {
+ "id": "460c436f.8ca33c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2243.6666679382324,
+ "y": 647.0001262426376,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "f3ad33eb.84a38",
+ "e0c4e26b.1144a",
+ "b9def43d.5f7818"
+ ]
+ ]
+ },
+ {
+ "id": "3afb70c7.5e4ee",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2057.666666030884,
+ "y": 622.0001262426376,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "d61cc65e.3894e8"
+ ]
+ ]
+ },
+ {
+ "id": "d61cc65e.3894e8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2280.524028778076,
+ "y": 574.2858194112778,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "563b108b.4f55f"
+ ]
+ ]
+ },
+ {
+ "id": "c181925b.0b237",
+ "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": 1839.5988578796387,
+ "y": 534.931990981102,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a229596b.c5e3c8",
+ "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": 1759.5989112854004,
+ "y": 576.9319919347763,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "336876a2.4db05a",
+ "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": 1786.5988731384277,
+ "y": 617.9319928884506,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e6d5faef.426518",
+ "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": 1786.5988121032715,
+ "y": 662.9319947957993,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "3afb70c7.5e4ee",
+ "df020a42.c20898"
+ ]
+ ]
+ },
+ {
+ "id": "e0c4e26b.1144a",
+ "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": 2450.59867477417,
+ "y": 671.9319448471069,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f3ad33eb.84a38",
+ "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": 2429.3767471313477,
+ "y": 723.9321489334106,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "563b108b.4f55f",
+ "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": 2452.598819732666,
+ "y": 576.0430024862289,
+ "z": "93716ca1.df16b",
+ "wires": []
+ },
+ {
+ "id": "f1691caa.0d71",
+ "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": 508.6666488647461,
+ "y": 380.3333435058594,
+ "z": "93716ca1.df16b",
+ "wires": []
+ },
+ {
+ "id": "b9def43d.5f7818",
+ "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": 2468.6667098999023,
+ "y": 623.6666870117188,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1bc42ca7.cbfc53",
+ "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=\"idGNBCUCPFunction\"/>\n<parameter name=\"field2\" value=\"`$tmp.idGNBCUCPFunction`\"/>\n<parameter name=\"field3\" value=\"idNRCellCU\"/>\n<parameter name=\"field4\" value=\"`$tmp.idNRCellCU`\"/>\n<parameter name=\"field5\" value=\"idNRCellRelation\"/>\n<parameter name=\"field6\" value=\"`$tmp.idNRCellRelation`\"/>\n<parameter name=\"field7\" value=\"isHOAllowed\"/>\n<parameter name=\"field8\" value=\"`$tmp.isHOAllowed`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1284.7117309570312,
+ "y": 1104.4444608688354,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4f68e3db.956bac",
+ "type": "switchNode",
+ "name": "is blacklisted",
+ "xml": "<switch test='`$tmp.blacklisted`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2593.888641357422,
+ "y": 834.8888349533081,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "c63e7d25.5ef1b",
+ "e6ecbedf.8ddcb"
+ ]
+ ]
+ },
+ {
+ "id": "c63e7d25.5ef1b",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2783.8886489868164,
+ "y": 816.8888339996338,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "8a4616a8.b07548"
+ ]
+ ]
+ },
+ {
+ "id": "e6ecbedf.8ddcb",
+ "type": "outcome",
+ "name": "False",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2790.8608169555664,
+ "y": 857.5277519226074,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "76352c73.0ba134"
+ ]
+ ]
+ },
+ {
+ "id": "1b68d278.589ade",
+ "type": "set",
+ "name": "set isHOAllowed as false",
+ "xml": "<set>\n<parameter name='tmp.isHOAllowed' value='false' />",
+ "comments": "",
+ "x": 3214.832992553711,
+ "y": 813.6388339996338,
+ "z": "93716ca1.df16b",
+ "wires": []
+ },
+ {
+ "id": "c533f671.aa9438",
+ "type": "set",
+ "name": "set isHOAllowed as true",
+ "xml": "<set>\n<parameter name='tmp.isHOAllowed' value='true' />",
+ "comments": "",
+ "x": 3208.277328491211,
+ "y": 851.9720878601074,
+ "z": "93716ca1.df16b",
+ "wires": []
+ },
+ {
+ "id": "8a4616a8.b07548",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2967.8886489868164,
+ "y": 815.66650390625,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "1b68d278.589ade"
+ ]
+ ]
+ },
+ {
+ "id": "76352c73.0ba134",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2956.0551528930664,
+ "y": 863.0831708908081,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "c533f671.aa9438"
+ ]
+ ]
+ },
+ {
+ "id": "d62d2854.e6ac28",
+ "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": 2612.888683319092,
+ "y": 887.888861656189,
+ "z": "93716ca1.df16b",
+ "wires": []
+ },
+ {
+ "id": "15d3f16c.8176ef",
+ "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=\"idGNBCUCPFunction\"/>\n<parameter name=\"field2\" value=\"`$tmp.idGNBCUCPFunction`\"/>\n<parameter name=\"field3\" value=\"idNRCellCU\"/>\n<parameter name=\"field4\" value=\"`$tmp.idNRCellCU`\"/>\n<parameter name=\"field5\" value=\"idNRCellRelation\"/>\n<parameter name=\"field6\" value=\"`$tmp.idNRCellRelation`\"/>\n<parameter name=\"field7\" value=\"isHOAllowed\"/>\n<parameter name=\"field8\" value=\"`$tmp.isHOAllowed`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2594.099864959717,
+ "y": 934.8332014083862,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f8b63e76.98572",
+ "type": "execute",
+ "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": 2625.555351257324,
+ "y": 1070.99990940094,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1fdbb9e6.5c2526",
+ "type": "execute",
+ "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": 2635.2217712402344,
+ "y": 1125.3331651687622,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "57f80d61.d3fa74",
+ "type": "execute",
+ "name": "populate idGNBCUCPFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.config-neighbor-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUCPFunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2651.378105163574,
+ "y": 1031.2221269607544,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "49974804.2019b8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1887.4895629882812,
+ "y": 1875.000002861023,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "adafd367.d3827"
+ ]
+ ]
+ },
+ {
+ "id": "adafd367.d3827",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2132.1562576293945,
+ "y": 1830.6667032241821,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "1280ded8.c1edc1",
+ "d4c50662.271958"
+ ]
+ ]
+ },
+ {
+ "id": "d4c50662.271958",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in CPS. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2312.823257446289,
+ "y": 1802.1109952926636,
+ "z": "93716ca1.df16b",
+ "wires": []
+ },
+ {
+ "id": "1280ded8.c1edc1",
+ "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 nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2331.823097229004,
+ "y": 1856.9999980926514,
+ "z": "93716ca1.df16b",
+ "wires": []
+ },
+ {
+ "id": "d8ab9c3e.03a3b",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1905.3077011108398,
+ "y": 1997.5757141113281,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "a538b6de.81e968"
+ ]
+ ]
+ },
+ {
+ "id": "a538b6de.81e968",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2155.3076248168945,
+ "y": 1942.5758934020996,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "2b0af4ae.08b65c"
+ ]
+ ]
+ },
+ {
+ "id": "2b0af4ae.08b65c",
+ "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 Updated NRCellRelation info in cps\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2340.641128540039,
+ "y": 1920.576096534729,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b2dbf27a.21124",
+ "type": "execute",
+ "name": "generate put ho nrcellrelation 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.putho.nrcellrelation.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1675.021671295166,
+ "y": 1808.2939615249634,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "73cb27d4.c11058",
+ "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.putho.nrcellrelation.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.putho.nrcellrelation.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.put-ho-nrcellrelation`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1642.0217628479004,
+ "y": 1862.6273832321167,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "67f8454e.69e89c",
+ "type": "execute",
+ "name": "put ho nrcellrelation",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.putho.nrcellrelation.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-put-ho.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"cps-put-ho-nrcellrelation-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": 1617.4879760742188,
+ "y": 1969.4272661209106,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "49974804.2019b8",
+ "d8ab9c3e.03a3b"
+ ]
+ ]
+ },
+ {
+ "id": "e1f9dbeb.b36d08",
+ "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 for CPS TDBMT to put ho NRCellRelation\"/>\n<parameter name='field2' value=\"`$tmp.cps.putho.nrcellrelation.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1597.661808013916,
+ "y": 1916.6771030426025,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ae070250.5fb89",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1391.489601135254,
+ "y": 1808.6666860580444,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "373fca41.5a1086",
+ "b2dbf27a.21124",
+ "73cb27d4.c11058",
+ "e1f9dbeb.b36d08",
+ "67f8454e.69e89c"
+ ]
+ ]
+ },
+ {
+ "id": "eff92940.1fb528",
+ "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=\"CPS is Deployed, ConfigDB Skipped\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3667.4895629882812,
+ "y": 1332.6666288375854,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d06c1323.53c5d",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3947.9683570861816,
+ "y": 1453.2118654251099,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "9b66cf4a.4c6ed"
+ ]
+ ]
+ },
+ {
+ "id": "9b66cf4a.4c6ed",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4192.635051727295,
+ "y": 1408.878565788269,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "7947ff08.c0955",
+ "663da05b.08758"
+ ]
+ ]
+ },
+ {
+ "id": "663da05b.08758",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in CPS. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 4373.302051544189,
+ "y": 1380.3228578567505,
+ "z": "93716ca1.df16b",
+ "wires": []
+ },
+ {
+ "id": "7947ff08.c0955",
+ "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 nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 4392.301891326904,
+ "y": 1435.2118606567383,
+ "z": "93716ca1.df16b",
+ "wires": []
+ },
+ {
+ "id": "2cec2467.fffcfc",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3965.7864952087402,
+ "y": 1575.787576675415,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "ed344371.52314"
+ ]
+ ]
+ },
+ {
+ "id": "ed344371.52314",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4215.786418914795,
+ "y": 1520.7877559661865,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "16bf39af.b7bd96"
+ ]
+ ]
+ },
+ {
+ "id": "16bf39af.b7bd96",
+ "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 Updated NRCellRelation info in cps\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 4401.119922637939,
+ "y": 1498.787959098816,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "429f2b72.e5b9a4",
+ "type": "execute",
+ "name": "generate put ho nrcellrelation 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.putho.nrcellrelation.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3735.5004653930664,
+ "y": 1386.5058240890503,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7af78a8.16d1774",
+ "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.putho.nrcellrelation.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.putho.nrcellrelation.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.put-ho-nrcellrelation`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3702.500556945801,
+ "y": 1440.8392457962036,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fedc6177.d9441",
+ "type": "execute",
+ "name": "put ho nrcellrelation",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.putho.nrcellrelation.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-put-ho.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"cps-put-ho-nrcellrelation-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": 3677.966770172119,
+ "y": 1547.6391286849976,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "d06c1323.53c5d",
+ "2cec2467.fffcfc"
+ ]
+ ]
+ },
+ {
+ "id": "bd326c88.c4e14",
+ "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 for CPS TDBMT to put ho NRCellRelation\"/>\n<parameter name='field2' value=\"`$tmp.cps.putho.nrcellrelation.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3658.1406021118164,
+ "y": 1494.8889656066895,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8a4f7193.b86bf",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3451.9683952331543,
+ "y": 1386.8785486221313,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "eff92940.1fb528",
+ "429f2b72.e5b9a4",
+ "7af78a8.16d1774",
+ "bd326c88.c4e14",
+ "fedc6177.d9441"
+ ]
+ ]
}
-]
\ No newline at end of file
+]