+ "x": 1512.5100955963135,
+ "y": 617.3334121704102,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1262f222.f1f98e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 530.9999866485596,
+ "y": 869.999997138977,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ [
+ "4156eb3.49eb114",
+ "28301c50.f9a394",
+ "2aab82d0.4d643e",
+ "c0b1bda4.651cf",
+ "6b902758.7673c8",
+ "f337f894.e1cc48",
+ "fe8ae27d.83e96",
+ "359b0369.a48e7c",
+ "8d693ead.befbb",
+ "38c29228.79ba4e",
+ "411a695d.a4f048"
+ ]
+ ]
+ },
+ {
+ "id": "ae52469b.df3fe8",
+ "type": "for",
+ "name": "for",
+ "xml": "<for index='idx' start='0' end=\"`$generic-neighbor-configuration-input.number-of-neighbor-cell-entries`\" >",
+ "comments": "",
+ "outputs": 1,
+ "x": 513.0001831054688,
+ "y": 493.989501953125,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ [
+ "1262f222.f1f98e"
+ ]
+ ]
+ },
+ {
+ "id": "4156eb3.49eb114",
+ "type": "set",
+ "name": "set tmp variables for the requested fap service input parms",
+ "xml": "<set>\n<parameter name=\"tmp.alias\" value=\"`$generic-neighbor-configuration-input.alias`\"/>\n<parameter name=\"tmp.plmnid\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].plmnid`\"/>\n<parameter name=\"tmp.cid\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].cid`\"/>\n<parameter name=\"tmp.phy-cell-id\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].phy-cell-id`\"/>\n<parameter name=\"tmp.pnf-name\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].pnf-name`\"/>\n<parameter name=\"tmp.blacklisted\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].blacklisted`\"/>\n",
+ "comments": "",
+ "x": 839.0011596679688,
+ "y": 598.8786010742188,
+ "z": "c197f7e7.1da478",
+ "wires": []
+ },
+ {
+ "id": "28301c50.f9a394",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Temporary varaibles set. Neighbor #: \"/>\n<parameter name=\"field2\" value=\"`$idx`\"/>\n<parameter name=\"field3\" value=\"`$tmp.plmnid`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cid`\"/>\n<parameter name=\"field5\" value=\"`$tmp.phy-cell-id`\"/>\n<parameter name=\"field6\" value=\"`$tmp.pnf-name`\"/>\n<parameter name=\"field7\" value=\"`$tmp.blacklisted`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 734.510498046875,
+ "y": 642.9999389648438,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "38c29228.79ba4e",
+ "type": "execute",
+ "name": "generate neighbor config URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.lte-ran-neighbor-in-use.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{alias}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.alias`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 827.5108642578125,
+ "y": 691.5556640625,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2aab82d0.4d643e",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Config Neighbor List URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.config-neighbor-service-url`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 768.510498046875,
+ "y": 740.7777099609375,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c0b1bda4.651cf",
+ "type": "execute",
+ "name": "populate plmnid",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.config-neighbor-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{plmnid}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.plmnid`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 832.5106201171875,
+ "y": 836.7777099609375,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6b902758.7673c8",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Config Neighbor List URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.config-neighbor-service-url`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 807.510498046875,
+ "y": 884.7777099609375,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f337f894.e1cc48",
+ "type": "execute",
+ "name": "populate cid",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.config-neighbor-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{cid}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 816.510498046875,
+ "y": 921.7777099609375,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "359b0369.a48e7c",
+ "type": "execute",
+ "name": "Configure neighbor using PATCH",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/oofpcipoc-generic-neighbor-patch.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.config-neighbor-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-neighbor-patch-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/yang.patch-status+json' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 830.510498046875,
+ "y": 1051.77783203125,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ [
+ "aaf367ec.71a3d8",
+ "f6e2a503.cab1e8"
+ ]
+ ]
+ },
+ {
+ "id": "aaf367ec.71a3d8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1125.5103855133057,
+ "y": 1058.7672853469849,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ [
+ "d64f59f9.bbcd88"
+ ]
+ ]
+ },
+ {
+ "id": "f6e2a503.cab1e8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1143.5104274749756,
+ "y": 1126.7671117782593,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ [
+ "ad51aa4c.6dd0f8"
+ ]
+ ]
+ },
+ {
+ "id": "da0a9ad3.338348",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PATCH Neighbor Executed Successfully \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1481.5101795196533,
+ "y": 1113.7672200202942,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ad51aa4c.6dd0f8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1323.5100917816162,
+ "y": 1124.7671928405762,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ [
+ "da0a9ad3.338348"
+ ]
+ ]
+ },
+ {
+ "id": "d64f59f9.bbcd88",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1284.510248184204,
+ "y": 1067.7672710418701,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ [
+ "1a1c9666.4c773a"
+ ]
+ ]
+ },
+ {
+ "id": "1a1c9666.4c773a",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding a new neighbor\" />",
+ "comments": "",
+ "x": 1460.5100116729736,
+ "y": 1052.7672443389893,
+ "z": "c197f7e7.1da478",
+ "wires": []
+ },
+ {
+ "id": "fe8ae27d.83e96",
+ "type": "execute",
+ "name": "Get neighbor details pre-configuration",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.config-neighbor-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-neighbor-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 840.5104370117188,
+ "y": 966.7777099609375,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ [
+ "dc414a11.7edb78",
+ "9db5bb73.2d55e8"
+ ]
+ ]
+ },
+ {
+ "id": "dc414a11.7edb78",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1113.5105381011963,
+ "y": 939.4337558746338,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ [
+ "64dcc609.fa2868"
+ ]
+ ]
+ },
+ {
+ "id": "9db5bb73.2d55e8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1108.5103702545166,
+ "y": 995.4339094161987,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ [
+ "47f38d6d.89f364"
+ ]
+ ]
+ },
+ {
+ "id": "47f38d6d.89f364",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1260.5101871490479,
+ "y": 1004.4338145256042,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ [
+ "ab46d61a.7a0318"
+ ]
+ ]
+ },
+ {
+ "id": "ab46d61a.7a0318",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Details about Neighbor Pre-configuration\"/>\n<parameter name=\"field2\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].plmnid`\"/>\n<parameter name=\"field3\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].cid`\"/>\n<parameter name=\"field4\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].phy-cell-id`\"/>\n<parameter name=\"field5\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].pnf-name`\"/>\n<parameter name=\"field6\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].blacklisted`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1421.510103225708,
+ "y": 998.434084892273,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "64dcc609.fa2868",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error getting details about new neighbor \" />",
+ "comments": "",
+ "x": 1314.5103282928467,
+ "y": 945.4337644577026,
+ "z": "c197f7e7.1da478",
+ "wires": []
+ },
+ {
+ "id": "8d693ead.befbb",
+ "type": "execute",
+ "name": "Get neighbor details post-configuration",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.config-neighbor-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-neighbor-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 796.5104370117188,
+ "y": 1165.6666259765625,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ [
+ "8f75a41.6426d58",
+ "23c81cd0.efa084"
+ ]
+ ]
+ },
+ {
+ "id": "8f75a41.6426d58",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1153.5105381011963,
+ "y": 1177.3226108551025,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ [
+ "bfbdf11e.993f7"
+ ]
+ ]
+ },
+ {
+ "id": "23c81cd0.efa084",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1148.5103702545166,
+ "y": 1233.3227643966675,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ [
+ "4d4d048c.c416cc"
+ ]
+ ]
+ },
+ {
+ "id": "4d4d048c.c416cc",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1300.5101871490479,
+ "y": 1242.322669506073,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ [
+ "fcddb4e7.12b6d8"
+ ]
+ ]
+ },
+ {
+ "id": "bfbdf11e.993f7",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error getting details about new neighbor \" />",
+ "comments": "",
+ "x": 1354.5103282928467,
+ "y": 1183.3226194381714,
+ "z": "c197f7e7.1da478",
+ "wires": []
+ },
+ {
+ "id": "fcddb4e7.12b6d8",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Details about Neighbor Pre-configuration\"/>\n<parameter name=\"field2\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].plmnid`\"/>\n<parameter name=\"field3\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].cid`\"/>\n<parameter name=\"field4\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].phy-cell-id`\"/>\n<parameter name=\"field5\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].pnf-name`\"/>\n<parameter name=\"field6\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].blacklisted`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1461.5100955963135,
+ "y": 1235.3229141235352,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8472ac8d.f6ede",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 420,
+ "y": 320,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ [
+ "86dca6b7.e82f88"
+ ]
+ ]
+ },
+ {
+ "id": "c0db2192.9d16c",
+ "type": "switchNode",
+ "name": "switch mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 318,
+ "y": 409,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ [
+ "8472ac8d.f6ede",
+ "5a41edd6.afaa34"
+ ]
+ ]
+ },
+ {
+ "id": "5a41edd6.afaa34",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 351,
+ "y": 487,
+ "z": "c197f7e7.1da478",
+ "wires": [
+ [
+ "ae52469b.df3fe8"
+ ]
+ ]
+ },
+ {
+ "id": "411a695d.a4f048",
+ "type": "execute",
+ "name": "populate netconf mount",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.config-neighbor-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{pnf-name}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.pnf-name`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 837,
+ "y": 792,
+ "z": "c197f7e7.1da478",