[
{
- "id": "958f3975.8ff368",
+ "id": "50bac4cd.1f982c",
"type": "comment",
"name": "Generic Neighbor Configuration",
"info": "",
"comments": "",
- "x": 342.5104064941406,
- "y": 41.666664123535156,
- "z": "7137e6b8.2035e8",
+ "x": 395,
+ "y": 44,
+ "z": "a817abf.35eaf58",
"wires": []
},
{
- "id": "1f489f91.23b74",
+ "id": "70f08a56.2541c4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2254.510841369629,
- "y": 916.6772780418396,
- "z": "7137e6b8.2035e8",
+ "x": 2307.0004348754883,
+ "y": 919.0106139183044,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "fc17bc52.31382",
- "865a47d.6f75cb8",
- "a32983a2.941a3",
- "e2796569.6cd748",
- "1c1c309f.b19e9f",
- "4cbb6966.6fcbd8",
- "a5337836.392598",
- "252eca6.e8e7436",
- "7764d749.1e3eb8",
- "220ae832.bfd458",
- "ab48c4f9.92b038"
+ "c62628ac.3ed478",
+ "e61ce0a1.1ed3b",
+ "8a28423d.77d3f",
+ "466ba259.c9fcdc",
+ "2fd054d1.30b79c",
+ "8cff43f2.33ad3",
+ "aa870821.3d1dc8",
+ "9f39dc7c.52b21",
+ "45013d85.fa83d4",
+ "5f243bba.b161e4",
+ "64cf510a.3b8af",
+ "bebe4349.77d2a",
+ "5ea14f7f.17ed8"
]
]
},
{
- "id": "ca49ee81.51d01",
+ "id": "e0d49781.5cbda8",
"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",
+ "x": 1553.0004196166992,
+ "y": 787.0001983642578,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "1f489f91.23b74"
+ "70f08a56.2541c4"
]
]
},
{
- "id": "fc17bc52.31382",
+ "id": "c62628ac.3ed478",
"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": 2712.001480102539,
+ "y": 768.5557861328125,
+ "z": "a817abf.35eaf58",
"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": "1ba7847b.8ea8ac",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 76,
- "y": 368.65629959106445,
- "z": "7137e6b8.2035e8",
+ "x": 128.48959350585938,
+ "y": 370.9896354675293,
+ "z": "a817abf.35eaf58",
"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"
+ "7ff3e888.b4b1f8",
+ "55afc614.ce9578",
+ "5dd25aef.bef034",
+ "68bea4c2.1db97c",
+ "cd434df0.920f9",
+ "16a43e9d.9e1261",
+ "aff4f11d.04d36",
+ "4acad63d.a7f778",
+ "e7bf32b9.e031b",
+ "60f72e5.fbd16d",
+ "9bb028f2.db2468",
+ "de3a05a7.e701b8",
+ "d7e45a32.b4d418",
+ "f7ad096.d2436f8",
+ "af6cef55.1e54",
+ "9094b79e.87e8e8",
+ "d06cbb2.c114f48",
+ "10934b39.ffd225"
]
]
},
{
- "id": "6a24e4a4.c1e59c",
+ "id": "204e23fc.7f75ac",
"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",
+ "x": 146,
+ "y": 202.9895782470703,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "30575989.1a1fd6"
+ "1ba7847b.8ea8ac"
]
]
},
{
- "id": "9f6cb18a.9ed65",
+ "id": "7ff3e888.b4b1f8",
"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",
+ "x": 149.00033950805664,
+ "y": 2861.989965438843,
+ "z": "a817abf.35eaf58",
"wires": []
},
{
- "id": "e0e4362b.774ec8",
+ "id": "55afc614.ce9578",
"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",
+ "x": 445.00030517578125,
+ "y": 101.01042938232422,
+ "z": "a817abf.35eaf58",
"wires": [
[]
]
},
{
- "id": "921911db.9139f",
+ "id": "5dd25aef.bef034",
"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",
+ "x": 456.085693359375,
+ "y": 147.9531707763672,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "6ac2e9a6.33f028"
+ "645cd02f.9fdb8"
]
]
},
{
- "id": "746b660d.b885d8",
+ "id": "68bea4c2.1db97c",
"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",
+ "x": 466.00018310546875,
+ "y": 197.01040649414062,
+ "z": "a817abf.35eaf58",
"wires": [
[]
]
},
{
- "id": "2df44597.de8e7a",
+ "id": "cd434df0.920f9",
"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",
+ "x": 432.00030517578125,
+ "y": 238.010498046875,
+ "z": "a817abf.35eaf58",
"wires": [
[]
]
},
{
- "id": "95f9a999.3753d8",
+ "id": "be9db837.0169d8",
"type": "service-logic",
"name": "oofpcipoc-api ${project.version}",
"module": "oofpcipoc-api",
"comments": "",
"xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='oofpcipoc-api' version='${project.version}'>",
"outputs": 1,
- "x": 147.51039123535156,
- "y": 110.6563491821289,
- "z": "7137e6b8.2035e8",
+ "x": 199.99998474121094,
+ "y": 112.98968505859375,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "6a24e4a4.c1e59c"
+ "204e23fc.7f75ac"
]
]
},
{
- "id": "6ac2e9a6.33f028",
+ "id": "645cd02f.9fdb8",
"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",
+ "x": 621.0005493164062,
+ "y": 131.98963165283203,
+ "z": "a817abf.35eaf58",
"wires": [
[]
]
},
{
- "id": "5038f35e.b760cc",
+ "id": "93c9d892.7df208",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 82.51040649414062,
- "y": 48.65625,
- "z": "7137e6b8.2035e8",
+ "x": 135,
+ "y": 50.989585876464844,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "95f9a999.3753d8"
+ "be9db837.0169d8"
]
]
},
{
- "id": "220ae832.bfd458",
+ "id": "8cff43f2.33ad3",
"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": 2630.8447647094727,
+ "y": 974.5661172866821,
+ "z": "a817abf.35eaf58",
"wires": [
[]
]
},
{
- "id": "a32983a2.941a3",
+ "id": "e61ce0a1.1ed3b",
"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",
- "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",
+ "x": 2564.51070022583,
+ "y": 1172.7883296012878,
+ "z": "a817abf.35eaf58",
"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": "466ba259.c9fcdc",
"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": 2599.510787963867,
+ "y": 1273.7883567810059,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "258c9e.9836c362",
- "a8d82355.b5ac8"
+ "a991de14.2407a",
+ "37b8afb1.4d8fa"
]
]
},
{
- "id": "258c9e.9836c362",
+ "id": "a991de14.2407a",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2918.0210666656494,
- "y": 1145.444447517395,
- "z": "7137e6b8.2035e8",
+ "x": 2970.510660171509,
+ "y": 1147.7777833938599,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "f1c4a654.2172f8"
+ "a1f26ad2.1852d8"
]
]
},
{
- "id": "a8d82355.b5ac8",
+ "id": "37b8afb1.4d8fa",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2920.021011352539,
- "y": 1209.444278717041,
- "z": "7137e6b8.2035e8",
+ "x": 2972.5106048583984,
+ "y": 1211.7776145935059,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "364f24e6.f4542c"
+ "c05f81fd.6ed88"
]
]
},
{
- "id": "ed82748b.119ba8",
+ "id": "970ad2f.a9b673",
"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",
+ "x": 3303.510398864746,
+ "y": 1207.777702331543,
+ "z": "a817abf.35eaf58",
"wires": [
[]
]
},
{
- "id": "364f24e6.f4542c",
+ "id": "c05f81fd.6ed88",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3087.020854949951,
- "y": 1208.4443607330322,
- "z": "7137e6b8.2035e8",
+ "x": 3139.5104484558105,
+ "y": 1210.777696609497,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "ed82748b.119ba8"
+ "970ad2f.a9b673"
]
]
},
{
- "id": "f1c4a654.2172f8",
+ "id": "a1f26ad2.1852d8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3077.020929336548,
- "y": 1154.4444332122803,
- "z": "7137e6b8.2035e8",
+ "x": 3129.510522842407,
+ "y": 1156.7777690887451,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "4e18ad13.d88004"
+ "355a9caa.b93454"
]
]
},
{
- "id": "4e18ad13.d88004",
+ "id": "355a9caa.b93454",
"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",
+ "x": 3305.5102863311768,
+ "y": 1141.7777423858643,
+ "z": "a817abf.35eaf58",
"wires": []
},
{
- "id": "a5337836.392598",
+ "id": "8a28423d.77d3f",
"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": 2624.177459716797,
+ "y": 1220.7882690429688,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "22289d3.1030062",
- "1cd16d78.64ccc3"
+ "4c5773e6.ff8e5c",
+ "7ae8d84.9c10528"
]
]
},
{
- "id": "22289d3.1030062",
+ "id": "4c5773e6.ff8e5c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2923.0211791992188,
- "y": 1030.1109132766724,
- "z": "7137e6b8.2035e8",
+ "x": 2975.510772705078,
+ "y": 1032.4442491531372,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "860a3f6b.5fb69"
+ "6407a396.bb3ddc"
]
]
},
{
- "id": "1cd16d78.64ccc3",
+ "id": "7ae8d84.9c10528",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2910.0210723876953,
- "y": 1094.1110610961914,
- "z": "7137e6b8.2035e8",
+ "x": 2962.5106658935547,
+ "y": 1096.4443969726562,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "665c96f1.f89db8"
+ "8cefc18e.9f446"
]
]
},
{
- "id": "665c96f1.f89db8",
+ "id": "8cefc18e.9f446",
"type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3053.0208683013916,
- "y": 1091.1109766960144,
- "z": "7137e6b8.2035e8",
+ "x": 3105.510461807251,
+ "y": 1093.4443125724792,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "5524505f.fe08b"
+ "23e79752.295618",
+ "38bb1b5b.cee544"
]
]
},
{
- "id": "5524505f.fe08b",
+ "id": "23e79752.295618",
"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",
+ "x": 3266.510377883911,
+ "y": 1087.444582939148,
+ "z": "a817abf.35eaf58",
"wires": [
[]
]
},
{
- "id": "860a3f6b.5fb69",
+ "id": "6407a396.bb3ddc",
"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",
+ "x": 3171.1773834228516,
+ "y": 990.7776174545288,
+ "z": "a817abf.35eaf58",
"wires": []
},
{
- "id": "7764d749.1e3eb8",
+ "id": "2fd054d1.30b79c",
"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": 2605.510787963867,
+ "y": 1328.0104084014893,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "e831a00.cc8fc6",
- "79371802.289d68"
+ "46fd0a0.6b949f8",
+ "314b8e36.b6f3b2"
]
]
},
{
- "id": "e831a00.cc8fc6",
+ "id": "46fd0a0.6b949f8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2948.0211181640625,
- "y": 1256.9997692108154,
- "z": "7137e6b8.2035e8",
+ "x": 3000.510711669922,
+ "y": 1259.3331050872803,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "8fd51384.29db"
+ "7b8147ab.0675c8"
]
]
},
{
- "id": "79371802.289d68",
+ "id": "314b8e36.b6f3b2",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2941.021011352539,
- "y": 1308.9999656677246,
- "z": "7137e6b8.2035e8",
+ "x": 2993.5106048583984,
+ "y": 1311.3333015441895,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "373ef481.de5e7c"
+ "9f8a6555.bcb858"
]
]
},
{
- "id": "373ef481.de5e7c",
+ "id": "9f8a6555.bcb858",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3110.0207710266113,
- "y": 1315.9999046325684,
- "z": "7137e6b8.2035e8",
+ "x": 3162.5103645324707,
+ "y": 1318.3332405090332,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "e2861ab4.f8bda8"
+ "8059bd9.1590d4"
]
]
},
{
- "id": "8fd51384.29db",
+ "id": "7b8147ab.0675c8",
"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",
+ "x": 3173.5106658935547,
+ "y": 1256.3331327438354,
+ "z": "a817abf.35eaf58",
"wires": []
},
{
- "id": "e2861ab4.f8bda8",
+ "id": "8059bd9.1590d4",
"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",
+ "x": 3309.510398864746,
+ "y": 1316.333456993103,
+ "z": "a817abf.35eaf58",
"wires": [
[]
]
},
{
- "id": "2b982c8e.6a8e24",
+ "id": "12498ac4.889555",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 971.5107345581055,
- "y": 1286.6667013168335,
- "z": "7137e6b8.2035e8",
+ "x": 1024.0003280639648,
+ "y": 1289.0000371932983,
+ "z": "a817abf.35eaf58",
"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"
+ "8b80ea6d.c77208",
+ "884c03.77df44",
+ "9cd7cc2d.39c88",
+ "71851ddc.4422d4",
+ "121608b7.b37de7",
+ "33ac97be.c8b558",
+ "80354cbf.37345",
+ "8a34955e.1e1f78",
+ "fc9ec145.3e57a",
+ "d92ec76.145f538",
+ "1577847a.1d5f6c",
+ "3169a8c9.907d98",
+ "3cb1366f.8d826a",
+ "373ba965.6da6d6"
]
]
},
{
- "id": "aa0a8ac6.7fa668",
+ "id": "af60476a.a95658",
"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",
+ "x": 934.0002937316895,
+ "y": 880.9896640777588,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "2b982c8e.6a8e24"
+ "12498ac4.889555"
]
]
},
{
- "id": "d8abd6b2.99b458",
+ "id": "8b80ea6d.c77208",
"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": 1350.6682968139648,
+ "y": 924.5454177856445,
+ "z": "a817abf.35eaf58",
"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": "8a34955e.1e1f78",
"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",
+ "x": 1336.5112915039062,
+ "y": 1146.5559644699097,
+ "z": "a817abf.35eaf58",
"wires": [
[]
]
},
{
- "id": "fc57dffd.42f82",
+ "id": "884c03.77df44",
"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",
+ "x": 1311.5110092163086,
+ "y": 1261.7780952453613,
+ "z": "a817abf.35eaf58",
"wires": [
[]
]
},
{
- "id": "e237afc9.01b58",
+ "id": "9cd7cc2d.39c88",
"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": 1262.5109214782715,
+ "y": 1364.9210257530212,
+ "z": "a817abf.35eaf58",
"wires": [
[]
]
},
{
- "id": "9cca1b05.b7fe58",
+ "id": "71851ddc.4422d4",
"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",
+ "x": 1299.5108261108398,
+ "y": 1312.7780151367188,
+ "z": "a817abf.35eaf58",
"wires": [
[]
]
},
{
- "id": "de09bf42.0a5fe",
+ "id": "33ac97be.c8b558",
"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",
+ "x": 1323.5108394622803,
+ "y": 1470.7778720855713,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "16e2e6a9.2be489",
- "e8b95040.bc226"
+ "c9144516.b2c888",
+ "b06cc895.f861d8"
]
]
},
{
- "id": "16e2e6a9.2be489",
+ "id": "c9144516.b2c888",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1566.0211334228516,
- "y": 1475.4339895248413,
- "z": "7137e6b8.2035e8",
+ "x": 1618.510726928711,
+ "y": 1477.7673254013062,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "7d4abb11.5a7514"
+ "2a193e85.f3cff2"
]
]
},
{
- "id": "e8b95040.bc226",
+ "id": "b06cc895.f861d8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1584.0211753845215,
- "y": 1543.4338159561157,
- "z": "7137e6b8.2035e8",
+ "x": 1636.5107688903809,
+ "y": 1545.7671518325806,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "24bb4c3c.0be9b4"
+ "ff701bb1.f6da18"
]
]
},
{
- "id": "d19a525f.b19cf",
+ "id": "97e7e5dd.a6c1a8",
"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",
+ "x": 1974.5105209350586,
+ "y": 1532.7672600746155,
+ "z": "a817abf.35eaf58",
"wires": [
[]
]
},
{
- "id": "24bb4c3c.0be9b4",
+ "id": "ff701bb1.f6da18",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1764.020839691162,
- "y": 1541.4338970184326,
- "z": "7137e6b8.2035e8",
+ "x": 1816.5104331970215,
+ "y": 1543.7672328948975,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "d19a525f.b19cf"
+ "97e7e5dd.a6c1a8"
]
]
},
{
- "id": "7d4abb11.5a7514",
+ "id": "2a193e85.f3cff2",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1725.02099609375,
- "y": 1484.4339752197266,
- "z": "7137e6b8.2035e8",
+ "x": 1777.5105895996094,
+ "y": 1486.7673110961914,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "33d9f2d5.1c783e"
+ "636ddb6c.a5bbe4"
]
]
},
{
- "id": "33d9f2d5.1c783e",
+ "id": "636ddb6c.a5bbe4",
"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",
+ "x": 1953.510353088379,
+ "y": 1471.7672843933105,
+ "z": "a817abf.35eaf58",
"wires": []
},
{
- "id": "6117465f.a73a68",
+ "id": "121608b7.b37de7",
"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",
+ "x": 1351.5108032226562,
+ "y": 1417.7778949737549,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "a411c9ee.1a9668",
- "acae6ed3.a4592"
+ "b18c2f82.3dfd9",
+ "716e0ba6.778cd4"
]
]
},
{
- "id": "a411c9ee.1a9668",
+ "id": "b18c2f82.3dfd9",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1554.0212860107422,
- "y": 1356.1004600524902,
- "z": "7137e6b8.2035e8",
+ "x": 1598.1776428222656,
+ "y": 1326.767183303833,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "d6406d85.d3761"
+ "8f48e8cd.16d238"
]
]
},
{
- "id": "acae6ed3.a4592",
+ "id": "716e0ba6.778cd4",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1549.0211181640625,
- "y": 1412.1006135940552,
- "z": "7137e6b8.2035e8",
+ "x": 1601.5107116699219,
+ "y": 1414.43394947052,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "eb0e2bc7.7802e8"
+ "b93deef4.06178"
]
]
},
{
- "id": "eb0e2bc7.7802e8",
+ "id": "b93deef4.06178",
"type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1701.0209350585938,
- "y": 1421.1005187034607,
- "z": "7137e6b8.2035e8",
+ "x": 1758.5104217529297,
+ "y": 1411.767255783081,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "ff9a9770.764878"
+ "50267f31.9bd64",
+ "2f6afb57.2d6634"
]
]
},
{
- "id": "ff9a9770.764878",
+ "id": "50267f31.9bd64",
"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": 1914.5104813575745,
+ "y": 1417.434151649475,
+ "z": "a817abf.35eaf58",
"wires": [
[]
]
},
{
- "id": "d6406d85.d3761",
+ "id": "8f48e8cd.16d238",
"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",
+ "x": 1814.1773300170898,
+ "y": 1321.1005172729492,
+ "z": "a817abf.35eaf58",
"wires": []
},
{
- "id": "24ac021b.c92c5e",
+ "id": "80354cbf.37345",
"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",
+ "x": 1289.510778427124,
+ "y": 1584.6666660308838,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "179919cb.d28536",
- "ea9351b3.6214a"
+ "b644809.287378",
+ "835dd010.95c44"
]
]
},
{
- "id": "179919cb.d28536",
+ "id": "b644809.287378",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1594.0212860107422,
- "y": 1593.989315032959,
- "z": "7137e6b8.2035e8",
+ "x": 1646.5108795166016,
+ "y": 1596.3226509094238,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "61337d4e.64c9f4"
+ "a4038294.7ddd3"
]
]
},
{
- "id": "ea9351b3.6214a",
+ "id": "835dd010.95c44",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1589.0211181640625,
- "y": 1649.989468574524,
- "z": "7137e6b8.2035e8",
+ "x": 1641.5107116699219,
+ "y": 1652.3228044509888,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "2d42b1a1.63cc0e"
+ "6d4ed5cb.80c4fc"
]
]
},
{
- "id": "2d42b1a1.63cc0e",
+ "id": "6d4ed5cb.80c4fc",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1741.0209350585938,
- "y": 1658.9893736839294,
- "z": "7137e6b8.2035e8",
+ "x": 1793.5105285644531,
+ "y": 1661.3227095603943,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "ae72cfc4.57d74"
+ "fb1bce64.b2df9"
]
]
},
{
- "id": "61337d4e.64c9f4",
+ "id": "a4038294.7ddd3",
"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",
+ "x": 1847.510669708252,
+ "y": 1602.3226594924927,
+ "z": "a817abf.35eaf58",
"wires": []
},
{
- "id": "ae72cfc4.57d74",
+ "id": "fb1bce64.b2df9",
"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",
+ "x": 1954.5104370117188,
+ "y": 1654.3229541778564,
+ "z": "a817abf.35eaf58",
"wires": [
[]
]
},
{
- "id": "3edad7e3.f72ae8",
+ "id": "a3e587fa.57e3e8",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1172.5105209350586,
- "y": 789.6667823791504,
- "z": "7137e6b8.2035e8",
+ "x": 1225.000114440918,
+ "y": 792.0001182556152,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "ca49ee81.51d01"
+ "e0d49781.5cbda8"
]
]
},
{
- "id": "b120b243.60a3c",
+ "id": "16a43e9d.9e1261",
"type": "switchNode",
"name": "switch mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 455.51043701171875,
- "y": 813.6667327880859,
- "z": "7137e6b8.2035e8",
+ "x": 508.0000305175781,
+ "y": 816.0000686645508,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "3edad7e3.f72ae8",
- "d3b088b8.c1a508"
+ "a3e587fa.57e3e8",
+ "48a7abfc.83e8c4"
]
]
},
{
- "id": "d3b088b8.c1a508",
+ "id": "48a7abfc.83e8c4",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 678.510440826416,
- "y": 853.6667442321777,
- "z": "7137e6b8.2035e8",
+ "x": 731.0000343322754,
+ "y": 856.0000801086426,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "aa0a8ac6.7fa668"
+ "af60476a.a95658"
]
]
},
{
- "id": "bc2bb3bd.bb44c",
+ "id": "fc9ec145.3e57a",
"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",
+ "x": 1334.000473022461,
+ "y": 1227.0003032684326,
+ "z": "a817abf.35eaf58",
"wires": [
[]
]
},
{
- "id": "b3d491b8.eb662",
+ "id": "c2cbfcee.22cce",
"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": 974.0104598999023,
+ "y": 2637.455014243722,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "9c346727.fa5178",
- "b4e249a.c4dcbb8"
+ "56e106d2.1167b8",
+ "89ea8657.378188"
]
]
},
{
- "id": "9c346727.fa5178",
+ "id": "56e106d2.1167b8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1125.520866394043,
- "y": 2109.121690273285,
- "z": "7137e6b8.2035e8",
+ "x": 1248.0104598999023,
+ "y": 2606.455014243722,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "2057a020.4e2b"
+ "632777ee.b86828"
]
]
},
{
- "id": "2057a020.4e2b",
+ "id": "632777ee.b86828",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1316.520866394043,
- "y": 2112.121690273285,
- "z": "7137e6b8.2035e8",
+ "x": 1439.0104598999023,
+ "y": 2609.455014243722,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "ca29eeec.cac5e"
+ "e06e57ab.700a78"
]
]
},
{
- "id": "ca29eeec.cac5e",
+ "id": "e06e57ab.700a78",
"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": 1607.0104598999023,
+ "y": 2610.455014243722,
+ "z": "a817abf.35eaf58",
"wires": [
[]
]
},
{
- "id": "6b6b0f02.befee",
+ "id": "f7c926e9.08c538",
"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": 946.5104598999023,
+ "y": 2753.455014243722,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "9d78c66d.40f5e8",
- "96636a82.f4af18"
+ "c6ff0354.0859f",
+ "d778f5ad.fe62e8"
]
]
},
{
- "id": "d49a86eb.dbd4e8",
+ "id": "35a4e2a.f70eb1e",
"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": 936.0104598999023,
+ "y": 2835.455014243722,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "e8f20cae.1ec3",
- "c6957aca.de3238"
+ "bcfaca91.16b568",
+ "1c1f38cf.0dc277"
]
]
},
{
- "id": "e8f20cae.1ec3",
+ "id": "bcfaca91.16b568",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 996.020866394043,
- "y": 2346.121690273285,
- "z": "7137e6b8.2035e8",
+ "x": 1118.5104598999023,
+ "y": 2843.455014243722,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "3129aa1b.5152f6"
+ "34803f17.0d486"
]
]
},
{
- "id": "3129aa1b.5152f6",
+ "id": "34803f17.0d486",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1181.020866394043,
- "y": 2344.121690273285,
- "z": "7137e6b8.2035e8",
+ "x": 1303.5104598999023,
+ "y": 2841.455014243722,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "9a3e0e88.314b9"
+ "5b98a7a8.689378"
]
]
},
{
- "id": "9a3e0e88.314b9",
+ "id": "5b98a7a8.689378",
"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": 1505.5104598999023,
+ "y": 2836.455014243722,
+ "z": "a817abf.35eaf58",
"wires": [
[]
]
},
{
- "id": "9d78c66d.40f5e8",
+ "id": "c6ff0354.0859f",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1017.520866394043,
- "y": 2224.121690273285,
- "z": "7137e6b8.2035e8",
+ "x": 1140.0104598999023,
+ "y": 2721.455014243722,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "f4d0fbe7.379018"
+ "6fa0ede6.1e6e34"
]
]
},
{
- "id": "f4d0fbe7.379018",
+ "id": "6fa0ede6.1e6e34",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1192.520866394043,
- "y": 2238.121690273285,
- "z": "7137e6b8.2035e8",
+ "x": 1315.0104598999023,
+ "y": 2735.455014243722,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "985a740c.c41658"
+ "cd2a8cc9.1d43"
]
]
},
{
- "id": "985a740c.c41658",
+ "id": "cd2a8cc9.1d43",
"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": 1509.010498046875,
+ "y": 2740.455066218972,
+ "z": "a817abf.35eaf58",
"wires": [
[]
]
},
{
- "id": "b4e249a.c4dcbb8",
+ "id": "89ea8657.378188",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1124.520866394043,
- "y": 2166.121690273285,
- "z": "7137e6b8.2035e8",
+ "x": 1247.0104598999023,
+ "y": 2663.455014243722,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "7228b7c3.0734f8"
+ "dc820b64.ec8f98"
]
]
},
{
- "id": "7228b7c3.0734f8",
+ "id": "dc820b64.ec8f98",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1293.5207443237305,
- "y": 2172.121690273285,
- "z": "7137e6b8.2035e8",
+ "x": 1416.0103378295898,
+ "y": 2669.455014243722,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "a50e3fb9.2c125"
+ "dd1013c1.cf531"
]
]
},
{
- "id": "a50e3fb9.2c125",
+ "id": "dd1013c1.cf531",
"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": 1572.0100936889648,
+ "y": 2668.455014243722,
+ "z": "a817abf.35eaf58",
"wires": []
},
{
- "id": "96636a82.f4af18",
+ "id": "d778f5ad.fe62e8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1038.520866394043,
- "y": 2295.121690273285,
- "z": "7137e6b8.2035e8",
+ "x": 1161.0104598999023,
+ "y": 2792.455014243722,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "643a52af.4a01ac"
+ "6cb87ace.347ac4"
]
]
},
{
- "id": "643a52af.4a01ac",
+ "id": "6cb87ace.347ac4",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1206.5207443237305,
- "y": 2290.121690273285,
- "z": "7137e6b8.2035e8",
+ "x": 1329.0103378295898,
+ "y": 2787.455014243722,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "c7fd1a6b.80b9c8"
+ "17b38f59.cf07f1"
]
]
},
{
- "id": "c7fd1a6b.80b9c8",
+ "id": "17b38f59.cf07f1",
"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": 1487.0100326538086,
+ "y": 2790.455014243722,
+ "z": "a817abf.35eaf58",
"wires": []
},
{
- "id": "c6957aca.de3238",
+ "id": "1c1f38cf.0dc277",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 998.520866394043,
- "y": 2394.121690273285,
- "z": "7137e6b8.2035e8",
+ "x": 1116.0105056762695,
+ "y": 2926.4551458358765,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "67203ecd.299d9"
+ "dae9e9a2.afcdd8"
]
]
},
{
- "id": "67203ecd.299d9",
+ "id": "dae9e9a2.afcdd8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1174.5207443237305,
- "y": 2395.121690273285,
- "z": "7137e6b8.2035e8",
+ "x": 1292.010383605957,
+ "y": 2927.4551458358765,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "1be9df75.9dad81"
+ "fb476c7b.68754"
]
]
},
{
- "id": "1be9df75.9dad81",
+ "id": "fb476c7b.68754",
"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": 1439.0100784301758,
+ "y": 2930.4551458358765,
+ "z": "a817abf.35eaf58",
"wires": []
},
{
- "id": "8d9907e3.141768",
+ "id": "aff4f11d.04d36",
"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": 678.0104751586914,
+ "y": 2755.4551124721766,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "b3d491b8.eb662",
- "6b6b0f02.befee",
- "d49a86eb.dbd4e8"
+ "c2cbfcee.22cce",
+ "f7c926e9.08c538",
+ "35a4e2a.f70eb1e"
]
]
},
{
- "id": "4c9c03b6.8c846c",
+ "id": "4acad63d.a7f778",
"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": 535.0104904174805,
+ "y": 3138.3439359664917,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "d4636db8.d98aa",
- "44a99d0c.1549f4",
- "ed9283be.6d384",
- "66050e0e.2e289"
+ "ffd6b7b8.5bcc38",
+ "6931a118.b6b7c",
+ "2670f790.5b1d18",
+ "d084ebe2.267888"
]
]
},
{
- "id": "44a99d0c.1549f4",
+ "id": "6931a118.b6b7c",
"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": 808.0105667114258,
+ "y": 3534.455228328705,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "2cb1e379.ca054c",
- "94d28ad8.6c1e68"
+ "7fcb55d2.d8451c",
+ "26240f4d.4d365"
]
]
},
{
- "id": "d4636db8.d98aa",
+ "id": "ffd6b7b8.5bcc38",
"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": 775.6772918701172,
+ "y": 2949.4551978111267,
+ "z": "a817abf.35eaf58",
"wires": []
},
{
- "id": "2cb1e379.ca054c",
+ "id": "7fcb55d2.d8451c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 865.0209045410156,
- "y": 2936.03849029541,
- "z": "7137e6b8.2035e8",
+ "x": 982.5105438232422,
+ "y": 3468.3719458580017,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "b46caa18.6ad2a8"
+ "1a81ca87.c2f7f5"
]
]
},
{
- "id": "94d28ad8.6c1e68",
+ "id": "26240f4d.4d365",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 888.0207595825195,
- "y": 3065.0385971069336,
- "z": "7137e6b8.2035e8",
+ "x": 1005.5103988647461,
+ "y": 3597.372052669525,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "f2f80e6c.39596"
+ "e18f5b28.3cf048"
]
]
},
{
- "id": "b46caa18.6ad2a8",
+ "id": "1a81ca87.c2f7f5",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1046.0206756591797,
- "y": 2939.038619995117,
- "z": "7137e6b8.2035e8",
+ "x": 1163.5103149414062,
+ "y": 3471.3720755577087,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "7082eea1.09393"
+ "6f0194a7.d99cdc"
]
]
},
{
- "id": "7082eea1.09393",
+ "id": "6f0194a7.d99cdc",
"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": 1337.5100326538086,
+ "y": 3478.372000694275,
+ "z": "a817abf.35eaf58",
"wires": []
},
{
- "id": "f2f80e6c.39596",
+ "id": "e18f5b28.3cf048",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1048.0204048156738,
- "y": 3057.0385694503784,
- "z": "7137e6b8.2035e8",
+ "x": 1165.5100440979004,
+ "y": 3589.37202501297,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "638ae5c4.7cfd2c"
+ "3ff76f63.b3d7b"
]
]
},
{
- "id": "638ae5c4.7cfd2c",
+ "id": "3ff76f63.b3d7b",
"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": 1342.5101623535156,
+ "y": 3594.372133731842,
+ "z": "a817abf.35eaf58",
"wires": [
[]
]
},
{
- "id": "dd1ed098.fbc85",
+ "id": "930ef09b.5a48d",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2625.5211181640625,
- "y": 1593.0104141235352,
- "z": "7137e6b8.2035e8",
+ "x": 2678.010711669922,
+ "y": 1595.34375,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "a11bce3f.7e2c6",
- "bca66d81.89f3a",
- "1c265a04.1bc836",
- "ab85fbdf.e5f9e8"
+ "4adc73cd.00985c",
+ "58a91b03.9f4034",
+ "767db4c8.9b2c9c",
+ "70692347.ebe8ec"
]
]
},
{
- "id": "a11bce3f.7e2c6",
+ "id": "4adc73cd.00985c",
"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",
+ "x": 2960.0106353759766,
+ "y": 1448.3437967300415,
+ "z": "a817abf.35eaf58",
"wires": [
[]
]
},
{
- "id": "bca66d81.89f3a",
+ "id": "58a91b03.9f4034",
"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",
+ "x": 2969.010726928711,
+ "y": 1561.3437929153442,
+ "z": "a817abf.35eaf58",
"wires": [
[]
]
},
{
- "id": "1c265a04.1bc836",
+ "id": "767db4c8.9b2c9c",
"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",
+ "x": 2936.010711669922,
+ "y": 1666.34375,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "6b15e797.bfeab8",
- "69e7483e.3fb508"
+ "5aba40e9.83366",
+ "5185254.ba47adc"
]
]
},
{
- "id": "6b15e797.bfeab8",
+ "id": "5aba40e9.83366",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3098.5211181640625,
- "y": 1607.0104141235352,
- "z": "7137e6b8.2035e8",
+ "x": 3151.010711669922,
+ "y": 1609.34375,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "ec12fbdd.d49728"
+ "81a8e5bc.9408b8"
]
]
},
{
- "id": "69e7483e.3fb508",
+ "id": "5185254.ba47adc",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3118.5212478637695,
- "y": 1703.0102767944336,
- "z": "7137e6b8.2035e8",
+ "x": 3171.010841369629,
+ "y": 1705.3436126708984,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "52fbd02.af6883"
+ "8b696420.27b9a8"
]
]
},
{
- "id": "ec12fbdd.d49728",
+ "id": "81a8e5bc.9408b8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3267.52099609375,
- "y": 1618.0104141235352,
- "z": "7137e6b8.2035e8",
+ "x": 3320.0105895996094,
+ "y": 1620.34375,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "f60c0c3e.6c70e"
+ "a3a1d953.1d1988"
]
]
},
{
- "id": "52fbd02.af6883",
+ "id": "8b696420.27b9a8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3280.5210037231445,
- "y": 1704.010398864746,
- "z": "7137e6b8.2035e8",
+ "x": 3333.010597229004,
+ "y": 1706.343734741211,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "21da5fa6.d154"
+ "19555e64.229962"
]
]
},
{
- "id": "f60c0c3e.6c70e",
+ "id": "a3a1d953.1d1988",
"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",
+ "x": 3474.010284423828,
+ "y": 1613.34375,
+ "z": "a817abf.35eaf58",
"wires": []
},
{
- "id": "21da5fa6.d154",
+ "id": "19555e64.229962",
"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",
+ "x": 3488.0107955932617,
+ "y": 1703.3437433242798,
+ "z": "a817abf.35eaf58",
"wires": [
[]
]
},
{
- "id": "ab48c4f9.92b038",
+ "id": "aa870821.3d1dc8",
"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",
+ "x": 2561.010726928711,
+ "y": 1389.343770980835,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "ef05a2cb.3ff44",
- "4862c3d7.ea800c"
+ "79406b95.ab87b4",
+ "c5ab7399.3ed41"
]
]
},
{
- "id": "ef05a2cb.3ff44",
+ "id": "79406b95.ab87b4",
"type": "outcome",
"name": "Deployed",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2550.5211181640625,
- "y": 1517.0104141235352,
- "z": "7137e6b8.2035e8",
+ "x": 2603.010711669922,
+ "y": 1519.34375,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "dd1ed098.fbc85"
+ "930ef09b.5a48d"
]
]
},
{
- "id": "ab85fbdf.e5f9e8",
+ "id": "70692347.ebe8ec",
"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",
+ "x": 3028.0106658935547,
+ "y": 1500.4549632072449,
+ "z": "a817abf.35eaf58",
"wires": [
[]
]
},
{
- "id": "4862c3d7.ea800c",
+ "id": "c5ab7399.3ed41",
"type": "outcome",
"name": "Not Deployed",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2773.521011352539,
- "y": 1369.343671798706,
- "z": "7137e6b8.2035e8",
+ "x": 2968.010673522949,
+ "y": 1379.676923751831,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "87e189a.f449a78"
+ "ba527ab0.0e2618"
]
]
},
{
- "id": "c5dee50b.be5dc8",
+ "id": "2bf2313d.34842e",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1274.521224975586,
- "y": 1891.2326831817627,
- "z": "7137e6b8.2035e8",
+ "x": 1252.010887145996,
+ "y": 2253.566168785095,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "21081f5a.47f6b",
- "ad35a694.192798",
- "2e669695.06016a",
- "ae78e24e.82c91"
+ "249d1796.63a708",
+ "84091f17.4872e",
+ "33d19c43.ed2f84",
+ "93308a51.c86768"
]
]
},
{
- "id": "21081f5a.47f6b",
+ "id": "249d1796.63a708",
"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": 1619.0108337402344,
+ "y": 2194.566216945648,
+ "z": "a817abf.35eaf58",
"wires": [
[]
]
},
{
- "id": "ad35a694.192798",
+ "id": "84091f17.4872e",
"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": 1550.0108947753906,
+ "y": 2404.566210269928,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "1d53a523.bf620b",
- "b3743a06.714ec8"
+ "23001d08.058bb2",
+ "ff528eb0.b86bc"
]
]
},
{
- "id": "1d53a523.bf620b",
+ "id": "23001d08.058bb2",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1747.521224975586,
- "y": 1905.2326831817627,
- "z": "7137e6b8.2035e8",
+ "x": 1765.0108947753906,
+ "y": 2347.566210269928,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "d4c872f6.0aad6"
+ "a0575ef8.6aef5"
]
]
},
{
- "id": "b3743a06.714ec8",
+ "id": "ff528eb0.b86bc",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1747.5211029052734,
- "y": 2001.2325611114502,
- "z": "7137e6b8.2035e8",
+ "x": 1765.0107727050781,
+ "y": 2443.5660881996155,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "6cb3e816.b27228"
+ "317710dd.b4676"
]
]
},
{
- "id": "d4c872f6.0aad6",
+ "id": "a0575ef8.6aef5",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1916.5211029052734,
- "y": 1916.2326831817627,
- "z": "7137e6b8.2035e8",
+ "x": 1934.0107727050781,
+ "y": 2358.566210269928,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "a1e2365.c1ad1c8"
+ "e570c6e8.bc0fd8"
]
]
},
{
- "id": "6cb3e816.b27228",
+ "id": "317710dd.b4676",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1909.5208587646484,
- "y": 2002.2326831817627,
- "z": "7137e6b8.2035e8",
+ "x": 1927.0105285644531,
+ "y": 2444.566210269928,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "c1cf834f.03275"
+ "d272c80d.187538"
]
]
},
{
- "id": "a1e2365.c1ad1c8",
+ "id": "e570c6e8.bc0fd8",
"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": 2088.010467529297,
+ "y": 2351.566210269928,
+ "z": "a817abf.35eaf58",
"wires": []
},
{
- "id": "c1cf834f.03275",
+ "id": "d272c80d.187538",
"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": 2082.010726928711,
+ "y": 2441.566218852997,
+ "z": "a817abf.35eaf58",
"wires": [
[]
]
},
{
- "id": "3161d7f6.2ec228",
+ "id": "d92ec76.145f538",
"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",
+ "x": 1143.0110931396484,
+ "y": 1706.5660991668701,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "551d474c.11ba08",
- "5d37bd4e.b0a394"
+ "1fd3f981.479016",
+ "286c1d11.713412"
]
]
},
{
- "id": "551d474c.11ba08",
+ "id": "1fd3f981.479016",
"type": "outcome",
"name": "Deployed",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1294.5212783813477,
- "y": 1789.2327201366425,
- "z": "7137e6b8.2035e8",
+ "x": 982.0108909606934,
+ "y": 2096.5661640167236,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "c5dee50b.be5dc8"
+ "2bf2313d.34842e"
]
]
},
{
- "id": "2e669695.06016a",
+ "id": "33d19c43.ed2f84",
"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": 1670.0108337402344,
+ "y": 2247.677493095398,
+ "z": "a817abf.35eaf58",
"wires": [
[]
]
},
{
- "id": "d457bb5e.8456a8",
+ "id": "93f10180.52f46",
"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": 1582.010799407959,
+ "y": 1746.7880992889404,
+ "z": "a817abf.35eaf58",
"wires": [
[]
]
},
{
- "id": "5d37bd4e.b0a394",
+ "id": "286c1d11.713412",
"type": "outcome",
"name": "Not Deployed",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1406.5211715698242,
- "y": 1689.5660467147827,
- "z": "7137e6b8.2035e8",
+ "x": 1459.0107650756836,
+ "y": 1691.8993825912476,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "d457bb5e.8456a8"
+ "d1af5c67.fdb58"
]
]
},
{
- "id": "ae78e24e.82c91",
+ "id": "93308a51.c86768",
"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": 1615.566390991211,
+ "y": 2304.3438897132874,
+ "z": "a817abf.35eaf58",
"wires": [
[]
]
},
{
- "id": "bfe25499.9b01c8",
+ "id": "e7bf32b9.e031b",
"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",
+ "x": 509.00001525878906,
+ "y": 282.00001335144043,
+ "z": "a817abf.35eaf58",
"wires": []
},
{
- "id": "8d5dab3a.00cc68",
+ "id": "60f72e5.fbd16d",
"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",
+ "x": 427.00001525878906,
+ "y": 329.00001525878906,
+ "z": "a817abf.35eaf58",
"wires": [
[]
]
},
{
- "id": "ed9283be.6d384",
+ "id": "2670f790.5b1d18",
"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": 803.0000457763672,
+ "y": 3434.0001196861267,
+ "z": "a817abf.35eaf58",
"wires": [
[]
]
},
{
- "id": "66050e0e.2e289",
+ "id": "d084ebe2.267888",
"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": 915.0000457763672,
+ "y": 3141.0001196861267,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "b4a8c27e.c96b7",
- "d9875c7a.68e95",
- "a7426f30.67fe2"
+ "f9ccbf3.c1bcd4",
+ "8da2b6a4.dcf638",
+ "e68a19f7.b88c28"
]
]
},
{
- "id": "b4a8c27e.c96b7",
+ "id": "f9ccbf3.c1bcd4",
"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": 1124.0000457763672,
+ "y": 3016.0001196861267,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "17ac638a.ebe09c",
- "80eed967.47aa68"
+ "567a3b5.fa70ac4",
+ "b3d71006.25e6e"
]
]
},
{
- "id": "17ac638a.ebe09c",
+ "id": "567a3b5.fa70ac4",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1189.0104064941406,
- "y": 2491.666664123535,
- "z": "7137e6b8.2035e8",
+ "x": 1306.5000457763672,
+ "y": 3024.0001196861267,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "9166ec65.32d13"
+ "89bcd707.05b798"
]
]
},
{
- "id": "9166ec65.32d13",
+ "id": "89bcd707.05b798",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1374.0104064941406,
- "y": 2489.666664123535,
- "z": "7137e6b8.2035e8",
+ "x": 1491.5000457763672,
+ "y": 3022.0001196861267,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "a2ec6048.aa6d6"
+ "38874169.805fde"
]
]
},
{
- "id": "a2ec6048.aa6d6",
+ "id": "38874169.805fde",
"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": 1694.5000457763672,
+ "y": 3018.0001196861267,
+ "z": "a817abf.35eaf58",
"wires": [
[]
]
},
{
- "id": "80eed967.47aa68",
+ "id": "b3d71006.25e6e",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1191.5104064941406,
- "y": 2539.666664123535,
- "z": "7137e6b8.2035e8",
+ "x": 1309.0000457763672,
+ "y": 3072.0001196861267,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "6ed7909a.3b999"
+ "7a94e1e4.0f553"
]
]
},
{
- "id": "6ed7909a.3b999",
+ "id": "7a94e1e4.0f553",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1367.5102844238281,
- "y": 2540.666664123535,
- "z": "7137e6b8.2035e8",
+ "x": 1484.9999237060547,
+ "y": 3073.0001196861267,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "8a7186c9.06fed8"
+ "a50374d8.dcbf88"
]
]
},
{
- "id": "8a7186c9.06fed8",
+ "id": "a50374d8.dcbf88",
"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": 1633.9996795654297,
+ "y": 3080.0001196861267,
+ "z": "a817abf.35eaf58",
"wires": []
},
{
- "id": "d9875c7a.68e95",
+ "id": "8da2b6a4.dcf638",
"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": 1131.0000457763672,
+ "y": 3157.0001196861267,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "e7dd4768.6f8ad8",
- "3c5336d1.55219a"
+ "567daefe.62743",
+ "4e7eafbc.78d51"
]
]
},
{
- "id": "e7dd4768.6f8ad8",
+ "id": "567daefe.62743",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1196.0104064941406,
- "y": 2632.666664123535,
- "z": "7137e6b8.2035e8",
+ "x": 1313.5000457763672,
+ "y": 3165.0001196861267,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "b103a11f.02469"
+ "dc82dc0e.ded07"
]
]
},
{
- "id": "b103a11f.02469",
+ "id": "dc82dc0e.ded07",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1381.0104064941406,
- "y": 2630.666664123535,
- "z": "7137e6b8.2035e8",
+ "x": 1498.5000457763672,
+ "y": 3163.0001196861267,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "fb1daeda.43a5"
+ "4f1f938c.7228cc"
]
]
},
{
- "id": "fb1daeda.43a5",
+ "id": "4f1f938c.7228cc",
"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": 1700.5000457763672,
+ "y": 3158.0001196861267,
+ "z": "a817abf.35eaf58",
"wires": [
[]
]
},
{
- "id": "3c5336d1.55219a",
+ "id": "4e7eafbc.78d51",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1198.5104064941406,
- "y": 2680.666664123535,
- "z": "7137e6b8.2035e8",
+ "x": 1316.0000457763672,
+ "y": 3213.0001196861267,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "b9a5aefe.1d05"
+ "3a618076.c7184"
]
]
},
{
- "id": "b9a5aefe.1d05",
+ "id": "3a618076.c7184",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1374.5102844238281,
- "y": 2681.666664123535,
- "z": "7137e6b8.2035e8",
+ "x": 1491.9999237060547,
+ "y": 3214.0001196861267,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "86e07e06.a6697"
+ "699e9a48.29bf84"
]
]
},
{
- "id": "86e07e06.a6697",
+ "id": "699e9a48.29bf84",
"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": 1640.9996795654297,
+ "y": 3217.0001196861267,
+ "z": "a817abf.35eaf58",
"wires": []
},
{
- "id": "a7426f30.67fe2",
+ "id": "e68a19f7.b88c28",
"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": 1066.0000457763672,
+ "y": 3297.0001196861267,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "b0f7bb22.fa7e18",
- "bacdc5e.f7cb838"
+ "70e4e400.6f6b0c",
+ "29726f64.f84e6"
]
]
},
{
- "id": "b0f7bb22.fa7e18",
+ "id": "70e4e400.6f6b0c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1131.0104064941406,
- "y": 2772.666664123535,
- "z": "7137e6b8.2035e8",
+ "x": 1248.5000457763672,
+ "y": 3305.0001196861267,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "8b184b39.d01168"
+ "37640942.de0cb6"
]
]
},
{
- "id": "8b184b39.d01168",
+ "id": "37640942.de0cb6",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1316.0104064941406,
- "y": 2770.666664123535,
- "z": "7137e6b8.2035e8",
+ "x": 1433.5000457763672,
+ "y": 3303.0001196861267,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "afb53929.05f488"
+ "ac06cbd7.5ffe78"
]
]
},
{
- "id": "afb53929.05f488",
+ "id": "ac06cbd7.5ffe78",
"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": 1635.5000457763672,
+ "y": 3298.0001196861267,
+ "z": "a817abf.35eaf58",
"wires": [
[]
]
},
{
- "id": "bacdc5e.f7cb838",
+ "id": "29726f64.f84e6",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1133.5104064941406,
- "y": 2820.666664123535,
- "z": "7137e6b8.2035e8",
+ "x": 1251.0000457763672,
+ "y": 3353.0001196861267,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "a7131a06.6e47d8"
+ "74e109e3.b6feb8"
]
]
},
{
- "id": "a7131a06.6e47d8",
+ "id": "74e109e3.b6feb8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1309.5102844238281,
- "y": 2821.666664123535,
- "z": "7137e6b8.2035e8",
+ "x": 1426.9999237060547,
+ "y": 3354.0001196861267,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "7e9c29a4.c8d6e8"
+ "5d0ff201.dc64ac"
]
]
},
{
- "id": "7e9c29a4.c8d6e8",
+ "id": "5d0ff201.dc64ac",
"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": 1573.9996185302734,
+ "y": 3357.0001196861267,
+ "z": "a817abf.35eaf58",
"wires": []
},
{
- "id": "cfd2d02c.eb4bd",
+ "id": "1577847a.1d5f6c",
"type": "switchNode",
"name": "is blacklisted",
"xml": "<switch test='`$tmp.blacklisted`'>",
"comments": "",
"outputs": 1,
- "x": 1178.6774597167969,
- "y": 991.1667175292969,
- "z": "7137e6b8.2035e8",
+ "x": 1231.1670532226562,
+ "y": 993.5000534057617,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "d8fdcad3.8dd9c8",
- "94815b07.c81358"
+ "946523b8.a67ed",
+ "e15182c0.a579d"
]
]
},
{
- "id": "d8fdcad3.8dd9c8",
+ "id": "946523b8.a67ed",
"type": "outcome",
"name": "True",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1368.6774673461914,
- "y": 973.1667165756226,
- "z": "7137e6b8.2035e8",
+ "x": 1421.1670608520508,
+ "y": 975.5000524520874,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "c5aaf199.14e65"
+ "6fb4f377.ac9bfc"
]
]
},
{
- "id": "94815b07.c81358",
+ "id": "e15182c0.a579d",
"type": "outcome",
"name": "False",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1375.6496353149414,
- "y": 1013.8056344985962,
- "z": "7137e6b8.2035e8",
+ "x": 1428.1392288208008,
+ "y": 1016.138970375061,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "28d1e5b9.3568ba"
+ "3abd8298.38a49e"
]
]
},
{
- "id": "3893ceea.a65e72",
+ "id": "ca8a497f.b31af8",
"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",
+ "x": 1852.1114044189453,
+ "y": 972.2500524520874,
+ "z": "a817abf.35eaf58",
"wires": []
},
{
- "id": "3154733b.5c0d2c",
+ "id": "1eb0f86b.b79b18",
"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",
+ "x": 1845.5557403564453,
+ "y": 1010.583306312561,
+ "z": "a817abf.35eaf58",
"wires": []
},
{
- "id": "c5aaf199.14e65",
+ "id": "6fb4f377.ac9bfc",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1552.6774673461914,
- "y": 971.9443864822388,
- "z": "7137e6b8.2035e8",
+ "x": 1605.1670608520508,
+ "y": 974.2777223587036,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "3893ceea.a65e72"
+ "ca8a497f.b31af8"
]
]
},
{
- "id": "28d1e5b9.3568ba",
+ "id": "3abd8298.38a49e",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1540.8439712524414,
- "y": 1019.3610534667969,
- "z": "7137e6b8.2035e8",
+ "x": 1593.3335647583008,
+ "y": 1021.6943893432617,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "3154733b.5c0d2c"
+ "1eb0f86b.b79b18"
]
]
},
{
- "id": "e542ae10.8e565",
+ "id": "3169a8c9.907d98",
"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`\"/>",
"comments": "",
- "x": 1216.0107688903809,
- "y": 1047.500072479248,
- "z": "7137e6b8.2035e8",
+ "x": 1268.5003623962402,
+ "y": 1049.833408355713,
+ "z": "a817abf.35eaf58",
"wires": []
},
{
- "id": "7423ff73.ed805",
+ "id": "3cb1366f.8d826a",
"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": 1313.1671600341797,
+ "y": 1186.8333339691162,
+ "z": "a817abf.35eaf58",
"wires": [
[]
]
},
{
- "id": "5a48b2a.858134c",
+ "id": "de3a05a7.e701b8",
"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",
+ "x": 463.8641052246094,
+ "y": 459.2198209762573,
+ "z": "a817abf.35eaf58",
"wires": [
[]
]
},
{
- "id": "edfb7b39.0a73c8",
+ "id": "9bb028f2.db2468",
"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",
+ "x": 475.61402130126953,
+ "y": 410.0411891937256,
+ "z": "a817abf.35eaf58",
"wires": [
[]
]
},
{
- "id": "43254f57.b2715",
+ "id": "f7ad096.d2436f8",
"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",
+ "x": 500.1614685058594,
+ "y": 552.1478424072266,
+ "z": "a817abf.35eaf58",
"wires": [
[]
]
},
{
- "id": "941c3275.f0869",
+ "id": "a70dd3e.6a6d93",
"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",
+ "x": 904.6612167358398,
+ "y": 537.0009912252426,
+ "z": "a817abf.35eaf58",
"wires": [
[]
]
},
{
- "id": "f914ac5c.6260d",
+ "id": "af6cef55.1e54",
"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",
+ "x": 532.7517242431641,
+ "y": 595.3860845565796,
+ "z": "a817abf.35eaf58",
"wires": [
[]
]
},
{
- "id": "49973249.f59e7c",
+ "id": "1fe24176.dc612f",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 648.6799392700195,
- "y": 669.564998626709,
- "z": "7137e6b8.2035e8",
+ "x": 701.1695327758789,
+ "y": 671.8983345031738,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "58da234e.1b4c6c",
- "4ae1b51d.62992c"
+ "83ef995b.44f558",
+ "5a9daa84.8e7e94"
]
]
},
{
- "id": "651f51ab.d4108",
+ "id": "407ae7e2.a7a818",
"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",
+ "x": 1487.868064880371,
+ "y": 590.8191026449203,
+ "z": "a817abf.35eaf58",
"wires": [
[]
]
},
{
- "id": "9d717d64.54a03",
+ "id": "9094b79e.87e8e8",
"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",
+ "x": 506.0372009277344,
+ "y": 632.2833023071289,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "cd46166a.834748"
+ "8d418abb.d22398"
]
]
},
{
- "id": "cd46166a.834748",
+ "id": "8d418abb.d22398",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 658.0795135498047,
- "y": 624.9062652587891,
- "z": "7137e6b8.2035e8",
+ "x": 710.5691070556641,
+ "y": 627.2396011352539,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "bb5947d7.20b098",
- "941c3275.f0869"
+ "f11635d9.94f628",
+ "a70dd3e.6a6d93"
]
]
},
{
- "id": "bb5947d7.20b098",
+ "id": "f11635d9.94f628",
"type": "switchNode",
"name": "check schemaSetName",
"xml": "<switch test='`$tmp.schemaset.name`'>\n",
"comments": "",
"outputs": 1,
- "x": 876.6561813354492,
- "y": 581.7634429931641,
- "z": "7137e6b8.2035e8",
+ "x": 929.1457748413086,
+ "y": 584.0967788696289,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "dac6a759.d8d4d8"
+ "61a56e3c.84392"
]
]
},
{
- "id": "dac6a759.d8d4d8",
+ "id": "61a56e3c.84392",
"type": "outcome",
"name": "if ran-network",
"xml": "<outcome value='ran-network'>\n",
"comments": "",
"outputs": 1,
- "x": 1059.9617729187012,
- "y": 546.2356910705566,
- "z": "7137e6b8.2035e8",
+ "x": 1112.4513664245605,
+ "y": 548.5690269470215,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "70369023.e24a1"
+ "6f7f8000.29593"
]
]
},
{
- "id": "70369023.e24a1",
+ "id": "6f7f8000.29593",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1231.2642059326172,
- "y": 532.5689862966537,
- "z": "7137e6b8.2035e8",
+ "x": 1283.7537994384766,
+ "y": 534.9023221731186,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "b481fa3d.2eae48",
- "adf87b48.fee5d8"
+ "741656f6.246a28",
+ "d43a8ba2.3521b8"
]
]
},
{
- "id": "b481fa3d.2eae48",
+ "id": "741656f6.246a28",
"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",
+ "x": 1462.667221069336,
+ "y": 534.7078641653061,
+ "z": "a817abf.35eaf58",
"wires": [
[]
]
},
{
- "id": "4ae1b51d.62992c",
+ "id": "5a9daa84.8e7e94",
"type": "switchNode",
"name": "check schemaSetName",
"xml": "<switch test='`$tmp.schemaset.name`'>\n",
"comments": "",
"outputs": 1,
- "x": 874.4554290771484,
- "y": 660.1368917226791,
- "z": "7137e6b8.2035e8",
+ "x": 926.9450225830078,
+ "y": 662.470227599144,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "d2e2a381.df971"
+ "ddd94009.78655"
]
]
},
{
- "id": "58da234e.1b4c6c",
+ "id": "83ef995b.44f558",
"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",
+ "x": 910.9728546142578,
+ "y": 621.2202256917953,
+ "z": "a817abf.35eaf58",
"wires": [
[]
]
},
{
- "id": "d2e2a381.df971",
+ "id": "ddd94009.78655",
"type": "outcome",
"name": "if ran-network",
"xml": "<outcome value='ran-network'>\n",
"comments": "",
"outputs": 1,
- "x": 1058.2610168457031,
- "y": 616.6091808080673,
- "z": "7137e6b8.2035e8",
+ "x": 1110.7506103515625,
+ "y": 618.9425166845322,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "9a94708.195c79"
+ "838ecad.13fcb38"
]
]
},
{
- "id": "9a94708.195c79",
+ "id": "838ecad.13fcb38",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1254.3968505859375,
- "y": 618.831347823143,
- "z": "7137e6b8.2035e8",
+ "x": 1306.8864440917969,
+ "y": 621.1646836996078,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "651f51ab.d4108",
- "8e1e4e48.344a8"
+ "407ae7e2.a7a818",
+ "c674f03e.cb441"
]
]
},
{
- "id": "757b7.99b5c8498",
+ "id": "d06cbb2.c114f48",
"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",
+ "x": 499.9104118347168,
+ "y": 677.7440776824951,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "49973249.f59e7c"
+ "1fe24176.dc612f"
]
]
},
{
- "id": "adf87b48.fee5d8",
+ "id": "d43a8ba2.3521b8",
"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",
+ "x": 1461.7253341674805,
+ "y": 486.3869060277939,
+ "z": "a817abf.35eaf58",
"wires": [
[]
]
},
{
- "id": "8e1e4e48.344a8",
+ "id": "c674f03e.cb441",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1451.3229675292969,
- "y": 637.2079375982285,
- "z": "7137e6b8.2035e8",
+ "x": 1503.8125610351562,
+ "y": 639.5412734746933,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "6f2e36c0.0e3df8",
- "a54196fa.e32af8",
- "49616106.d3e75",
- "dbff806f.e203a"
+ "67f3f02e.cef2d",
+ "c975d05b.736f6",
+ "5bf34deb.8e8284",
+ "8f5e0c3c.2253a"
]
]
},
{
- "id": "f69a01ab.01b0e",
+ "id": "41c9bca7.cdd294",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 660.62841796875,
- "y": 433.2633594274521,
- "z": "7137e6b8.2035e8",
+ "x": 713.1180114746094,
+ "y": 435.59669530391693,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "5643a7a6.d681a8"
+ "b8edcb4f.84a218"
]
]
},
{
- "id": "73cf8617.241b78",
+ "id": "5ebabfb2.b0a7",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 674.628589630127,
- "y": 507.4577751159668,
- "z": "7137e6b8.2035e8",
+ "x": 727.1181831359863,
+ "y": 509.79111099243164,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "1c094873.eeecd8"
+ "371577a3.4dcb38"
]
]
},
{
- "id": "5643a7a6.d681a8",
+ "id": "b8edcb4f.84a218",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 803.3229141235352,
- "y": 430.8745588064194,
- "z": "7137e6b8.2035e8",
+ "x": 855.8125076293945,
+ "y": 433.2078946828842,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "80ccc795.8b4df8",
- "2aa86fe9.b02bf"
+ "2cea6546.f8524a",
+ "919c4a17.e18f38"
]
]
},
{
- "id": "1c094873.eeecd8",
+ "id": "371577a3.4dcb38",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 823.0727500915527,
- "y": 484.12448155879974,
- "z": "7137e6b8.2035e8",
+ "x": 875.5623435974121,
+ "y": 486.4578174352646,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "94648611.ae2ad8",
- "4aa1ecbc.c8aca4"
+ "c51bb9be.043198",
+ "5f3e2b6e.3fc884"
]
]
},
{
- "id": "80ccc795.8b4df8",
+ "id": "2cea6546.f8524a",
"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",
+ "x": 1039.5899353027344,
+ "y": 397.0411046743393,
+ "z": "a817abf.35eaf58",
"wires": []
},
{
- "id": "94648611.ae2ad8",
+ "id": "c51bb9be.043198",
"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",
+ "x": 1057.3121070861816,
+ "y": 470.7078584432602,
+ "z": "a817abf.35eaf58",
"wires": [
[]
]
},
{
- "id": "4aa1ecbc.c8aca4",
+ "id": "5f3e2b6e.3fc884",
"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",
+ "x": 1070.840347290039,
+ "y": 503.4578603506088,
+ "z": "a817abf.35eaf58",
"wires": [
[]
]
},
{
- "id": "2aa86fe9.b02bf",
+ "id": "919c4a17.e18f38",
"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",
+ "x": 1033.3958473205566,
+ "y": 433.56894052028656,
+ "z": "a817abf.35eaf58",
"wires": [
[]
]
},
{
- "id": "dafce576.0faf68",
+ "id": "d7e45a32.b4d418",
"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",
+ "x": 520.8124313354492,
+ "y": 507.81503677368164,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "73cf8617.241b78",
- "f69a01ab.01b0e"
+ "5ebabfb2.b0a7",
+ "41c9bca7.cdd294"
]
]
},
{
- "id": "d449f248.65b7a",
+ "id": "f3dfa93.7c55758",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1957.1771392822266,
- "y": 665.9999812841415,
- "z": "7137e6b8.2035e8",
+ "x": 2009.666732788086,
+ "y": 668.3333171606064,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "3902ac70.3675c4"
+ "326815d6.314a1a"
]
]
},
{
- "id": "3902ac70.3675c4",
+ "id": "326815d6.314a1a",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2166.177104949951,
- "y": 637.0001233816147,
- "z": "7137e6b8.2035e8",
+ "x": 2218.6666984558105,
+ "y": 639.3334592580795,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "52a139e4.eb7ef8",
- "7b41f9d4.436188",
- "9541314c.9ca08"
+ "cd53dc39.6f5fe",
+ "5e93e115.1f018",
+ "95fad188.aca92"
]
]
},
{
- "id": "87bb62d6.58d95",
+ "id": "f3f09b9d.56e458",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1980.1771030426025,
- "y": 612.0001233816147,
- "z": "7137e6b8.2035e8",
+ "x": 2032.666696548462,
+ "y": 614.3334592580795,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "b72bfa13.6daba8"
+ "83182085.7e845"
]
]
},
{
- "id": "b72bfa13.6daba8",
+ "id": "83182085.7e845",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2203.034465789795,
- "y": 564.2858165502548,
- "z": "7137e6b8.2035e8",
+ "x": 2255.5240592956543,
+ "y": 566.6191524267197,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "5b70c6e5.c4b398"
+ "4148e3a5.cfe5cc"
]
]
},
{
- "id": "6f2e36c0.0e3df8",
+ "id": "67f3f02e.cef2d",
"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",
+ "x": 1814.5988883972168,
+ "y": 527.2653239965439,
+ "z": "a817abf.35eaf58",
"wires": [
[]
]
},
{
- "id": "a54196fa.e32af8",
+ "id": "c975d05b.736f6",
"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",
+ "x": 1734.5989418029785,
+ "y": 569.2653249502182,
+ "z": "a817abf.35eaf58",
"wires": [
[]
]
},
{
- "id": "49616106.d3e75",
+ "id": "5bf34deb.8e8284",
"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",
+ "x": 1761.5989036560059,
+ "y": 610.2653259038925,
+ "z": "a817abf.35eaf58",
"wires": [
[]
]
},
{
- "id": "dbff806f.e203a",
+ "id": "8f5e0c3c.2253a",
"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",
+ "x": 1761.5988426208496,
+ "y": 655.2653278112411,
+ "z": "a817abf.35eaf58",
"wires": [
[
- "87bb62d6.58d95",
- "d449f248.65b7a"
+ "f3f09b9d.56e458",
+ "f3dfa93.7c55758"
]
]
},
{
- "id": "7b41f9d4.436188",
+ "id": "5e93e115.1f018",
"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",
+ "x": 2425.598705291748,
+ "y": 664.2652778625488,
+ "z": "a817abf.35eaf58",
"wires": [
[]
]
},
{
- "id": "52a139e4.eb7ef8",
+ "id": "cd53dc39.6f5fe",
"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",
+ "x": 2404.376777648926,
+ "y": 716.2654819488525,
+ "z": "a817abf.35eaf58",
"wires": [
[]
]
},
{
- "id": "5b70c6e5.c4b398",
+ "id": "4148e3a5.cfe5cc",
"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",
+ "x": 2427.598850250244,
+ "y": 568.3763355016708,
+ "z": "a817abf.35eaf58",
"wires": []
},
{
- "id": "68291ec4.89a15",
+ "id": "10934b39.ffd225",
"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",
+ "x": 483.6666793823242,
+ "y": 372.66667652130127,
+ "z": "a817abf.35eaf58",
"wires": []
},
{
- "id": "9541314c.9ca08",
+ "id": "95fad188.aca92",
"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",
+ "x": 2443.6667404174805,
+ "y": 616.0000200271606,
+ "z": "a817abf.35eaf58",
"wires": [
[]
]
},
{
- "id": "11ef3c2b.c12334",
+ "id": "373ba965.6da6d6",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"idGNBCUCPFunction\"/>\n<parameter name=\"field2\" value=\"`$tmp.idGNBCUCPFunction`\"/>\n<parameter name=\"field3\" value=\"idNRCellCU\"/>\n<parameter name=\"field4\" value=\"`$tmp.idNRCellCU`\"/>\n<parameter name=\"field5\" value=\"idNRCellRelation\"/>\n<parameter name=\"field6\" value=\"`$tmp.idNRCellRelation`\"/>\n<parameter name=\"field7\" value=\"isHOAllowed\"/>\n<parameter name=\"field8\" value=\"`$tmp.isHOAllowed`\"/>",
"comments": "",
"outputs": 1,
- "x": 1207.22216796875,
- "y": 1094.4444580078125,
- "z": "7137e6b8.2035e8",
+ "x": 1259.7117614746094,
+ "y": 1096.7777938842773,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9f39dc7c.52b21",
+ "type": "switchNode",
+ "name": "is blacklisted",
+ "xml": "<switch test='`$tmp.blacklisted`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2568.888671875,
+ "y": 827.22216796875,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "9d10106a.87529",
+ "8fa2831b.86f9f"
+ ]
+ ]
+ },
+ {
+ "id": "9d10106a.87529",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2758.8886795043945,
+ "y": 809.2221670150757,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "40b3b8df.eaa5e8"
+ ]
+ ]
+ },
+ {
+ "id": "8fa2831b.86f9f",
+ "type": "outcome",
+ "name": "False",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2765.8608474731445,
+ "y": 849.8610849380493,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "c72d042e.f0ed18"
+ ]
+ ]
+ },
+ {
+ "id": "e14437e8.0c1798",
+ "type": "set",
+ "name": "set isHOAllowed as false",
+ "xml": "<set>\n<parameter name='tmp.isHOAllowed' value='false' />",
+ "comments": "",
+ "x": 3189.833023071289,
+ "y": 805.9721670150757,
+ "z": "a817abf.35eaf58",
+ "wires": []
+ },
+ {
+ "id": "90c2d9cb.fd70d8",
+ "type": "set",
+ "name": "set isHOAllowed as true",
+ "xml": "<set>\n<parameter name='tmp.isHOAllowed' value='true' />",
+ "comments": "",
+ "x": 3183.277359008789,
+ "y": 844.3054208755493,
+ "z": "a817abf.35eaf58",
+ "wires": []
+ },
+ {
+ "id": "40b3b8df.eaa5e8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2942.8886795043945,
+ "y": 807.9998369216919,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "e14437e8.0c1798"
+ ]
+ ]
+ },
+ {
+ "id": "c72d042e.f0ed18",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2931.0551834106445,
+ "y": 855.41650390625,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "90c2d9cb.fd70d8"
+ ]
+ ]
+ },
+ {
+ "id": "45013d85.fa83d4",
+ "type": "set",
+ "name": "set tmp variables",
+ "xml": "<set>\n<parameter name=\"tmp.idNRCellCU\" value=\"`$generic-neighbor-configuration-input.alias`\"/>\n<parameter name=\"tmp.idNRCellRelation\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].cid`\"/>\n<parameter name=\"tmp.idGNBCUCPFunction\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].pnf-name`\"/>\n",
+ "comments": "",
+ "x": 2587.88871383667,
+ "y": 880.2221946716309,
+ "z": "a817abf.35eaf58",
+ "wires": []
+ },
+ {
+ "id": "5f243bba.b161e4",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"idGNBCUCPFunction\"/>\n<parameter name=\"field2\" value=\"`$tmp.idGNBCUCPFunction`\"/>\n<parameter name=\"field3\" value=\"idNRCellCU\"/>\n<parameter name=\"field4\" value=\"`$tmp.idNRCellCU`\"/>\n<parameter name=\"field5\" value=\"idNRCellRelation\"/>\n<parameter name=\"field6\" value=\"`$tmp.idNRCellRelation`\"/>\n<parameter name=\"field7\" value=\"isHOAllowed\"/>\n<parameter name=\"field8\" value=\"`$tmp.isHOAllowed`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2569.099895477295,
+ "y": 927.1665344238281,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bebe4349.77d2a",
+ "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": 2600.5553817749023,
+ "y": 1063.3332424163818,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5ea14f7f.17ed8",
+ "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": 2610.2218017578125,
+ "y": 1117.666498184204,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "64cf510a.3b8af",
+ "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": 2626.3781356811523,
+ "y": 1023.5554599761963,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9e155549.5896c8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1862.4895935058594,
+ "y": 1867.3333358764648,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "cdb46a6f.0e7258"
+ ]
+ ]
+ },
+ {
+ "id": "cdb46a6f.0e7258",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2107.1562881469727,
+ "y": 1823.000036239624,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "a9968de0.63b34",
+ "94246f8f.76ce2"
+ ]
+ ]
+ },
+ {
+ "id": "94246f8f.76ce2",
+ "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": 2287.823287963867,
+ "y": 1794.4443283081055,
+ "z": "a817abf.35eaf58",
+ "wires": []
+ },
+ {
+ "id": "a9968de0.63b34",
+ "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": 2306.823127746582,
+ "y": 1849.3333311080933,
+ "z": "a817abf.35eaf58",
+ "wires": []
+ },
+ {
+ "id": "fd36d781.0b1f58",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1880.307731628418,
+ "y": 1989.90904712677,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "1d742694.8b3909"
+ ]
+ ]
+ },
+ {
+ "id": "1d742694.8b3909",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2130.3076553344727,
+ "y": 1934.9092264175415,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "44edb54a.197b3c"
+ ]
+ ]
+ },
+ {
+ "id": "44edb54a.197b3c",
+ "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": 2315.641159057617,
+ "y": 1912.909429550171,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1cddaa8b.6b4d65",
+ "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": 1650.0217018127441,
+ "y": 1800.6272945404053,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "79c09044.6786a",
+ "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": 1617.0217933654785,
+ "y": 1854.9607162475586,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7700fa24.c4e3f4",
+ "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": 1592.4880065917969,
+ "y": 1961.7605991363525,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "9e155549.5896c8",
+ "fd36d781.0b1f58"
+ ]
+ ]
+ },
+ {
+ "id": "95486537.7ac7e8",
+ "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": 1572.6618385314941,
+ "y": 1909.0104360580444,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d1af5c67.fdb58",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1366.489631652832,
+ "y": 1801.0000190734863,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "93f10180.52f46",
+ "1cddaa8b.6b4d65",
+ "79c09044.6786a",
+ "95486537.7ac7e8",
+ "7700fa24.c4e3f4"
+ ]
+ ]
+ },
+ {
+ "id": "c25c8f0d.b4cba",
+ "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": 3642.4895935058594,
+ "y": 1324.9999618530273,
+ "z": "a817abf.35eaf58",
"wires": [
[]
]
+ },
+ {
+ "id": "fd4585dd.6f7968",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3922.9683876037598,
+ "y": 1445.5451984405518,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "1957764d.836eda"
+ ]
+ ]
+ },
+ {
+ "id": "1957764d.836eda",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4167.635082244873,
+ "y": 1401.211898803711,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "349e112d.34672e",
+ "bbfdb4c0.226c88"
+ ]
+ ]
+ },
+ {
+ "id": "bbfdb4c0.226c88",
+ "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": 4348.302082061768,
+ "y": 1372.6561908721924,
+ "z": "a817abf.35eaf58",
+ "wires": []
+ },
+ {
+ "id": "349e112d.34672e",
+ "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": 4367.301921844482,
+ "y": 1427.5451936721802,
+ "z": "a817abf.35eaf58",
+ "wires": []
+ },
+ {
+ "id": "a4f91c57.9103d",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3940.7865257263184,
+ "y": 1568.120909690857,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "b3914248.387d"
+ ]
+ ]
+ },
+ {
+ "id": "b3914248.387d",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4190.786449432373,
+ "y": 1513.1210889816284,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "5acde69b.f09838"
+ ]
+ ]
+ },
+ {
+ "id": "5acde69b.f09838",
+ "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": 4376.119953155518,
+ "y": 1491.1212921142578,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "27ea019e.45b9ee",
+ "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": 3710.5004959106445,
+ "y": 1378.8391571044922,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "59dedc4a.982cc4",
+ "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": 3677.500587463379,
+ "y": 1433.1725788116455,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d3a09b5b.555268",
+ "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": 3652.9668006896973,
+ "y": 1539.9724617004395,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "fd4585dd.6f7968",
+ "a4f91c57.9103d"
+ ]
+ ]
+ },
+ {
+ "id": "3e16ab69.933c34",
+ "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": 3633.1406326293945,
+ "y": 1487.2222986221313,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ba527ab0.0e2618",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3426.9684257507324,
+ "y": 1379.2118816375732,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "c25c8f0d.b4cba",
+ "27ea019e.45b9ee",
+ "59dedc4a.982cc4",
+ "3e16ab69.933c34",
+ "d3a09b5b.555268"
+ ]
+ ]
+ },
+ {
+ "id": "2f6afb57.2d6634",
+ "type": "set",
+ "name": "set nrtci",
+ "xml": "<set>\n<parameter name=\"tmp.nRTCI\" value=\"`$oofpci-neighbor-response.attributes.nRTCI`\"/>",
+ "comments": "",
+ "x": 1913.3334255218506,
+ "y": 1370.0000538825989,
+ "z": "a817abf.35eaf58",
+ "wires": []
+ },
+ {
+ "id": "38bb1b5b.cee544",
+ "type": "set",
+ "name": "set nrtci",
+ "xml": "<set>\n<parameter name=\"tmp.nRTCI\" value=\"`$oofpci-neighbor-response.attributes.nRTCI`\"/>",
+ "comments": "",
+ "x": 3263.333251953125,
+ "y": 1036.6666259765625,
+ "z": "a817abf.35eaf58",
+ "wires": []
}
]