summaryrefslogtreecommitdiffstats
path: root/platform-logic/oofpcipoc-api/src/main/json/oofpcipoc-api_generic-neighbor-configuration.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/oofpcipoc-api/src/main/json/oofpcipoc-api_generic-neighbor-configuration.json')
-rw-r--r--platform-logic/oofpcipoc-api/src/main/json/oofpcipoc-api_generic-neighbor-configuration.json2435
1 files changed, 1452 insertions, 983 deletions
diff --git a/platform-logic/oofpcipoc-api/src/main/json/oofpcipoc-api_generic-neighbor-configuration.json b/platform-logic/oofpcipoc-api/src/main/json/oofpcipoc-api_generic-neighbor-configuration.json
index fdddf945..9d2eafd7 100644
--- a/platform-logic/oofpcipoc-api/src/main/json/oofpcipoc-api_generic-neighbor-configuration.json
+++ b/platform-logic/oofpcipoc-api/src/main/json/oofpcipoc-api_generic-neighbor-configuration.json
@@ -1,17 +1,17 @@
[
{
- "id": "958f3975.8ff368",
+ "id": "a23e1986.d0e508",
"type": "comment",
"name": "Generic Neighbor Configuration",
"info": "",
"comments": "",
"x": 342.5104064941406,
- "y": 41.666664123535156,
- "z": "7137e6b8.2035e8",
+ "y": 71.66666412353516,
+ "z": "27bb3cd4.ff8ff4",
"wires": []
},
{
- "id": "1f489f91.23b74",
+ "id": "c91e3e99.6d94",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
@@ -19,67 +19,55 @@
"comments": "",
"outputs": 1,
"x": 2254.510841369629,
- "y": 916.6772780418396,
- "z": "7137e6b8.2035e8",
+ "y": 946.6772780418396,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "fc17bc52.31382",
- "865a47d.6f75cb8",
- "a32983a2.941a3",
- "e2796569.6cd748",
- "1c1c309f.b19e9f",
- "4cbb6966.6fcbd8",
- "a5337836.392598",
- "252eca6.e8e7436",
- "7764d749.1e3eb8",
- "220ae832.bfd458",
- "ab48c4f9.92b038"
+ "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": "ca49ee81.51d01",
+ "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": 1500.5108261108398,
- "y": 784.666862487793,
- "z": "7137e6b8.2035e8",
+ "y": 814.666862487793,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "1f489f91.23b74"
+ "c91e3e99.6d94"
]
]
},
{
- "id": "fc17bc52.31382",
+ "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": 2669.5118408203125,
- "y": 799.5557632446289,
- "z": "7137e6b8.2035e8",
+ "x": 2659.5118865966797,
+ "y": 796.2224502563477,
+ "z": "27bb3cd4.ff8ff4",
"wires": []
},
{
- "id": "865a47d.6f75cb8",
- "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": 2534.021188735962,
- "y": 842.6770915985107,
- "z": "7137e6b8.2035e8",
- "wires": [
- []
- ]
- },
- {
- "id": "30575989.1a1fd6",
+ "id": "13ca70be.83d0ef",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
@@ -87,118 +75,118 @@
"comments": "",
"outputs": 1,
"x": 76,
- "y": 368.65629959106445,
- "z": "7137e6b8.2035e8",
+ "y": 398.65629959106445,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "9f6cb18a.9ed65",
- "e0e4362b.774ec8",
- "921911db.9139f",
- "746b660d.b885d8",
- "2df44597.de8e7a",
- "b120b243.60a3c",
- "8d9907e3.141768",
- "4c9c03b6.8c846c",
- "bfe25499.9b01c8",
- "8d5dab3a.00cc68",
- "edfb7b39.0a73c8",
- "5a48b2a.858134c",
- "dafce576.0faf68",
- "43254f57.b2715",
- "f914ac5c.6260d",
- "9d717d64.54a03",
- "757b7.99b5c8498",
- "68291ec4.89a15"
+ "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": "6a24e4a4.c1e59c",
+ "id": "d67b8559.51c7a8",
"type": "method",
"name": "method",
"xml": "<method rpc='generic-neighbor-configuration' mode='sync'>\n",
"comments": "",
"outputs": 1,
"x": 93.51040649414062,
- "y": 200.65624237060547,
- "z": "7137e6b8.2035e8",
+ "y": 230.65624237060547,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "30575989.1a1fd6"
+ "13ca70be.83d0ef"
]
]
},
{
- "id": "9f6cb18a.9ed65",
+ "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": 96.51074600219727,
- "y": 2859.656629562378,
- "z": "7137e6b8.2035e8",
+ "y": 2889.656629562378,
+ "z": "27bb3cd4.ff8ff4",
"wires": []
},
{
- "id": "e0e4362b.774ec8",
+ "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": 392.5107116699219,
- "y": 98.67709350585938,
- "z": "7137e6b8.2035e8",
+ "y": 128.67709350585938,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "921911db.9139f",
+ "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": 403.5960998535156,
- "y": 145.61983489990234,
- "z": "7137e6b8.2035e8",
+ "y": 175.61983489990234,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "6ac2e9a6.33f028"
+ "3f83b27a.26631e"
]
]
},
{
- "id": "746b660d.b885d8",
+ "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": 413.5105895996094,
- "y": 194.67707061767578,
- "z": "7137e6b8.2035e8",
+ "y": 224.67707061767578,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "2df44597.de8e7a",
+ "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": 379.5107116699219,
- "y": 235.67716217041016,
- "z": "7137e6b8.2035e8",
+ "y": 265.67716217041016,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "95f9a999.3753d8",
+ "id": "819d7966.4e53d8",
"type": "service-logic",
"name": "oofpcipoc-api ${project.version}",
"module": "oofpcipoc-api",
@@ -207,177 +195,135 @@
"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": 147.51039123535156,
- "y": 110.6563491821289,
- "z": "7137e6b8.2035e8",
+ "y": 140.6563491821289,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "6a24e4a4.c1e59c"
+ "d67b8559.51c7a8"
]
]
},
{
- "id": "6ac2e9a6.33f028",
+ "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": 568.5109558105469,
- "y": 129.6562957763672,
- "z": "7137e6b8.2035e8",
+ "y": 159.6562957763672,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "5038f35e.b760cc",
+ "id": "f7672e92.fc0de",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
"x": 82.51040649414062,
- "y": 48.65625,
- "z": "7137e6b8.2035e8",
+ "y": 78.65625,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "95f9a999.3753d8"
+ "819d7966.4e53d8"
]
]
},
{
- "id": "220ae832.bfd458",
+ "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": 2605.0215454101562,
- "y": 887.2328109741211,
- "z": "7137e6b8.2035e8",
+ "x": 2578.3551712036133,
+ "y": 1002.2327814102173,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "a32983a2.941a3",
+ "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": 2532.0211791992188,
- "y": 940.4548721313477,
- "z": "7137e6b8.2035e8",
+ "x": 2512.0211067199707,
+ "y": 1200.454993724823,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "e2796569.6cd748",
- "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": 2734.021306991577,
- "y": 952.4548864364624,
- "z": "7137e6b8.2035e8",
- "wires": [
- []
- ]
- },
- {
- "id": "1c1c309f.b19e9f",
- "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": 2602.0211601257324,
- "y": 996.4548616409302,
- "z": "7137e6b8.2035e8",
- "wires": [
- []
- ]
- },
- {
- "id": "4cbb6966.6fcbd8",
- "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": 2625.021188735962,
- "y": 1041.4548845291138,
- "z": "7137e6b8.2035e8",
- "wires": [
- []
- ]
- },
- {
- "id": "252eca6.e8e7436",
+ "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": 2657.0211791992188,
- "y": 1181.4549942016602,
- "z": "7137e6b8.2035e8",
+ "x": 2547.021194458008,
+ "y": 1301.455020904541,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "258c9e.9836c362",
- "a8d82355.b5ac8"
+ "fceb428.c8443c",
+ "407e4c2f.42a8f4"
]
]
},
{
- "id": "258c9e.9836c362",
+ "id": "fceb428.c8443c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
"x": 2918.0210666656494,
- "y": 1145.444447517395,
- "z": "7137e6b8.2035e8",
+ "y": 1175.444447517395,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "f1c4a654.2172f8"
+ "c454f3e3.bd2bf"
]
]
},
{
- "id": "a8d82355.b5ac8",
+ "id": "407e4c2f.42a8f4",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
"x": 2920.021011352539,
- "y": 1209.444278717041,
- "z": "7137e6b8.2035e8",
+ "y": 1239.444278717041,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "364f24e6.f4542c"
+ "330ddc53.338d34"
]
]
},
{
- "id": "ed82748b.119ba8",
+ "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": 3251.0208053588867,
- "y": 1205.4443664550781,
- "z": "7137e6b8.2035e8",
+ "y": 1235.4443664550781,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "364f24e6.f4542c",
+ "id": "330ddc53.338d34",
"type": "block",
"name": "block",
"xml": "<block>\n",
@@ -385,16 +331,16 @@
"comments": "",
"outputs": 1,
"x": 3087.020854949951,
- "y": 1208.4443607330322,
- "z": "7137e6b8.2035e8",
+ "y": 1238.4443607330322,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "ed82748b.119ba8"
+ "2492fcd7.1fb324"
]
]
},
{
- "id": "f1c4a654.2172f8",
+ "id": "c454f3e3.bd2bf",
"type": "block",
"name": "block",
"xml": "<block>\n",
@@ -402,76 +348,76 @@
"comments": "",
"outputs": 1,
"x": 3077.020929336548,
- "y": 1154.4444332122803,
- "z": "7137e6b8.2035e8",
+ "y": 1184.4444332122803,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "4e18ad13.d88004"
+ "ab38ccb9.17f85"
]
]
},
{
- "id": "4e18ad13.d88004",
+ "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": 3253.0206928253174,
- "y": 1139.4444065093994,
- "z": "7137e6b8.2035e8",
+ "y": 1169.4444065093994,
+ "z": "27bb3cd4.ff8ff4",
"wires": []
},
{
- "id": "a5337836.392598",
+ "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": 2655.0211181640625,
- "y": 1093.4548721313477,
- "z": "7137e6b8.2035e8",
+ "x": 2571.6878662109375,
+ "y": 1248.454933166504,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "22289d3.1030062",
- "1cd16d78.64ccc3"
+ "10854dfb.5c9a62",
+ "2be3a2fc.af94fe"
]
]
},
{
- "id": "22289d3.1030062",
+ "id": "10854dfb.5c9a62",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
"x": 2923.0211791992188,
- "y": 1030.1109132766724,
- "z": "7137e6b8.2035e8",
+ "y": 1060.1109132766724,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "860a3f6b.5fb69"
+ "748ad58c.536bec"
]
]
},
{
- "id": "1cd16d78.64ccc3",
+ "id": "2be3a2fc.af94fe",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
"x": 2910.0210723876953,
- "y": 1094.1110610961914,
- "z": "7137e6b8.2035e8",
+ "y": 1124.1110610961914,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "665c96f1.f89db8"
+ "8a001b63.43d398"
]
]
},
{
- "id": "665c96f1.f89db8",
+ "id": "8a001b63.43d398",
"type": "block",
"name": "block",
"xml": "<block>\n",
@@ -479,90 +425,90 @@
"comments": "",
"outputs": 1,
"x": 3053.0208683013916,
- "y": 1091.1109766960144,
- "z": "7137e6b8.2035e8",
+ "y": 1121.1109766960144,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "5524505f.fe08b"
+ "3b696d35.d99f82"
]
]
},
{
- "id": "5524505f.fe08b",
+ "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": 3214.0207843780518,
- "y": 1085.111247062683,
- "z": "7137e6b8.2035e8",
+ "y": 1115.111247062683,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "860a3f6b.5fb69",
+ "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": 3122.0210723876953,
- "y": 1020.1109409332275,
- "z": "7137e6b8.2035e8",
+ "y": 1050.1109409332275,
+ "z": "27bb3cd4.ff8ff4",
"wires": []
},
{
- "id": "7764d749.1e3eb8",
+ "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": 2613.0211181640625,
- "y": 1257.3437271118164,
- "z": "7137e6b8.2035e8",
+ "x": 2553.021194458008,
+ "y": 1355.6770725250244,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "e831a00.cc8fc6",
- "79371802.289d68"
+ "7fe560fd.02d23",
+ "ed1931cf.b85b4"
]
]
},
{
- "id": "e831a00.cc8fc6",
+ "id": "7fe560fd.02d23",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
"x": 2948.0211181640625,
- "y": 1256.9997692108154,
- "z": "7137e6b8.2035e8",
+ "y": 1286.9997692108154,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "8fd51384.29db"
+ "204d349b.8c167c"
]
]
},
{
- "id": "79371802.289d68",
+ "id": "ed1931cf.b85b4",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
"x": 2941.021011352539,
- "y": 1308.9999656677246,
- "z": "7137e6b8.2035e8",
+ "y": 1338.9999656677246,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "373ef481.de5e7c"
+ "80020226.7c32a"
]
]
},
{
- "id": "373ef481.de5e7c",
+ "id": "80020226.7c32a",
"type": "block",
"name": "block",
"xml": "<block>\n",
@@ -570,41 +516,41 @@
"comments": "",
"outputs": 1,
"x": 3110.0207710266113,
- "y": 1315.9999046325684,
- "z": "7137e6b8.2035e8",
+ "y": 1345.9999046325684,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "e2861ab4.f8bda8"
+ "78e48fb1.deedb"
]
]
},
{
- "id": "8fd51384.29db",
+ "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": 3121.0210723876953,
- "y": 1253.9997968673706,
- "z": "7137e6b8.2035e8",
+ "y": 1283.9997968673706,
+ "z": "27bb3cd4.ff8ff4",
"wires": []
},
{
- "id": "e2861ab4.f8bda8",
+ "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": 3257.0208053588867,
- "y": 1314.0001211166382,
- "z": "7137e6b8.2035e8",
+ "y": 1344.0001211166382,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "2b982c8e.6a8e24",
+ "id": "4c74462a.6f2e48",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
@@ -612,190 +558,175 @@
"comments": "",
"outputs": 1,
"x": 971.5107345581055,
- "y": 1286.6667013168335,
- "z": "7137e6b8.2035e8",
+ "y": 1316.6667013168335,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "d8abd6b2.99b458",
- "f8d9f314.f8521",
- "fc57dffd.42f82",
- "e237afc9.01b58",
- "9cca1b05.b7fe58",
- "6117465f.a73a68",
- "de09bf42.0a5fe",
- "24ac021b.c92c5e",
- "fa1185b4.cd4e98",
- "bc2bb3bd.bb44c",
- "3161d7f6.2ec228",
- "cfd2d02c.eb4bd",
- "e542ae10.8e565",
- "7423ff73.ed805",
- "11ef3c2b.c12334"
+ "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": "aa0a8ac6.7fa668",
+ "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": 881.5107002258301,
- "y": 878.656328201294,
- "z": "7137e6b8.2035e8",
+ "y": 908.656328201294,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "2b982c8e.6a8e24"
+ "4c74462a.6f2e48"
]
]
},
{
- "id": "d8abd6b2.99b458",
+ "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": 1294.8453674316406,
- "y": 903.8787746429443,
- "z": "7137e6b8.2035e8",
+ "x": 1298.1787033081055,
+ "y": 952.2120819091797,
+ "z": "27bb3cd4.ff8ff4",
"wires": []
},
{
- "id": "f8d9f314.f8521",
- "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": 1153.354637145996,
- "y": 948.0001554489136,
- "z": "7137e6b8.2035e8",
- "wires": [
- []
- ]
- },
- {
- "id": "fa1185b4.cd4e98",
+ "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=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "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": 1284.0216979980469,
- "y": 1144.2226285934448,
- "z": "7137e6b8.2035e8",
+ "y": 1174.2226285934448,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "fc57dffd.42f82",
+ "id": "ff99ef1.36e851",
"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": 1259.0214157104492,
- "y": 1259.4447593688965,
- "z": "7137e6b8.2035e8",
+ "y": 1289.4447593688965,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "e237afc9.01b58",
+ "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": 1250.0212326049805,
- "y": 1355.4446811676025,
- "z": "7137e6b8.2035e8",
+ "x": 1210.021327972412,
+ "y": 1392.5876898765564,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "9cca1b05.b7fe58",
+ "id": "1abc8087.4dadff",
"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": 1247.0212326049805,
- "y": 1310.444679260254,
- "z": "7137e6b8.2035e8",
+ "y": 1340.444679260254,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "de09bf42.0a5fe",
+ "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": 1271.021245956421,
- "y": 1468.4445362091064,
- "z": "7137e6b8.2035e8",
+ "y": 1498.4445362091064,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "16e2e6a9.2be489",
- "e8b95040.bc226"
+ "38f6302f.63f8e",
+ "6c5aecc3.e3bae4"
]
]
},
{
- "id": "16e2e6a9.2be489",
+ "id": "38f6302f.63f8e",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
"x": 1566.0211334228516,
- "y": 1475.4339895248413,
- "z": "7137e6b8.2035e8",
+ "y": 1505.4339895248413,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "7d4abb11.5a7514"
+ "21f9c0d0.b3e61"
]
]
},
{
- "id": "e8b95040.bc226",
+ "id": "6c5aecc3.e3bae4",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
"x": 1584.0211753845215,
- "y": 1543.4338159561157,
- "z": "7137e6b8.2035e8",
+ "y": 1573.4338159561157,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "24bb4c3c.0be9b4"
+ "2b727255.684e4e"
]
]
},
{
- "id": "d19a525f.b19cf",
+ "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": 1922.0209274291992,
- "y": 1530.4339241981506,
- "z": "7137e6b8.2035e8",
+ "y": 1560.4339241981506,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "24bb4c3c.0be9b4",
+ "id": "2b727255.684e4e",
"type": "block",
"name": "block",
"xml": "<block>\n",
@@ -803,16 +734,16 @@
"comments": "",
"outputs": 1,
"x": 1764.020839691162,
- "y": 1541.4338970184326,
- "z": "7137e6b8.2035e8",
+ "y": 1571.4338970184326,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "d19a525f.b19cf"
+ "6d617e74.2db02"
]
]
},
{
- "id": "7d4abb11.5a7514",
+ "id": "21f9c0d0.b3e61",
"type": "block",
"name": "block",
"xml": "<block>\n",
@@ -820,76 +751,76 @@
"comments": "",
"outputs": 1,
"x": 1725.02099609375,
- "y": 1484.4339752197266,
- "z": "7137e6b8.2035e8",
+ "y": 1514.4339752197266,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "33d9f2d5.1c783e"
+ "f5d875fe.b1abd8"
]
]
},
{
- "id": "33d9f2d5.1c783e",
+ "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": 1901.0207595825195,
- "y": 1469.4339485168457,
- "z": "7137e6b8.2035e8",
+ "y": 1499.4339485168457,
+ "z": "27bb3cd4.ff8ff4",
"wires": []
},
{
- "id": "6117465f.a73a68",
+ "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": 1299.0212097167969,
- "y": 1415.44455909729,
- "z": "7137e6b8.2035e8",
+ "y": 1445.44455909729,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "a411c9ee.1a9668",
- "acae6ed3.a4592"
+ "540211b2.94b0d",
+ "801a995a.edafc8"
]
]
},
{
- "id": "a411c9ee.1a9668",
+ "id": "540211b2.94b0d",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
"x": 1554.0212860107422,
- "y": 1356.1004600524902,
- "z": "7137e6b8.2035e8",
+ "y": 1386.1004600524902,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "d6406d85.d3761"
+ "3c1c75d7.8974ba"
]
]
},
{
- "id": "acae6ed3.a4592",
+ "id": "801a995a.edafc8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
"x": 1549.0211181640625,
- "y": 1412.1006135940552,
- "z": "7137e6b8.2035e8",
+ "y": 1442.1006135940552,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "eb0e2bc7.7802e8"
+ "fd5d7c52.8ddfa"
]
]
},
{
- "id": "eb0e2bc7.7802e8",
+ "id": "fd5d7c52.8ddfa",
"type": "block",
"name": "block",
"xml": "<block>\n",
@@ -897,90 +828,90 @@
"comments": "",
"outputs": 1,
"x": 1701.0209350585938,
- "y": 1421.1005187034607,
- "z": "7137e6b8.2035e8",
+ "y": 1451.1005187034607,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "ff9a9770.764878"
+ "2a23aaaf.9ebec6"
]
]
},
{
- "id": "ff9a9770.764878",
+ "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": 1862.020851135254,
- "y": 1415.1007890701294,
- "z": "7137e6b8.2035e8",
+ "x": 1862.020887851715,
+ "y": 1445.1008157730103,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "d6406d85.d3761",
+ "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": 1755.0210762023926,
- "y": 1362.100468635559,
- "z": "7137e6b8.2035e8",
+ "y": 1392.100468635559,
+ "z": "27bb3cd4.ff8ff4",
"wires": []
},
{
- "id": "24ac021b.c92c5e",
+ "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": 1237.0211849212646,
- "y": 1582.333330154419,
- "z": "7137e6b8.2035e8",
+ "y": 1612.333330154419,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "179919cb.d28536",
- "ea9351b3.6214a"
+ "29106f4a.64b9b",
+ "697dc7e3.e53d38"
]
]
},
{
- "id": "179919cb.d28536",
+ "id": "29106f4a.64b9b",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
"x": 1594.0212860107422,
- "y": 1593.989315032959,
- "z": "7137e6b8.2035e8",
+ "y": 1623.989315032959,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "61337d4e.64c9f4"
+ "e1372b.75c588d8"
]
]
},
{
- "id": "ea9351b3.6214a",
+ "id": "697dc7e3.e53d38",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
"x": 1589.0211181640625,
- "y": 1649.989468574524,
- "z": "7137e6b8.2035e8",
+ "y": 1679.989468574524,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "2d42b1a1.63cc0e"
+ "fca7e979.981c08"
]
]
},
{
- "id": "2d42b1a1.63cc0e",
+ "id": "fca7e979.981c08",
"type": "block",
"name": "block",
"xml": "<block>\n",
@@ -988,586 +919,586 @@
"comments": "",
"outputs": 1,
"x": 1741.0209350585938,
- "y": 1658.9893736839294,
- "z": "7137e6b8.2035e8",
+ "y": 1688.9893736839294,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "ae72cfc4.57d74"
+ "e95b282a.51b588"
]
]
},
{
- "id": "61337d4e.64c9f4",
+ "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": 1795.0210762023926,
- "y": 1599.9893236160278,
- "z": "7137e6b8.2035e8",
+ "y": 1629.9893236160278,
+ "z": "27bb3cd4.ff8ff4",
"wires": []
},
{
- "id": "ae72cfc4.57d74",
+ "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": 1902.0208435058594,
- "y": 1651.9896183013916,
- "z": "7137e6b8.2035e8",
+ "y": 1681.9896183013916,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "3edad7e3.f72ae8",
+ "id": "e15c6c11.eab37",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
"x": 1172.5105209350586,
- "y": 789.6667823791504,
- "z": "7137e6b8.2035e8",
+ "y": 819.6667823791504,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "ca49ee81.51d01"
+ "2424729e.e49bce"
]
]
},
{
- "id": "b120b243.60a3c",
+ "id": "1f32c22f.4bd18e",
"type": "switchNode",
"name": "switch mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
"x": 455.51043701171875,
- "y": 813.6667327880859,
- "z": "7137e6b8.2035e8",
+ "y": 843.6667327880859,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "3edad7e3.f72ae8",
- "d3b088b8.c1a508"
+ "e15c6c11.eab37",
+ "572a8f53.31922"
]
]
},
{
- "id": "d3b088b8.c1a508",
+ "id": "572a8f53.31922",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
"x": 678.510440826416,
- "y": 853.6667442321777,
- "z": "7137e6b8.2035e8",
+ "y": 883.6667442321777,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "aa0a8ac6.7fa668"
+ "f05d9389.aa23"
]
]
},
{
- "id": "bc2bb3bd.bb44c",
+ "id": "95fb7dbc.302e3",
"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": 1281.5108795166016,
- "y": 1224.6669673919678,
- "z": "7137e6b8.2035e8",
+ "y": 1254.6669673919678,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "b3d491b8.eb662",
+ "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": 851.520866394043,
- "y": 2140.121690273285,
- "z": "7137e6b8.2035e8",
+ "x": 921.520866394043,
+ "y": 2665.121678367257,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "9c346727.fa5178",
- "b4e249a.c4dcbb8"
+ "14c5f32a.54dc0d",
+ "822b4365.b6357"
]
]
},
{
- "id": "9c346727.fa5178",
+ "id": "14c5f32a.54dc0d",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1125.520866394043,
- "y": 2109.121690273285,
- "z": "7137e6b8.2035e8",
+ "x": 1195.520866394043,
+ "y": 2634.121678367257,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "2057a020.4e2b"
+ "7bdc60e.dc968a"
]
]
},
{
- "id": "2057a020.4e2b",
+ "id": "7bdc60e.dc968a",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1316.520866394043,
- "y": 2112.121690273285,
- "z": "7137e6b8.2035e8",
+ "x": 1386.520866394043,
+ "y": 2637.121678367257,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "ca29eeec.cac5e"
+ "840a192f.604148"
]
]
},
{
- "id": "ca29eeec.cac5e",
+ "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": 1484.520866394043,
- "y": 2113.121690273285,
- "z": "7137e6b8.2035e8",
+ "x": 1554.520866394043,
+ "y": 2638.121678367257,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "6b6b0f02.befee",
+ "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": 824.020866394043,
- "y": 2256.121690273285,
- "z": "7137e6b8.2035e8",
+ "x": 894.020866394043,
+ "y": 2781.121678367257,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "9d78c66d.40f5e8",
- "96636a82.f4af18"
+ "404aa1a2.5b57",
+ "a2cdb02b.0dff3"
]
]
},
{
- "id": "d49a86eb.dbd4e8",
+ "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": 813.520866394043,
- "y": 2338.121690273285,
- "z": "7137e6b8.2035e8",
+ "x": 883.520866394043,
+ "y": 2863.121678367257,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "e8f20cae.1ec3",
- "c6957aca.de3238"
+ "944b733b.d27a6",
+ "99c0e62b.b388a8"
]
]
},
{
- "id": "e8f20cae.1ec3",
+ "id": "944b733b.d27a6",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 996.020866394043,
- "y": 2346.121690273285,
- "z": "7137e6b8.2035e8",
+ "x": 1066.020866394043,
+ "y": 2871.121678367257,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "3129aa1b.5152f6"
+ "8a494f39.07c32"
]
]
},
{
- "id": "3129aa1b.5152f6",
+ "id": "8a494f39.07c32",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1181.020866394043,
- "y": 2344.121690273285,
- "z": "7137e6b8.2035e8",
+ "x": 1251.020866394043,
+ "y": 2869.121678367257,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "9a3e0e88.314b9"
+ "1ace760a.7dbbda"
]
]
},
{
- "id": "9a3e0e88.314b9",
+ "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": 1383.020866394043,
- "y": 2339.121690273285,
- "z": "7137e6b8.2035e8",
+ "x": 1453.020866394043,
+ "y": 2864.121678367257,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "9d78c66d.40f5e8",
+ "id": "404aa1a2.5b57",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1017.520866394043,
- "y": 2224.121690273285,
- "z": "7137e6b8.2035e8",
+ "x": 1087.520866394043,
+ "y": 2749.121678367257,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "f4d0fbe7.379018"
+ "8e0a05a9.8ff498"
]
]
},
{
- "id": "f4d0fbe7.379018",
+ "id": "8e0a05a9.8ff498",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1192.520866394043,
- "y": 2238.121690273285,
- "z": "7137e6b8.2035e8",
+ "x": 1262.520866394043,
+ "y": 2763.121678367257,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "985a740c.c41658"
+ "bebd6ee2.3c9e6"
]
]
},
{
- "id": "985a740c.c41658",
+ "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": 1386.5209045410156,
- "y": 2243.121742248535,
- "z": "7137e6b8.2035e8",
+ "x": 1456.5209045410156,
+ "y": 2768.1217303425074,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "b4e249a.c4dcbb8",
+ "id": "822b4365.b6357",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1124.520866394043,
- "y": 2166.121690273285,
- "z": "7137e6b8.2035e8",
+ "x": 1194.520866394043,
+ "y": 2691.121678367257,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "7228b7c3.0734f8"
+ "cec53de4.d756d"
]
]
},
{
- "id": "7228b7c3.0734f8",
+ "id": "cec53de4.d756d",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1293.5207443237305,
- "y": 2172.121690273285,
- "z": "7137e6b8.2035e8",
+ "x": 1363.5207443237305,
+ "y": 2697.121678367257,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "a50e3fb9.2c125"
+ "7950b06c.0480a"
]
]
},
{
- "id": "a50e3fb9.2c125",
+ "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 Generic neighbor configuration\" />",
"comments": "",
- "x": 1449.5205001831055,
- "y": 2171.121690273285,
- "z": "7137e6b8.2035e8",
+ "x": 1519.5205001831055,
+ "y": 2696.121678367257,
+ "z": "27bb3cd4.ff8ff4",
"wires": []
},
{
- "id": "96636a82.f4af18",
+ "id": "a2cdb02b.0dff3",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1038.520866394043,
- "y": 2295.121690273285,
- "z": "7137e6b8.2035e8",
+ "x": 1108.520866394043,
+ "y": 2820.121678367257,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "643a52af.4a01ac"
+ "9c133c8f.808f1"
]
]
},
{
- "id": "643a52af.4a01ac",
+ "id": "9c133c8f.808f1",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1206.5207443237305,
- "y": 2290.121690273285,
- "z": "7137e6b8.2035e8",
+ "x": 1276.5207443237305,
+ "y": 2815.121678367257,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "c7fd1a6b.80b9c8"
+ "1075385e.46e228"
]
]
},
{
- "id": "c7fd1a6b.80b9c8",
+ "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 Generic neighbor configuration\" />",
"comments": "",
- "x": 1364.5204391479492,
- "y": 2293.121690273285,
- "z": "7137e6b8.2035e8",
+ "x": 1434.5204391479492,
+ "y": 2818.121678367257,
+ "z": "27bb3cd4.ff8ff4",
"wires": []
},
{
- "id": "c6957aca.de3238",
+ "id": "99c0e62b.b388a8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 998.520866394043,
- "y": 2394.121690273285,
- "z": "7137e6b8.2035e8",
+ "x": 1063.5209121704102,
+ "y": 2954.1218099594116,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "67203ecd.299d9"
+ "54cbffb2.b0ea"
]
]
},
{
- "id": "67203ecd.299d9",
+ "id": "54cbffb2.b0ea",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1174.5207443237305,
- "y": 2395.121690273285,
- "z": "7137e6b8.2035e8",
+ "x": 1239.5207901000977,
+ "y": 2955.1218099594116,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "1be9df75.9dad81"
+ "f7613a42.82e6d8"
]
]
},
{
- "id": "1be9df75.9dad81",
+ "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 Generic neighbor configuration\" />",
"comments": "",
- "x": 1321.5204391479492,
- "y": 2398.121690273285,
- "z": "7137e6b8.2035e8",
+ "x": 1386.5204849243164,
+ "y": 2958.1218099594116,
+ "z": "27bb3cd4.ff8ff4",
"wires": []
},
{
- "id": "8d9907e3.141768",
+ "id": "92654a64.0d57a8",
"type": "block",
"name": "DMAAP Payload Generation",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 555.520881652832,
- "y": 2258.1217885017395,
- "z": "7137e6b8.2035e8",
+ "x": 625.520881652832,
+ "y": 2783.1217765957117,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "b3d491b8.eb662",
- "6b6b0f02.befee",
- "d49a86eb.dbd4e8"
+ "158a1faf.a18df",
+ "8bb32410.7dc268",
+ "824b311c.61cc8"
]
]
},
{
- "id": "4c9c03b6.8c846c",
+ "id": "530ff06c.c455e",
"type": "block",
"name": "DMAAP Reponse Publish",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 417.5208511352539,
- "y": 2606.0104804039,
- "z": "7137e6b8.2035e8",
+ "x": 482.5208969116211,
+ "y": 3166.010600090027,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "d4636db8.d98aa",
- "44a99d0c.1549f4",
- "ed9283be.6d384",
- "66050e0e.2e289"
+ "cc493306.8c459",
+ "1c6aa3ba.e4877c",
+ "e342a902.c1abe8",
+ "44e3cf80.cc129"
]
]
},
{
- "id": "44a99d0c.1549f4",
+ "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": 690.5209274291992,
- "y": 3002.1217727661133,
- "z": "7137e6b8.2035e8",
+ "x": 755.5209732055664,
+ "y": 3562.12189245224,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "2cb1e379.ca054c",
- "94d28ad8.6c1e68"
+ "41360722.eac968",
+ "a6d1a857.b6e408"
]
]
},
{
- "id": "d4636db8.d98aa",
+ "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": 658.1876525878906,
- "y": 2417.121742248535,
- "z": "7137e6b8.2035e8",
+ "x": 723.1876983642578,
+ "y": 2977.121861934662,
+ "z": "27bb3cd4.ff8ff4",
"wires": []
},
{
- "id": "2cb1e379.ca054c",
+ "id": "41360722.eac968",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 865.0209045410156,
- "y": 2936.03849029541,
- "z": "7137e6b8.2035e8",
+ "x": 930.0209503173828,
+ "y": 3496.038609981537,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "b46caa18.6ad2a8"
+ "60a9270f.3d4e18"
]
]
},
{
- "id": "94d28ad8.6c1e68",
+ "id": "a6d1a857.b6e408",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 888.0207595825195,
- "y": 3065.0385971069336,
- "z": "7137e6b8.2035e8",
+ "x": 953.0208053588867,
+ "y": 3625.0387167930603,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "f2f80e6c.39596"
+ "ead59e1e.36a5"
]
]
},
{
- "id": "b46caa18.6ad2a8",
+ "id": "60a9270f.3d4e18",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1046.0206756591797,
- "y": 2939.038619995117,
- "z": "7137e6b8.2035e8",
+ "x": 1111.0207214355469,
+ "y": 3499.038739681244,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "7082eea1.09393"
+ "856c7686.a3c978"
]
]
},
{
- "id": "7082eea1.09393",
+ "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": 1220.020393371582,
- "y": 2946.0385451316833,
- "z": "7137e6b8.2035e8",
+ "x": 1285.0204391479492,
+ "y": 3506.03866481781,
+ "z": "27bb3cd4.ff8ff4",
"wires": []
},
{
- "id": "f2f80e6c.39596",
+ "id": "ead59e1e.36a5",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1048.0204048156738,
- "y": 3057.0385694503784,
- "z": "7137e6b8.2035e8",
+ "x": 1113.020450592041,
+ "y": 3617.038689136505,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "638ae5c4.7cfd2c"
+ "2c555488.acc29c"
]
]
},
{
- "id": "638ae5c4.7cfd2c",
+ "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": 1225.020523071289,
- "y": 3062.0386781692505,
- "z": "7137e6b8.2035e8",
+ "x": 1290.0205688476562,
+ "y": 3622.038797855377,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "dd1ed098.fbc85",
+ "id": "66f18141.7b5fa",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
@@ -1575,96 +1506,96 @@
"comments": "",
"outputs": 1,
"x": 2625.5211181640625,
- "y": 1593.0104141235352,
- "z": "7137e6b8.2035e8",
+ "y": 1623.0104141235352,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "a11bce3f.7e2c6",
- "bca66d81.89f3a",
- "1c265a04.1bc836",
- "ab85fbdf.e5f9e8"
+ "32d140f1.b88fb",
+ "637b306f.543c5",
+ "d465c10b.caccf",
+ "6e14e0da.0bdb5"
]
]
},
{
- "id": "a11bce3f.7e2c6",
+ "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": 2907.521041870117,
- "y": 1446.0104608535767,
- "z": "7137e6b8.2035e8",
+ "y": 1476.0104608535767,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "bca66d81.89f3a",
+ "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": 2916.5211334228516,
- "y": 1559.0104570388794,
- "z": "7137e6b8.2035e8",
+ "y": 1589.0104570388794,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "1c265a04.1bc836",
+ "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": 2883.5211181640625,
- "y": 1664.0104141235352,
- "z": "7137e6b8.2035e8",
+ "y": 1694.0104141235352,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "6b15e797.bfeab8",
- "69e7483e.3fb508"
+ "69a167be.15f958",
+ "22e6933f.21f04c"
]
]
},
{
- "id": "6b15e797.bfeab8",
+ "id": "69a167be.15f958",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
"x": 3098.5211181640625,
- "y": 1607.0104141235352,
- "z": "7137e6b8.2035e8",
+ "y": 1637.0104141235352,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "ec12fbdd.d49728"
+ "e88caf47.ae702"
]
]
},
{
- "id": "69e7483e.3fb508",
+ "id": "22e6933f.21f04c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
"x": 3118.5212478637695,
- "y": 1703.0102767944336,
- "z": "7137e6b8.2035e8",
+ "y": 1733.0102767944336,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "52fbd02.af6883"
+ "d16cc436.3bcdb8"
]
]
},
{
- "id": "ec12fbdd.d49728",
+ "id": "e88caf47.ae702",
"type": "block",
"name": "block",
"xml": "<block>\n",
@@ -1672,16 +1603,16 @@
"comments": "",
"outputs": 1,
"x": 3267.52099609375,
- "y": 1618.0104141235352,
- "z": "7137e6b8.2035e8",
+ "y": 1648.0104141235352,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "f60c0c3e.6c70e"
+ "888ea163.551f"
]
]
},
{
- "id": "52fbd02.af6883",
+ "id": "d16cc436.3bcdb8",
"type": "block",
"name": "block",
"xml": "<block>\n",
@@ -1689,804 +1620,790 @@
"comments": "",
"outputs": 1,
"x": 3280.5210037231445,
- "y": 1704.010398864746,
- "z": "7137e6b8.2035e8",
+ "y": 1734.010398864746,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "21da5fa6.d154"
+ "bd20f7c9.c85b98"
]
]
},
{
- "id": "f60c0c3e.6c70e",
+ "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": 3421.5206909179688,
- "y": 1611.0104141235352,
- "z": "7137e6b8.2035e8",
+ "y": 1641.0104141235352,
+ "z": "27bb3cd4.ff8ff4",
"wires": []
},
{
- "id": "21da5fa6.d154",
+ "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": 3435.5212020874023,
- "y": 1701.010407447815,
- "z": "7137e6b8.2035e8",
+ "y": 1731.010407447815,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "ab48c4f9.92b038",
+ "id": "4acfeeff.78756",
"type": "switchNode",
"name": "switch configdb deployed",
"xml": "<switch test='`$prop.configdb-deployed`'>\n",
"comments": "",
"outputs": 1,
"x": 2508.5211334228516,
- "y": 1387.0104351043701,
- "z": "7137e6b8.2035e8",
+ "y": 1417.0104351043701,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "ef05a2cb.3ff44",
- "4862c3d7.ea800c"
+ "4867f77f.c8c358",
+ "8b55e7b1.9c1f78"
]
]
},
{
- "id": "ef05a2cb.3ff44",
+ "id": "4867f77f.c8c358",
"type": "outcome",
"name": "Deployed",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
"x": 2550.5211181640625,
- "y": 1517.0104141235352,
- "z": "7137e6b8.2035e8",
+ "y": 1547.0104141235352,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "dd1ed098.fbc85"
+ "66f18141.7b5fa"
]
]
},
{
- "id": "ab85fbdf.e5f9e8",
+ "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": 2975.5210723876953,
- "y": 1498.12162733078,
- "z": "7137e6b8.2035e8",
- "wires": [
- []
- ]
- },
- {
- "id": "87e189a.f449a78",
- "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": 2947.5210456848145,
- "y": 1373.2326021194458,
- "z": "7137e6b8.2035e8",
+ "y": 1528.12162733078,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "4862c3d7.ea800c",
+ "id": "8b55e7b1.9c1f78",
"type": "outcome",
"name": "Not Deployed",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2773.521011352539,
- "y": 1369.343671798706,
- "z": "7137e6b8.2035e8",
+ "x": 2915.52108001709,
+ "y": 1407.3435878753662,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "87e189a.f449a78"
+ "fa469169.21411"
]
]
},
{
- "id": "c5dee50b.be5dc8",
+ "id": "5a9987d8.e2c4e8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1274.521224975586,
- "y": 1891.2326831817627,
- "z": "7137e6b8.2035e8",
+ "x": 1199.5212936401367,
+ "y": 2281.2328329086304,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "21081f5a.47f6b",
- "ad35a694.192798",
- "2e669695.06016a",
- "ae78e24e.82c91"
+ "11bccb81.cfc964",
+ "c7e9af19.d1a3f",
+ "81297356.87779",
+ "9e49d63a.a0f698"
]
]
},
{
- "id": "21081f5a.47f6b",
+ "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": 1601.5211639404297,
- "y": 1752.232689857483,
- "z": "7137e6b8.2035e8",
+ "x": 1566.521240234375,
+ "y": 2222.2328810691833,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "ad35a694.192798",
+ "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": 1532.521224975586,
- "y": 1962.2326831817627,
- "z": "7137e6b8.2035e8",
+ "x": 1497.5213012695312,
+ "y": 2432.232874393463,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "1d53a523.bf620b",
- "b3743a06.714ec8"
+ "4119df2f.58877",
+ "dc98917.65ab07"
]
]
},
{
- "id": "1d53a523.bf620b",
+ "id": "4119df2f.58877",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1747.521224975586,
- "y": 1905.2326831817627,
- "z": "7137e6b8.2035e8",
+ "x": 1712.5213012695312,
+ "y": 2375.232874393463,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "d4c872f6.0aad6"
+ "f2acbf7d.06f19"
]
]
},
{
- "id": "b3743a06.714ec8",
+ "id": "dc98917.65ab07",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1747.5211029052734,
- "y": 2001.2325611114502,
- "z": "7137e6b8.2035e8",
+ "x": 1712.5211791992188,
+ "y": 2471.2327523231506,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "6cb3e816.b27228"
+ "d974524c.48c3"
]
]
},
{
- "id": "d4c872f6.0aad6",
+ "id": "f2acbf7d.06f19",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1916.5211029052734,
- "y": 1916.2326831817627,
- "z": "7137e6b8.2035e8",
+ "x": 1881.5211791992188,
+ "y": 2386.232874393463,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "a1e2365.c1ad1c8"
+ "66c19c9a.cc0744"
]
]
},
{
- "id": "6cb3e816.b27228",
+ "id": "d974524c.48c3",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1909.5208587646484,
- "y": 2002.2326831817627,
- "z": "7137e6b8.2035e8",
+ "x": 1874.5209350585938,
+ "y": 2472.232874393463,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "c1cf834f.03275"
+ "bd975804.87fac8"
]
]
},
{
- "id": "a1e2365.c1ad1c8",
+ "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": 2070.520797729492,
- "y": 1909.2326831817627,
- "z": "7137e6b8.2035e8",
+ "x": 2035.5208740234375,
+ "y": 2379.232874393463,
+ "z": "27bb3cd4.ff8ff4",
"wires": []
},
{
- "id": "c1cf834f.03275",
+ "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": 2064.5210571289062,
- "y": 1999.2326917648315,
- "z": "7137e6b8.2035e8",
+ "x": 2029.5211334228516,
+ "y": 2469.232882976532,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "3161d7f6.2ec228",
+ "id": "2e0329eb.7cfeb6",
"type": "switchNode",
"name": "switch configdb deployed",
"xml": "<switch test='`$prop.configdb-deployed`'>\n",
"comments": "",
"outputs": 1,
"x": 1090.521499633789,
- "y": 1704.2327632904053,
- "z": "7137e6b8.2035e8",
+ "y": 1734.2327632904053,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "551d474c.11ba08",
- "5d37bd4e.b0a394"
+ "42e1f30.701fe0c",
+ "c87f7605.35c438"
]
]
},
{
- "id": "551d474c.11ba08",
+ "id": "42e1f30.701fe0c",
"type": "outcome",
"name": "Deployed",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1294.5212783813477,
- "y": 1789.2327201366425,
- "z": "7137e6b8.2035e8",
+ "x": 929.521297454834,
+ "y": 2124.232828140259,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "c5dee50b.be5dc8"
+ "5a9987d8.e2c4e8"
]
]
},
{
- "id": "2e669695.06016a",
+ "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": 1652.5211639404297,
- "y": 1805.3439660072327,
- "z": "7137e6b8.2035e8",
+ "x": 1617.521240234375,
+ "y": 2275.344157218933,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "d457bb5e.8456a8",
+ "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": 1585.521245956421,
- "y": 1702.454828262329,
- "z": "7137e6b8.2035e8",
+ "x": 1529.5212059020996,
+ "y": 1774.4547634124756,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "5d37bd4e.b0a394",
+ "id": "c87f7605.35c438",
"type": "outcome",
"name": "Not Deployed",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
"x": 1406.5211715698242,
- "y": 1689.5660467147827,
- "z": "7137e6b8.2035e8",
+ "y": 1719.5660467147827,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "d457bb5e.8456a8"
+ "fb5aba08.620b18"
]
]
},
{
- "id": "ae78e24e.82c91",
+ "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": 1598.0767211914062,
- "y": 1862.010362625122,
- "z": "7137e6b8.2035e8",
+ "x": 1563.0767974853516,
+ "y": 2332.0105538368225,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "bfe25499.9b01c8",
+ "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": 456.5104217529297,
- "y": 279.6666774749756,
- "z": "7137e6b8.2035e8",
+ "y": 309.6666774749756,
+ "z": "27bb3cd4.ff8ff4",
"wires": []
},
{
- "id": "8d5dab3a.00cc68",
+ "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": 326.6666793823242,
- "z": "7137e6b8.2035e8",
+ "y": 356.6666793823242,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "ed9283be.6d384",
+ "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": 685.5104064941406,
- "y": 2901.666664123535,
- "z": "7137e6b8.2035e8",
+ "x": 750.5104522705078,
+ "y": 3461.666783809662,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "66050e0e.2e289",
+ "id": "44e3cf80.cc129",
"type": "block",
"name": "Remove escape chars",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 797.5104064941406,
- "y": 2608.666664123535,
- "z": "7137e6b8.2035e8",
+ "x": 862.5104522705078,
+ "y": 3168.666783809662,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "b4a8c27e.c96b7",
- "d9875c7a.68e95",
- "a7426f30.67fe2"
+ "a122d00d.66a7c",
+ "53d8b063.65e82",
+ "6550ccad.313694"
]
]
},
{
- "id": "b4a8c27e.c96b7",
+ "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": 1006.5104064941406,
- "y": 2483.666664123535,
- "z": "7137e6b8.2035e8",
+ "x": 1071.5104522705078,
+ "y": 3043.666783809662,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "17ac638a.ebe09c",
- "80eed967.47aa68"
+ "c64e3847.585bc8",
+ "62a2cce9.0684d4"
]
]
},
{
- "id": "17ac638a.ebe09c",
+ "id": "c64e3847.585bc8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1189.0104064941406,
- "y": 2491.666664123535,
- "z": "7137e6b8.2035e8",
+ "x": 1254.0104522705078,
+ "y": 3051.666783809662,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "9166ec65.32d13"
+ "9f7c9ff0.810bd"
]
]
},
{
- "id": "9166ec65.32d13",
+ "id": "9f7c9ff0.810bd",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1374.0104064941406,
- "y": 2489.666664123535,
- "z": "7137e6b8.2035e8",
+ "x": 1439.0104522705078,
+ "y": 3049.666783809662,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "a2ec6048.aa6d6"
+ "89eacba2.269688"
]
]
},
{
- "id": "a2ec6048.aa6d6",
+ "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": 1577.0104064941406,
- "y": 2485.666664123535,
- "z": "7137e6b8.2035e8",
+ "x": 1642.0104522705078,
+ "y": 3045.666783809662,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "80eed967.47aa68",
+ "id": "62a2cce9.0684d4",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1191.5104064941406,
- "y": 2539.666664123535,
- "z": "7137e6b8.2035e8",
+ "x": 1256.5104522705078,
+ "y": 3099.666783809662,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "6ed7909a.3b999"
+ "4a3b0543.9cb45c"
]
]
},
{
- "id": "6ed7909a.3b999",
+ "id": "4a3b0543.9cb45c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1367.5102844238281,
- "y": 2540.666664123535,
- "z": "7137e6b8.2035e8",
+ "x": 1432.5103302001953,
+ "y": 3100.666783809662,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "8a7186c9.06fed8"
+ "28bf6401.24b47c"
]
]
},
{
- "id": "8a7186c9.06fed8",
+ "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": 1516.5100402832031,
- "y": 2547.666664123535,
- "z": "7137e6b8.2035e8",
+ "x": 1581.5100860595703,
+ "y": 3107.666783809662,
+ "z": "27bb3cd4.ff8ff4",
"wires": []
},
{
- "id": "d9875c7a.68e95",
+ "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": 1013.5104064941406,
- "y": 2624.666664123535,
- "z": "7137e6b8.2035e8",
+ "x": 1078.5104522705078,
+ "y": 3184.666783809662,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "e7dd4768.6f8ad8",
- "3c5336d1.55219a"
+ "ef235728.9a5a78",
+ "26cf2ccb.7c88e4"
]
]
},
{
- "id": "e7dd4768.6f8ad8",
+ "id": "ef235728.9a5a78",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1196.0104064941406,
- "y": 2632.666664123535,
- "z": "7137e6b8.2035e8",
+ "x": 1261.0104522705078,
+ "y": 3192.666783809662,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "b103a11f.02469"
+ "8e49ce65.d6a5"
]
]
},
{
- "id": "b103a11f.02469",
+ "id": "8e49ce65.d6a5",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1381.0104064941406,
- "y": 2630.666664123535,
- "z": "7137e6b8.2035e8",
+ "x": 1446.0104522705078,
+ "y": 3190.666783809662,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "fb1daeda.43a5"
+ "cdd76f59.adb59"
]
]
},
{
- "id": "fb1daeda.43a5",
+ "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": 1583.0104064941406,
- "y": 2625.666664123535,
- "z": "7137e6b8.2035e8",
+ "x": 1648.0104522705078,
+ "y": 3185.666783809662,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "3c5336d1.55219a",
+ "id": "26cf2ccb.7c88e4",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1198.5104064941406,
- "y": 2680.666664123535,
- "z": "7137e6b8.2035e8",
+ "x": 1263.5104522705078,
+ "y": 3240.666783809662,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "b9a5aefe.1d05"
+ "a6e43c9c.5130d"
]
]
},
{
- "id": "b9a5aefe.1d05",
+ "id": "a6e43c9c.5130d",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1374.5102844238281,
- "y": 2681.666664123535,
- "z": "7137e6b8.2035e8",
+ "x": 1439.5103302001953,
+ "y": 3241.666783809662,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "86e07e06.a6697"
+ "95ffaa2c.13f4d8"
]
]
},
{
- "id": "86e07e06.a6697",
+ "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": 1523.5100402832031,
- "y": 2684.666664123535,
- "z": "7137e6b8.2035e8",
+ "x": 1588.5100860595703,
+ "y": 3244.666783809662,
+ "z": "27bb3cd4.ff8ff4",
"wires": []
},
{
- "id": "a7426f30.67fe2",
+ "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": 948.5104064941406,
- "y": 2764.666664123535,
- "z": "7137e6b8.2035e8",
+ "x": 1013.5104522705078,
+ "y": 3324.666783809662,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "b0f7bb22.fa7e18",
- "bacdc5e.f7cb838"
+ "9b5e8cd8.47c5a",
+ "931d4e47.4b2f5"
]
]
},
{
- "id": "b0f7bb22.fa7e18",
+ "id": "9b5e8cd8.47c5a",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1131.0104064941406,
- "y": 2772.666664123535,
- "z": "7137e6b8.2035e8",
+ "x": 1196.0104522705078,
+ "y": 3332.666783809662,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "8b184b39.d01168"
+ "1ca769c6.3605c6"
]
]
},
{
- "id": "8b184b39.d01168",
+ "id": "1ca769c6.3605c6",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1316.0104064941406,
- "y": 2770.666664123535,
- "z": "7137e6b8.2035e8",
+ "x": 1381.0104522705078,
+ "y": 3330.666783809662,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "afb53929.05f488"
+ "699f503.ba0ddb"
]
]
},
{
- "id": "afb53929.05f488",
+ "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": 1518.0104064941406,
- "y": 2765.666664123535,
- "z": "7137e6b8.2035e8",
+ "x": 1583.0104522705078,
+ "y": 3325.666783809662,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "bacdc5e.f7cb838",
+ "id": "931d4e47.4b2f5",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1133.5104064941406,
- "y": 2820.666664123535,
- "z": "7137e6b8.2035e8",
+ "x": 1198.5104522705078,
+ "y": 3380.666783809662,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "a7131a06.6e47d8"
+ "f026cb61.8a0188"
]
]
},
{
- "id": "a7131a06.6e47d8",
+ "id": "f026cb61.8a0188",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1309.5102844238281,
- "y": 2821.666664123535,
- "z": "7137e6b8.2035e8",
+ "x": 1374.5103302001953,
+ "y": 3381.666783809662,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "7e9c29a4.c8d6e8"
+ "643bbe0e.9bd95"
]
]
},
{
- "id": "7e9c29a4.c8d6e8",
+ "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": 1456.5099792480469,
- "y": 2824.666664123535,
- "z": "7137e6b8.2035e8",
+ "x": 1521.510025024414,
+ "y": 3384.666783809662,
+ "z": "27bb3cd4.ff8ff4",
"wires": []
},
{
- "id": "cfd2d02c.eb4bd",
+ "id": "8750c827.149de8",
"type": "switchNode",
"name": "is blacklisted",
"xml": "<switch test='`$tmp.blacklisted`'>",
"comments": "",
"outputs": 1,
"x": 1178.6774597167969,
- "y": 991.1667175292969,
- "z": "7137e6b8.2035e8",
+ "y": 1021.1667175292969,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "d8fdcad3.8dd9c8",
- "94815b07.c81358"
+ "cde5cc5d.4fb1f",
+ "1473e0be.790f6f"
]
]
},
{
- "id": "d8fdcad3.8dd9c8",
+ "id": "cde5cc5d.4fb1f",
"type": "outcome",
"name": "True",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
"x": 1368.6774673461914,
- "y": 973.1667165756226,
- "z": "7137e6b8.2035e8",
+ "y": 1003.1667165756226,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "c5aaf199.14e65"
+ "8636d6f8.5a6178"
]
]
},
{
- "id": "94815b07.c81358",
+ "id": "1473e0be.790f6f",
"type": "outcome",
"name": "False",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
"x": 1375.6496353149414,
- "y": 1013.8056344985962,
- "z": "7137e6b8.2035e8",
+ "y": 1043.8056344985962,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "28d1e5b9.3568ba"
+ "4c31a601.736cb8"
]
]
},
{
- "id": "3893ceea.a65e72",
+ "id": "379e7ddc.d8dd62",
"type": "set",
"name": "set isHOAllowed as false",
"xml": "<set>\n<parameter name='tmp.isHOAllowed' value='false' />",
"comments": "",
"x": 1799.621810913086,
- "y": 969.9167165756226,
- "z": "7137e6b8.2035e8",
+ "y": 999.9167165756226,
+ "z": "27bb3cd4.ff8ff4",
"wires": []
},
{
- "id": "3154733b.5c0d2c",
+ "id": "ca5899d3.9fd1f8",
"type": "set",
"name": "set isHOAllowed as true",
"xml": "<set>\n<parameter name='tmp.isHOAllowed' value='true' />",
"comments": "",
"x": 1793.066146850586,
- "y": 1008.2499704360962,
- "z": "7137e6b8.2035e8",
+ "y": 1038.2499704360962,
+ "z": "27bb3cd4.ff8ff4",
"wires": []
},
{
- "id": "c5aaf199.14e65",
+ "id": "8636d6f8.5a6178",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
@@ -2494,16 +2411,16 @@
"comments": "",
"outputs": 1,
"x": 1552.6774673461914,
- "y": 971.9443864822388,
- "z": "7137e6b8.2035e8",
+ "y": 1001.9443864822388,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "3893ceea.a65e72"
+ "379e7ddc.d8dd62"
]
]
},
{
- "id": "28d1e5b9.3568ba",
+ "id": "4c31a601.736cb8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
@@ -2511,111 +2428,111 @@
"comments": "",
"outputs": 1,
"x": 1540.8439712524414,
- "y": 1019.3610534667969,
- "z": "7137e6b8.2035e8",
+ "y": 1049.3610534667969,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "3154733b.5c0d2c"
+ "ca5899d3.9fd1f8"
]
]
},
{
- "id": "e542ae10.8e565",
+ "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",
+ "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": 1047.500072479248,
- "z": "7137e6b8.2035e8",
+ "y": 1077.500072479248,
+ "z": "27bb3cd4.ff8ff4",
"wires": []
},
{
- "id": "7423ff73.ed805",
+ "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": 1287.3441467285156,
- "y": 1184.500054359436,
- "z": "7137e6b8.2035e8",
+ "x": 1260.6775665283203,
+ "y": 1214.4999980926514,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "5a48b2a.858134c",
+ "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": 456.8864850997925,
- "z": "7137e6b8.2035e8",
+ "y": 486.8864850997925,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "edfb7b39.0a73c8",
+ "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": 407.70785331726074,
- "z": "7137e6b8.2035e8",
+ "y": 437.70785331726074,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "43254f57.b2715",
+ "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": 549.8145065307617,
- "z": "7137e6b8.2035e8",
+ "y": 579.8145065307617,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "941c3275.f0869",
+ "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": 534.6676553487778,
- "z": "7137e6b8.2035e8",
+ "y": 564.6676553487778,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "f914ac5c.6260d",
+ "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": 593.0527486801147,
- "z": "7137e6b8.2035e8",
+ "y": 623.0527486801147,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "49973249.f59e7c",
+ "id": "92bad4c5.5c0658",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
@@ -2623,47 +2540,47 @@
"comments": "",
"outputs": 1,
"x": 648.6799392700195,
- "y": 669.564998626709,
- "z": "7137e6b8.2035e8",
+ "y": 699.564998626709,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "58da234e.1b4c6c",
- "4ae1b51d.62992c"
+ "ac7808ef.02f5b8",
+ "5f08445c.08100c"
]
]
},
{
- "id": "651f51ab.d4108",
+ "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": 588.4857667684555,
- "z": "7137e6b8.2035e8",
+ "y": 618.4857667684555,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "9d717d64.54a03",
+ "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": 629.9499664306641,
- "z": "7137e6b8.2035e8",
+ "y": 659.9499664306641,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "cd46166a.834748"
+ "457cfbdd.a13564"
]
]
},
{
- "id": "cd46166a.834748",
+ "id": "457cfbdd.a13564",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
@@ -2671,49 +2588,49 @@
"comments": "",
"outputs": 1,
"x": 658.0795135498047,
- "y": 624.9062652587891,
- "z": "7137e6b8.2035e8",
+ "y": 654.9062652587891,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "bb5947d7.20b098",
- "941c3275.f0869"
+ "3294f80.dc3bf08",
+ "a282bdbf.ee13f"
]
]
},
{
- "id": "bb5947d7.20b098",
+ "id": "3294f80.dc3bf08",
"type": "switchNode",
"name": "check schemaSetName",
"xml": "<switch test='`$tmp.schemaset.name`'>\n",
"comments": "",
"outputs": 1,
"x": 876.6561813354492,
- "y": 581.7634429931641,
- "z": "7137e6b8.2035e8",
+ "y": 611.7634429931641,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "dac6a759.d8d4d8"
+ "9a5cb7b8.77e3a8"
]
]
},
{
- "id": "dac6a759.d8d4d8",
+ "id": "9a5cb7b8.77e3a8",
"type": "outcome",
"name": "if ran-network",
"xml": "<outcome value='ran-network'>\n",
"comments": "",
"outputs": 1,
"x": 1059.9617729187012,
- "y": 546.2356910705566,
- "z": "7137e6b8.2035e8",
+ "y": 576.2356910705566,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "70369023.e24a1"
+ "f69c66df.dd0898"
]
]
},
{
- "id": "70369023.e24a1",
+ "id": "f69c66df.dd0898",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
@@ -2721,77 +2638,77 @@
"comments": "",
"outputs": 1,
"x": 1231.2642059326172,
- "y": 532.5689862966537,
- "z": "7137e6b8.2035e8",
+ "y": 562.5689862966537,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "b481fa3d.2eae48",
- "adf87b48.fee5d8"
+ "842797d2.4aba38",
+ "d1deb2dc.55894"
]
]
},
{
- "id": "b481fa3d.2eae48",
+ "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": 532.3745282888412,
- "z": "7137e6b8.2035e8",
+ "y": 562.3745282888412,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "4ae1b51d.62992c",
+ "id": "5f08445c.08100c",
"type": "switchNode",
"name": "check schemaSetName",
"xml": "<switch test='`$tmp.schemaset.name`'>\n",
"comments": "",
"outputs": 1,
"x": 874.4554290771484,
- "y": 660.1368917226791,
- "z": "7137e6b8.2035e8",
+ "y": 690.1368917226791,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "d2e2a381.df971"
+ "51a60746.5abeb8"
]
]
},
{
- "id": "58da234e.1b4c6c",
+ "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": 618.8868898153305,
- "z": "7137e6b8.2035e8",
+ "y": 648.8868898153305,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "d2e2a381.df971",
+ "id": "51a60746.5abeb8",
"type": "outcome",
"name": "if ran-network",
"xml": "<outcome value='ran-network'>\n",
"comments": "",
"outputs": 1,
"x": 1058.2610168457031,
- "y": 616.6091808080673,
- "z": "7137e6b8.2035e8",
+ "y": 646.6091808080673,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "9a94708.195c79"
+ "6854212b.ac4cd"
]
]
},
{
- "id": "9a94708.195c79",
+ "id": "6854212b.ac4cd",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
@@ -2799,47 +2716,47 @@
"comments": "",
"outputs": 1,
"x": 1254.3968505859375,
- "y": 618.831347823143,
- "z": "7137e6b8.2035e8",
+ "y": 648.831347823143,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "651f51ab.d4108",
- "8e1e4e48.344a8"
+ "52b5af25.2e1ea",
+ "98eeab3d.b9dba8"
]
]
},
{
- "id": "757b7.99b5c8498",
+ "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": 675.4107418060303,
- "z": "7137e6b8.2035e8",
+ "y": 705.4107418060303,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "49973249.f59e7c"
+ "92bad4c5.5c0658"
]
]
},
{
- "id": "adf87b48.fee5d8",
+ "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": 484.05357015132904,
- "z": "7137e6b8.2035e8",
+ "y": 514.053570151329,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "8e1e4e48.344a8",
+ "id": "98eeab3d.b9dba8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
@@ -2847,51 +2764,51 @@
"comments": "",
"outputs": 1,
"x": 1451.3229675292969,
- "y": 637.2079375982285,
- "z": "7137e6b8.2035e8",
+ "y": 667.2079375982285,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "6f2e36c0.0e3df8",
- "a54196fa.e32af8",
- "49616106.d3e75",
- "dbff806f.e203a"
+ "e1b02916.7b90e8",
+ "82289c4e.13dd3",
+ "2f6e989a.bcc9b8",
+ "ebd6c08d.354f2"
]
]
},
{
- "id": "f69a01ab.01b0e",
+ "id": "d600693e.8aa858",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
"x": 660.62841796875,
- "y": 433.2633594274521,
- "z": "7137e6b8.2035e8",
+ "y": 463.2633594274521,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "5643a7a6.d681a8"
+ "677352a2.9b602c"
]
]
},
{
- "id": "73cf8617.241b78",
+ "id": "e072495d.58e5e8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
"x": 674.628589630127,
- "y": 507.4577751159668,
- "z": "7137e6b8.2035e8",
+ "y": 537.4577751159668,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "1c094873.eeecd8"
+ "b938ae7c.bab38"
]
]
},
{
- "id": "5643a7a6.d681a8",
+ "id": "677352a2.9b602c",
"type": "block",
"name": "block",
"xml": "<block>",
@@ -2899,17 +2816,17 @@
"comments": "",
"outputs": 1,
"x": 803.3229141235352,
- "y": 430.8745588064194,
- "z": "7137e6b8.2035e8",
+ "y": 460.8745588064194,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "80ccc795.8b4df8",
- "2aa86fe9.b02bf"
+ "80996cbe.25656",
+ "6fd45460.83d24c"
]
]
},
{
- "id": "1c094873.eeecd8",
+ "id": "b938ae7c.bab38",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
@@ -2917,103 +2834,103 @@
"comments": "",
"outputs": 1,
"x": 823.0727500915527,
- "y": 484.12448155879974,
- "z": "7137e6b8.2035e8",
+ "y": 514.1244815587997,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "94648611.ae2ad8",
- "4aa1ecbc.c8aca4"
+ "702bf693.a42548",
+ "30065182.39617e"
]
]
},
{
- "id": "80ccc795.8b4df8",
+ "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": 394.70776879787445,
- "z": "7137e6b8.2035e8",
+ "y": 424.70776879787445,
+ "z": "27bb3cd4.ff8ff4",
"wires": []
},
{
- "id": "94648611.ae2ad8",
+ "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": 468.37452256679535,
- "z": "7137e6b8.2035e8",
+ "y": 498.37452256679535,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "4aa1ecbc.c8aca4",
+ "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": 501.124524474144,
- "z": "7137e6b8.2035e8",
+ "y": 531.124524474144,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "2aa86fe9.b02bf",
+ "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": 431.2356046438217,
- "z": "7137e6b8.2035e8",
+ "y": 461.2356046438217,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "dafce576.0faf68",
+ "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": 505.4817008972168,
- "z": "7137e6b8.2035e8",
+ "y": 535.4817008972168,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "73cf8617.241b78",
- "f69a01ab.01b0e"
+ "e072495d.58e5e8",
+ "d600693e.8aa858"
]
]
},
{
- "id": "d449f248.65b7a",
+ "id": "25959b30.d72544",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
"x": 1957.1771392822266,
- "y": 665.9999812841415,
- "z": "7137e6b8.2035e8",
+ "y": 695.9999812841415,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "3902ac70.3675c4"
+ "9483eed9.bf01e"
]
]
},
{
- "id": "3902ac70.3675c4",
+ "id": "9483eed9.bf01e",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
@@ -3021,34 +2938,34 @@
"comments": "",
"outputs": 1,
"x": 2166.177104949951,
- "y": 637.0001233816147,
- "z": "7137e6b8.2035e8",
+ "y": 667.0001233816147,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "52a139e4.eb7ef8",
- "7b41f9d4.436188",
- "9541314c.9ca08"
+ "580e40dc.0b46d",
+ "de693035.c3ab5",
+ "f8032621.282298"
]
]
},
{
- "id": "87bb62d6.58d95",
+ "id": "2fcd593e.871b66",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
"x": 1980.1771030426025,
- "y": 612.0001233816147,
- "z": "7137e6b8.2035e8",
+ "y": 642.0001233816147,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "b72bfa13.6daba8"
+ "4553e5fc.f4cb7c"
]
]
},
{
- "id": "b72bfa13.6daba8",
+ "id": "4553e5fc.f4cb7c",
"type": "block",
"name": "block",
"xml": "<block>",
@@ -3056,149 +2973,701 @@
"comments": "",
"outputs": 1,
"x": 2203.034465789795,
- "y": 564.2858165502548,
- "z": "7137e6b8.2035e8",
+ "y": 594.2858165502548,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "5b70c6e5.c4b398"
+ "631e69cb.8f9598"
]
]
},
{
- "id": "6f2e36c0.0e3df8",
+ "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": 524.931988120079,
- "z": "7137e6b8.2035e8",
+ "y": 554.931988120079,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "a54196fa.e32af8",
+ "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": 566.9319890737534,
- "z": "7137e6b8.2035e8",
+ "y": 596.9319890737534,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "49616106.d3e75",
+ "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": 607.9319900274277,
- "z": "7137e6b8.2035e8",
+ "y": 637.9319900274277,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "dbff806f.e203a",
+ "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": 652.9319919347763,
- "z": "7137e6b8.2035e8",
+ "y": 682.9319919347763,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[
- "87bb62d6.58d95",
- "d449f248.65b7a"
+ "2fcd593e.871b66",
+ "25959b30.d72544"
]
]
},
{
- "id": "7b41f9d4.436188",
+ "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": 661.931941986084,
- "z": "7137e6b8.2035e8",
+ "y": 691.931941986084,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "52a139e4.eb7ef8",
+ "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": 713.9321460723877,
- "z": "7137e6b8.2035e8",
+ "y": 743.9321460723877,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "5b70c6e5.c4b398",
+ "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": 566.042999625206,
- "z": "7137e6b8.2035e8",
+ "y": 596.042999625206,
+ "z": "27bb3cd4.ff8ff4",
"wires": []
},
{
- "id": "68291ec4.89a15",
+ "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": 370.3333406448364,
- "z": "7137e6b8.2035e8",
+ "y": 400.3333406448364,
+ "z": "27bb3cd4.ff8ff4",
"wires": []
},
{
- "id": "9541314c.9ca08",
+ "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": 613.6666841506958,
- "z": "7137e6b8.2035e8",
+ "y": 643.6666841506958,
+ "z": "27bb3cd4.ff8ff4",
"wires": [
[]
]
},
{
- "id": "11ef3c2b.c12334",
+ "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`\"/>",
+ "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": 1094.4444580078125,
- "z": "7137e6b8.2035e8",
+ "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"
+ ]
+ ]
}
]