[
{
- "id": "b0e84f67.bfca5",
+ "id": "a23e1986.d0e508",
"type": "comment",
"name": "Generic Neighbor Configuration",
"info": "",
"comments": "",
- "x": 365,
- "y": 42,
- "z": "252a4e44.929a62",
+ "x": 342.5104064941406,
+ "y": 71.66666412353516,
+ "z": "27bb3cd4.ff8ff4",
"wires": []
},
{
- "id": "e224f980.9882f8",
+ "id": "c91e3e99.6d94",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 632.0000610351562,
- "y": 262.010498046875,
- "z": "252a4e44.929a62",
+ "x": 2254.510841369629,
+ "y": 946.6772780418396,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "7f0907cf.082338",
- "742660e3.0e5d4",
- "402a9020.563bb",
- "5b76bc17.f32ce4",
- "7b4e78c0.a96468",
- "2c50a619.a494ea",
- "5ae0e50d.a4dc6c",
- "d51d9d04.31b31",
- "a46c5047.46087",
- "10fb55a2.da074a",
- "9b2edc01.f191f"
+ "6925e908.d68148",
+ "44d3f36e.4e5edc",
+ "468b7854.8855a8",
+ "58f14033.666ac",
+ "752eee76.25b35",
+ "57d3d9c.2e0d328",
+ "4acfeeff.78756",
+ "7b39b4de.4e9c6c",
+ "f5ee8b6.12ca678",
+ "82978ac0.ed8dc8",
+ "6b608403.2d3acc",
+ "9f32aefb.8b268",
+ "f51e527f.45e31"
]
]
},
{
- "id": "7a6e2451.cb09ac",
+ "id": "2424729e.e49bce",
"type": "for",
"name": "for",
"xml": "<for index='idx' start='0' end=\"`$generic-neighbor-configuration-input.lte-cell-number-of-entries`\" >",
"comments": "",
"outputs": 1,
- "x": 553.0001831054688,
- "y": 420,
- "z": "252a4e44.929a62",
+ "x": 1500.5108261108398,
+ "y": 814.666862487793,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "e224f980.9882f8"
+ "c91e3e99.6d94"
]
]
},
{
- "id": "7f0907cf.082338",
+ "id": "6925e908.d68148",
"type": "set",
"name": "set tmp variables for the requested fap service input parms",
"xml": "<set>\n<parameter name=\"tmp.alias\" value=\"`$generic-neighbor-configuration-input.alias`\"/>\n<parameter name=\"tmp.plmnid\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].plmnid`\"/>\n<parameter name=\"tmp.cid\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].cid`\"/>\n<parameter name=\"tmp.phy-cell-id\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].phy-cell-id`\"/>\n<parameter name=\"tmp.pnf-name\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].pnf-name`\"/>\n<parameter name=\"tmp.blacklisted\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].blacklisted`\"/>\n",
"comments": "",
- "x": 937.0011596679688,
- "y": 64.88909912109375,
- "z": "252a4e44.929a62",
+ "x": 2659.5118865966797,
+ "y": 796.2224502563477,
+ "z": "27bb3cd4.ff8ff4",
"wires": []
},
{
- "id": "742660e3.0e5d4",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Temporary varaibles set. Neighbor #: \"/>\n<parameter name=\"field2\" value=\"`$idx`\"/>\n<parameter name=\"field3\" value=\"`$tmp.plmnid`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cid`\"/>\n<parameter name=\"field5\" value=\"`$tmp.phy-cell-id`\"/>\n<parameter name=\"field6\" value=\"`$tmp.pnf-name`\"/>\n<parameter name=\"field7\" value=\"`$tmp.blacklisted`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 801.5105075836182,
- "y": 108.01042747497559,
- "z": "252a4e44.929a62",
- "wires": [
- []
- ]
- },
- {
- "id": "7b4990e1.529af",
+ "id": "13ca70be.83d0ef",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 128.48959350585938,
- "y": 298.9896240234375,
- "z": "252a4e44.929a62",
+ "x": 76,
+ "y": 398.65629959106445,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "e68f35dd.146c08",
- "a6f2b267.e5311",
- "138176a8.e62099",
- "3f9b6f16.92476",
- "2dbe6e04.1b04f2",
- "f2bdeb66.05c1e8",
- "2ae7e255.e92e0e",
- "f6ddb1c4.e2257",
- "bd6a5dc6.53e57"
+ "3eca09f7.b873e6",
+ "a9f8f882.e807f8",
+ "d6fb8a83.bb64f8",
+ "b1d6a19d.fa01b",
+ "82ac39cb.7f9698",
+ "1f32c22f.4bd18e",
+ "92654a64.0d57a8",
+ "530ff06c.c455e",
+ "5b9b0a8.18bd8f4",
+ "67a95ff9.4b3fd",
+ "465d1be9.f815a4",
+ "ad4ecd3c.4121d",
+ "ddbfcb04.fe0288",
+ "3b17d3a0.cdc9fc",
+ "524f7198.62576",
+ "f9ba5873.70cca8",
+ "d7997fdc.fef12",
+ "8b8d2961.aeae98"
]
]
},
{
- "id": "73bbdcfa.349ac4",
+ "id": "d67b8559.51c7a8",
"type": "method",
"name": "method",
"xml": "<method rpc='generic-neighbor-configuration' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 114,
- "y": 199.9895782470703,
- "z": "252a4e44.929a62",
+ "x": 93.51040649414062,
+ "y": 230.65624237060547,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "7b4990e1.529af"
+ "13ca70be.83d0ef"
]
]
},
{
- "id": "e68f35dd.146c08",
+ "id": "3eca09f7.b873e6",
"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": 119.00033950805664,
- "y": 2859.989965438843,
- "z": "252a4e44.929a62",
+ "x": 96.51074600219727,
+ "y": 2889.656629562378,
+ "z": "27bb3cd4.ff8ff4",
"wires": []
},
{
- "id": "a6f2b267.e5311",
+ "id": "a9f8f882.e807f8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RPC to Configure Neighbors INVOKED. Number of Neighbors to configure: \"/>\n<parameter name=\"field2\" value=\"`$generic-neighbor-configuration-input.lte-cell-number-of-entries`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 415.00030517578125,
- "y": 99.01042938232422,
- "z": "252a4e44.929a62",
+ "x": 392.5107116699219,
+ "y": 128.67709350585938,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "138176a8.e62099",
+ "id": "d6fb8a83.bb64f8",
"type": "for",
"name": "for",
"xml": "<for index='idx' start='0' end=\"`$generic-neighbor-configuration-input.lte-cell-number-of-entries`\" >",
"comments": "",
"outputs": 1,
- "x": 426.085693359375,
- "y": 145.9531707763672,
- "z": "252a4e44.929a62",
+ "x": 403.5960998535156,
+ "y": 175.61983489990234,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "9f14658a.014d08"
+ "3f83b27a.26631e"
]
]
},
{
- "id": "3f9b6f16.92476",
+ "id": "b1d6a19d.fa01b",
"type": "execute",
"name": "execute Properties",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='/opt/onap/ccsdk/data/properties/sdnr-oofpcipoc-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n",
"comments": "",
"outputs": 1,
- "x": 438.00018310546875,
- "y": 194.01040649414062,
- "z": "252a4e44.929a62",
+ "x": 413.5105895996094,
+ "y": 224.67707061767578,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "2dbe6e04.1b04f2",
+ "id": "82ac39cb.7f9698",
"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": 402.00030517578125,
- "y": 236.010498046875,
- "z": "252a4e44.929a62",
+ "x": 379.5107116699219,
+ "y": 265.67716217041016,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "767a16c9.47c368",
+ "id": "819d7966.4e53d8",
"type": "service-logic",
"name": "oofpcipoc-api ${project.version}",
"module": "oofpcipoc-api",
"comments": "",
"xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='oofpcipoc-api' version='${project.version}'>",
"outputs": 1,
- "x": 169.99998474121094,
- "y": 110.98968505859375,
- "z": "252a4e44.929a62",
+ "x": 147.51039123535156,
+ "y": 140.6563491821289,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "73bbdcfa.349ac4"
+ "d67b8559.51c7a8"
]
]
},
{
- "id": "9f14658a.014d08",
+ "id": "3f83b27a.26631e",
"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": 591.0005493164062,
- "y": 129.98963165283203,
- "z": "252a4e44.929a62",
+ "x": 568.5109558105469,
+ "y": 159.6562957763672,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "5f1ad16d.8a92a",
+ "id": "f7672e92.fc0de",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 105,
- "y": 48.989585876464844,
- "z": "252a4e44.929a62",
+ "x": 82.51040649414062,
+ "y": 78.65625,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "767a16c9.47c368"
+ "819d7966.4e53d8"
]
]
},
{
- "id": "10fb55a2.da074a",
+ "id": "57d3d9c.2e0d328",
"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": 872.5108642578125,
- "y": 152.56614685058594,
- "z": "252a4e44.929a62",
+ "x": 2578.3551712036133,
+ "y": 1002.2327814102173,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "402a9020.563bb",
+ "id": "44d3f36e.4e5edc",
"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": 799.510498046875,
- "y": 205.7882080078125,
- "z": "252a4e44.929a62",
- "wires": [
- []
- ]
- },
- {
- "id": "5b76bc17.f32ce4",
- "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": 1001.5106258392334,
- "y": 217.78822231292725,
- "z": "252a4e44.929a62",
- "wires": [
- []
- ]
- },
- {
- "id": "7b4e78c0.a96468",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Config Neighbor List URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.config-neighbor-service-url`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 869.5104789733887,
- "y": 261.788197517395,
- "z": "252a4e44.929a62",
- "wires": [
- []
- ]
- },
- {
- "id": "2c50a619.a494ea",
- "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": 892.5105075836182,
- "y": 306.7882204055786,
- "z": "252a4e44.929a62",
+ "x": 2512.0211067199707,
+ "y": 1200.454993724823,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "d51d9d04.31b31",
+ "id": "58f14033.666ac",
"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": 924.510498046875,
- "y": 446.788330078125,
- "z": "252a4e44.929a62",
+ "x": 2547.021194458008,
+ "y": 1301.455020904541,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "42094d77.460ca4",
- "ece3aaf8.017e88"
+ "fceb428.c8443c",
+ "407e4c2f.42a8f4"
]
]
},
{
- "id": "42094d77.460ca4",
+ "id": "fceb428.c8443c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1185.5103855133057,
- "y": 410.77778339385986,
- "z": "252a4e44.929a62",
+ "x": 2918.0210666656494,
+ "y": 1175.444447517395,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "4d5fe442.9a545c"
+ "c454f3e3.bd2bf"
]
]
},
{
- "id": "ece3aaf8.017e88",
+ "id": "407e4c2f.42a8f4",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1187.5103302001953,
- "y": 474.77761459350586,
- "z": "252a4e44.929a62",
+ "x": 2920.021011352539,
+ "y": 1239.444278717041,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "186e8503.876f0b"
+ "330ddc53.338d34"
]
]
},
{
- "id": "75c28db6.dab864",
+ "id": "2492fcd7.1fb324",
"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": 1518.510124206543,
- "y": 470.77770233154297,
- "z": "252a4e44.929a62",
+ "x": 3251.0208053588867,
+ "y": 1235.4443664550781,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "186e8503.876f0b",
+ "id": "330ddc53.338d34",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1354.5101737976074,
- "y": 473.77769660949707,
- "z": "252a4e44.929a62",
+ "x": 3087.020854949951,
+ "y": 1238.4443607330322,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "75c28db6.dab864"
+ "2492fcd7.1fb324"
]
]
},
{
- "id": "4d5fe442.9a545c",
+ "id": "c454f3e3.bd2bf",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1344.510248184204,
- "y": 419.7777690887451,
- "z": "252a4e44.929a62",
+ "x": 3077.020929336548,
+ "y": 1184.4444332122803,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "91c0b18a.5233d"
+ "ab38ccb9.17f85"
]
]
},
{
- "id": "91c0b18a.5233d",
+ "id": "ab38ccb9.17f85",
"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": 1520.5100116729736,
- "y": 404.77774238586426,
- "z": "252a4e44.929a62",
+ "x": 3253.0206928253174,
+ "y": 1169.4444065093994,
+ "z": "27bb3cd4.ff8ff4",
"wires": []
},
{
- "id": "5ae0e50d.a4dc6c",
+ "id": "468b7854.8855a8",
"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": 922.5104370117188,
- "y": 358.7882080078125,
- "z": "252a4e44.929a62",
+ "x": 2571.6878662109375,
+ "y": 1248.454933166504,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "1a9049a4.4660f6",
- "babfc7f5.e3d6f8"
+ "10854dfb.5c9a62",
+ "2be3a2fc.af94fe"
]
]
},
{
- "id": "1a9049a4.4660f6",
+ "id": "10854dfb.5c9a62",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1190.510498046875,
- "y": 295.4442491531372,
- "z": "252a4e44.929a62",
+ "x": 2923.0211791992188,
+ "y": 1060.1109132766724,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "61c1aef5.95942"
+ "748ad58c.536bec"
]
]
},
{
- "id": "babfc7f5.e3d6f8",
+ "id": "2be3a2fc.af94fe",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1177.5103912353516,
- "y": 359.44439697265625,
- "z": "252a4e44.929a62",
+ "x": 2910.0210723876953,
+ "y": 1124.1110610961914,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "fd628eba.9d3f1"
+ "8a001b63.43d398"
]
]
},
{
- "id": "fd628eba.9d3f1",
+ "id": "8a001b63.43d398",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1320.5101871490479,
- "y": 356.44431257247925,
- "z": "252a4e44.929a62",
+ "x": 3053.0208683013916,
+ "y": 1121.1109766960144,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "e6d88742.250328"
+ "3b696d35.d99f82"
]
]
},
{
- "id": "e6d88742.250328",
+ "id": "3b696d35.d99f82",
"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": 1481.510103225708,
- "y": 350.44458293914795,
- "z": "252a4e44.929a62",
+ "x": 3214.0207843780518,
+ "y": 1115.111247062683,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "61c1aef5.95942",
+ "id": "748ad58c.536bec",
"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": 1389.5103912353516,
- "y": 285.4442768096924,
- "z": "252a4e44.929a62",
+ "x": 3122.0210723876953,
+ "y": 1050.1109409332275,
+ "z": "27bb3cd4.ff8ff4",
"wires": []
},
{
- "id": "a46c5047.46087",
+ "id": "752eee76.25b35",
"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": 880.5104370117188,
- "y": 522.6770629882812,
- "z": "252a4e44.929a62",
+ "x": 2553.021194458008,
+ "y": 1355.6770725250244,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "182595bb.f7ee4a",
- "26bfad36.c5ae22"
+ "7fe560fd.02d23",
+ "ed1931cf.b85b4"
]
]
},
{
- "id": "182595bb.f7ee4a",
+ "id": "7fe560fd.02d23",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1215.5104370117188,
- "y": 522.3331050872803,
- "z": "252a4e44.929a62",
+ "x": 2948.0211181640625,
+ "y": 1286.9997692108154,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "c2de4855.593ee8"
+ "204d349b.8c167c"
]
]
},
{
- "id": "26bfad36.c5ae22",
+ "id": "ed1931cf.b85b4",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1208.5103302001953,
- "y": 574.3333015441895,
- "z": "252a4e44.929a62",
+ "x": 2941.021011352539,
+ "y": 1338.9999656677246,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "ceef9fe1.1c80b"
+ "80020226.7c32a"
]
]
},
{
- "id": "ceef9fe1.1c80b",
+ "id": "80020226.7c32a",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1377.5100898742676,
- "y": 581.3332405090332,
- "z": "252a4e44.929a62",
+ "x": 3110.0207710266113,
+ "y": 1345.9999046325684,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "aa26494c.850b58"
+ "78e48fb1.deedb"
]
]
},
{
- "id": "c2de4855.593ee8",
+ "id": "204d349b.8c167c",
"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": 1388.5103912353516,
- "y": 519.3331327438354,
- "z": "252a4e44.929a62",
+ "x": 3121.0210723876953,
+ "y": 1283.9997968673706,
+ "z": "27bb3cd4.ff8ff4",
"wires": []
},
{
- "id": "aa26494c.850b58",
+ "id": "78e48fb1.deedb",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Details about Neighbor Post-configuration\"/>\n<parameter name=\"field2\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].plmnid`\"/>\n<parameter name=\"field3\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].cid`\"/>\n<parameter name=\"field4\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].phy-cell-id`\"/>\n<parameter name=\"field5\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].pnf-name`\"/>\n<parameter name=\"field6\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].blacklisted`\"/>",
+ "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": 1524.510124206543,
- "y": 579.333456993103,
- "z": "252a4e44.929a62",
+ "x": 3257.0208053588867,
+ "y": 1344.0001211166382,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "8aebb9c4.9c2d58",
+ "id": "4c74462a.6f2e48",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 578.9999465942383,
- "y": 1332.0000581741333,
- "z": "252a4e44.929a62",
+ "x": 971.5107345581055,
+ "y": 1316.6667013168335,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "d17b4a49.0377f8",
- "62b6cd99.0b8964",
- "228ec87c.7b30b8",
- "a271ebfa.714168",
- "34a4ad69.82f8c2",
- "900f320e.2470c",
- "d3287262.5d0d6",
- "31829f2b.2121d",
- "dbd04c8.1f2e4b",
- "7df6d59c.f8208c",
- "53f1a4f2.cd94cc",
- "91a1e388.084d9"
+ "dfe1cac7.b0a0c8",
+ "ff99ef1.36e851",
+ "567107e4.113ae8",
+ "1abc8087.4dadff",
+ "792e7b5a.a61a04",
+ "3504d0f4.5ddf1",
+ "b1cab950.390f88",
+ "a83b1f0f.66683",
+ "95fb7dbc.302e3",
+ "2e0329eb.7cfeb6",
+ "8750c827.149de8",
+ "2f355bcb.3566f4",
+ "1f8cb6f9.f168b9",
+ "edde733c.b2ac9"
]
]
},
{
- "id": "7ffaf0be.ee25f",
+ "id": "f05d9389.aa23",
"type": "for",
"name": "for",
"xml": "<for index='idx' start='0' end=\"`$generic-neighbor-configuration-input.lte-cell-number-of-entries`\" >",
"comments": "",
"outputs": 1,
- "x": 522.0001831054688,
- "y": 512.989501953125,
- "z": "252a4e44.929a62",
+ "x": 881.5107002258301,
+ "y": 908.656328201294,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "8aebb9c4.9c2d58"
+ "4c74462a.6f2e48"
]
]
},
{
- "id": "d17b4a49.0377f8",
+ "id": "dfe1cac7.b0a0c8",
"type": "set",
"name": "set tmp variables for the requested fap service input parms",
"xml": "<set>\n<parameter name=\"tmp.alias\" value=\"`$generic-neighbor-configuration-input.alias`\"/>\n<parameter name=\"tmp.plmnid\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].plmnid`\"/>\n<parameter name=\"tmp.cid\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].cid`\"/>\n<parameter name=\"tmp.phy-cell-id\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].phy-cell-id`\"/>\n<parameter name=\"tmp.pnf-name\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].pnf-name`\"/>\n<parameter name=\"tmp.blacklisted\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].blacklisted`\"/>\n",
"comments": "",
- "x": 912.0011806488037,
- "y": 1015.8786706924438,
- "z": "252a4e44.929a62",
+ "x": 1298.1787033081055,
+ "y": 952.2120819091797,
+ "z": "27bb3cd4.ff8ff4",
"wires": []
},
{
- "id": "62b6cd99.0b8964",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Temporary varaibles set. Neighbor #: \"/>\n<parameter name=\"field2\" value=\"`$idx`\"/>\n<parameter name=\"field3\" value=\"`$tmp.plmnid`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cid`\"/>\n<parameter name=\"field5\" value=\"`$tmp.phy-cell-id`\"/>\n<parameter name=\"field6\" value=\"`$tmp.pnf-name`\"/>\n<parameter name=\"field7\" value=\"`$tmp.blacklisted`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 782.5105037689209,
- "y": 1092.0000381469727,
- "z": "252a4e44.929a62",
- "wires": [
- []
- ]
- },
- {
- "id": "7df6d59c.f8208c",
+ "id": "a83b1f0f.66683",
"type": "execute",
"name": "generate neighbor config URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.lte-ran-neighbor-in-use.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{alias}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.alias`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 875.5108242034912,
- "y": 1153.5557250976562,
- "z": "252a4e44.929a62",
- "wires": [
- []
- ]
- },
- {
- "id": "228ec87c.7b30b8",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Config Neighbor List URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.config-neighbor-service-url`\"/>",
+ "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": 816.5104579925537,
- "y": 1202.7777709960938,
- "z": "252a4e44.929a62",
+ "x": 1284.0216979980469,
+ "y": 1174.2226285934448,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "a271ebfa.714168",
+ "id": "ff99ef1.36e851",
"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": 880.5105800628662,
- "y": 1298.7777709960938,
- "z": "252a4e44.929a62",
+ "x": 1259.0214157104492,
+ "y": 1289.4447593688965,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "34a4ad69.82f8c2",
+ "id": "567107e4.113ae8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Config Neighbor List URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.config-neighbor-service-url`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 855.5104579925537,
- "y": 1346.7777709960938,
- "z": "252a4e44.929a62",
+ "x": 1210.021327972412,
+ "y": 1392.5876898765564,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "900f320e.2470c",
+ "id": "1abc8087.4dadff",
"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": 864.5104579925537,
- "y": 1383.7777709960938,
- "z": "252a4e44.929a62",
+ "x": 1247.0212326049805,
+ "y": 1340.444679260254,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "31829f2b.2121d",
+ "id": "3504d0f4.5ddf1",
"type": "execute",
"name": "Configure neighbor using PATCH",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/oofpcipoc-generic-neighbor-patch.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.config-neighbor-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-neighbor-patch-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/yang.patch-status+json' />",
"comments": "",
"outputs": 1,
- "x": 878.5104579925537,
- "y": 1513.7778930664062,
- "z": "252a4e44.929a62",
+ "x": 1271.021245956421,
+ "y": 1498.4445362091064,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "e9803890.320ab8",
- "19d2bb84.870d44"
+ "38f6302f.63f8e",
+ "6c5aecc3.e3bae4"
]
]
},
{
- "id": "e9803890.320ab8",
+ "id": "38f6302f.63f8e",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1173.5103454589844,
- "y": 1520.767346382141,
- "z": "252a4e44.929a62",
+ "x": 1566.0211334228516,
+ "y": 1505.4339895248413,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "d2c2fe00.15af4"
+ "21f9c0d0.b3e61"
]
]
},
{
- "id": "19d2bb84.870d44",
+ "id": "6c5aecc3.e3bae4",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1191.5103874206543,
- "y": 1588.7671728134155,
- "z": "252a4e44.929a62",
+ "x": 1584.0211753845215,
+ "y": 1573.4338159561157,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "d28bc469.f5aa28"
+ "2b727255.684e4e"
]
]
},
{
- "id": "ffbd161f.e01d28",
+ "id": "6d617e74.2db02",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PATCH Neighbor Executed Successfully \"/>",
"comments": "",
"outputs": 1,
- "x": 1529.510139465332,
- "y": 1575.7672810554504,
- "z": "252a4e44.929a62",
+ "x": 1922.0209274291992,
+ "y": 1560.4339241981506,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "d28bc469.f5aa28",
+ "id": "2b727255.684e4e",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1371.510051727295,
- "y": 1586.7672538757324,
- "z": "252a4e44.929a62",
+ "x": 1764.020839691162,
+ "y": 1571.4338970184326,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "ffbd161f.e01d28"
+ "6d617e74.2db02"
]
]
},
{
- "id": "d2c2fe00.15af4",
+ "id": "21f9c0d0.b3e61",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1332.5102081298828,
- "y": 1529.7673320770264,
- "z": "252a4e44.929a62",
+ "x": 1725.02099609375,
+ "y": 1514.4339752197266,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "30f2e462.46c8dc"
+ "f5d875fe.b1abd8"
]
]
},
{
- "id": "30f2e462.46c8dc",
+ "id": "f5d875fe.b1abd8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding a new neighbor\" />",
"comments": "",
- "x": 1508.5099716186523,
- "y": 1514.7673053741455,
- "z": "252a4e44.929a62",
+ "x": 1901.0207595825195,
+ "y": 1499.4339485168457,
+ "z": "27bb3cd4.ff8ff4",
"wires": []
},
{
- "id": "d3287262.5d0d6",
+ "id": "792e7b5a.a61a04",
"type": "execute",
"name": "Get neighbor details pre-configuration",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.config-neighbor-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-neighbor-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n",
"comments": "",
"outputs": 1,
- "x": 888.5103969573975,
- "y": 1428.7777709960938,
- "z": "252a4e44.929a62",
+ "x": 1299.0212097167969,
+ "y": 1445.44455909729,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "f0a75827.0ad898",
- "1be65a71.b6dd36"
+ "540211b2.94b0d",
+ "801a995a.edafc8"
]
]
},
{
- "id": "f0a75827.0ad898",
+ "id": "540211b2.94b0d",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1161.510498046875,
- "y": 1401.43381690979,
- "z": "252a4e44.929a62",
+ "x": 1554.0212860107422,
+ "y": 1386.1004600524902,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "2355719e.d606ce"
+ "3c1c75d7.8974ba"
]
]
},
{
- "id": "1be65a71.b6dd36",
+ "id": "801a995a.edafc8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1156.5103302001953,
- "y": 1457.433970451355,
- "z": "252a4e44.929a62",
+ "x": 1549.0211181640625,
+ "y": 1442.1006135940552,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "a0d79e97.8cfb2"
+ "fd5d7c52.8ddfa"
]
]
},
{
- "id": "a0d79e97.8cfb2",
+ "id": "fd5d7c52.8ddfa",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1308.5101470947266,
- "y": 1466.4338755607605,
- "z": "252a4e44.929a62",
+ "x": 1701.0209350585938,
+ "y": 1451.1005187034607,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "4d7e37ed.51df38"
+ "2a23aaaf.9ebec6"
]
]
},
{
- "id": "4d7e37ed.51df38",
+ "id": "2a23aaaf.9ebec6",
"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": 1469.5100631713867,
- "y": 1460.4341459274292,
- "z": "252a4e44.929a62",
+ "x": 1862.020887851715,
+ "y": 1445.1008157730103,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "2355719e.d606ce",
+ "id": "3c1c75d7.8974ba",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error getting details about new neighbor \" />",
"comments": "",
- "x": 1362.5102882385254,
- "y": 1407.433825492859,
- "z": "252a4e44.929a62",
+ "x": 1755.0210762023926,
+ "y": 1392.100468635559,
+ "z": "27bb3cd4.ff8ff4",
"wires": []
},
{
- "id": "dbd04c8.1f2e4b",
+ "id": "b1cab950.390f88",
"type": "execute",
"name": "Get neighbor details post-configuration",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.config-neighbor-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-neighbor-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n",
"comments": "",
"outputs": 1,
- "x": 844.5103969573975,
- "y": 1627.6666870117188,
- "z": "252a4e44.929a62",
+ "x": 1237.0211849212646,
+ "y": 1612.333330154419,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "4d125e.4a93cda4",
- "bb46ef6d.b2b72"
+ "29106f4a.64b9b",
+ "697dc7e3.e53d38"
]
]
},
{
- "id": "4d125e.4a93cda4",
+ "id": "29106f4a.64b9b",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1201.510498046875,
- "y": 1639.3226718902588,
- "z": "252a4e44.929a62",
+ "x": 1594.0212860107422,
+ "y": 1623.989315032959,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "939a85c1.7d4528"
+ "e1372b.75c588d8"
]
]
},
{
- "id": "bb46ef6d.b2b72",
+ "id": "697dc7e3.e53d38",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1196.5103302001953,
- "y": 1695.3228254318237,
- "z": "252a4e44.929a62",
+ "x": 1589.0211181640625,
+ "y": 1679.989468574524,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "90a83ca2.24d34"
+ "fca7e979.981c08"
]
]
},
{
- "id": "90a83ca2.24d34",
+ "id": "fca7e979.981c08",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1348.5101470947266,
- "y": 1704.3227305412292,
- "z": "252a4e44.929a62",
+ "x": 1741.0209350585938,
+ "y": 1688.9893736839294,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "9c430d3f.4728b"
+ "e95b282a.51b588"
]
]
},
{
- "id": "939a85c1.7d4528",
+ "id": "e1372b.75c588d8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error getting details about new neighbor \" />",
"comments": "",
- "x": 1402.5102882385254,
- "y": 1645.3226804733276,
- "z": "252a4e44.929a62",
+ "x": 1795.0210762023926,
+ "y": 1629.9893236160278,
+ "z": "27bb3cd4.ff8ff4",
"wires": []
},
{
- "id": "9c430d3f.4728b",
+ "id": "e95b282a.51b588",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Details about Neighbor Post-configuration\"/>\n<parameter name=\"field2\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].plmnid`\"/>\n<parameter name=\"field3\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].cid`\"/>\n<parameter name=\"field4\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].phy-cell-id`\"/>\n<parameter name=\"field5\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].pnf-name`\"/>\n<parameter name=\"field6\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].blacklisted`\"/>",
+ "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": 1509.5100555419922,
- "y": 1697.3229751586914,
- "z": "252a4e44.929a62",
+ "x": 1902.0208435058594,
+ "y": 1681.9896183013916,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "dc02f9a7.daea28",
+ "id": "e15c6c11.eab37",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 429,
- "y": 339,
- "z": "252a4e44.929a62",
+ "x": 1172.5105209350586,
+ "y": 819.6667823791504,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "7a6e2451.cb09ac"
+ "2424729e.e49bce"
]
]
},
{
- "id": "f2bdeb66.05c1e8",
+ "id": "1f32c22f.4bd18e",
"type": "switchNode",
"name": "switch mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 327,
- "y": 428,
- "z": "252a4e44.929a62",
+ "x": 455.51043701171875,
+ "y": 843.6667327880859,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "dc02f9a7.daea28",
- "d85c99ed.eedbf8"
+ "e15c6c11.eab37",
+ "572a8f53.31922"
]
]
},
{
- "id": "d85c99ed.eedbf8",
+ "id": "572a8f53.31922",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 360,
- "y": 506,
- "z": "252a4e44.929a62",
+ "x": 678.510440826416,
+ "y": 883.6667442321777,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "7ffaf0be.ee25f"
+ "f05d9389.aa23"
]
]
},
{
- "id": "53f1a4f2.cd94cc",
+ "id": "95fb7dbc.302e3",
"type": "execute",
- "name": "populate netconf mount",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.config-neighbor-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{pnf-name}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.pnf-name`\"/>",
+ "name": "populate idGNBCUCPFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.config-neighbor-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUCPFunction`\"/>",
"comments": "",
"outputs": 1,
- "x": 884.9999599456787,
- "y": 1254.0000610351562,
- "z": "252a4e44.929a62",
+ "x": 1281.5108795166016,
+ "y": 1254.6669673919678,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "a684245a.ac34d8",
+ "id": "158a1faf.a18df",
"type": "execute",
"name": "execute TemplateNode",
"xml": "<execute plugin=\"org.onap.ccsdk.sli.plugins.template.TemplateNode\" method=\"evaluateTemplate\" >\n <parameter name='templatePath' value='oofpcipoc-dmaap-publish-modifyconfiganr-resp-payload-template.vtl' />\n <parameter name='output' value='resp-payload' />\n <parameter name='prefix' value='sdnr' />",
"comments": "",
"outputs": 1,
- "x": 874.0104598999023,
- "y": 2140.4550261497498,
- "z": "252a4e44.929a62",
+ "x": 921.520866394043,
+ "y": 2665.121678367257,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "15052fc1.cca6c",
- "6ccf93e6.8f7a4c"
+ "14c5f32a.54dc0d",
+ "822b4365.b6357"
]
]
},
{
- "id": "15052fc1.cca6c",
+ "id": "14c5f32a.54dc0d",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1148.0104598999023,
- "y": 2109.4550261497498,
- "z": "252a4e44.929a62",
+ "x": 1195.520866394043,
+ "y": 2634.121678367257,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "3551690e.6b2536"
+ "7bdc60e.dc968a"
]
]
},
{
- "id": "3551690e.6b2536",
+ "id": "7bdc60e.dc968a",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1339.0104598999023,
- "y": 2112.4550261497498,
- "z": "252a4e44.929a62",
+ "x": 1386.520866394043,
+ "y": 2637.121678367257,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "d6d5afed.2d1c5"
+ "840a192f.604148"
]
]
},
{
- "id": "d6d5afed.2d1c5",
+ "id": "840a192f.604148",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Redndred sdnr payload template as a string\"/>\n<parameter name='field3' value='`$sdnr.resp-payload`' />",
"comments": "",
"outputs": 1,
- "x": 1507.0104598999023,
- "y": 2113.4550261497498,
- "z": "252a4e44.929a62",
+ "x": 1554.520866394043,
+ "y": 2638.121678367257,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "55bd856d.1ca76c",
+ "id": "8bb32410.7dc268",
"type": "execute",
"name": "remove new lines",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replaceAll' >\n <parameter name=\"source\" value=\"`$sdnr.resp-payload`\"/>\n <parameter name=\"outputPath\" value=\"tmp.oofpcipoc-dmaap-config-resp.payload\"/>\n <parameter name=\"target\" value=\"\\n\"/>\n <parameter name=\"replacement\" value=\"\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 846.5104598999023,
- "y": 2256.4550261497498,
- "z": "252a4e44.929a62",
+ "x": 894.020866394043,
+ "y": 2781.121678367257,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "3480a140.d8695e",
- "630b1a6e.1c5ca4"
+ "404aa1a2.5b57",
+ "a2cdb02b.0dff3"
]
]
},
{
- "id": "fed718fb.801098",
+ "id": "824b311c.61cc8",
"type": "execute",
"name": "remove tabs",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replaceAll' >\n <parameter name=\"source\" value=\"`$tmp.oofpcipoc-dmaap-config-resp.payload`\"/>\n <parameter name=\"outputPath\" value=\"tmp.oofpcipoc-dmaap-config-resp.payload\"/>\n <parameter name=\"target\" value=\"\\t\"/>\n <parameter name=\"replacement\" value=\"\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 836.0104598999023,
- "y": 2338.4550261497498,
- "z": "252a4e44.929a62",
+ "x": 883.520866394043,
+ "y": 2863.121678367257,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "41afadd6.491be4",
- "2950c15f.a9573e"
+ "944b733b.d27a6",
+ "99c0e62b.b388a8"
]
]
},
{
- "id": "41afadd6.491be4",
+ "id": "944b733b.d27a6",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1018.5104598999023,
- "y": 2346.4550261497498,
- "z": "252a4e44.929a62",
+ "x": 1066.020866394043,
+ "y": 2871.121678367257,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "7784e992.808138"
+ "8a494f39.07c32"
]
]
},
{
- "id": "7784e992.808138",
+ "id": "8a494f39.07c32",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1203.5104598999023,
- "y": 2344.4550261497498,
- "z": "252a4e44.929a62",
+ "x": 1251.020866394043,
+ "y": 2869.121678367257,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "e30277aa.6f4f48"
+ "1ace760a.7dbbda"
]
]
},
{
- "id": "e30277aa.6f4f48",
+ "id": "1ace760a.7dbbda",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Redndred template with tabs removed \\r\"/>\n<parameter name='field3' value='`$tmp.oofpcipoc-dmaap-config-resp.payload`' />\n",
"comments": "",
"outputs": 1,
- "x": 1405.5104598999023,
- "y": 2339.4550261497498,
- "z": "252a4e44.929a62",
+ "x": 1453.020866394043,
+ "y": 2864.121678367257,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "3480a140.d8695e",
+ "id": "404aa1a2.5b57",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1040.0104598999023,
- "y": 2224.4550261497498,
- "z": "252a4e44.929a62",
+ "x": 1087.520866394043,
+ "y": 2749.121678367257,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "67a37d60.dbdd04"
+ "8e0a05a9.8ff498"
]
]
},
{
- "id": "67a37d60.dbdd04",
+ "id": "8e0a05a9.8ff498",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1215.0104598999023,
- "y": 2238.4550261497498,
- "z": "252a4e44.929a62",
+ "x": 1262.520866394043,
+ "y": 2763.121678367257,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "f9928555.694f68"
+ "bebd6ee2.3c9e6"
]
]
},
{
- "id": "f9928555.694f68",
+ "id": "bebd6ee2.3c9e6",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Redndred template with lines removed \\r\"/>\n<parameter name='field3' value='`$tmp.oofpcipoc-dmaap-config-resp.payload`' />\n",
"comments": "",
"outputs": 1,
- "x": 1403.0104598999023,
- "y": 2240.4550261497498,
- "z": "252a4e44.929a62",
+ "x": 1456.5209045410156,
+ "y": 2768.1217303425074,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "6ccf93e6.8f7a4c",
+ "id": "822b4365.b6357",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1147.0104598999023,
- "y": 2166.4550261497498,
- "z": "252a4e44.929a62",
+ "x": 1194.520866394043,
+ "y": 2691.121678367257,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "c443b33.268a25"
+ "cec53de4.d756d"
]
]
},
{
- "id": "c443b33.268a25",
+ "id": "cec53de4.d756d",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1316.0103378295898,
- "y": 2172.4550261497498,
- "z": "252a4e44.929a62",
+ "x": 1363.5207443237305,
+ "y": 2697.121678367257,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "59f0b873.9c5108"
+ "7950b06c.0480a"
]
]
},
{
- "id": "59f0b873.9c5108",
+ "id": "7950b06c.0480a",
"type": "returnFailure",
"name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error creating SDNR response payload string. Aborting PCI configuration\" />",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error creating SDNR response payload string. Aborting Generic neighbor configuration\" />",
"comments": "",
- "x": 1472.0100936889648,
- "y": 2171.4550261497498,
- "z": "252a4e44.929a62",
+ "x": 1519.5205001831055,
+ "y": 2696.121678367257,
+ "z": "27bb3cd4.ff8ff4",
"wires": []
},
{
- "id": "630b1a6e.1c5ca4",
+ "id": "a2cdb02b.0dff3",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1061.0104598999023,
- "y": 2295.4550261497498,
- "z": "252a4e44.929a62",
+ "x": 1108.520866394043,
+ "y": 2820.121678367257,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "f2d69190.67874"
+ "9c133c8f.808f1"
]
]
},
{
- "id": "f2d69190.67874",
+ "id": "9c133c8f.808f1",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1229.0103378295898,
- "y": 2290.4550261497498,
- "z": "252a4e44.929a62",
+ "x": 1276.5207443237305,
+ "y": 2815.121678367257,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "74ef47ca.f01a78"
+ "1075385e.46e228"
]
]
},
{
- "id": "74ef47ca.f01a78",
+ "id": "1075385e.46e228",
"type": "returnFailure",
"name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error removing lines from SDNR response payload string. Aborting PCI configuration\" />",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error removing lines from SDNR response payload string. Aborting Generic neighbor configuration\" />",
"comments": "",
- "x": 1387.0100326538086,
- "y": 2293.4550261497498,
- "z": "252a4e44.929a62",
+ "x": 1434.5204391479492,
+ "y": 2818.121678367257,
+ "z": "27bb3cd4.ff8ff4",
"wires": []
},
{
- "id": "2950c15f.a9573e",
+ "id": "99c0e62b.b388a8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1021.0104598999023,
- "y": 2394.4550261497498,
- "z": "252a4e44.929a62",
+ "x": 1063.5209121704102,
+ "y": 2954.1218099594116,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "3e3b30c7.caf5d"
+ "54cbffb2.b0ea"
]
]
},
{
- "id": "3e3b30c7.caf5d",
+ "id": "54cbffb2.b0ea",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1197.0103378295898,
- "y": 2395.4550261497498,
- "z": "252a4e44.929a62",
+ "x": 1239.5207901000977,
+ "y": 2955.1218099594116,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "3e56d853.3bee08"
+ "f7613a42.82e6d8"
]
]
},
{
- "id": "3e56d853.3bee08",
+ "id": "f7613a42.82e6d8",
"type": "returnFailure",
"name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error removing tabs from SDNR response payload string. Aborting PCI configuration\" />",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error removing tabs from SDNR response payload string. Aborting Generic neighbor configuration\" />",
"comments": "",
- "x": 1344.0100326538086,
- "y": 2398.4550261497498,
- "z": "252a4e44.929a62",
+ "x": 1386.5204849243164,
+ "y": 2958.1218099594116,
+ "z": "27bb3cd4.ff8ff4",
"wires": []
},
{
- "id": "2ae7e255.e92e0e",
+ "id": "92654a64.0d57a8",
"type": "block",
"name": "DMAAP Payload Generation",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 578.0104751586914,
- "y": 2258.4551243782043,
- "z": "252a4e44.929a62",
+ "x": 625.520881652832,
+ "y": 2783.1217765957117,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "a684245a.ac34d8",
- "55bd856d.1ca76c",
- "fed718fb.801098"
+ "158a1faf.a18df",
+ "8bb32410.7dc268",
+ "824b311c.61cc8"
]
]
},
{
- "id": "f6ddb1c4.e2257",
+ "id": "530ff06c.c455e",
"type": "block",
"name": "DMAAP Reponse Publish",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 440.0104446411133,
- "y": 2606.343816280365,
- "z": "252a4e44.929a62",
+ "x": 482.5208969116211,
+ "y": 3166.010600090027,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "3f35cc94.a49f84",
- "8019acb8.c7086"
+ "cc493306.8c459",
+ "1c6aa3ba.e4877c",
+ "e342a902.c1abe8",
+ "44e3cf80.cc129"
]
]
},
{
- "id": "8019acb8.c7086",
+ "id": "1c6aa3ba.e4877c",
"type": "execute",
"name": "execute DmaapMsg",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.dmaap-publish-config-response.template`\" />\n <parameter name='restapiUrl' value=\"`$prop.dmaap-message-router.url + '/' + $prop.oofpcipoc-dmaap-configuration-response.topic`\" />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='POST' />\n <parameter name='contentType' value='application/json' />\n <parameter name='responsePrefix' value='dmaap' />",
"comments": "",
"outputs": 1,
- "x": 855.0105209350586,
- "y": 2668.4550433158875,
- "z": "252a4e44.929a62",
+ "x": 755.5209732055664,
+ "y": 3562.12189245224,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "33c7111a.a2963e",
- "14e94231.224a4e"
+ "41360722.eac968",
+ "a6d1a857.b6e408"
]
]
},
{
- "id": "3f35cc94.a49f84",
+ "id": "cc493306.8c459",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='tmp.oofpcipoc-dmaap-config-resp.rpc-name' value='`$prop.oofpcipoc-dmaap-config-resp.rpc-name.modifyconfiganr`'/>",
"comments": "",
- "x": 841.6772193908691,
- "y": 2564.4550337791443,
- "z": "252a4e44.929a62",
+ "x": 723.1876983642578,
+ "y": 2977.121861934662,
+ "z": "27bb3cd4.ff8ff4",
"wires": []
},
{
- "id": "33c7111a.a2963e",
+ "id": "41360722.eac968",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1029.510498046875,
- "y": 2602.3717608451843,
- "z": "252a4e44.929a62",
+ "x": 930.0209503173828,
+ "y": 3496.038609981537,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "94a3b167.874"
+ "60a9270f.3d4e18"
]
]
},
{
- "id": "14e94231.224a4e",
+ "id": "a6d1a857.b6e408",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1052.510353088379,
- "y": 2731.3718676567078,
- "z": "252a4e44.929a62",
+ "x": 953.0208053588867,
+ "y": 3625.0387167930603,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "b252cdf3.20703"
+ "ead59e1e.36a5"
]
]
},
{
- "id": "94a3b167.874",
+ "id": "60a9270f.3d4e18",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1210.510269165039,
- "y": 2605.3718905448914,
- "z": "252a4e44.929a62",
+ "x": 1111.0207214355469,
+ "y": 3499.038739681244,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "df9838bf.c57f98"
+ "856c7686.a3c978"
]
]
},
{
- "id": "df9838bf.c57f98",
+ "id": "856c7686.a3c978",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error publishing DMAAP Config Response message. ConfigDB Updated; TO be rolled back...will handle next release\" />",
"comments": "",
- "x": 1384.5099868774414,
- "y": 2612.3718156814575,
- "z": "252a4e44.929a62",
+ "x": 1285.0204391479492,
+ "y": 3506.03866481781,
+ "z": "27bb3cd4.ff8ff4",
"wires": []
},
{
- "id": "b252cdf3.20703",
+ "id": "ead59e1e.36a5",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1212.5099983215332,
- "y": 2723.3718400001526,
- "z": "252a4e44.929a62",
+ "x": 1113.020450592041,
+ "y": 3617.038689136505,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "d4a05173.00859"
+ "2c555488.acc29c"
]
]
},
{
- "id": "d4a05173.00859",
+ "id": "2c555488.acc29c",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"DMAAP Config Response Message Successfully Published \"/>",
"comments": "",
"outputs": 1,
- "x": 1389.5101165771484,
- "y": 2728.3719487190247,
- "z": "252a4e44.929a62",
+ "x": 1290.0205688476562,
+ "y": 3622.038797855377,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "a3e4a58a.882fd8",
+ "id": "66f18141.7b5fa",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 893.0104370117188,
- "y": 858.34375,
- "z": "252a4e44.929a62",
+ "x": 2625.5211181640625,
+ "y": 1623.0104141235352,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "82201feb.47811",
- "a6151b0f.fd4e38",
- "a9fa611b.f4f53",
- "f8b28cfb.9ca18"
+ "32d140f1.b88fb",
+ "637b306f.543c5",
+ "d465c10b.caccf",
+ "6e14e0da.0bdb5"
]
]
},
{
- "id": "82201feb.47811",
+ "id": "32d140f1.b88fb",
"type": "execute",
"name": "generate configdb nbr ho patch url",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.patch-ho-for-nbr`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.patch-ho-for-nbr.url\"/>\n <parameter name=\"target\" value=\"{cellId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.alias`\"/>",
"comments": "",
"outputs": 1,
- "x": 1175.0103607177734,
- "y": 711.3437967300415,
- "z": "252a4e44.929a62",
+ "x": 2907.521041870117,
+ "y": 1476.0104608535767,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "a6151b0f.fd4e38",
+ "id": "637b306f.543c5",
"type": "record",
"name": "record configdb RestAPI parms",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB PCI Update\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.patch-ho-for-nbr.url`\" />\n<parameter name='field3' value=\"`$tmp.alias`\" />\n<parameter name='field4' value=\"`$tmp.cid`\" />",
"comments": "",
"outputs": 1,
- "x": 1184.0104522705078,
- "y": 824.3437929153442,
- "z": "252a4e44.929a62",
+ "x": 2916.5211334228516,
+ "y": 1589.0104570388794,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "a9fa611b.f4f53",
+ "id": "d465c10b.caccf",
"type": "execute",
"name": "Configure PCI value in configdb",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/oofpcipoc-patch-configdb-ho-for-nbr.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.patch-ho-for-nbr.url`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n",
"comments": "",
"outputs": 1,
- "x": 1151.0104370117188,
- "y": 929.34375,
- "z": "252a4e44.929a62",
+ "x": 2883.5211181640625,
+ "y": 1694.0104141235352,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "f52685f5.9ec9e8",
- "1e33abb.7dfcc54"
+ "69a167be.15f958",
+ "22e6933f.21f04c"
]
]
},
{
- "id": "f52685f5.9ec9e8",
+ "id": "69a167be.15f958",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1366.0104370117188,
- "y": 872.34375,
- "z": "252a4e44.929a62",
+ "x": 3098.5211181640625,
+ "y": 1637.0104141235352,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "7a88211d.21404"
+ "e88caf47.ae702"
]
]
},
{
- "id": "1e33abb.7dfcc54",
+ "id": "22e6933f.21f04c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1366.0103149414062,
- "y": 968.3436279296875,
- "z": "252a4e44.929a62",
+ "x": 3118.5212478637695,
+ "y": 1733.0102767944336,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "cdb5356d.ee7188"
+ "d16cc436.3bcdb8"
]
]
},
{
- "id": "7a88211d.21404",
+ "id": "e88caf47.ae702",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1535.0103149414062,
- "y": 883.34375,
- "z": "252a4e44.929a62",
+ "x": 3267.52099609375,
+ "y": 1648.0104141235352,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "3afbe91c.525196"
+ "888ea163.551f"
]
]
},
{
- "id": "cdb5356d.ee7188",
+ "id": "d16cc436.3bcdb8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1528.0100708007812,
- "y": 969.34375,
- "z": "252a4e44.929a62",
+ "x": 3280.5210037231445,
+ "y": 1734.010398864746,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "a11318ad.1a6bc8"
+ "bd20f7c9.c85b98"
]
]
},
{
- "id": "3afbe91c.525196",
+ "id": "888ea163.551f",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error updating configDB. Aborting Nbr HO configuration\" />",
"comments": "",
- "x": 1689.010009765625,
- "y": 876.34375,
- "z": "252a4e44.929a62",
+ "x": 3421.5206909179688,
+ "y": 1641.0104141235352,
+ "z": "27bb3cd4.ff8ff4",
"wires": []
},
{
- "id": "a11318ad.1a6bc8",
+ "id": "bd20f7c9.c85b98",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"HO Value for nbr updated in ConfigDB\"/>",
"comments": "",
"outputs": 1,
- "x": 1683.010269165039,
- "y": 966.3437585830688,
- "z": "252a4e44.929a62",
+ "x": 3435.5212020874023,
+ "y": 1731.010407447815,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "9b2edc01.f191f",
+ "id": "4acfeeff.78756",
"type": "switchNode",
"name": "switch configdb deployed",
"xml": "<switch test='`$prop.configdb-deployed`'>\n",
"comments": "",
"outputs": 1,
- "x": 776.0104522705078,
- "y": 652.343770980835,
- "z": "252a4e44.929a62",
+ "x": 2508.5211334228516,
+ "y": 1417.0104351043701,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "1e56b849.b86cf8",
- "ae371307.929fb"
+ "4867f77f.c8c358",
+ "8b55e7b1.9c1f78"
]
]
},
{
- "id": "1e56b849.b86cf8",
+ "id": "4867f77f.c8c358",
"type": "outcome",
"name": "Deployed",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 818.0104370117188,
- "y": 782.34375,
- "z": "252a4e44.929a62",
+ "x": 2550.5211181640625,
+ "y": 1547.0104141235352,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "a3e4a58a.882fd8"
+ "66f18141.7b5fa"
]
]
},
{
- "id": "f8b28cfb.9ca18",
+ "id": "6e14e0da.0bdb5",
"type": "execute",
"name": "Update target cellid for configdb nbr ho patch url",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.configdb.patch-ho-for-nbr.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.patch-ho-for-nbr.url\"/>\n <parameter name=\"target\" value=\"{targetCellId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>",
"comments": "",
"outputs": 1,
- "x": 1243.0103912353516,
- "y": 763.4549632072449,
- "z": "252a4e44.929a62",
- "wires": [
- []
- ]
- },
- {
- "id": "d525e267.ae255",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"ConfigDB Update Skipped\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1215.0103645324707,
- "y": 638.5659379959106,
- "z": "252a4e44.929a62",
+ "x": 2975.5210723876953,
+ "y": 1528.12162733078,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "ae371307.929fb",
+ "id": "8b55e7b1.9c1f78",
"type": "outcome",
"name": "Not Deployed",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1041.0103302001953,
- "y": 634.6770076751709,
- "z": "252a4e44.929a62",
+ "x": 2915.52108001709,
+ "y": 1407.3435878753662,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "d525e267.ae255"
+ "fa469169.21411"
]
]
},
{
- "id": "11c3d0d6.90744f",
+ "id": "5a9987d8.e2c4e8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 882.0104370117188,
- "y": 1936.5660400390625,
- "z": "252a4e44.929a62",
+ "x": 1199.5212936401367,
+ "y": 2281.2328329086304,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "8655da73.bc36d8",
- "382e3360.38b5ec",
- "d9ac0eb4.66ffe",
- "5df7b8fb.71a428"
+ "11bccb81.cfc964",
+ "c7e9af19.d1a3f",
+ "81297356.87779",
+ "9e49d63a.a0f698"
]
]
},
{
- "id": "8655da73.bc36d8",
+ "id": "11bccb81.cfc964",
"type": "execute",
"name": "generate configdb nbr ho patch url",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.patch-ho-for-nbr`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.patch-ho-for-nbr.url\"/>\n <parameter name=\"target\" value=\"{cellId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.alias`\"/>",
"comments": "",
"outputs": 1,
- "x": 1209.0103759765625,
- "y": 1797.5660467147827,
- "z": "252a4e44.929a62",
+ "x": 1566.521240234375,
+ "y": 2222.2328810691833,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "382e3360.38b5ec",
+ "id": "c7e9af19.d1a3f",
"type": "execute",
"name": "Configure Nbr HO value in configdb",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/oofpcipoc-patch-configdb-ho-for-nbr.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.patch-ho-for-nbr.url`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n",
"comments": "",
"outputs": 1,
- "x": 1140.0104370117188,
- "y": 2007.5660400390625,
- "z": "252a4e44.929a62",
+ "x": 1497.5213012695312,
+ "y": 2432.232874393463,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "5e7d03c0.aeeeac",
- "40e48c4e.2e3b44"
+ "4119df2f.58877",
+ "dc98917.65ab07"
]
]
},
{
- "id": "5e7d03c0.aeeeac",
+ "id": "4119df2f.58877",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1355.0104370117188,
- "y": 1950.5660400390625,
- "z": "252a4e44.929a62",
+ "x": 1712.5213012695312,
+ "y": 2375.232874393463,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "9814df0d.82aad"
+ "f2acbf7d.06f19"
]
]
},
{
- "id": "40e48c4e.2e3b44",
+ "id": "dc98917.65ab07",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1355.0103149414062,
- "y": 2046.56591796875,
- "z": "252a4e44.929a62",
+ "x": 1712.5211791992188,
+ "y": 2471.2327523231506,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "72b3f355.14e49c"
+ "d974524c.48c3"
]
]
},
{
- "id": "9814df0d.82aad",
+ "id": "f2acbf7d.06f19",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1524.0103149414062,
- "y": 1961.5660400390625,
- "z": "252a4e44.929a62",
+ "x": 1881.5211791992188,
+ "y": 2386.232874393463,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "4c3f314d.e4918"
+ "66c19c9a.cc0744"
]
]
},
{
- "id": "72b3f355.14e49c",
+ "id": "d974524c.48c3",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1517.0100708007812,
- "y": 2047.5660400390625,
- "z": "252a4e44.929a62",
+ "x": 1874.5209350585938,
+ "y": 2472.232874393463,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "1e520c42.9f5004"
+ "bd975804.87fac8"
]
]
},
{
- "id": "4c3f314d.e4918",
+ "id": "66c19c9a.cc0744",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error updating configDB. Aborting Nbr HO configuration\" />",
"comments": "",
- "x": 1678.010009765625,
- "y": 1954.5660400390625,
- "z": "252a4e44.929a62",
+ "x": 2035.5208740234375,
+ "y": 2379.232874393463,
+ "z": "27bb3cd4.ff8ff4",
"wires": []
},
{
- "id": "1e520c42.9f5004",
+ "id": "bd975804.87fac8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"HO Value for nbr updated in ConfigDB\"/>",
"comments": "",
"outputs": 1,
- "x": 1672.010269165039,
- "y": 2044.5660486221313,
- "z": "252a4e44.929a62",
+ "x": 2029.5211334228516,
+ "y": 2469.232882976532,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "91a1e388.084d9",
+ "id": "2e0329eb.7cfeb6",
"type": "switchNode",
"name": "switch configdb deployed",
"xml": "<switch test='`$prop.configdb-deployed`'>\n",
"comments": "",
"outputs": 1,
- "x": 698.0107116699219,
- "y": 1749.566120147705,
- "z": "252a4e44.929a62",
+ "x": 1090.521499633789,
+ "y": 1734.2327632904053,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "92f1f43a.71c648",
- "3956df3.7497e2"
+ "42e1f30.701fe0c",
+ "c87f7605.35c438"
]
]
},
{
- "id": "92f1f43a.71c648",
+ "id": "42e1f30.701fe0c",
"type": "outcome",
"name": "Deployed",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 902.0104904174805,
- "y": 1834.5660769939423,
- "z": "252a4e44.929a62",
+ "x": 929.521297454834,
+ "y": 2124.232828140259,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "11c3d0d6.90744f"
+ "5a9987d8.e2c4e8"
]
]
},
{
- "id": "d9ac0eb4.66ffe",
+ "id": "81297356.87779",
"type": "execute",
"name": "Update target cellid for configdb nbr ho patch url",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.configdb.patch-ho-for-nbr.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.patch-ho-for-nbr.url\"/>\n <parameter name=\"target\" value=\"{targetCellId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>",
"comments": "",
"outputs": 1,
- "x": 1260.0103759765625,
- "y": 1850.6773228645325,
- "z": "252a4e44.929a62",
+ "x": 1617.521240234375,
+ "y": 2275.344157218933,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "230508b3.4de498",
+ "id": "4b29419d.11b54",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"ConfigDB Update Skipped\"/>",
+ "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": 1193.0104579925537,
- "y": 1747.788185119629,
- "z": "252a4e44.929a62",
+ "x": 1529.5212059020996,
+ "y": 1774.4547634124756,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "3956df3.7497e2",
+ "id": "c87f7605.35c438",
"type": "outcome",
"name": "Not Deployed",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1014.010383605957,
- "y": 1734.8994035720825,
- "z": "252a4e44.929a62",
+ "x": 1406.5211715698242,
+ "y": 1719.5660467147827,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "230508b3.4de498"
+ "fb5aba08.620b18"
]
]
},
{
- "id": "5df7b8fb.71a428",
+ "id": "9e49d63a.a0f698",
"type": "record",
"name": "record configdb RestAPI parms",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB PCI Update\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.patch-ho-for-nbr.url`\" />\n<parameter name='field3' value=\"`$tmp.alias`\" />\n<parameter name='field4' value=\"`$tmp.cid`\" />",
"comments": "",
"outputs": 1,
- "x": 1205.565933227539,
- "y": 1907.3437194824219,
- "z": "252a4e44.929a62",
+ "x": 1563.0767974853516,
+ "y": 2332.0105538368225,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "bd6a5dc6.53e57",
+ "id": "5b9b0a8.18bd8f4",
"type": "set",
"name": "set properties for DMAAP header",
"xml": "<set>\n<parameter name=\"prop.oofpcipoc-dmaap-config-resp.timestamp\" value=\"`$generic-neighbor-configuration-input.timeStamp`\"/>\n<parameter name=\"prop.oofpcipoc-dmaap-config-resp.requestID\" value=\"`$generic-neighbor-configuration-input.requestID`\"/>\n<parameter name=\"prop.oofpcipoc-dmaap-config-resp.subrequestID\" value=\"`$generic-neighbor-configuration-input.subRequestID`\"/>",
"comments": "",
- "x": 399,
- "y": 300,
- "z": "252a4e44.929a62",
+ "x": 456.5104217529297,
+ "y": 309.6666774749756,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": []
+ },
+ {
+ "id": "67a95ff9.4b3fd",
+ "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": 374.5104217529297,
+ "y": 356.6666793823242,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e342a902.c1abe8",
+ "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": 750.5104522705078,
+ "y": 3461.666783809662,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "44e3cf80.cc129",
+ "type": "block",
+ "name": "Remove escape chars",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 862.5104522705078,
+ "y": 3168.666783809662,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "a122d00d.66a7c",
+ "53d8b063.65e82",
+ "6550ccad.313694"
+ ]
+ ]
+ },
+ {
+ "id": "a122d00d.66a7c",
+ "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": 1071.5104522705078,
+ "y": 3043.666783809662,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "c64e3847.585bc8",
+ "62a2cce9.0684d4"
+ ]
+ ]
+ },
+ {
+ "id": "c64e3847.585bc8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1254.0104522705078,
+ "y": 3051.666783809662,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "9f7c9ff0.810bd"
+ ]
+ ]
+ },
+ {
+ "id": "9f7c9ff0.810bd",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1439.0104522705078,
+ "y": 3049.666783809662,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "89eacba2.269688"
+ ]
+ ]
+ },
+ {
+ "id": "89eacba2.269688",
+ "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": 1642.0104522705078,
+ "y": 3045.666783809662,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "62a2cce9.0684d4",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1256.5104522705078,
+ "y": 3099.666783809662,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "4a3b0543.9cb45c"
+ ]
+ ]
+ },
+ {
+ "id": "4a3b0543.9cb45c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1432.5103302001953,
+ "y": 3100.666783809662,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "28bf6401.24b47c"
+ ]
+ ]
+ },
+ {
+ "id": "28bf6401.24b47c",
+ "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": 1581.5100860595703,
+ "y": 3107.666783809662,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": []
+ },
+ {
+ "id": "53d8b063.65e82",
+ "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": 1078.5104522705078,
+ "y": 3184.666783809662,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "ef235728.9a5a78",
+ "26cf2ccb.7c88e4"
+ ]
+ ]
+ },
+ {
+ "id": "ef235728.9a5a78",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1261.0104522705078,
+ "y": 3192.666783809662,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "8e49ce65.d6a5"
+ ]
+ ]
+ },
+ {
+ "id": "8e49ce65.d6a5",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1446.0104522705078,
+ "y": 3190.666783809662,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "cdd76f59.adb59"
+ ]
+ ]
+ },
+ {
+ "id": "cdd76f59.adb59",
+ "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": 1648.0104522705078,
+ "y": 3185.666783809662,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "26cf2ccb.7c88e4",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1263.5104522705078,
+ "y": 3240.666783809662,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "a6e43c9c.5130d"
+ ]
+ ]
+ },
+ {
+ "id": "a6e43c9c.5130d",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1439.5103302001953,
+ "y": 3241.666783809662,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "95ffaa2c.13f4d8"
+ ]
+ ]
+ },
+ {
+ "id": "95ffaa2c.13f4d8",
+ "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": 1588.5100860595703,
+ "y": 3244.666783809662,
+ "z": "27bb3cd4.ff8ff4",
"wires": []
+ },
+ {
+ "id": "6550ccad.313694",
+ "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": 1013.5104522705078,
+ "y": 3324.666783809662,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "9b5e8cd8.47c5a",
+ "931d4e47.4b2f5"
+ ]
+ ]
+ },
+ {
+ "id": "9b5e8cd8.47c5a",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1196.0104522705078,
+ "y": 3332.666783809662,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "1ca769c6.3605c6"
+ ]
+ ]
+ },
+ {
+ "id": "1ca769c6.3605c6",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1381.0104522705078,
+ "y": 3330.666783809662,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "699f503.ba0ddb"
+ ]
+ ]
+ },
+ {
+ "id": "699f503.ba0ddb",
+ "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": 1583.0104522705078,
+ "y": 3325.666783809662,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "931d4e47.4b2f5",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1198.5104522705078,
+ "y": 3380.666783809662,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "f026cb61.8a0188"
+ ]
+ ]
+ },
+ {
+ "id": "f026cb61.8a0188",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1374.5103302001953,
+ "y": 3381.666783809662,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "643bbe0e.9bd95"
+ ]
+ ]
+ },
+ {
+ "id": "643bbe0e.9bd95",
+ "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": 1521.510025024414,
+ "y": 3384.666783809662,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": []
+ },
+ {
+ "id": "8750c827.149de8",
+ "type": "switchNode",
+ "name": "is blacklisted",
+ "xml": "<switch test='`$tmp.blacklisted`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1178.6774597167969,
+ "y": 1021.1667175292969,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "cde5cc5d.4fb1f",
+ "1473e0be.790f6f"
+ ]
+ ]
+ },
+ {
+ "id": "cde5cc5d.4fb1f",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1368.6774673461914,
+ "y": 1003.1667165756226,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "8636d6f8.5a6178"
+ ]
+ ]
+ },
+ {
+ "id": "1473e0be.790f6f",
+ "type": "outcome",
+ "name": "False",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1375.6496353149414,
+ "y": 1043.8056344985962,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "4c31a601.736cb8"
+ ]
+ ]
+ },
+ {
+ "id": "379e7ddc.d8dd62",
+ "type": "set",
+ "name": "set isHOAllowed as false",
+ "xml": "<set>\n<parameter name='tmp.isHOAllowed' value='false' />",
+ "comments": "",
+ "x": 1799.621810913086,
+ "y": 999.9167165756226,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": []
+ },
+ {
+ "id": "ca5899d3.9fd1f8",
+ "type": "set",
+ "name": "set isHOAllowed as true",
+ "xml": "<set>\n<parameter name='tmp.isHOAllowed' value='true' />",
+ "comments": "",
+ "x": 1793.066146850586,
+ "y": 1038.2499704360962,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": []
+ },
+ {
+ "id": "8636d6f8.5a6178",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1552.6774673461914,
+ "y": 1001.9443864822388,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "379e7ddc.d8dd62"
+ ]
+ ]
+ },
+ {
+ "id": "4c31a601.736cb8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1540.8439712524414,
+ "y": 1049.3610534667969,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "ca5899d3.9fd1f8"
+ ]
+ ]
+ },
+ {
+ "id": "2f355bcb.3566f4",
+ "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<parameter name=\"tmp.nRTCI\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].phy-cell-id`\"/>\n",
+ "comments": "",
+ "x": 1216.0107688903809,
+ "y": 1077.500072479248,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": []
+ },
+ {
+ "id": "1f8cb6f9.f168b9",
+ "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": 1260.6775665283203,
+ "y": 1214.4999980926514,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ad4ecd3c.4121d",
+ "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": 411.37451171875,
+ "y": 486.8864850997925,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "465d1be9.f815a4",
+ "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": 423.12442779541016,
+ "y": 437.70785331726074,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3b17d3a0.cdc9fc",
+ "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": 447.671875,
+ "y": 579.8145065307617,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a282bdbf.ee13f",
+ "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": 852.1716232299805,
+ "y": 564.6676553487778,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "524f7198.62576",
+ "type": "execute",
+ "name": "initialize nearRTRIC size",
+ "xml": "<set>\n\t<parameter name='tmp.RIC.length' value=\"0\"/>\n\t",
+ "comments": "",
+ "outputs": 1,
+ "x": 480.2621307373047,
+ "y": 623.0527486801147,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "92bad4c5.5c0658",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 648.6799392700195,
+ "y": 699.564998626709,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "ac7808ef.02f5b8",
+ "5f08445c.08100c"
+ ]
+ ]
+ },
+ {
+ "id": "52b5af25.2e1ea",
+ "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": 1435.3784713745117,
+ "y": 618.4857667684555,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f9ba5873.70cca8",
+ "type": "for",
+ "name": "For anchorsList",
+ "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 453.547607421875,
+ "y": 659.9499664306641,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "457cfbdd.a13564"
+ ]
+ ]
+ },
+ {
+ "id": "457cfbdd.a13564",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 658.0795135498047,
+ "y": 654.9062652587891,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "3294f80.dc3bf08",
+ "a282bdbf.ee13f"
+ ]
+ ]
+ },
+ {
+ "id": "3294f80.dc3bf08",
+ "type": "switchNode",
+ "name": "check schemaSetName",
+ "xml": "<switch test='`$tmp.schemaset.name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 876.6561813354492,
+ "y": 611.7634429931641,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "9a5cb7b8.77e3a8"
+ ]
+ ]
+ },
+ {
+ "id": "9a5cb7b8.77e3a8",
+ "type": "outcome",
+ "name": "if ran-network",
+ "xml": "<outcome value='ran-network'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1059.9617729187012,
+ "y": 576.2356910705566,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "f69c66df.dd0898"
+ ]
+ ]
+ },
+ {
+ "id": "f69c66df.dd0898",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1231.2642059326172,
+ "y": 562.5689862966537,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "842797d2.4aba38",
+ "d1deb2dc.55894"
+ ]
+ ]
+ },
+ {
+ "id": "842797d2.4aba38",
+ "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": 1410.1776275634766,
+ "y": 562.3745282888412,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5f08445c.08100c",
+ "type": "switchNode",
+ "name": "check schemaSetName",
+ "xml": "<switch test='`$tmp.schemaset.name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 874.4554290771484,
+ "y": 690.1368917226791,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "51a60746.5abeb8"
+ ]
+ ]
+ },
+ {
+ "id": "ac7808ef.02f5b8",
+ "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": 858.4832611083984,
+ "y": 648.8868898153305,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "51a60746.5abeb8",
+ "type": "outcome",
+ "name": "if ran-network",
+ "xml": "<outcome value='ran-network'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1058.2610168457031,
+ "y": 646.6091808080673,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "6854212b.ac4cd"
+ ]
+ ]
+ },
+ {
+ "id": "6854212b.ac4cd",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1254.3968505859375,
+ "y": 648.831347823143,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "52b5af25.2e1ea",
+ "98eeab3d.b9dba8"
+ ]
+ ]
+ },
+ {
+ "id": "d7997fdc.fef12",
+ "type": "for",
+ "name": "For anchorsList",
+ "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 447.4208183288574,
+ "y": 705.4107418060303,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "92bad4c5.5c0658"
+ ]
+ ]
+ },
+ {
+ "id": "d1deb2dc.55894",
+ "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": 1409.235740661621,
+ "y": 514.053570151329,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "98eeab3d.b9dba8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1451.3229675292969,
+ "y": 667.2079375982285,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "e1b02916.7b90e8",
+ "82289c4e.13dd3",
+ "2f6e989a.bcc9b8",
+ "ebd6c08d.354f2"
+ ]
+ ]
+ },
+ {
+ "id": "d600693e.8aa858",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 660.62841796875,
+ "y": 463.2633594274521,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "677352a2.9b602c"
+ ]
+ ]
+ },
+ {
+ "id": "e072495d.58e5e8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 674.628589630127,
+ "y": 537.4577751159668,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "b938ae7c.bab38"
+ ]
+ ]
+ },
+ {
+ "id": "677352a2.9b602c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 803.3229141235352,
+ "y": 460.8745588064194,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "80996cbe.25656",
+ "6fd45460.83d24c"
+ ]
+ ]
+ },
+ {
+ "id": "b938ae7c.bab38",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 823.0727500915527,
+ "y": 514.1244815587997,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "702bf693.a42548",
+ "30065182.39617e"
+ ]
+ ]
+ },
+ {
+ "id": "80996cbe.25656",
+ "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": 987.100341796875,
+ "y": 424.70776879787445,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": []
+ },
+ {
+ "id": "702bf693.a42548",
+ "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": 1004.8225135803223,
+ "y": 498.37452256679535,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "30065182.39617e",
+ "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": 1018.3507537841797,
+ "y": 531.124524474144,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6fd45460.83d24c",
+ "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": 980.9062538146973,
+ "y": 461.2356046438217,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ddbfcb04.fe0288",
+ "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": 468.32283782958984,
+ "y": 535.4817008972168,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "e072495d.58e5e8",
+ "d600693e.8aa858"
+ ]
+ ]
+ },
+ {
+ "id": "25959b30.d72544",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1957.1771392822266,
+ "y": 695.9999812841415,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "9483eed9.bf01e"
+ ]
+ ]
+ },
+ {
+ "id": "9483eed9.bf01e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2166.177104949951,
+ "y": 667.0001233816147,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "580e40dc.0b46d",
+ "de693035.c3ab5",
+ "f8032621.282298"
+ ]
+ ]
+ },
+ {
+ "id": "2fcd593e.871b66",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1980.1771030426025,
+ "y": 642.0001233816147,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "4553e5fc.f4cb7c"
+ ]
+ ]
+ },
+ {
+ "id": "4553e5fc.f4cb7c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2203.034465789795,
+ "y": 594.2858165502548,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "631e69cb.8f9598"
+ ]
+ ]
+ },
+ {
+ "id": "e1b02916.7b90e8",
+ "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": 1762.1092948913574,
+ "y": 554.931988120079,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "82289c4e.13dd3",
+ "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": 1682.1093482971191,
+ "y": 596.9319890737534,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2f6e989a.bcc9b8",
+ "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": 1709.1093101501465,
+ "y": 637.9319900274277,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ebd6c08d.354f2",
+ "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": 1709.1092491149902,
+ "y": 682.9319919347763,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "2fcd593e.871b66",
+ "25959b30.d72544"
+ ]
+ ]
+ },
+ {
+ "id": "de693035.c3ab5",
+ "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": 2373.1091117858887,
+ "y": 691.931941986084,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "580e40dc.0b46d",
+ "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": 2351.8871841430664,
+ "y": 743.9321460723877,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "631e69cb.8f9598",
+ "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": 2375.1092567443848,
+ "y": 596.042999625206,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": []
+ },
+ {
+ "id": "8b8d2961.aeae98",
+ "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": 431.17708587646484,
+ "y": 400.3333406448364,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": []
+ },
+ {
+ "id": "f8032621.282298",
+ "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": 2391.177146911621,
+ "y": 643.6666841506958,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "edde733c.b2ac9",
+ "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<parameter name=\"field9\" value=\"nRTCI\"/>\n<parameter name=\"field10\" value=\"`$tmp.nRTCI`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1207.22216796875,
+ "y": 1124.4444580078125,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7b39b4de.4e9c6c",
+ "type": "switchNode",
+ "name": "is blacklisted",
+ "xml": "<switch test='`$tmp.blacklisted`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2516.3990783691406,
+ "y": 854.8888320922852,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "593d77a0.5cb8a8",
+ "b8bab935.c41c08"
+ ]
+ ]
+ },
+ {
+ "id": "593d77a0.5cb8a8",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2706.399085998535,
+ "y": 836.8888311386108,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "b83ed74b.3225d8"
+ ]
+ ]
+ },
+ {
+ "id": "b8bab935.c41c08",
+ "type": "outcome",
+ "name": "False",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2713.371253967285,
+ "y": 877.5277490615845,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "edf1018d.5b0f1"
+ ]
+ ]
+ },
+ {
+ "id": "8e20a8df.c00c88",
+ "type": "set",
+ "name": "set isHOAllowed as false",
+ "xml": "<set>\n<parameter name='tmp.isHOAllowed' value='false' />",
+ "comments": "",
+ "x": 3137.3434295654297,
+ "y": 833.6388311386108,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": []
+ },
+ {
+ "id": "936b434c.4f285",
+ "type": "set",
+ "name": "set isHOAllowed as true",
+ "xml": "<set>\n<parameter name='tmp.isHOAllowed' value='true' />",
+ "comments": "",
+ "x": 3130.7877655029297,
+ "y": 871.9720849990845,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": []
+ },
+ {
+ "id": "b83ed74b.3225d8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2890.399085998535,
+ "y": 835.666501045227,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "8e20a8df.c00c88"
+ ]
+ ]
+ },
+ {
+ "id": "edf1018d.5b0f1",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2878.565589904785,
+ "y": 883.0831680297852,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "936b434c.4f285"
+ ]
+ ]
+ },
+ {
+ "id": "f5ee8b6.12ca678",
+ "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<parameter name=\"tmp.nRTCI\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].phy-cell-id`\"/>\n",
+ "comments": "",
+ "x": 2535.3991203308105,
+ "y": 907.888858795166,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": []
+ },
+ {
+ "id": "82978ac0.ed8dc8",
+ "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<parameter name=\"field9\" value=\"nRTCI\"/>\n<parameter name=\"field10\" value=\"`$tmp.nRTCI`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2516.6103019714355,
+ "y": 954.8331985473633,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9f32aefb.8b268",
+ "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": 2548.065788269043,
+ "y": 1090.999906539917,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f51e527f.45e31",
+ "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": 2557.732208251953,
+ "y": 1145.3331623077393,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6b608403.2d3acc",
+ "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": 2573.888542175293,
+ "y": 1051.2221240997314,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2607273f.d4a8a8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1810,
+ "y": 1895,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "21213307.d7adac"
+ ]
+ ]
+ },
+ {
+ "id": "21213307.d7adac",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2054.6666946411133,
+ "y": 1850.6667003631592,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "979fa2e8.fdf3d",
+ "c2f4298b.e18828"
+ ]
+ ]
+ },
+ {
+ "id": "c2f4298b.e18828",
+ "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": 2235.333694458008,
+ "y": 1822.1109924316406,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": []
+ },
+ {
+ "id": "979fa2e8.fdf3d",
+ "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": 2254.3335342407227,
+ "y": 1876.9999952316284,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": []
+ },
+ {
+ "id": "292c5ef9.66d1b2",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1827.8181381225586,
+ "y": 2017.5757112503052,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "dac40ec9.1497"
+ ]
+ ]
+ },
+ {
+ "id": "dac40ec9.1497",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2077.8180618286133,
+ "y": 1962.5758905410767,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "fedcc61a.6b0308"
+ ]
+ ]
+ },
+ {
+ "id": "fedcc61a.6b0308",
+ "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": 2263.151565551758,
+ "y": 1940.576093673706,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2f693817.b45ca8",
+ "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": 1597.5321083068848,
+ "y": 1828.2939586639404,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2f88ba7.9742646",
+ "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": 1564.5321998596191,
+ "y": 1882.6273803710938,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ef019585.316058",
+ "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": 1539.9984130859375,
+ "y": 1989.4272632598877,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "2607273f.d4a8a8",
+ "292c5ef9.66d1b2"
+ ]
+ ]
+ },
+ {
+ "id": "9d1fcee2.302c3",
+ "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": 1520.1722450256348,
+ "y": 1936.6771001815796,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fb5aba08.620b18",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1314.0000381469727,
+ "y": 1828.6666831970215,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "4b29419d.11b54",
+ "2f693817.b45ca8",
+ "2f88ba7.9742646",
+ "9d1fcee2.302c3",
+ "ef019585.316058"
+ ]
+ ]
+ },
+ {
+ "id": "e814ff2f.d11c8",
+ "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": 3590,
+ "y": 1352.6666259765625,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f24257c2.25f498",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3870.4787940979004,
+ "y": 1473.211862564087,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "bf0d224.40fede"
+ ]
+ ]
+ },
+ {
+ "id": "bf0d224.40fede",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4115.145488739014,
+ "y": 1428.878562927246,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "ec44c94.4f34a38",
+ "4c9a416b.04d66"
+ ]
+ ]
+ },
+ {
+ "id": "4c9a416b.04d66",
+ "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": 4295.812488555908,
+ "y": 1400.3228549957275,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": []
+ },
+ {
+ "id": "ec44c94.4f34a38",
+ "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": 4314.812328338623,
+ "y": 1455.2118577957153,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": []
+ },
+ {
+ "id": "429dd402.4553cc",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3888.296932220459,
+ "y": 1595.787573814392,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "db5ceb2e.2f4e18"
+ ]
+ ]
+ },
+ {
+ "id": "db5ceb2e.2f4e18",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4138.296855926514,
+ "y": 1540.7877531051636,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "41e1fdb0.ff3a94"
+ ]
+ ]
+ },
+ {
+ "id": "41e1fdb0.ff3a94",
+ "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": 4323.630359649658,
+ "y": 1518.787956237793,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5eb74b88.b56964",
+ "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": 3658.010902404785,
+ "y": 1406.5058212280273,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f9942fcd.8b986",
+ "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": 3625.0109939575195,
+ "y": 1460.8392429351807,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ebe74e99.9d0b9",
+ "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": 3600.477207183838,
+ "y": 1567.6391258239746,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "f24257c2.25f498",
+ "429dd402.4553cc"
+ ]
+ ]
+ },
+ {
+ "id": "a52c3b6f.197a38",
+ "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": 3580.651039123535,
+ "y": 1514.8889627456665,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fa469169.21411",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3374.478832244873,
+ "y": 1406.8785457611084,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "e814ff2f.d11c8",
+ "5eb74b88.b56964",
+ "f9942fcd.8b986",
+ "a52c3b6f.197a38",
+ "ebe74e99.9d0b9"
+ ]
+ ]
}
-]
\ No newline at end of file
+]