+ "x": 111,
+ "y": 867.0104370117188,
+ "z": "231735cb.81484a",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8025c437.0aac68",
+ "type": "switchNode",
+ "name": "switch mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 279,
+ "y": 425,
+ "z": "231735cb.81484a",
+ "wires": [
+ [
+ "2ba4e078.c9991",
+ "450d192e.16e4c8"
+ ]
+ ]
+ },
+ {
+ "id": "2ba4e078.c9991",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 355,
+ "y": 313,
+ "z": "231735cb.81484a",
+ "wires": [
+ [
+ "7d38cbac.d25ac4"
+ ]
+ ]
+ },
+ {
+ "id": "450d192e.16e4c8",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 253,
+ "y": 526,
+ "z": "231735cb.81484a",
+ "wires": [
+ [
+ "df962bc0.9c4728"
+ ]
+ ]
+ },
+ {
+ "id": "3804aecc.1eda72",
+ "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": 1178.9998779296875,
+ "y": 730,
+ "z": "231735cb.81484a",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "294e9c79.ae0324",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 832,
+ "y": 719,
+ "z": "231735cb.81484a",
+ "wires": [
+ [
+ "a2629122.94b21"
+ ]
+ ]
+ },
+ {
+ "id": "a2629122.94b21",
+ "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": 1014,
+ "y": 691.0000610351562,
+ "z": "231735cb.81484a",
+ "wires": []
+ },
+ {
+ "id": "855dbbeb.68dac8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 830.0001831054688,
+ "y": 794,
+ "z": "231735cb.81484a",
+ "wires": [
+ [
+ "4f5a1521.82fc2c"
+ ]
+ ]
+ },
+ {
+ "id": "4f5a1521.82fc2c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1016.9998779296875,
+ "y": 743,
+ "z": "231735cb.81484a",
+ "wires": [
+ [
+ "3804aecc.1eda72"
+ ]
+ ]
+ },
+ {
+ "id": "24eb1ccd.364114",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 713,
+ "y": 1064.6666259765625,
+ "z": "231735cb.81484a",
+ "wires": [
+ [
+ "9f4cf18c.81994"
+ ]
+ ]
+ },
+ {
+ "id": "9f4cf18c.81994",
+ "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": 900.9998779296875,
+ "y": 1071.666748046875,
+ "z": "231735cb.81484a",
+ "wires": []
+ },
+ {
+ "id": "a0317cac.b10f8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 698.9998168945312,
+ "y": 1141.666748046875,
+ "z": "231735cb.81484a",
+ "wires": [
+ [
+ "f2262012.299c4"
+ ]
+ ]
+ },
+ {
+ "id": "f2262012.299c4",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 872.999755859375,
+ "y": 1144.6666259765625,
+ "z": "231735cb.81484a",
+ "wires": [
+ [
+ "85031fd4.e0c19"
+ ]
+ ]
+ },
+ {
+ "id": "85031fd4.e0c19",
+ "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": 1050.9996337890625,
+ "y": 1148.6668701171875,
+ "z": "231735cb.81484a",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "41d9ee9a.12b9f",
+ "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": 523.00048828125,
+ "y": 719.0001220703125,
+ "z": "231735cb.81484a",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "df962bc0.9c4728",
+ "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": 475,
+ "y": 477,
+ "z": "231735cb.81484a",
+ "wires": [
+ [
+ "d2092690.d1f398"
+ ]
+ ]
+ },
+ {
+ "id": "3e233d3d.e189b2",
+ "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": 607.0009155273438,
+ "y": 609.8890991210938,
+ "z": "231735cb.81484a",
+ "wires": []
+ },
+ {
+ "id": "8345c5a4.2aa138",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 804.0001831054688,
+ "y": 914.0000610351562,
+ "z": "231735cb.81484a",
+ "wires": [
+ [
+ "d0914b29.da1bf8"
+ ]
+ ]
+ },
+ {
+ "id": "e412cebf.f2b34",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 773.0001220703125,
+ "y": 1001,
+ "z": "231735cb.81484a",
+ "wires": [
+ [
+ "9f57f600.00e818"
+ ]
+ ]
+ },
+ {
+ "id": "d0914b29.da1bf8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 977.0001220703125,
+ "y": 886.0001220703125,
+ "z": "231735cb.81484a",
+ "wires": [
+ [
+ "764300f9.17734"
+ ]
+ ]
+ },
+ {
+ "id": "764300f9.17734",
+ "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": 1164.999755859375,
+ "y": 876.0000610351562,
+ "z": "231735cb.81484a",
+ "wires": []
+ },
+ {
+ "id": "9f57f600.00e818",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 954.9998779296875,
+ "y": 988.0000610351562,
+ "z": "231735cb.81484a",
+ "wires": [
+ [
+ "3925925e.0d365e"
+ ]
+ ]
+ },
+ {
+ "id": "3925925e.0d365e",
+ "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": 1127.9998779296875,
+ "y": 987.0000610351562,
+ "z": "231735cb.81484a",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d2092690.d1f398",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 254.99981689453125,
+ "y": 704.010498046875,
+ "z": "231735cb.81484a",
+ "wires": [
+ [
+ "3e233d3d.e189b2",
+ "41d9ee9a.12b9f",
+ "7e6165e7.675aac",
+ "6cada962.37cf28",
+ "5c13f574.f957ac",
+ "3d1c8150.a42e7e",
+ "50d1caf4.0f4e94",
+ "f59ed201.bd8d3",
+ "2f51ed00.9a5384",
+ "326141f0.a2e29e"
+ ]
+ ]
+ },
+ {
+ "id": "3d1c8150.a42e7e",
+ "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": 506.00048828125,
+ "y": 923.0104370117188,
+ "z": "231735cb.81484a",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6cada962.37cf28",
+ "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": 590.0003662109375,
+ "y": 769.0103759765625,
+ "z": "231735cb.81484a",
+ "wires": [
+ [
+ "294e9c79.ae0324",
+ "855dbbeb.68dac8"
+ ]
+ ]
+ },
+ {
+ "id": "7e6165e7.675aac",
+ "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": 505.00006103515625,
+ "y": 658.010498046875,
+ "z": "231735cb.81484a",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5c13f574.f957ac",
+ "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": 609,
+ "y": 814.0104370117188,
+ "z": "231735cb.81484a",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "50d1caf4.0f4e94",
+ "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": 529.9998779296875,
+ "y": 983.010498046875,
+ "z": "231735cb.81484a",
+ "wires": [
+ [
+ "8345c5a4.2aa138",
+ "e412cebf.f2b34"
+ ]
+ ]
+ },
+ {
+ "id": "f59ed201.bd8d3",
+ "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": 496.9998779296875,
+ "y": 1057.010498046875,
+ "z": "231735cb.81484a",
+ "wires": [
+ [
+ "24eb1ccd.364114",
+ "a0317cac.b10f8"
+ ]
+ ]
+ },
+ {
+ "id": "2f51ed00.9a5384",
+ "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": 757,
+ "y": 674,
+ "z": "231735cb.81484a",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "326141f0.a2e29e",
+ "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": 565,
+ "y": 865,
+ "z": "231735cb.81484a",