+ "id": "2516ca70.246136",
+ "type": "switchNode",
+ "name": "switch mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 429,
+ "y": 469.0103759765625,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "296e2da5.4e8922",
+ "5c171ca1.83e394"
+ ]
+ ]
+ },
+ {
+ "id": "296e2da5.4e8922",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 504,
+ "y": 376.0104064941406,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "adcb6dc1.9be5f"
+ ]
+ ]
+ },
+ {
+ "id": "5c171ca1.83e394",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 559,
+ "y": 556.0104370117188,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "b7803635.7b20e8"
+ ]
+ ]
+ },
+ {
+ "id": "f74f8504.75cdc8",
+ "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`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1490.999870300293,
+ "y": 1014.0104103088379,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ba398223.0862a",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1143.9999923706055,
+ "y": 1003.0104103088379,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "8ea5fd88.19126"
+ ]
+ ]
+ },
+ {
+ "id": "8ea5fd88.19126",
+ "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": 1325.9999923706055,
+ "y": 975.0104713439941,
+ "z": "50d68be7.8b2664",
+ "wires": []
+ },
+ {
+ "id": "6e73a65.efd8158",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1142.0001754760742,
+ "y": 1078.010410308838,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "76b317fe.6c7558"
+ ]
+ ]
+ },
+ {
+ "id": "76b317fe.6c7558",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1328.999870300293,
+ "y": 1027.010410308838,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "f74f8504.75cdc8"
+ ]
+ ]
+ },
+ {
+ "id": "c782576f.e50328",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1024.9999923706055,
+ "y": 1348.6770362854004,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "c1944ae1.891168"
+ ]
+ ]
+ },
+ {
+ "id": "c1944ae1.891168",
+ "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": 1212.999870300293,
+ "y": 1355.677158355713,
+ "z": "50d68be7.8b2664",
+ "wires": []
+ },
+ {
+ "id": "4ef2ea92.7af554",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1010.9998092651367,
+ "y": 1425.677158355713,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "b8c9a86f.a5d5c8"
+ ]
+ ]
+ },
+ {
+ "id": "b8c9a86f.a5d5c8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1184.9997482299805,
+ "y": 1428.6770362854004,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "fcc6c415.ff34e8"
+ ]
+ ]
+ },
+ {
+ "id": "fcc6c415.ff34e8",
+ "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`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1362.999626159668,
+ "y": 1432.6772804260254,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "51dff42c.4f94dc",
+ "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`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 834.00048828125,
+ "y": 1010.0105590820312,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b7803635.7b20e8",
+ "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": 604,
+ "y": 664.0103759765625,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "64d0ea44.9e38b4"
+ ]
+ ]
+ },
+ {
+ "id": "e32cda0b.03a948",
+ "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": 906.0009155273438,
+ "y": 877.8995361328125,
+ "z": "50d68be7.8b2664",
+ "wires": []
+ },
+ {
+ "id": "31c132cb.aa27fe",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1116.0001754760742,
+ "y": 1198.0104713439941,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "4e3d7d98.25f974"
+ ]
+ ]
+ },
+ {
+ "id": "b44616cd.a2e8c8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1085.000114440918,
+ "y": 1285.010410308838,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "e3ae6269.630ad"
+ ]
+ ]
+ },
+ {
+ "id": "4e3d7d98.25f974",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1289.000114440918,
+ "y": 1170.0105323791504,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "993028c6.fd4d38"
+ ]
+ ]
+ },
+ {
+ "id": "993028c6.fd4d38",
+ "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": 1476.9997482299805,
+ "y": 1160.0104713439941,
+ "z": "50d68be7.8b2664",
+ "wires": []
+ },
+ {
+ "id": "e3ae6269.630ad",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1266.999870300293,
+ "y": 1272.0104713439941,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "a57f2fc0.1d319"
+ ]
+ ]
+ },
+ {
+ "id": "a57f2fc0.1d319",
+ "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": 1439.999870300293,
+ "y": 1271.0104713439941,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "64d0ea44.9e38b4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 515.9998168945312,
+ "y": 1080.0209350585938,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "e32cda0b.03a948",
+ "51dff42c.4f94dc",
+ "db7bd4c1.056cd8",
+ "6eec9618.7c6218",
+ "fe775b3c.962a18",
+ "1c9e981.cacf768",
+ "f1b383a9.8c8a5",
+ "c7513391.64888",
+ "b215210a.3cffc",
+ "f1bd6f0a.00d0c",
+ "e608d4d3.6b9098"
+ ]
+ ]
+ },
+ {
+ "id": "1c9e981.cacf768",
+ "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",
+ "comments": "",
+ "outputs": 1,
+ "x": 818.0004806518555,
+ "y": 1207.0208473205566,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6eec9618.7c6218",
+ "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' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 902.000358581543,
+ "y": 1053.0207862854004,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "ba398223.0862a",
+ "6e73a65.efd8158"
+ ]
+ ]
+ },
+ {
+ "id": "db7bd4c1.056cd8",
+ "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`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 833.0000610351562,
+ "y": 929.0209350585938,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fe775b3c.962a18",
+ "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`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 920.9999923706055,
+ "y": 1098.0208473205566,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f1b383a9.8c8a5",
+ "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": 841.999870300293,
+ "y": 1267.020908355713,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "31c132cb.aa27fe",
+ "b44616cd.a2e8c8"
+ ]
+ ]
+ },
+ {
+ "id": "c7513391.64888",
+ "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' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 808.999870300293,
+ "y": 1341.020908355713,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "c782576f.e50328",
+ "4ef2ea92.7af554"
+ ]
+ ]
+ },
+ {
+ "id": "b215210a.3cffc",
+ "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`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 917,
+ "y": 973.0104370117188,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f1bd6f0a.00d0c",
+ "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`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 876.9999923706055,
+ "y": 1149.010410308838,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f8fd7576.b137b8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 868,
+ "y": 1626,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "c3281595.0ceec8",
+ "ae3a063.62d70f8",
+ "6d4fb749.9b7cf8"
+ ]
+ ]
+ },
+ {
+ "id": "c3281595.0ceec8",
+ "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": 1182,
+ "y": 1538,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ae3a063.62d70f8",
+ "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": 1152,
+ "y": 1602,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6d4fb749.9b7cf8",
+ "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": 1126,
+ "y": 1697,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "25f0d085.93f7f",
+ "fde52d6a.b6f8b"
+ ]
+ ]
+ },
+ {
+ "id": "25f0d085.93f7f",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1341,
+ "y": 1640,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "dd50580a.ae4348"
+ ]
+ ]
+ },
+ {
+ "id": "fde52d6a.b6f8b",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1340.9998779296875,
+ "y": 1735.9998779296875,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "dbd4a5b.02a1558"
+ ]
+ ]
+ },
+ {
+ "id": "dd50580a.ae4348",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1509.9998779296875,
+ "y": 1651,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "8da67cbb.0866b"
+ ]
+ ]
+ },
+ {
+ "id": "dbd4a5b.02a1558",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1502.9996337890625,
+ "y": 1737,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "2062305.38a56d"
+ ]
+ ]
+ },
+ {
+ "id": "8da67cbb.0866b",
+ "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": 1663.9995727539062,
+ "y": 1644,
+ "z": "50d68be7.8b2664",
+ "wires": []
+ },
+ {
+ "id": "2062305.38a56d",
+ "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": 1653.999755859375,
+ "y": 1734,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e608d4d3.6b9098",
+ "type": "switchNode",
+ "name": "switch configdb deployed",
+ "xml": "<switch test='`$prop.configdb-deployed`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 755,
+ "y": 1448,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "d31f7c6e.50d38"
+ ]
+ ]
+ },
+ {
+ "id": "d31f7c6e.50d38",
+ "type": "outcome",
+ "name": "Deployed",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 793,
+ "y": 1550,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "f8fd7576.b137b8"
+ ]
+ ]
+ },
+ {
+ "id": "2229282f.5b0b28",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 878,
+ "y": 769.3228416442871,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "b7a0de8d.7643d",
+ "2dcf1d71.5f7352",
+ "bd6f0e4e.4392"
+ ]
+ ]
+ },
+ {
+ "id": "b7a0de8d.7643d",
+ "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": 1148,
+ "y": 675.3228149414062,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2dcf1d71.5f7352",
+ "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": 1149,
+ "y": 739.3228149414062,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bd6f0e4e.4392",
+ "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": 1132.0000762939453,
+ "y": 812.3228282928467,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "31060b44.1b99f4",
+ "51ed9fbb.b7cb7"
+ ]
+ ]
+ },
+ {
+ "id": "31060b44.1b99f4",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1351,
+ "y": 783.3228416442871,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "ac223d99.e70fc"
+ ]
+ ]
+ },
+ {
+ "id": "51ed9fbb.b7cb7",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1350.9998779296875,
+ "y": 879.3227195739746,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "5b8b254d.2e681c"
+ ]
+ ]
+ },
+ {
+ "id": "ac223d99.e70fc",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1519.9998779296875,
+ "y": 794.3228416442871,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "90b022ce.a1d39"
+ ]
+ ]
+ },
+ {
+ "id": "5b8b254d.2e681c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1512.9996337890625,
+ "y": 880.3228416442871,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "a34090d1.54a54"
+ ]
+ ]
+ },
+ {
+ "id": "90b022ce.a1d39",
+ "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": 1673.9995727539062,
+ "y": 787.3228416442871,
+ "z": "50d68be7.8b2664",
+ "wires": []
+ },
+ {
+ "id": "a34090d1.54a54",
+ "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.999755859375,
+ "y": 876.3228149414062,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "889e7977.5506f8",
+ "type": "switchNode",
+ "name": "switch configdb deployed",
+ "xml": "<switch test='`$prop.configdb-deployed`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 807,
+ "y": 595.3228149414062,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "ced1c9ca.4f9978"
+ ]
+ ]
+ },
+ {
+ "id": "ced1c9ca.4f9978",
+ "type": "outcome",
+ "name": "Deployed",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 803,
+ "y": 693.3228416442871,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "2229282f.5b0b28"
+ ]
+ ]
+ },
+ {
+ "id": "958427a8.01e3e8",
+ "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": 888,
+ "y": 1836,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "46357e3b.7b463",
+ "5368f4ec.7ba84c"
+ ]
+ ]
+ },
+ {
+ "id": "46357e3b.7b463",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1162,
+ "y": 1805,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "79a08354.a9c57c"
+ ]
+ ]
+ },
+ {
+ "id": "79a08354.a9c57c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1353,
+ "y": 1808,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "74d21297.1b0e3c"
+ ]
+ ]
+ },
+ {
+ "id": "74d21297.1b0e3c",
+ "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": 1521,
+ "y": 1809,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "db4fcfac.9f61c",
+ "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": 860.5,
+ "y": 1952,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "2275c209.df7ffe",
+ "5070522e.6844dc"
+ ]
+ ]
+ },
+ {
+ "id": "1b7d6b6a.a645e5",
+ "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": 850,
+ "y": 2034,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "eba0e657.38a428",
+ "3108d1bf.8f1bfe"
+ ]
+ ]
+ },
+ {
+ "id": "eba0e657.38a428",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1032.5,
+ "y": 2042,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "ed35703b.e3d53"
+ ]
+ ]
+ },
+ {
+ "id": "ed35703b.e3d53",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1217.5,
+ "y": 2040,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "cbc05b9a.dfdca8"
+ ]
+ ]
+ },
+ {
+ "id": "cbc05b9a.dfdca8",
+ "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": 1419.5,
+ "y": 2035,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2275c209.df7ffe",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1054,
+ "y": 1920,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "62153117.dfa37"
+ ]
+ ]
+ },
+ {
+ "id": "62153117.dfa37",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1229,
+ "y": 1934,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "449a5e0a.b0801"
+ ]
+ ]
+ },
+ {
+ "id": "449a5e0a.b0801",
+ "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": 1417,
+ "y": 1936,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5368f4ec.7ba84c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1161,
+ "y": 1862,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "e6dd79e2.78d458"
+ ]
+ ]
+ },
+ {
+ "id": "e6dd79e2.78d458",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1329.9998779296875,
+ "y": 1868,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "a071522b.e89a3"
+ ]
+ ]
+ },
+ {
+ "id": "a071522b.e89a3",
+ "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": 1485.9996337890625,
+ "y": 1867,
+ "z": "50d68be7.8b2664",
+ "wires": []
+ },
+ {
+ "id": "5070522e.6844dc",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1075,
+ "y": 1991,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "243fe9a9.58e386"
+ ]
+ ]
+ },
+ {
+ "id": "243fe9a9.58e386",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1242.9998779296875,
+ "y": 1986,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "ca575d7c.67624"
+ ]
+ ]
+ },
+ {
+ "id": "ca575d7c.67624",
+ "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": 1400.9995727539062,
+ "y": 1989,
+ "z": "50d68be7.8b2664",
+ "wires": []
+ },
+ {
+ "id": "3108d1bf.8f1bfe",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1035,
+ "y": 2090,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "24d4bdbf.f1c4f2"
+ ]
+ ]
+ },
+ {
+ "id": "24d4bdbf.f1c4f2",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1210.9998779296875,
+ "y": 2091,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "3e4bd657.f1158a"
+ ]
+ ]
+ },
+ {
+ "id": "3e4bd657.f1158a",
+ "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": 1357.9995727539062,
+ "y": 2094,
+ "z": "50d68be7.8b2664",
+ "wires": []
+ },
+ {
+ "id": "1f3b8a0c.2a9db6",
+ "type": "block",
+ "name": "DMAAP Payload Generation",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 605,
+ "y": 1957,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "958427a8.01e3e8",
+ "db4fcfac.9f61c",
+ "1b7d6b6a.a645e5"
+ ]
+ ]
+ },
+ {
+ "id": "88919954.3b19c8",
+ "type": "block",
+ "name": "DMAAP Reponse Publish",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 568.9999980926514,
+ "y": 2218.9999556541443,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "cdc92ad3.c5e8c8",
+ "2c913977.4a3276",
+ "b40657e3.2d4448"
+ ]
+ ]
+ },
+ {
+ "id": "2c913977.4a3276",