[
{
- "id": "77f26b4a.f02734",
+ "id": "bc5eb749.049f08",
"type": "method",
"name": "method",
"xml": "<method rpc='configuration-phy-cell-id' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 126.51040840148926,
+ "x": 127,
"y": 250,
- "z": "1ba0191f.c9b697",
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "989bee2d.3d504"
+ "581d586d.790578"
]
]
},
{
- "id": "26bdf696.b8a7ea",
+ "id": "2b47598a.404656",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 128.51040840148926,
+ "x": 129,
"y": 20,
- "z": "1ba0191f.c9b697",
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "a84ca9f2.5dec58"
+ "4532a7a5.10d318"
]
]
},
{
- "id": "a84ca9f2.5dec58",
+ "id": "4532a7a5.10d318",
"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": 180.5103931427002,
+ "x": 180.99998474121094,
"y": 88.0000991821289,
- "z": "1ba0191f.c9b697",
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "77f26b4a.f02734"
+ "bc5eb749.049f08"
]
]
},
{
- "id": "989bee2d.3d504",
+ "id": "581d586d.790578",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 121.00000190734863,
+ "x": 121.48959350585938,
"y": 390.0000305175781,
- "z": "1ba0191f.c9b697",
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "3dc02c1a.f126e4",
- "8727b008.cb2",
- "1671a589.62a66a",
- "f4d5731c.4b161",
- "10acd060.dece1",
- "220645f8.cfb8ea",
- "1e2c6b21.cd17b5",
- "7bb49999.9148e8"
+ "d4995b93.98bc58",
+ "c5f49c5c.99a04",
+ "b48ff18c.33815",
+ "62bc8a33.6849f4",
+ "330e586.5781aa8",
+ "1a836b7b.d39e35",
+ "1402ffdd.7aaa3",
+ "d3a1a502.8392d8",
+ "f6e35591.d1d158",
+ "915b5f1b.acb1",
+ "2fa4a845.8275d8",
+ "eb728676.156e58",
+ "bd606a8d.eeca78",
+ "be6270f5.aa16d",
+ "c950590b.012dd8",
+ "ab7add37.674c1",
+ "36bfd25c.6ba71e"
]
]
},
{
- "id": "3dc02c1a.f126e4",
+ "id": "d4995b93.98bc58",
"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": 141.51067543029785,
+ "x": 142.0002670288086,
"y": 2535.000244140625,
- "z": "1ba0191f.c9b697",
+ "z": "53ac5fd0.5848d",
"wires": []
},
{
- "id": "6ec27597.c5078c",
+ "id": "3edaf765.7e8ad8",
"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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Input RPC Payload request. FAP #: \"/>\n<parameter name=\"field2\" value=\"`$idx`\"/>\n<parameter name=\"field3\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].alias`\"/>\n<parameter name=\"field4\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].cid`\"/>\n<parameter name=\"field5\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].phy-cell-id-in-use`\"/>\n<parameter name=\"field6\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].pnf-name`\"/>",
"comments": "",
"outputs": 1,
- "x": 607.5109577178955,
+ "x": 608.0005493164062,
"y": 128.0000457763672,
- "z": "1ba0191f.c9b697",
+ "z": "53ac5fd0.5848d",
"wires": [
[]
]
},
{
- "id": "b60eadca.63ad",
+ "id": "5a892962.3b5848",
"type": "comment",
"name": "configuration-phy-cell-id",
"info": "",
"comments": "",
- "x": 357.5104007720947,
+ "x": 357.99999237060547,
"y": 39.01041603088379,
- "z": "1ba0191f.c9b697",
+ "z": "53ac5fd0.5848d",
"wires": []
},
{
- "id": "be109ccd.fa411",
+ "id": "8ae385dd.d5f038",
"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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Initial FAP Service PCI PARMS\"/>\n<parameter name=\"field2\" value=\"`$oofpcigetfapservice.fap-service[0].alias`\"/>\n<parameter name=\"field3\" value=\"`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.phy-cell-id-in-use`\"/>\n<parameter name=\"field4\" value=\"`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.pnf-name`\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Initial NRCELLDU PCI PARMS\"/>\n<parameter name=\"field2\" value=\"`$getgnbdufunction.GNBDUFunction[0].idGNBDUFunction`\"/>\n<parameter name=\"field3\" value=\"`$getgnbdufunction.GNBDUFunction[0].NRCellDU[$idq].idNRCellDU`\"/>\n<parameter name=\"field4\" value=\"`$getgnbdufunction.GNBDUFunction[0].NRCellDU[$idq].attributes.nRPCI`\"/>",
"comments": "",
"outputs": 1,
- "x": 1419.5105304718018,
- "y": 241.01040649414062,
- "z": "1ba0191f.c9b697",
+ "x": 3807.0007247924805,
+ "y": 559.0104417800903,
+ "z": "53ac5fd0.5848d",
"wires": [
[]
]
},
{
- "id": "33d21a78.648c86",
+ "id": "125a0785.4f2c48",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1114.510591506958,
- "y": 183.0104217529297,
- "z": "1ba0191f.c9b697",
+ "x": 2720.000274658203,
+ "y": 518.0104243755341,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "32031180.519f3e"
+ "aa742465.f16098"
]
]
},
{
- "id": "32031180.519f3e",
+ "id": "aa742465.f16098",
"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 executing Get odutopo node details rest api\" />",
"comments": "",
- "x": 1333.5106525421143,
- "y": 183.01044464111328,
- "z": "1ba0191f.c9b697",
+ "x": 2939.0003356933594,
+ "y": 518.0104472637177,
+ "z": "53ac5fd0.5848d",
"wires": []
},
{
- "id": "5fb7acbd.6d96f4",
+ "id": "3e9fa50e.2515fa",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1119.5107746124268,
- "y": 267.0104064941406,
- "z": "1ba0191f.c9b697",
+ "x": 2725.000457763672,
+ "y": 602.010409116745,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "c1a94b58.79d758"
+ "40c8cba9.0538a4"
]
]
},
{
- "id": "c1a94b58.79d758",
+ "id": "40c8cba9.0538a4",
"type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1265.5104084014893,
- "y": 250.0104217529297,
- "z": "1ba0191f.c9b697",
+ "x": 2885,
+ "y": 585.0104336738586,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "be109ccd.fa411"
+ "f5cfc304.18074"
]
]
},
{
- "id": "bc601045.41112",
+ "id": "e986352f.b94328",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1113.5105304718018,
- "y": 523.6770629882812,
- "z": "1ba0191f.c9b697",
+ "x": 2719.000213623047,
+ "y": 858.6770656108856,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "1b472ace.015705"
+ "a9254e01.2ea2e"
]
]
},
{
- "id": "1b472ace.015705",
+ "id": "a9254e01.2ea2e",
"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 executing patch rest api\" />",
"comments": "",
- "x": 1340.5104084014893,
- "y": 521.6770935058594,
- "z": "1ba0191f.c9b697",
+ "x": 2946.0000915527344,
+ "y": 856.6770961284637,
+ "z": "53ac5fd0.5848d",
"wires": []
},
{
- "id": "d7833ce1.7128b",
+ "id": "9dbdd2a2.3425c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1132.5104084014893,
- "y": 598.6771850585938,
- "z": "1ba0191f.c9b697",
+ "x": 2738.0000915527344,
+ "y": 933.6771876811981,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "3d5013e3.eb771c"
+ "43b4001c.7cb41"
]
]
},
{
- "id": "3d5013e3.eb771c",
+ "id": "43b4001c.7cb41",
"type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1290.5102863311768,
- "y": 596.6770629882812,
- "z": "1ba0191f.c9b697",
+ "x": 2895.999969482422,
+ "y": 931.6770656108856,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "4732375c.7ba838"
+ "55a6cc6c.29a174"
]
]
},
{
- "id": "4732375c.7ba838",
+ "id": "2e2f13e1.1f2d7c",
"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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Post Reconfig FAP Service PCI PARMS\"/>\n<parameter name=\"field2\" value=\"`$oofpcigetfapservice.fap-service[0].alias`\"/>\n<parameter name=\"field3\" value=\"`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.phy-cell-id-in-use`\"/>\n<parameter name=\"field4\" value=\"`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.pnf-name`\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Post Reconfig FAP Service PCI PARMS\"/>\n<parameter name=\"field2\" value=\"`$getgnbdufunction.GNBDUFunction[0].idGNBDUFunction`\"/>\n<parameter name=\"field3\" value=\"`$getgnbdufunction.GNBDUFunction[0].NRCellDU[$idq].idNRCellDU`\"/>\n<parameter name=\"field4\" value=\"`$getgnbdufunction.GNBDUFunction[0].NRCellDU[$idq].attributes.nRPCI`\"/>",
"comments": "",
"outputs": 1,
- "x": 1463.5102863311768,
- "y": 591.6773071289062,
- "z": "1ba0191f.c9b697",
+ "x": 3815.5000915527344,
+ "y": 892.6774454116821,
+ "z": "53ac5fd0.5848d",
"wires": [
[]
]
},
{
- "id": "957f77de.a55d08",
+ "id": "5f54d266.4099dc",
"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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for GET operation\"/>\n<parameter name=\"field2\" value=\"`$tmp.fap-service-url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.alias`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cid`\"/>\n<parameter name=\"field5\" value=\"`$tmp.phy-cell-id-in-use`\"/>\n<parameter name=\"field6\" value=\"`$tmp.pnf-name`\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for GET operation\"/>\n<parameter name=\"field2\" value=\"`$tmp.getGNBDUFunction-url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.idNRCellDU`\"/>\n<parameter name=\"field4\" value=\"`$tmp.idGNBDUFunction`\"/>\n<parameter name=\"field5\" value=\"`$tmp.nRPCI`\"/>",
"comments": "",
"outputs": 1,
- "x": 855.5110607147217,
- "y": 208.0105118751526,
- "z": "1ba0191f.c9b697",
+ "x": 2401.0009803771973,
+ "y": 576.3439598083496,
+ "z": "53ac5fd0.5848d",
"wires": [
[]
]
},
{
- "id": "1671a589.62a66a",
+ "id": "b48ff18c.33815",
"type": "for",
"name": "for",
"xml": "<for index='idx' start='0' end=\"`$configuration-phy-cell-id-input.fap-service-number-of-entries`\" >",
"comments": "",
"outputs": 1,
- "x": 452.59610176086426,
+ "x": 453.085693359375,
"y": 138.96359252929688,
- "z": "1ba0191f.c9b697",
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "6ec27597.c5078c"
+ "3edaf765.7e8ad8"
]
]
},
{
- "id": "8727b008.cb2",
+ "id": "c5f49c5c.99a04",
"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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RPC to Configure PCI INVOKED. Number of Cells to configure: \"/>\n<parameter name=\"field2\" value=\"`$configuration-phy-cell-id-input.fap-service-number-of-entries`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 455.5107135772705,
+ "x": 456.00030517578125,
"y": 82.02084350585938,
- "z": "1ba0191f.c9b697",
+ "z": "53ac5fd0.5848d",
"wires": [
[]
]
},
{
- "id": "a474866a.a14238",
+ "id": "1e5692df.3d386d",
"type": "for",
"name": "for",
"xml": "<for index='idx' start='0' end=\"`$configuration-phy-cell-id-input.fap-service-number-of-entries`\" >",
"comments": "",
"outputs": 1,
- "x": 617.510591506958,
- "y": 431.0104064941406,
- "z": "1ba0191f.c9b697",
+ "x": 1938.0004043579102,
+ "y": 1331.0104496479034,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "b144ba28.a89b28"
+ "d8f8629c.bfa34"
]
]
},
{
- "id": "b9b93736.1a6868",
+ "id": "33d8e9d1.c13c16",
"type": "set",
"name": "set tmp variables for the requested fap service input parms",
"xml": "<set>\n<parameter name=\"tmp.alias\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].alias`\"/>\n<parameter name=\"tmp.cid\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].cid`\"/>\n<parameter name=\"tmp.phy-cell-id-in-use\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].phy-cell-id-in-use`\"/>\n<parameter name=\"tmp.pnf-name\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].pnf-name`\"/>\n",
"comments": "",
- "x": 979.5115070343018,
- "y": 76.89949798583984,
- "z": "1ba0191f.c9b697",
+ "x": 2575.001251220703,
+ "y": 355.2328472137451,
+ "z": "53ac5fd0.5848d",
"wires": []
},
{
- "id": "9ae0b70e.bf3078",
+ "id": "7f490ca6.0f79b4",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1122.5107746124268,
- "y": 391.010498046875,
- "z": "1ba0191f.c9b697",
+ "x": 2728.000457763672,
+ "y": 726.0105006694794,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "b621a04.fa53d6"
+ "69ffc374.99cfbc"
]
]
},
{
- "id": "93807362.20453",
+ "id": "acb741c0.a04e8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1109.5106525421143,
- "y": 469.0104064941406,
- "z": "1ba0191f.c9b697",
+ "x": 2715.0003356933594,
+ "y": 804.010409116745,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "ec0dcdd.3499c3"
+ "fbb6737d.7b243"
]
]
},
{
- "id": "b621a04.fa53d6",
+ "id": "69ffc374.99cfbc",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1269.5106525421143,
- "y": 391.0105285644531,
- "z": "1ba0191f.c9b697",
+ "x": 2875.0003356933594,
+ "y": 726.0105311870575,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "6b835be7.577a84"
+ "2cf2ffd4.474cb"
]
]
},
{
- "id": "6b835be7.577a84",
+ "id": "2cf2ffd4.474cb",
"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 executing patch rest api\" />",
"comments": "",
- "x": 1433.5104084014893,
- "y": 375.010498046875,
- "z": "1ba0191f.c9b697",
+ "x": 3039.0000915527344,
+ "y": 710.0105006694794,
+ "z": "53ac5fd0.5848d",
"wires": []
},
{
- "id": "ec0dcdd.3499c3",
+ "id": "fbb6737d.7b243",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1265.5104084014893,
- "y": 453.0104675292969,
- "z": "1ba0191f.c9b697",
+ "x": 2871.0000915527344,
+ "y": 788.0104701519012,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "aba8db9e.2b3328"
+ "6d021775.20de68"
]
]
},
{
- "id": "aba8db9e.2b3328",
+ "id": "6d021775.20de68",
"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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PUT PCI POC FAP SERVICE. Reconfigured \"/>",
"comments": "",
"outputs": 1,
- "x": 1426.5105304718018,
- "y": 455.0104675292969,
- "z": "1ba0191f.c9b697",
+ "x": 3032.000213623047,
+ "y": 790.0104701519012,
+ "z": "53ac5fd0.5848d",
"wires": [
[]
]
},
{
- "id": "b144ba28.a89b28",
+ "id": "d8f8629c.bfa34",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 640.5104007720947,
- "y": 238.0209083557129,
- "z": "1ba0191f.c9b697",
+ "x": 1984.0000305175781,
+ "y": 677.0209276676178,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "b9b93736.1a6868",
- "957f77de.a55d08",
- "c24a2d69.c0eca",
- "66275d05.56f194",
- "a84f2a18.9bc1b8",
- "cb8e01a2.f94c9",
- "40629255.8edd7c",
- "999c64e3.c9b4e8",
- "10b07eb4.63e251"
+ "33d8e9d1.c13c16",
+ "5f54d266.4099dc",
+ "f80af4a3.cf75d8",
+ "aad98597.00dc38",
+ "a321562e.13d0b8",
+ "3538c4d0.a2008c",
+ "92ccecc0.6aa79",
+ "299044d0.ed447c",
+ "cb3ee380.a31f6",
+ "60f37767.9663c8",
+ "18b65688.6247a9",
+ "d4275158.f071b",
+ "2172e92c.2bb7a6",
+ "cd2e3271.2ab31"
]
]
},
{
- "id": "cb8e01a2.f94c9",
+ "id": "a321562e.13d0b8",
"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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL and Target for PCI patch URL\"/>\n<parameter name='field2' value=\"`$prop.controller.url + $tmp.oofpcipoc.patch.pci.url`\" />\n<parameter name='field3' value=\"`$prop.oofpcipoc.patch.pci.target`\" />\n",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for PCI patch URL\"/>\n<parameter name='field2' value=\"`$prop.controller.url + $tmp.oofpcipoc.patch.pci.url`\" />",
"comments": "",
"outputs": 1,
- "x": 867.511079788208,
- "y": 381.0208435058594,
- "z": "1ba0191f.c9b697",
+ "x": 2398.000759124756,
+ "y": 906.020827293396,
+ "z": "53ac5fd0.5848d",
"wires": [
[]
]
},
{
- "id": "f4d5731c.4b161",
+ "id": "62bc8a33.6849f4",
"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": 488.510591506958,
+ "x": 489.00018310546875,
"y": 193.02084350585938,
- "z": "1ba0191f.c9b697",
+ "z": "53ac5fd0.5848d",
"wires": [
[]
]
},
{
- "id": "10acd060.dece1",
+ "id": "330e586.5781aa8",
"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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Properties read .. pci patch target\"/>\n<parameter name=\"field2\" value=\"`$prop.oofpcipoc.patch.pci.target`\"/>\n<parameter name=\"field3\" value=\"`$prop.controller.user`\"/>\n<parameter name=\"field4\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"field5\" value=\"`$prop.controller.url`\"/>\n<parameter name=\"field6\" value=\"ransim-mounted (true/false): \"/>\n<parameter name=\"field7\" value=\"`$prop.ransim-mounted`\"/>",
"comments": "",
"outputs": 1,
- "x": 443.5107135772705,
- "y": 286.02088928222656,
- "z": "1ba0191f.c9b697",
+ "x": 450.00030517578125,
+ "y": 245.02090454101562,
+ "z": "53ac5fd0.5848d",
"wires": [
[]
]
},
{
- "id": "66275d05.56f194",
+ "id": "aad98597.00dc38",
"type": "execute",
- "name": "Get FAP details for a Cell",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.fap-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"oofpcigetfapservice\"/>\n<parameter name='contentType' value='application/json' />",
+ "name": "Get GNBDUFunction Details",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getGNBDUFunction-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getgnbdufunction\"/>\n<parameter name='contentType' value='application/json' />",
"comments": "",
"outputs": 1,
- "x": 904.5109577178955,
- "y": 259.02081298828125,
- "z": "1ba0191f.c9b697",
+ "x": 2435.0009002685547,
+ "y": 637.354133605957,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "33d21a78.648c86",
- "5fb7acbd.6d96f4"
+ "125a0785.4f2c48",
+ "3e9fa50e.2515fa"
]
]
},
{
- "id": "c24a2d69.c0eca",
- "type": "execute",
- "name": "generate fap-service url",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.fap-service`\"/>\n <parameter name=\"outputPath\" value=\"tmp.fap-service-url\"/>\n <parameter name=\"target\" value=\"{alias}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.alias`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 897.5106449127197,
- "y": 152.0209083557129,
- "z": "1ba0191f.c9b697",
- "wires": [
- []
- ]
- },
- {
- "id": "a84f2a18.9bc1b8",
+ "id": "f80af4a3.cf75d8",
"type": "execute",
- "name": "generate pci patch url for a cell",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.x-005b9-lte`\"/>\n <parameter name=\"outputPath\" value=\"tmp.oofpcipoc.patch.pci.url\"/>\n <parameter name=\"target\" value=\"{alias}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.alias`\"/>",
+ "name": "generate getGNBDUFunction url",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.getGNBDUFunction`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getGNBDUFunction-url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 962.510591506958,
- "y": 325.02081298828125,
- "z": "1ba0191f.c9b697",
+ "x": 2488.000602722168,
+ "y": 437.02091789245605,
+ "z": "53ac5fd0.5848d",
"wires": [
[]
]
},
{
- "id": "40629255.8edd7c",
+ "id": "3538c4d0.a2008c",
"type": "execute",
"name": "Recofigure PCI for a Cell",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/oofpcipoc-pci-patch.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.oofpcipoc.patch.pci.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-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": 912.5104694366455,
- "y": 452.0209655761719,
- "z": "1ba0191f.c9b697",
+ "x": 2426.333526611328,
+ "y": 963.6877822875977,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "9ae0b70e.bf3078",
- "93807362.20453"
+ "7f490ca6.0f79b4",
+ "acb741c0.a04e8"
]
]
},
{
- "id": "999c64e3.c9b4e8",
+ "id": "92ccecc0.6aa79",
"type": "execute",
- "name": "Get FAP details for a Cell",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.fap-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"oofpcigetfapservice\"/>\n<parameter name='contentType' value='application/json' />",
+ "name": "Get GNBDUFunction details",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getGNBDUFunction-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getgnbdufunction\"/>\n<parameter name='contentType' value='application/json' />",
"comments": "",
"outputs": 1,
- "x": 890.5104084014893,
- "y": 535.0208740234375,
- "z": "1ba0191f.c9b697",
+ "x": 2419.3333587646484,
+ "y": 1028.3541696071625,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "bc601045.41112",
- "d7833ce1.7128b"
+ "e986352f.b94328",
+ "9dbdd2a2.3425c"
]
]
},
{
- "id": "220645f8.cfb8ea",
+ "id": "1a836b7b.d39e35",
"type": "switchNode",
"name": "switch mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 438.51040840148926,
- "y": 463.0103759765625,
- "z": "1ba0191f.c9b697",
+ "x": 609.0000190734863,
+ "y": 1348.010398864746,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "31e1b715.c5b5c8",
- "52c69e82.f0049"
+ "e66bd0d.449713",
+ "208e6469.b6e26c"
]
]
},
{
- "id": "31e1b715.c5b5c8",
+ "id": "e66bd0d.449713",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 519.5104084014893,
- "y": 358.0104064941406,
- "z": "1ba0191f.c9b697",
+ "x": 1479.0000228881836,
+ "y": 1300.0104351043701,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "a474866a.a14238"
+ "1e5692df.3d386d"
]
]
},
{
- "id": "52c69e82.f0049",
+ "id": "208e6469.b6e26c",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 568.5104084014893,
- "y": 550.0104370117188,
- "z": "1ba0191f.c9b697",
+ "x": 1439.0000267028809,
+ "y": 1585.0104427337646,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "c983a75a.8d1c98"
+ "3e955ea0.b79f22"
]
]
},
{
- "id": "9f54e1f9.489ef",
+ "id": "3fa84223.41702e",
"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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Initial FAP Service PCI PARMS\"/>\n<parameter name=\"field2\" value=\"`$oofpcigetfapservice.fap-service[0].alias`\"/>\n<parameter name=\"field3\" value=\"`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.phy-cell-id-in-use`\"/>\n<parameter name=\"field4\" value=\"`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.pnf-name`\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Initial NRCellDU PCI PARMS\"/>\n<parameter name=\"field2\" value=\"`$getgnbdufunction.GNBDUFunction[0].idGNBDUFunction`\"/>\n<parameter name=\"field3\" value=\"`$getgnbdufunction.GNBDUFunction[0].NRCellDU[$idq].idNRCellDU`\"/>\n<parameter name=\"field4\" value=\"`$getgnbdufunction.GNBDUFunction[0].NRCellDU[$idq].attributes.nRPCI`\"/>",
"comments": "",
"outputs": 1,
- "x": 1500.5102787017822,
- "y": 1008.0104103088379,
- "z": "1ba0191f.c9b697",
+ "x": 4200.144073486328,
+ "y": 1543.510404586792,
+ "z": "53ac5fd0.5848d",
"wires": [
[]
]
},
{
- "id": "ac6c7cc4.505e2",
+ "id": "29e6206e.562d5",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1153.5104007720947,
- "y": 997.0104103088379,
- "z": "1ba0191f.c9b697",
+ "x": 3084.0003967285156,
+ "y": 1535.0104217529297,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "6e1df4ba.dcc26c"
+ "2882707e.6fafc"
]
]
},
{
- "id": "6e1df4ba.dcc26c",
+ "id": "2882707e.6fafc",
"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 executing Get odutopo node details rest api\" />",
"comments": "",
- "x": 1335.5104007720947,
- "y": 969.0104713439941,
- "z": "1ba0191f.c9b697",
+ "x": 3280.00040435791,
+ "y": 1517.010419845581,
+ "z": "53ac5fd0.5848d",
"wires": []
},
{
- "id": "cccc941d.ae2de8",
+ "id": "2d6e408.62926c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1151.5105838775635,
- "y": 1072.010410308838,
- "z": "1ba0191f.c9b697",
+ "x": 3082.0007247924805,
+ "y": 1596.0104236602783,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "36e89129.3c590e"
+ "1b7f6463.3c4afc"
]
]
},
{
- "id": "36e89129.3c590e",
+ "id": "1b7f6463.3c4afc",
"type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1338.5102787017822,
- "y": 1021.0104103088379,
- "z": "1ba0191f.c9b697",
+ "x": 3257.00040435791,
+ "y": 1579.010422706604,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "9f54e1f9.489ef"
+ "ce3707d5.c47378"
]
]
},
{
- "id": "65be3d3f.cecbe4",
+ "id": "2fe85c6d.53b954",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1034.5104007720947,
- "y": 1342.6770362854004,
- "z": "1ba0191f.c9b697",
+ "x": 3121.6674728393555,
+ "y": 1801.0105285644531,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "1feb8e9a.5a2ae1"
+ "f6104f85.18cb4"
]
]
},
{
- "id": "1feb8e9a.5a2ae1",
+ "id": "f6104f85.18cb4",
"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 executing patch rest api\" />",
"comments": "",
- "x": 1222.5102787017822,
- "y": 1349.677158355713,
- "z": "1ba0191f.c9b697",
+ "x": 3323.0004119873047,
+ "y": 1788.0106506347656,
+ "z": "53ac5fd0.5848d",
"wires": []
},
{
- "id": "acc913ad.8c713",
+ "id": "3b60c1c5.f61d0e",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1020.510217666626,
- "y": 1419.677158355713,
- "z": "1ba0191f.c9b697",
+ "x": 3106.000312805176,
+ "y": 1861.3440294265747,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "1b05366.237f7ca"
+ "eb4c9e4c.8da0d"
]
]
},
{
- "id": "1b05366.237f7ca",
+ "id": "eb4c9e4c.8da0d",
"type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1194.5101566314697,
- "y": 1422.6770362854004,
- "z": "1ba0191f.c9b697",
+ "x": 3281.667007446289,
+ "y": 1839.3440265655518,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "588f8bec.94aba4"
+ "81c631c6.64bed"
]
]
},
{
- "id": "588f8bec.94aba4",
+ "id": "7df1c55c.3df42c",
"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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Post Reconfig FAP Service PCI PARMS\"/>\n<parameter name=\"field2\" value=\"`$oofpcigetfapservice.fap-service[0].alias`\"/>\n<parameter name=\"field3\" value=\"`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.phy-cell-id-in-use`\"/>\n<parameter name=\"field4\" value=\"`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.pnf-name`\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Post Reconfig NRCELLDU PCI PARMS\"/>\n<parameter name=\"field2\" value=\"`$getgnbdufunction.GNBDUFunction[0].idGNBDUFunction`\"/>\n<parameter name=\"field3\" value=\"`$getgnbdufunction.GNBDUFunction[0].NRCellDU[$idq].idNRCellDU`\"/>\n<parameter name=\"field4\" value=\"`$getgnbdufunction.GNBDUFunction[0].NRCellDU[$idq].attributes.nRPCI`\"/>",
"comments": "",
"outputs": 1,
- "x": 1372.5100345611572,
- "y": 1426.6772804260254,
- "z": "1ba0191f.c9b697",
+ "x": 4207.166847229004,
+ "y": 1814.0110654830933,
+ "z": "53ac5fd0.5848d",
"wires": [
[]
]
},
{
- "id": "3c274eca.f54e42",
+ "id": "c9fb935.38b307",
"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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for GET operation\"/>\n<parameter name=\"field2\" value=\"`$tmp.fap-service-url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.alias`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cid`\"/>\n<parameter name=\"field5\" value=\"`$tmp.phy-cell-id-in-use`\"/>\n<parameter name=\"field6\" value=\"`$tmp.pnf-name`\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for GET operation\"/>\n<parameter name=\"field2\" value=\"`$tmp.getGNBDUFunction-url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.idNRCellDU`\"/>\n<parameter name=\"field4\" value=\"`$tmp.idGNBDUFunction`\"/>\n<parameter name=\"field5\" value=\"`$tmp.nRPCI`\"/>",
"comments": "",
"outputs": 1,
- "x": 843.5108966827393,
- "y": 1004.0105590820312,
- "z": "1ba0191f.c9b697",
+ "x": 2757.3344535827637,
+ "y": 1520.6773376464844,
+ "z": "53ac5fd0.5848d",
"wires": [
[]
]
},
{
- "id": "c983a75a.8d1c98",
+ "id": "3e955ea0.b79f22",
"type": "for",
"name": "for",
"xml": "<for index='idx' start='0' end=\"`$configuration-phy-cell-id-input.fap-service-number-of-entries`\" >",
"comments": "",
"outputs": 1,
- "x": 613.5104084014893,
- "y": 658.0103759765625,
- "z": "1ba0191f.c9b697",
+ "x": 2143.99995803833,
+ "y": 1534.6771097183228,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "bfb26e80.2f7a1"
+ "3f793294.df175e"
]
]
},
{
- "id": "471a1166.35ea1",
+ "id": "35528e0f.7b8ec2",
"type": "set",
"name": "set tmp variables for the requested fap service input parms",
"xml": "<set>\n<parameter name=\"tmp.alias\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].alias`\"/>\n<parameter name=\"tmp.cid\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].cid`\"/>\n<parameter name=\"tmp.phy-cell-id-in-use\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].phy-cell-id-in-use`\"/>\n<parameter name=\"tmp.pnf-name\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].pnf-name`\"/>\n",
"comments": "",
- "x": 915.511323928833,
- "y": 871.8995361328125,
- "z": "1ba0191f.c9b697",
+ "x": 2844.6681365966797,
+ "y": 1270.5662250518799,
+ "z": "53ac5fd0.5848d",
"wires": []
},
{
- "id": "719379fe.a37db8",
+ "id": "de23f1ab.ea25b",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1125.5105838775635,
- "y": 1192.0104713439941,
- "z": "1ba0191f.c9b697",
+ "x": 3096.00057220459,
+ "y": 1652.0105237960815,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "3ce1f670.bcf73a"
+ "49382202.17833c"
]
]
},
{
- "id": "7a8e6698.939c48",
+ "id": "97abaafa.1d95f8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1094.5105228424072,
- "y": 1279.010410308838,
- "z": "1ba0191f.c9b697",
+ "x": 3065.0005111694336,
+ "y": 1739.0104627609253,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "b75cb29e.ea22d"
+ "3df1371.a9568c8"
]
]
},
{
- "id": "3ce1f670.bcf73a",
+ "id": "49382202.17833c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1298.5105228424072,
- "y": 1164.0105323791504,
- "z": "1ba0191f.c9b697",
+ "x": 3269.0005111694336,
+ "y": 1624.0105848312378,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "c4ed8705.3f7c08"
+ "f2b1f658.5171f8"
]
]
},
{
- "id": "c4ed8705.3f7c08",
+ "id": "f2b1f658.5171f8",
"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 executing patch rest api\" />",
"comments": "",
- "x": 1486.5101566314697,
- "y": 1154.0104713439941,
- "z": "1ba0191f.c9b697",
+ "x": 3457.000144958496,
+ "y": 1614.0105237960815,
+ "z": "53ac5fd0.5848d",
"wires": []
},
{
- "id": "b75cb29e.ea22d",
+ "id": "3df1371.a9568c8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1276.5102787017822,
- "y": 1266.0104713439941,
- "z": "1ba0191f.c9b697",
+ "x": 3247.0002670288086,
+ "y": 1726.0105237960815,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "37190a8a.18f4b6"
+ "76a95310.18f3cc"
]
]
},
{
- "id": "37190a8a.18f4b6",
+ "id": "76a95310.18f3cc",
"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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PUT PCI POC FAP SERVICE. Reconfigured \"/>",
"comments": "",
"outputs": 1,
- "x": 1449.5102787017822,
- "y": 1265.0104713439941,
- "z": "1ba0191f.c9b697",
+ "x": 3420.0002670288086,
+ "y": 1725.0105237960815,
+ "z": "53ac5fd0.5848d",
"wires": [
[]
]
},
{
- "id": "bfb26e80.2f7a1",
+ "id": "3f793294.df175e",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 525.5102252960205,
- "y": 1074.0209350585938,
- "z": "1ba0191f.c9b697",
+ "x": 2496.000213623047,
+ "y": 1534.0209875106812,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "471a1166.35ea1",
- "3c274eca.f54e42",
- "c280ca97.657fa8",
- "5bb5760a.bd9e08",
- "43aa5ec6.b6815",
- "e10b9ed3.60711",
- "1fb13f3e.182691",
- "1d872a84.1b43b5",
- "fa4ad7f0.ff3bc8",
- "ae0c1893.d52058",
- "42dc4c9b.7dd324"
+ "35528e0f.7b8ec2",
+ "c9fb935.38b307",
+ "cf1cb1e7.a54a",
+ "1046608.be59ca",
+ "7439cd74.cec184",
+ "3da2fae9.a7dc26",
+ "f255168.f1bb8e8",
+ "71dea216.12285c",
+ "2b7aacab.d746b4",
+ "33a72cd2.d27734",
+ "9ea26627.0c1ef8",
+ "e50d1970.ba2a28",
+ "bbc6c31.9895c4",
+ "d29fc0a2.cbef7",
+ "9b3c2eb6.b4f39",
+ "9035e7b3.9c24b8"
]
]
},
{
- "id": "e10b9ed3.60711",
+ "id": "3da2fae9.a7dc26",
"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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL and Target for PCI patch URL\"/>\n<parameter name='field2' value=\"`$prop.controller.url + $tmp.oofpcipoc.patch.pci.url`\" />\n<parameter name='field3' value=\"`$prop.oofpcipoc.patch.pci.target`\" />\n",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for PCI patch URL\"/>\n<parameter name='field2' value=\"`$prop.controller.url + $tmp.nrcelldu.patch.pci.url`\" />\n",
"comments": "",
"outputs": 1,
- "x": 827.5108890533447,
- "y": 1201.0208473205566,
- "z": "1ba0191f.c9b697",
+ "x": 2716.668560028076,
+ "y": 1785.6877613067627,
+ "z": "53ac5fd0.5848d",
"wires": [
[]
]
},
{
- "id": "5bb5760a.bd9e08",
+ "id": "1046608.be59ca",
"type": "execute",
- "name": "Get FAP details for a Cell",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.fap-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"oofpcigetfapservice\"/>\n<parameter name='contentType' value='application/json' />",
+ "name": "Get GNBDUFunction Details",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getGNBDUFunction-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getgnbdufunction\"/>\n<parameter name='contentType' value='application/json' />",
"comments": "",
"outputs": 1,
- "x": 911.5107669830322,
- "y": 1047.0207862854004,
- "z": "1ba0191f.c9b697",
+ "x": 2800.3340225219727,
+ "y": 1558.687512397766,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "ac6c7cc4.505e2",
- "cccc941d.ae2de8"
+ "29e6206e.562d5",
+ "2d6e408.62926c"
]
]
},
{
- "id": "c280ca97.657fa8",
+ "id": "cf1cb1e7.a54a",
"type": "execute",
- "name": "generate fap-service url",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.fap-service.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.fap-service-url\"/>\n <parameter name=\"target\" value=\"{alias}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.alias`\"/>",
+ "name": "generate getGNBDUFunction url",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.getGNBDUFunction.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getGNBDUFunction-url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 842.5104694366455,
- "y": 923.0209350585938,
- "z": "1ba0191f.c9b697",
+ "x": 2833.0003509521484,
+ "y": 1394.6877460479736,
+ "z": "53ac5fd0.5848d",
"wires": [
[]
]
},
{
- "id": "43aa5ec6.b6815",
+ "id": "7439cd74.cec184",
"type": "execute",
"name": "generate pci patch url for a cell",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.x-005b9-lte.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.oofpcipoc.patch.pci.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.patchNRCellDU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.nrcelldu.patch.pci.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 930.5104007720947,
- "y": 1092.0208473205566,
- "z": "1ba0191f.c9b697",
+ "x": 2809.333698272705,
+ "y": 1600.3541526794434,
+ "z": "53ac5fd0.5848d",
"wires": [
[]
]
},
{
- "id": "1fb13f3e.182691",
+ "id": "f255168.f1bb8e8",
"type": "execute",
"name": "Recofigure PCI for a Cell",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/oofpcipoc-pci-patch.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.oofpcipoc.patch.pci.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-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' />",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/oofpcipoc-pci-patch.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.nrcelldu.patch.pci.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=\"nrcelldu-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": 851.5102787017822,
- "y": 1261.020908355713,
- "z": "1ba0191f.c9b697",
+ "x": 2759.0484771728516,
+ "y": 1823.2595119476318,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "719379fe.a37db8",
- "7a8e6698.939c48"
+ "de23f1ab.ea25b",
+ "97abaafa.1d95f8"
]
]
},
{
- "id": "1d872a84.1b43b5",
+ "id": "71dea216.12285c",
"type": "execute",
- "name": "Get FAP details for a Cell",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.fap-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"oofpcigetfapservice\"/>\n<parameter name='contentType' value='application/json' />",
+ "name": "Get GNBDUFunction details for a Cell",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getGNBDUFunction-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getgnbdufunction\"/>\n<parameter name='contentType' value='application/json' />",
"comments": "",
"outputs": 1,
- "x": 818.5102787017822,
- "y": 1335.020908355713,
- "z": "1ba0191f.c9b697",
+ "x": 2795.6671295166016,
+ "y": 1860.0211935043335,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "65be3d3f.cecbe4",
- "acc913ad.8c713"
+ "2fe85c6d.53b954",
+ "3b60c1c5.f61d0e"
]
]
},
{
- "id": "fa4ad7f0.ff3bc8",
+ "id": "2b7aacab.d746b4",
"type": "execute",
- "name": "populate netconf mount",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.fap-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.fap-service-url\"/>\n <parameter name=\"target\" value=\"{pnf-name}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.pnf-name`\"/>",
+ "name": "populate idGNBDUFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getGNBDUFunction-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getGNBDUFunction-url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBDUFunction`\"/>",
"comments": "",
"outputs": 1,
- "x": 926.5104084014893,
- "y": 967.0104370117188,
- "z": "1ba0191f.c9b697",
+ "x": 2803.667037963867,
+ "y": 1483.010419845581,
+ "z": "53ac5fd0.5848d",
"wires": [
[]
]
},
{
- "id": "ae0c1893.d52058",
+ "id": "33a72cd2.d27734",
"type": "execute",
- "name": "populate netconf mount",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.oofpcipoc.patch.pci.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.oofpcipoc.patch.pci.url\"/>\n <parameter name=\"target\" value=\"{pnf-name}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.pnf-name`\"/>",
+ "name": "populate idGNBDUFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.nrcelldu.patch.pci.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.nrcelldu.patch.pci.url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBDUFunction`\"/>",
"comments": "",
"outputs": 1,
- "x": 886.5104007720947,
- "y": 1143.010410308838,
- "z": "1ba0191f.c9b697",
+ "x": 2797.001289367676,
+ "y": 1693.3437595367432,
+ "z": "53ac5fd0.5848d",
"wires": [
[]
]
},
{
- "id": "ac9d29f2.0afc08",
+ "id": "7ca740c9.78f26",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 877.5104084014893,
- "y": 1620,
- "z": "1ba0191f.c9b697",
+ "x": 2886.3336486816406,
+ "y": 2413.3332653045654,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "fd25cfff.6cda2",
- "d4d57f0b.068e4",
- "d3688bf5.5cf708"
+ "cd4ac104.c7ca4",
+ "37c6c50d.1e713a",
+ "2878a7a6.c14518"
]
]
},
{
- "id": "fd25cfff.6cda2",
+ "id": "cd4ac104.c7ca4",
"type": "execute",
"name": "generate configdb phy cell id patch url",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.patch-pci-for-cell`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.patch-pci-for-cell.url\"/>\n <parameter name=\"target\" value=\"{cellId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>",
"comments": "",
"outputs": 1,
- "x": 1191.5104084014893,
- "y": 1532,
- "z": "1ba0191f.c9b697",
+ "x": 3200.3336486816406,
+ "y": 2325.3332653045654,
+ "z": "53ac5fd0.5848d",
"wires": [
[]
]
},
{
- "id": "d4d57f0b.068e4",
+ "id": "37c6c50d.1e713a",
"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/configuration-phy-cell-id.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-pci-for-cell.url`\" />\n<parameter name='field3' value=\"`$tmp.cid`\" />",
"comments": "",
"outputs": 1,
- "x": 1161.5104084014893,
- "y": 1596,
- "z": "1ba0191f.c9b697",
+ "x": 3170.3336486816406,
+ "y": 2389.3332653045654,
+ "z": "53ac5fd0.5848d",
"wires": [
[]
]
},
{
- "id": "d3688bf5.5cf708",
+ "id": "2878a7a6.c14518",
"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-pci-for-cell.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.patch-pci-for-cell.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' />",
"comments": "",
"outputs": 1,
- "x": 1135.5104084014893,
- "y": 1691,
- "z": "1ba0191f.c9b697",
+ "x": 3144.3336486816406,
+ "y": 2484.3332653045654,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "9e3e7d33.68d5c",
- "1484e8b4.8fed07"
+ "38fea44f.4893bc",
+ "a7752170.3ee07"
]
]
},
{
- "id": "9e3e7d33.68d5c",
+ "id": "38fea44f.4893bc",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1350.5104084014893,
- "y": 1634,
- "z": "1ba0191f.c9b697",
+ "x": 3359.3336486816406,
+ "y": 2427.3332653045654,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "1f6f492c.8bc497"
+ "b9f63e4d.41f2c"
]
]
},
{
- "id": "1484e8b4.8fed07",
+ "id": "a7752170.3ee07",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1350.5102863311768,
- "y": 1729.9998779296875,
- "z": "1ba0191f.c9b697",
+ "x": 3359.333526611328,
+ "y": 2523.333143234253,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "699c36c5.858918"
+ "65321af7.fce354"
]
]
},
{
- "id": "1f6f492c.8bc497",
+ "id": "b9f63e4d.41f2c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1519.5102863311768,
- "y": 1645,
- "z": "1ba0191f.c9b697",
+ "x": 3528.333526611328,
+ "y": 2438.3332653045654,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "6202ea2a.815a54"
+ "10de0799.23bca8"
]
]
},
{
- "id": "699c36c5.858918",
+ "id": "65321af7.fce354",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1512.5100421905518,
- "y": 1731,
- "z": "1ba0191f.c9b697",
+ "x": 3521.333282470703,
+ "y": 2524.3332653045654,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "6dbef6cc.d2a0e8"
+ "9d2947d1.ed9748"
]
]
},
{
- "id": "6202ea2a.815a54",
+ "id": "10de0799.23bca8",
"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 PCI configuration\" />",
"comments": "",
- "x": 1673.5099811553955,
- "y": 1638,
- "z": "1ba0191f.c9b697",
+ "x": 3682.333221435547,
+ "y": 2431.3332653045654,
+ "z": "53ac5fd0.5848d",
"wires": []
},
{
- "id": "6dbef6cc.d2a0e8",
+ "id": "9d2947d1.ed9748",
"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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PCI Value updated in ConfigDB\"/>",
"comments": "",
"outputs": 1,
- "x": 1663.5101642608643,
- "y": 1728,
- "z": "1ba0191f.c9b697",
+ "x": 3672.3334045410156,
+ "y": 2521.3332653045654,
+ "z": "53ac5fd0.5848d",
"wires": [
[]
]
},
{
- "id": "42dc4c9b.7dd324",
+ "id": "9ea26627.0c1ef8",
"type": "switchNode",
"name": "switch configdb deployed",
"xml": "<switch test='`$prop.configdb-deployed`'>\n",
"comments": "",
"outputs": 1,
- "x": 764.5104084014893,
- "y": 1442,
- "z": "1ba0191f.c9b697",
+ "x": 2756.42911529541,
+ "y": 1900.571457862854,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "d70de1f1.078a2"
+ "9b2b014d.01283",
+ "e68f25b7.b74a08"
]
]
},
{
- "id": "d70de1f1.078a2",
+ "id": "9b2b014d.01283",
"type": "outcome",
"name": "Deployed",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 802.5104084014893,
- "y": 1544,
- "z": "1ba0191f.c9b697",
+ "x": 2922.6672134399414,
+ "y": 2095.3334827423096,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "ac9d29f2.0afc08"
+ "7ca740c9.78f26"
]
]
},
{
- "id": "6a46edff.c3cda4",
+ "id": "86d3ebb5.64bbe8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 887.5104084014893,
- "y": 763.3228416442871,
- "z": "1ba0191f.c9b697",
+ "x": 3211.3333892822266,
+ "y": 1083.3228778839111,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "40fe573.855f9a8",
- "2f361483.cf203c",
- "cde1a3cd.e2adb"
+ "387cbe4b.d03812",
+ "4f4a975.b252f68",
+ "98773b4a.65ed28"
]
]
},
{
- "id": "40fe573.855f9a8",
+ "id": "387cbe4b.d03812",
"type": "execute",
"name": "generate configdb phy cell id patch url",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.patch-pci-for-cell`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.patch-pci-for-cell.url\"/>\n <parameter name=\"target\" value=\"{cellId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>",
"comments": "",
"outputs": 1,
- "x": 1157.5104084014893,
- "y": 669.3228149414062,
- "z": "1ba0191f.c9b697",
+ "x": 3481.3333892822266,
+ "y": 989.3228511810303,
+ "z": "53ac5fd0.5848d",
"wires": [
[]
]
},
{
- "id": "2f361483.cf203c",
+ "id": "4f4a975.b252f68",
"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/configuration-phy-cell-id.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-pci-for-cell.url`\" />\n<parameter name='field3' value=\"`$tmp.cid`\" />",
"comments": "",
"outputs": 1,
- "x": 1158.5104084014893,
- "y": 733.3228149414062,
- "z": "1ba0191f.c9b697",
+ "x": 3477.3335132598877,
+ "y": 1078.3229894638062,
+ "z": "53ac5fd0.5848d",
"wires": [
[]
]
},
{
- "id": "cde1a3cd.e2adb",
+ "id": "98773b4a.65ed28",
"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-pci-for-cell.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.patch-pci-for-cell.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' />",
"comments": "",
"outputs": 1,
- "x": 1141.5104846954346,
- "y": 806.3228282928467,
- "z": "1ba0191f.c9b697",
+ "x": 3453.191436767578,
+ "y": 1143.4658863544464,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "6f4fdb1b.c0ea34",
- "c5c1eecf.19ccb"
+ "a2c27c7c.e07dc",
+ "387ed606.5e99aa"
]
]
},
{
- "id": "6f4fdb1b.c0ea34",
+ "id": "a2c27c7c.e07dc",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1360.5104084014893,
- "y": 777.3228416442871,
- "z": "1ba0191f.c9b697",
+ "x": 3684.3333892822266,
+ "y": 1097.3228778839111,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "4e796fca.9fa56"
+ "73319bd3.a7c854"
]
]
},
{
- "id": "c5c1eecf.19ccb",
+ "id": "387ed606.5e99aa",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1360.5102863311768,
- "y": 873.3227195739746,
- "z": "1ba0191f.c9b697",
+ "x": 3864.3339462280273,
+ "y": 1188.3229184150696,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "1599d33d.2c960d"
+ "2278b0d3.4d38c"
]
]
},
{
- "id": "4e796fca.9fa56",
+ "id": "73319bd3.a7c854",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1529.5102863311768,
- "y": 788.3228416442871,
- "z": "1ba0191f.c9b697",
+ "x": 3853.333267211914,
+ "y": 1108.3228778839111,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "b75a73d9.be6b4"
+ "5709aa9.6dc1654"
]
]
},
{
- "id": "1599d33d.2c960d",
+ "id": "2278b0d3.4d38c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1522.5100421905518,
- "y": 874.3228416442871,
- "z": "1ba0191f.c9b697",
+ "x": 4026.3337020874023,
+ "y": 1189.323040485382,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "fe5060b9.28d1c"
+ "44eb94c8.826edc"
]
]
},
{
- "id": "b75a73d9.be6b4",
+ "id": "5709aa9.6dc1654",
"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 neighbor to configdb. Aborting notification handler\" />",
"comments": "",
- "x": 1683.5099811553955,
- "y": 781.3228416442871,
- "z": "1ba0191f.c9b697",
+ "x": 4007.332962036133,
+ "y": 1101.3228778839111,
+ "z": "53ac5fd0.5848d",
"wires": []
},
{
- "id": "fe5060b9.28d1c",
+ "id": "44eb94c8.826edc",
"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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PCI Value updated in ConfigDB\"/>",
"comments": "",
"outputs": 1,
- "x": 1673.5101642608643,
- "y": 870.3228149414062,
- "z": "1ba0191f.c9b697",
+ "x": 4177.333824157715,
+ "y": 1185.3230137825012,
+ "z": "53ac5fd0.5848d",
"wires": [
[]
]
},
{
- "id": "10b07eb4.63e251",
+ "id": "299044d0.ed447c",
"type": "switchNode",
"name": "switch configdb deployed",
"xml": "<switch test='`$prop.configdb-deployed`'>\n",
"comments": "",
"outputs": 1,
- "x": 816.5104084014893,
- "y": 589.3228149414062,
- "z": "1ba0191f.c9b697",
+ "x": 2395.3334579467773,
+ "y": 1079.3228225708008,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "4f5b2144.27355"
+ "d54a0170.8e85a",
+ "597e0eca.2d59f"
]
]
},
{
- "id": "4f5b2144.27355",
+ "id": "d54a0170.8e85a",
"type": "outcome",
"name": "Deployed",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 812.5104084014893,
- "y": 687.3228416442871,
- "z": "1ba0191f.c9b697",
+ "x": 2966.333724975586,
+ "y": 993.9896039962769,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "6a46edff.c3cda4"
+ "86d3ebb5.64bbe8"
]
]
},
{
- "id": "273850f2.7f097",
+ "id": "c918c86b.bcce58",
"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-modifyconfig-resp-payload-template.vtl' />\n <parameter name='output' value='resp-payload' />\n <parameter name='prefix' value='sdnr' />\n",
"comments": "",
"outputs": 1,
- "x": 897.5104084014893,
+ "x": 898,
"y": 1830,
- "z": "1ba0191f.c9b697",
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "98dc85e1.e6a448",
- "143da08e.32845f"
+ "23354a7f.abe5a6",
+ "b936193a.237718"
]
]
},
{
- "id": "98dc85e1.e6a448",
+ "id": "23354a7f.abe5a6",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1171.5104084014893,
+ "x": 1172,
"y": 1799,
- "z": "1ba0191f.c9b697",
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "50d24bdf.1cafe4"
+ "d123e276.4b071"
]
]
},
{
- "id": "50d24bdf.1cafe4",
+ "id": "d123e276.4b071",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1362.5104084014893,
+ "x": 1363,
"y": 1802,
- "z": "1ba0191f.c9b697",
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "5523a93b.04e278"
+ "b152b886.d780a8"
]
]
},
{
- "id": "5523a93b.04e278",
+ "id": "b152b886.d780a8",
"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/configuration-phy-cell-id.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": 1530.5104084014893,
+ "x": 1531,
"y": 1803,
- "z": "1ba0191f.c9b697",
+ "z": "53ac5fd0.5848d",
"wires": [
[]
]
},
{
- "id": "a5095542.4c6138",
+ "id": "728a3826.841b48",
"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": 870.0104084014893,
+ "x": 870.5,
"y": 1946,
- "z": "1ba0191f.c9b697",
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "86d04e15.ba253",
- "389955cb.dd28ca"
+ "8e344a27.d39c88",
+ "4de8d227.762b8c"
]
]
},
{
- "id": "5da8895b.a671a8",
+ "id": "25a789cd.d929a6",
"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": 859.5104084014893,
+ "x": 860,
"y": 2028,
- "z": "1ba0191f.c9b697",
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "5af9f0a0.9927a",
- "f2be4fdd.b96a6"
+ "a490cbb.bee4838",
+ "14b4c319.51f5dd"
]
]
},
{
- "id": "5af9f0a0.9927a",
+ "id": "a490cbb.bee4838",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1042.0104084014893,
+ "x": 1042.5,
"y": 2036,
- "z": "1ba0191f.c9b697",
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "fa2bcff3.d9037"
+ "f1b02dbc.cbce4"
]
]
},
{
- "id": "fa2bcff3.d9037",
+ "id": "f1b02dbc.cbce4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1227.0104084014893,
+ "x": 1227.5,
"y": 2034,
- "z": "1ba0191f.c9b697",
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "765bbd05.ed8054"
+ "6c34c130.2f071"
]
]
},
{
- "id": "765bbd05.ed8054",
+ "id": "6c34c130.2f071",
"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/configuration-phy-cell-id.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": 1429.0104084014893,
+ "x": 1429.5,
"y": 2029,
- "z": "1ba0191f.c9b697",
+ "z": "53ac5fd0.5848d",
"wires": [
[]
]
},
{
- "id": "86d04e15.ba253",
+ "id": "8e344a27.d39c88",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1063.5104084014893,
+ "x": 1064,
"y": 1914,
- "z": "1ba0191f.c9b697",
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "452acb6b.fd5564"
+ "f6b54c29.74b6b"
]
]
},
{
- "id": "452acb6b.fd5564",
+ "id": "f6b54c29.74b6b",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1238.5104084014893,
+ "x": 1239,
"y": 1928,
- "z": "1ba0191f.c9b697",
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "17b423a9.85da4c"
+ "d36d1158.04e93"
]
]
},
{
- "id": "17b423a9.85da4c",
+ "id": "d36d1158.04e93",
"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/configuration-phy-cell-id.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": 1426.5104084014893,
+ "x": 1427,
"y": 1930,
- "z": "1ba0191f.c9b697",
+ "z": "53ac5fd0.5848d",
"wires": [
[]
]
},
{
- "id": "143da08e.32845f",
+ "id": "b936193a.237718",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1170.5104084014893,
+ "x": 1171,
"y": 1856,
- "z": "1ba0191f.c9b697",
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "e4a429ce.76b228"
+ "286c9885.46df38"
]
]
},
{
- "id": "e4a429ce.76b228",
+ "id": "286c9885.46df38",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1339.5102863311768,
+ "x": 1339.9998779296875,
"y": 1862,
- "z": "1ba0191f.c9b697",
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "39b7f393.224d4c"
+ "76e66fd0.02673"
]
]
},
{
- "id": "39b7f393.224d4c",
+ "id": "76e66fd0.02673",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error creating SDNR response payload string. Aborting PCI configuration\" />",
"comments": "",
- "x": 1495.5100421905518,
+ "x": 1495.9996337890625,
"y": 1861,
- "z": "1ba0191f.c9b697",
+ "z": "53ac5fd0.5848d",
"wires": []
},
{
- "id": "389955cb.dd28ca",
+ "id": "4de8d227.762b8c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1084.5104084014893,
+ "x": 1085,
"y": 1985,
- "z": "1ba0191f.c9b697",
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "e0055fc2.77eca"
+ "e51a49bc.44b938"
]
]
},
{
- "id": "e0055fc2.77eca",
+ "id": "e51a49bc.44b938",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1252.5102863311768,
+ "x": 1252.9998779296875,
"y": 1980,
- "z": "1ba0191f.c9b697",
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "fc6d0a49.e66b58"
+ "7d9d93ab.611b4c"
]
]
},
{
- "id": "fc6d0a49.e66b58",
+ "id": "7d9d93ab.611b4c",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error removing lines from SDNR response payload string. Aborting PCI configuration\" />",
"comments": "",
- "x": 1410.5099811553955,
+ "x": 1410.9995727539062,
"y": 1983,
- "z": "1ba0191f.c9b697",
+ "z": "53ac5fd0.5848d",
"wires": []
},
{
- "id": "f2be4fdd.b96a6",
+ "id": "14b4c319.51f5dd",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1044.5104084014893,
+ "x": 1045,
"y": 2084,
- "z": "1ba0191f.c9b697",
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "8e774301.b98c4"
+ "bccd3dac.0be5d"
]
]
},
{
- "id": "8e774301.b98c4",
+ "id": "bccd3dac.0be5d",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1220.5102863311768,
+ "x": 1220.9998779296875,
"y": 2085,
- "z": "1ba0191f.c9b697",
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "b3a8e99f.100d18"
+ "4688e9de.9bfe08"
]
]
},
{
- "id": "b3a8e99f.100d18",
+ "id": "4688e9de.9bfe08",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error removing tabs from SDNR response payload string. Aborting PCI configuration\" />",
"comments": "",
- "x": 1367.5099811553955,
+ "x": 1367.9995727539062,
"y": 2088,
- "z": "1ba0191f.c9b697",
+ "z": "53ac5fd0.5848d",
"wires": []
},
{
- "id": "1e2c6b21.cd17b5",
+ "id": "1402ffdd.7aaa3",
"type": "block",
"name": "DMAAP Payload Generation",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 614.5104084014893,
+ "x": 615,
"y": 1951,
- "z": "1ba0191f.c9b697",
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "273850f2.7f097",
- "a5095542.4c6138",
- "5da8895b.a671a8"
+ "c918c86b.bcce58",
+ "728a3826.841b48",
+ "25a789cd.d929a6"
]
]
},
{
- "id": "7bb49999.9148e8",
+ "id": "d3a1a502.8392d8",
"type": "block",
"name": "DMAAP Reponse Publish",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 578.5104064941406,
+ "x": 578.9999980926514,
"y": 2212.9999556541443,
- "z": "1ba0191f.c9b697",
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "c5a622e2.9d428",
- "cf239555.a786d8",
- "10b53a9e.0095c5"
+ "a274e0c7.04611",
+ "12864fab.3866d",
+ "aba1f9dc.0c9bd8"
]
]
},
{
- "id": "cf239555.a786d8",
+ "id": "12864fab.3866d",
"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": 850.5105056762695,
+ "x": 851.0000972747803,
"y": 2324.999472618103,
- "z": "1ba0191f.c9b697",
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "665766da.3f50c8",
- "5db4effd.2e3f5"
+ "b752380f.8a4c28",
+ "a0ea2d6b.f914"
]
]
},
{
- "id": "c5a622e2.9d428",
+ "id": "a274e0c7.04611",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='tmp.oofpcipoc-dmaap-config-resp.rpc-name' value='`$prop.oofpcipoc-dmaap-config-resp.rpc-name.modifyconfig`'/>",
"comments": "",
- "x": 915.1771697998047,
+ "x": 915.6667613983154,
"y": 2161.000005722046,
- "z": "1ba0191f.c9b697",
+ "z": "53ac5fd0.5848d",
"wires": []
},
{
- "id": "665766da.3f50c8",
+ "id": "b752380f.8a4c28",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1071.0104446411133,
+ "x": 1071.500036239624,
"y": 2251.9167337417603,
- "z": "1ba0191f.c9b697",
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "96a11689.71dfd8"
+ "83870f28.fa9c6"
]
]
},
{
- "id": "5db4effd.2e3f5",
+ "id": "a0ea2d6b.f914",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1075.0103645324707,
+ "x": 1075.4999561309814,
"y": 2390.916576385498,
- "z": "1ba0191f.c9b697",
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "e099506a.7e6b7"
+ "d3db2d15.8bb35"
]
]
},
{
- "id": "96a11689.71dfd8",
+ "id": "83870f28.fa9c6",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1231.0102787017822,
+ "x": 1231.499870300293,
"y": 2253.9167346954346,
- "z": "1ba0191f.c9b697",
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "4317ae49.ec52b"
+ "daf3c9f3.630078"
]
]
},
{
- "id": "4317ae49.ec52b",
+ "id": "daf3c9f3.630078",
"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": 1408.0100402832031,
+ "x": 1408.4996318817139,
"y": 2243.9167881011963,
- "z": "1ba0191f.c9b697",
+ "z": "53ac5fd0.5848d",
"wires": []
},
{
- "id": "e099506a.7e6b7",
+ "id": "d3db2d15.8bb35",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1258.0100078582764,
+ "x": 1258.499599456787,
"y": 2383.91668510437,
- "z": "1ba0191f.c9b697",
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "63b50581.139fac"
+ "95a6e939.866c08"
]
]
},
{
- "id": "63b50581.139fac",
+ "id": "95a6e939.866c08",
"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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"DMAAP Config Response Message Successfully Published \"/>",
"comments": "",
"outputs": 1,
- "x": 1440.010124206543,
+ "x": 1440.4997158050537,
"y": 2368.916955947876,
- "z": "1ba0191f.c9b697",
+ "z": "53ac5fd0.5848d",
"wires": [
[]
]
},
{
- "id": "10b53a9e.0095c5",
+ "id": "aba1f9dc.0c9bd8",
"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/configuration-phy-cell-id.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",
"comments": "",
"outputs": 1,
- "x": 922.0104789733887,
+ "x": 922.5000705718994,
"y": 2232.454870223999,
- "z": "1ba0191f.c9b697",
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f6e35591.d1d158",
+ "type": "set",
+ "name": "set properties for DMAAP header",
+ "xml": "<set>\n<parameter name=\"prop.oofpcipoc-dmaap-config-resp.timestamp\" value=\"`$configuration-phy-cell-id-input.timeStamp`\"/>\n<parameter name=\"prop.oofpcipoc-dmaap-config-resp.requestID\" value=\"`$configuration-phy-cell-id-input.requestID`\"/>\n<parameter name=\"prop.oofpcipoc-dmaap-config-resp.subrequestID\" value=\"`$configuration-phy-cell-id-input.subRequestID`\"/>",
+ "comments": "",
+ "x": 456,
+ "y": 332,
+ "z": "53ac5fd0.5848d",
+ "wires": []
+ },
+ {
+ "id": "e50d1970.ba2a28",
+ "type": "set",
+ "name": "set tmp variables",
+ "xml": "<set>\n<parameter name=\"tmp.idNRCellDU\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].alias`\"/>\n<parameter name=\"tmp.idGNBDUFunction\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].pnf-name`\"/>\n<parameter name=\"tmp.nRPCI\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].phy-cell-id-in-use`\"/>\n",
+ "comments": "",
+ "x": 2742.0007400512695,
+ "y": 1309.333683013916,
+ "z": "53ac5fd0.5848d",
+ "wires": []
+ },
+ {
+ "id": "bbc6c31.9895c4",
+ "type": "execute",
+ "name": "populate idNRCellDU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.nrcelldu.patch.pci.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.nrcelldu.patch.pci.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idNRCellDU`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2768.0008544921875,
+ "y": 1738.6668243408203,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "36fdbbb1.627594",
+ "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CPS is Deployed, ConfigDB Skipped\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3294.333824157715,
+ "y": 1901.3334140777588,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e68f25b7.b74a08",
+ "type": "outcome",
+ "name": "Not Deployed",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3007.666980743408,
+ "y": 1926.4447622299194,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "4a2cf544.19442c"
+ ]
+ ]
+ },
+ {
+ "id": "eb728676.156e58",
+ "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/configuration-phy-cell-id.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": 428.0002136230469,
+ "y": 531.6666841506958,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2fa4a845.8275d8",
+ "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": 439.75012969970703,
+ "y": 482.48805236816406,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "be6270f5.aa16d",
+ "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": 464.2975769042969,
+ "y": 624.594705581665,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f25730c7.30ea4",
+ "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": 868.7973251342773,
+ "y": 609.4478543996811,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c950590b.012dd8",
+ "type": "execute",
+ "name": "initialize nearRTRIC size",
+ "xml": "<set>\n\t<parameter name='tmp.RIC.length' value=\"0\"/>\n\t",
+ "comments": "",
+ "outputs": 1,
+ "x": 496.88783264160156,
+ "y": 667.8329477310181,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c70dbff8.4e894",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 665.3056411743164,
+ "y": 744.3451976776123,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "cb57fa9c.a9acc8",
+ "d3e9c1b8.3e8bb"
+ ]
+ ]
+ },
+ {
+ "id": "f7fe19f3.4ff218",
+ "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": 1602.0041465759277,
+ "y": 188.2659683227539,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ab7add37.674c1",
+ "type": "for",
+ "name": "For anchorsList",
+ "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 470.1733093261719,
+ "y": 704.7301654815674,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "f5358153.6da27"
+ ]
+ ]
+ },
+ {
+ "id": "f5358153.6da27",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 674.7052154541016,
+ "y": 699.6864643096924,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "675cd472.bff13c",
+ "f25730c7.30ea4"
+ ]
+ ]
+ },
+ {
+ "id": "675cd472.bff13c",
+ "type": "switchNode",
+ "name": "check schemaSetName",
+ "xml": "<switch test='`$tmp.schemaset.name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 893.2818832397461,
+ "y": 656.5436420440674,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "294f8977.23db66"
+ ]
+ ]
+ },
+ {
+ "id": "294f8977.23db66",
+ "type": "outcome",
+ "name": "if ran-network",
+ "xml": "<outcome value='ran-network'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1076.587474822998,
+ "y": 621.01589012146,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "115c78bf.8ca8f7"
+ ]
+ ]
+ },
+ {
+ "id": "115c78bf.8ca8f7",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1397.8898811340332,
+ "y": 132.34918785095215,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "1ebc844e.40168c",
+ "d2147f26.09c8d"
+ ]
+ ]
+ },
+ {
+ "id": "1ebc844e.40168c",
+ "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/configuration-phy-cell-id.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": 1576.8033027648926,
+ "y": 132.15472984313965,
+ "z": "53ac5fd0.5848d",
"wires": [
[]
]
+ },
+ {
+ "id": "d3e9c1b8.3e8bb",
+ "type": "switchNode",
+ "name": "check schemaSetName",
+ "xml": "<switch test='`$tmp.schemaset.name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 891.0811309814453,
+ "y": 734.9170907735825,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "6d288f2b.233be"
+ ]
+ ]
+ },
+ {
+ "id": "cb57fa9c.a9acc8",
+ "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": 875.1089630126953,
+ "y": 693.6670888662338,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6d288f2b.233be",
+ "type": "outcome",
+ "name": "if ran-network",
+ "xml": "<outcome value='ran-network'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1074.88671875,
+ "y": 691.3893798589706,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "764663a0.fc43fc"
+ ]
+ ]
+ },
+ {
+ "id": "764663a0.fc43fc",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1421.0225257873535,
+ "y": 218.6115493774414,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "f7fe19f3.4ff218",
+ "917c4aec.1daf98"
+ ]
+ ]
+ },
+ {
+ "id": "36bfd25c.6ba71e",
+ "type": "for",
+ "name": "For anchorsList",
+ "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 464.0465202331543,
+ "y": 750.1909408569336,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "c70dbff8.4e894"
+ ]
+ ]
+ },
+ {
+ "id": "d2147f26.09c8d",
+ "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": 1575.861415863037,
+ "y": 83.83377170562744,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "917c4aec.1daf98",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1617.948642730713,
+ "y": 236.98813915252686,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "7c189082.ae6cf",
+ "bf9f0a37.65b058",
+ "5546e92e.2cddf8",
+ "cf64a64b.aafba8"
+ ]
+ ]
+ },
+ {
+ "id": "ab1371d1.4bb7a",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 677.2541198730469,
+ "y": 508.0435584783554,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "1abb54f3.638f0b"
+ ]
+ ]
+ },
+ {
+ "id": "c89731e6.27985",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 691.2542915344238,
+ "y": 582.2379741668701,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "315a5.5e302a5ba"
+ ]
+ ]
+ },
+ {
+ "id": "1abb54f3.638f0b",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 819.948616027832,
+ "y": 505.6547578573227,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "4f2750ab.ef11f",
+ "548b6757.689c28"
+ ]
+ ]
+ },
+ {
+ "id": "315a5.5e302a5ba",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 839.6984519958496,
+ "y": 558.9046806097031,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "50e8ee40.48307",
+ "af3d6562.366a98"
+ ]
+ ]
+ },
+ {
+ "id": "4f2750ab.ef11f",
+ "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": 1003.7260437011719,
+ "y": 469.48796784877777,
+ "z": "53ac5fd0.5848d",
+ "wires": []
+ },
+ {
+ "id": "50e8ee40.48307",
+ "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/configuration-phy-cell-id.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": 1021.4482154846191,
+ "y": 543.1547216176987,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "af3d6562.366a98",
+ "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/configuration-phy-cell-id-context.log' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1034.9764556884766,
+ "y": 575.9047235250473,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "548b6757.689c28",
+ "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Failed to fetch anchors from CPS\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 997.5319557189941,
+ "y": 506.01580369472504,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bd606a8d.eeca78",
+ "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": 484.9485397338867,
+ "y": 580.2618999481201,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "c89731e6.27985",
+ "ab1371d1.4bb7a"
+ ]
+ ]
+ },
+ {
+ "id": "a1f73290.969ff",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2123.8028144836426,
+ "y": 265.78018283843994,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "b06e715a.41dfd"
+ ]
+ ]
+ },
+ {
+ "id": "b06e715a.41dfd",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2332.802780151367,
+ "y": 236.7803249359131,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "796fd782.6521b8",
+ "76e465da.15eacc",
+ "128b99cd.e3ed16"
+ ]
+ ]
+ },
+ {
+ "id": "e518a3e9.1eb8e",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2146.8027782440186,
+ "y": 211.7803249359131,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "d8156f1a.ef18e"
+ ]
+ ]
+ },
+ {
+ "id": "d8156f1a.ef18e",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2369.660140991211,
+ "y": 164.06601810455322,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "65ab80d4.dabf2"
+ ]
+ ]
+ },
+ {
+ "id": "7c189082.ae6cf",
+ "type": "execute",
+ "name": "generate getNearRTRIC From idGNBDUFunction 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.getNearRTRICByidGNBDUFunction.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.anchor.name`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1928.7349700927734,
+ "y": 124.71218967437744,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bf9f0a37.65b058",
+ "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.getNearRTRICByidGNBDUFunction.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getNearRTRICByidGNBDUFunction.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.get-nearrtric-by-idgnbdufunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1848.7350234985352,
+ "y": 166.71219062805176,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5546e92e.2cddf8",
+ "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to Get NearRTRIC for idGNBDUFunction\"/>\n<parameter name='field2' value=\"`$tmp.cps.getNearRTRICByidGNBDUFunction.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1875.7349853515625,
+ "y": 207.71219158172607,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cf64a64b.aafba8",
+ "type": "execute",
+ "name": "Get nearRTRIC for idGNBDUFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.getNearRTRICByidGNBDUFunction.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-get-nearrtric-by-idgnbdufunction.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": 1875.7349243164062,
+ "y": 252.7121934890747,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "e518a3e9.1eb8e",
+ "a1f73290.969ff"
+ ]
+ ]
+ },
+ {
+ "id": "76e465da.15eacc",
+ "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/configuration-phy-cell-id.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": 2519.735179901123,
+ "y": 263.71212577819824,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "796fd782.6521b8",
+ "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/configuration-phy-cell-id-context.log' />\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2518.5128593444824,
+ "y": 313.7123476266861,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "65ab80d4.dabf2",
+ "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": 2515.735019683838,
+ "y": 147.8232078552246,
+ "z": "53ac5fd0.5848d",
+ "wires": []
+ },
+ {
+ "id": "915b5f1b.acb1",
+ "type": "set",
+ "name": "set tmp variables",
+ "xml": "<set>\n<parameter name=\"tmp.idGNBDU\" value=\"`$configuration-phy-cell-id-input.fap-service[0].pnf-name`\"/>\n",
+ "comments": "",
+ "x": 447.8028259277344,
+ "y": 417.11352920532227,
+ "z": "53ac5fd0.5848d",
+ "wires": []
+ },
+ {
+ "id": "128b99cd.e3ed16",
+ "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": 2541.803379058838,
+ "y": 213.4468650817871,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d29fc0a2.cbef7",
+ "type": "execute",
+ "name": "populate mount name",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.nrcelldu.patch.pci.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.nrcelldu.patch.pci.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBDUFunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2780.0000381469727,
+ "y": 1648.3333625793457,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9b3c2eb6.b4f39",
+ "type": "execute",
+ "name": "populate mount name",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getGNBDUFunction-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getGNBDUFunction-url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBDUFunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2798.666702270508,
+ "y": 1437.2222127914429,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9035e7b3.9c24b8",
+ "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"idNRCellDU\"/>\n<parameter name=\"field2\" value=\"`$tmp.idNRCellDU`\"/>\n<parameter name=\"field3\" value=\"idGNBDUFunction\"/>\n<parameter name=\"field4\" value=\"`$tmp.idGNBDUFunction`\"/>\n<parameter name=\"field5\" value=\"nRPCI\"/>\n<parameter name=\"field6\" value=\"`$tmp.nRPCI`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2738.111011505127,
+ "y": 1352.7776546478271,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cb3ee380.a31f6",
+ "type": "set",
+ "name": "set tmp variables",
+ "xml": "<set>\n<parameter name=\"tmp.idNRCellDU\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].alias`\"/>\n<parameter name=\"tmp.idGNBDUFunction\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].pnf-name`\"/>\n<parameter name=\"tmp.nRPCI\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].phy-cell-id-in-use`\"/>\n",
+ "comments": "",
+ "x": 2444.555374145508,
+ "y": 395.00002002716064,
+ "z": "53ac5fd0.5848d",
+ "wires": []
+ },
+ {
+ "id": "18b65688.6247a9",
+ "type": "execute",
+ "name": "populate idGNBDUFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getGNBDUFunction-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getGNBDUFunction-url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBDUFunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2459.555419921875,
+ "y": 515.5555419921875,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "60f37767.9663c8",
+ "type": "execute",
+ "name": "populate mount name",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getGNBDUFunction-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getGNBDUFunction-url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBDUFunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2447.888458251953,
+ "y": 473.1006660461426,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d4275158.f071b",
+ "type": "execute",
+ "name": "generate pci patch url for a cell",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchNRCellDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.nrcelldu.patch.pci.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2437.8888397216797,
+ "y": 703.3332843780518,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2172e92c.2bb7a6",
+ "type": "execute",
+ "name": "populate idGNBDUFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.nrcelldu.patch.pci.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.nrcelldu.patch.pci.url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBDUFunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2433.8895950317383,
+ "y": 781.3229923248291,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cd2e3271.2ab31",
+ "type": "execute",
+ "name": "populate idNRCellDU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.nrcelldu.patch.pci.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.nrcelldu.patch.pci.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idNRCellDU`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2419.8893508911133,
+ "y": 836.646032333374,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4939df4b.81aa3",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3545,
+ "y": 2006.5554428100586,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "c3225e8e.a8c0f"
+ ]
+ ]
+ },
+ {
+ "id": "c3225e8e.a8c0f",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3711.6665115356445,
+ "y": 2016.2221221923828,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "f87e7389.9784a",
+ "ff9432eb.2057f"
+ ]
+ ]
+ },
+ {
+ "id": "ff9432eb.2057f",
+ "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": 3892.333511352539,
+ "y": 1987.6664142608643,
+ "z": "53ac5fd0.5848d",
+ "wires": []
+ },
+ {
+ "id": "f87e7389.9784a",
+ "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": 3911.333351135254,
+ "y": 2042.555417060852,
+ "z": "53ac5fd0.5848d",
+ "wires": []
+ },
+ {
+ "id": "90d9112e.d5cdf",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3546.8180351257324,
+ "y": 2143.1311712265015,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "18f212e1.91964d"
+ ]
+ ]
+ },
+ {
+ "id": "18f212e1.91964d",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3734.8178787231445,
+ "y": 2128.1313123703003,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "396ba563.4859ca"
+ ]
+ ]
+ },
+ {
+ "id": "396ba563.4859ca",
+ "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated NRCellDU info in cps\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3920.151382446289,
+ "y": 2106.1315155029297,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8429e54b.dc5a28",
+ "type": "execute",
+ "name": "generate put nrpci nrcelldu 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.putnrpci.nrcelldu.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3360.5322265625,
+ "y": 1951.8493860960007,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "db83a8cd.a7e918",
+ "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.putnrpci.nrcelldu.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.putnrpci.nrcelldu.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.put-nrpci-nrcelldu`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3335.5322189331055,
+ "y": 2000.1830463409424,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "707fba60.3b30b4",
+ "type": "execute",
+ "name": "put nrpci nrcelldu",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.putnrpci.nrcelldu.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-put-nrpci.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"cps-put-nrpci-nrcelldu-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": 3302.3320236206055,
+ "y": 2104.982894897461,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "4939df4b.81aa3",
+ "90d9112e.d5cdf"
+ ]
+ ]
+ },
+ {
+ "id": "9be28260.a1a7a",
+ "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to put nRPCI NRCellDU\"/>\n<parameter name='field2' value=\"`$tmp.cps.putnrpci.nrcelldu.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3280.1721954345703,
+ "y": 2052.8990716934204,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4a2cf544.19442c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3062.2223205566406,
+ "y": 2010.3334369659424,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "36fdbbb1.627594",
+ "8429e54b.dc5a28",
+ "db83a8cd.a7e918",
+ "9be28260.a1a7a",
+ "707fba60.3b30b4"
+ ]
+ ]
+ },
+ {
+ "id": "7791894d.479ba8",
+ "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CPS is Deployed, ConfigDB Skipped\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3580.8889770507812,
+ "y": 1217.6666278839111,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "597e0eca.2d59f",
+ "type": "outcome",
+ "name": "Not Deployed",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2934.2224082946777,
+ "y": 1126.7779941558838,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "fae83536.2ee118"
+ ]
+ ]
+ },
+ {
+ "id": "6a55128a.0aafbc",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3831.5551528930664,
+ "y": 1322.888656616211,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "34abfa0f.cd5386"
+ ]
+ ]
+ },
+ {
+ "id": "34abfa0f.cd5386",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3998.221664428711,
+ "y": 1332.5553359985352,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "9c7d15fc.305158",
+ "5530b818.47cf08"
+ ]
+ ]
+ },
+ {
+ "id": "5530b818.47cf08",
+ "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": 4178.8886642456055,
+ "y": 1303.9996280670166,
+ "z": "53ac5fd0.5848d",
+ "wires": []
+ },
+ {
+ "id": "9c7d15fc.305158",
+ "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": 4197.88850402832,
+ "y": 1358.8886308670044,
+ "z": "53ac5fd0.5848d",
+ "wires": []
+ },
+ {
+ "id": "f95e6860.2de3a8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3833.373188018799,
+ "y": 1459.4643850326538,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "e1494908.f2c328"
+ ]
+ ]
+ },
+ {
+ "id": "e1494908.f2c328",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4021.373031616211,
+ "y": 1444.4645261764526,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "db563586.a6db78"
+ ]
+ ]
+ },
+ {
+ "id": "db563586.a6db78",
+ "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated NRCellDU info in cps\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 4206.7065353393555,
+ "y": 1422.464729309082,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2f3e942b.14ac9c",
+ "type": "execute",
+ "name": "generate put nrpci nrcelldu 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.putnrpci.nrcelldu.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3647.0873794555664,
+ "y": 1268.182599902153,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b369408e.4fccf",
+ "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.putnrpci.nrcelldu.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.putnrpci.nrcelldu.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.put-nrpci-nrcelldu`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3622.087371826172,
+ "y": 1316.5162601470947,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "efeff4e7.80ec88",
+ "type": "execute",
+ "name": "put nrpci nrcelldu",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.putnrpci.nrcelldu.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-put-nrpci.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"cps-put-nrpci-nrcelldu-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": 3588.887176513672,
+ "y": 1421.3161087036133,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "6a55128a.0aafbc",
+ "f95e6860.2de3a8"
+ ]
+ ]
+ },
+ {
+ "id": "8e1315a5.9d0c48",
+ "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to put nRPCI NRCellDU\"/>\n<parameter name='field2' value=\"`$tmp.cps.putnrpci.nrcelldu.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3566.7273483276367,
+ "y": 1369.2322854995728,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fae83536.2ee118",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3348.777473449707,
+ "y": 1326.6666507720947,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "7791894d.479ba8",
+ "2f3e942b.14ac9c",
+ "b369408e.4fccf",
+ "8e1315a5.9d0c48",
+ "efeff4e7.80ec88"
+ ]
+ ]
+ },
+ {
+ "id": "6cd14351.41d5ec",
+ "type": "switchNode",
+ "name": "check idNRCellDU",
+ "xml": "<switch test='`$getgnbdufunction.GNBDUFunction[0].NRCellDU[$idq].idNRCellDU == $tmp.idNRCellDU`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3810.6668395996094,
+ "y": 1561.9999885559082,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "2e5d3156.82819e"
+ ]
+ ]
+ },
+ {
+ "id": "2e5d3156.82819e",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4023.3335189819336,
+ "y": 1552.3333206176758,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "3fa84223.41702e"
+ ]
+ ]
+ },
+ {
+ "id": "ce3707d5.c47378",
+ "type": "for",
+ "name": "for",
+ "xml": "<for index='idq' start='0' end=\"`$getgnbdufunction.GNBDUFunction[0].NRCellDU_length`\" >",
+ "comments": "",
+ "outputs": 1,
+ "x": 3432.5,
+ "y": 1563.333251953125,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "ca7aecd9.fef1e"
+ ]
+ ]
+ },
+ {
+ "id": "ca7aecd9.fef1e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3595,
+ "y": 1565.833251953125,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "6cd14351.41d5ec"
+ ]
+ ]
+ },
+ {
+ "id": "d68d11a5.ab646",
+ "type": "switchNode",
+ "name": "check idNRCellDU",
+ "xml": "<switch test='`$getgnbdufunction.GNBDUFunction[0].NRCellDU[$idq].idNRCellDU == $tmp.idNRCellDU`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3832.5,
+ "y": 1840.833251953125,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "b5b85352.e9887"
+ ]
+ ]
+ },
+ {
+ "id": "b5b85352.e9887",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4045.166679382324,
+ "y": 1831.1665840148926,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "7df1c55c.3df42c"
+ ]
+ ]
+ },
+ {
+ "id": "81c631c6.64bed",
+ "type": "for",
+ "name": "for",
+ "xml": "<for index='idq' start='0' end=\"`$getgnbdufunction.GNBDUFunction[0].NRCellDU_length`\" >",
+ "comments": "",
+ "outputs": 1,
+ "x": 3454.3331604003906,
+ "y": 1842.1665153503418,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "186afe59.10a2a2"
+ ]
+ ]
+ },
+ {
+ "id": "186afe59.10a2a2",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3616.8331604003906,
+ "y": 1844.6665153503418,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "d68d11a5.ab646"
+ ]
+ ]
+ },
+ {
+ "id": "42ef0bb7.4422e4",
+ "type": "switchNode",
+ "name": "check idNRCellDU",
+ "xml": "<switch test='`$getgnbdufunction.GNBDUFunction[0].NRCellDU[$idq].idNRCellDU == $tmp.idNRCellDU`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3420.833251953125,
+ "y": 572.5,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "352618e0.125aa8"
+ ]
+ ]
+ },
+ {
+ "id": "352618e0.125aa8",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3633.499931335449,
+ "y": 562.8333320617676,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "8ae385dd.d5f038"
+ ]
+ ]
+ },
+ {
+ "id": "f5cfc304.18074",
+ "type": "for",
+ "name": "for",
+ "xml": "<for index='idq' start='0' end=\"`$getgnbdufunction.GNBDUFunction[0].NRCellDU_length`\" >",
+ "comments": "",
+ "outputs": 1,
+ "x": 3042.6664123535156,
+ "y": 573.8332633972168,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "9681ccad.3a6ca"
+ ]
+ ]
+ },
+ {
+ "id": "9681ccad.3a6ca",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3205.1664123535156,
+ "y": 576.3332633972168,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "42ef0bb7.4422e4"
+ ]
+ ]
+ },
+ {
+ "id": "adebd19d.9df39",
+ "type": "switchNode",
+ "name": "check idNRCellDU",
+ "xml": "<switch test='`$getgnbdufunction.GNBDUFunction[0].NRCellDU[$idq].idNRCellDU == $tmp.idNRCellDU`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3445.833251953125,
+ "y": 910,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "cdf289ed.631ff8"
+ ]
+ ]
+ },
+ {
+ "id": "cdf289ed.631ff8",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3658.499931335449,
+ "y": 900.3333320617676,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "2e2f13e1.1f2d7c"
+ ]
+ ]
+ },
+ {
+ "id": "55a6cc6c.29a174",
+ "type": "for",
+ "name": "for",
+ "xml": "<for index='idq' start='0' end=\"`$getgnbdufunction.GNBDUFunction[0].NRCellDU_length`\" >",
+ "comments": "",
+ "outputs": 1,
+ "x": 3067.6664123535156,
+ "y": 911.3332633972168,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "151a131b.871b2d"
+ ]
+ ]
+ },
+ {
+ "id": "151a131b.871b2d",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3230.1664123535156,
+ "y": 913.8332633972168,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "adebd19d.9df39"
+ ]
+ ]
}
-]
\ No newline at end of file
+]