[
    {
        "id": "aeeb7f1b.21de4",
        "type": "method",
        "name": "method",
        "xml": "<method rpc='add-neighbor' mode='sync'>\n",
        "comments": "",
        "outputs": 1,
        "x": 129,
        "y": 216.98956298828125,
        "z": "5119743a.9ef5ec",
        "wires": [
            [
                "ddcea5f4.b62c08"
            ]
        ]
    },
    {
        "id": "c0c05b1f.4be1c8",
        "type": "dgstart",
        "name": "DGSTART",
        "outputs": 1,
        "x": 96.00000762939453,
        "y": 34.989585876464844,
        "z": "5119743a.9ef5ec",
        "wires": [
            [
                "9a9306f0.db8218"
            ]
        ]
    },
    {
        "id": "9a9306f0.db8218",
        "type": "service-logic",
        "name": "oofpcipoc-api ${project.version}",
        "module": "oofpcipoc-api",
        "version": "${project.version}",
        "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": 161.99999237060547,
        "y": 115.98968505859375,
        "z": "5119743a.9ef5ec",
        "wires": [
            [
                "aeeb7f1b.21de4"
            ]
        ]
    },
    {
        "id": "ddcea5f4.b62c08",
        "type": "block",
        "name": "block : atomic",
        "xml": "<block atomic='true'>",
        "atomic": "true",
        "comments": "",
        "outputs": 1,
        "x": 82.48960876464844,
        "y": 331.9896240234375,
        "z": "5119743a.9ef5ec",
        "wires": [
            [
                "92a384d9.f02948",
                "48d142ef.d9f49c",
                "bdb38341.e760b",
                "1110ac05.6f6994",
                "fc2b7348.4f328",
                "dd5b7dbc.8d908"
            ]
        ]
    },
    {
        "id": "92a384d9.f02948",
        "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 add-neighbor Execution\" />\n",
        "comments": "",
        "x": 137.000244140625,
        "y": 578.9896850585938,
        "z": "5119743a.9ef5ec",
        "wires": []
    },
    {
        "id": "f4036480.02d348",
        "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/add-neighbor.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Input RPC Payload request for Alias:  \"/>\n<parameter name=\"field2\" value=\"`$add-neighbor-input.alias`\"/>\n<parameter name=\"field3\" value=\"Input RPC Payload request for add-neighbor. Neighbor Cell #:  \"/>\n<parameter name=\"field4\" value=\"`$idx`\"/>\n<parameter name=\"field5\" value=\"`$add-neighbor-input.lte-ran-neighbor-list-in-use-lte-cell[$idx].plmnid`\"/>\n<parameter name=\"field6\" value=\"`$add-neighbor-input.lte-ran-neighbor-list-in-use-lte-cell[$idx].cid`\"/>\n<parameter name=\"field7\" value=\"`$add-neighbor-input.lte-ran-neighbor-list-in-use-lte-cell[$idx].phy-cell-id`\"/>\n<parameter name=\"field8\" value=\"`$add-neighbor-input.lte-ran-neighbor-list-in-use-lte-cell[$idx].pnf-name`\"/>\n<parameter name=\"field9\" value=\"`$add-neighbor-input.lte-ran-neighbor-list-in-use-lte-cell[$idx].blacklisted`\"/>",
        "comments": "",
        "outputs": 1,
        "x": 558.0009155273438,
        "y": 132.98963928222656,
        "z": "5119743a.9ef5ec",
        "wires": [
            []
        ]
    },
    {
        "id": "a94986f.5e05878",
        "type": "comment",
        "name": "Add Neighbor",
        "info": "",
        "comments": "",
        "x": 372.0000057220459,
        "y": 33,
        "z": "5119743a.9ef5ec",
        "wires": []
    },
    {
        "id": "ef8351b1.e89d7",
        "type": "failure",
        "name": "failure",
        "xml": "<outcome value='failure'>\n",
        "comments": "",
        "outputs": 1,
        "x": 1106.000259399414,
        "y": 442.6666326522827,
        "z": "5119743a.9ef5ec",
        "wires": [
            [
                "ac999630.a33af8"
            ]
        ]
    },
    {
        "id": "ac999630.a33af8",
        "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": 1309.000072479248,
        "y": 448.66667556762695,
        "z": "5119743a.9ef5ec",
        "wires": []
    },
    {
        "id": "8647fd2c.83ed",
        "type": "success",
        "name": "success",
        "xml": "<outcome value='success'>\n",
        "comments": "",
        "outputs": 1,
        "x": 1089.000057220459,
        "y": 526.6667613983154,
        "z": "5119743a.9ef5ec",
        "wires": [
            [
                "3f87ccd6.6e8934"
            ]
        ]
    },
    {
        "id": "3f87ccd6.6e8934",
        "type": "block",
        "name": "block",
        "xml": "<block>\n",
        "atomic": "false",
        "comments": "",
        "outputs": 1,
        "x": 1254.999855041504,
        "y": 530.6666946411133,
        "z": "5119743a.9ef5ec",
        "wires": [
            [
                "1f57f138.7861af"
            ]
        ]
    },
    {
        "id": "1f57f138.7861af",
        "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/add-neighbor.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Details about newly added Neighbor\"/>\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": 1430.999797821045,
        "y": 529.6669616699219,
        "z": "5119743a.9ef5ec",
        "wires": [
            []
        ]
    },
    {
        "id": "7f995943.734d18",
        "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/add-neighbor.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for Neighbor Add PUT operation\"/>\n<parameter name=\"field2\" value=\"`$tmp.add-neighbor-service-url`\"/>\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": 809.0009384155273,
        "y": 364.00007247924805,
        "z": "5119743a.9ef5ec",
        "wires": [
            []
        ]
    },
    {
        "id": "bdb38341.e760b",
        "type": "for",
        "name": "for",
        "xml": "<for index='idx' start='0' end=\"`$add-neighbor-input.lte-cell-number-of-entries`\" >",
        "comments": "",
        "outputs": 1,
        "x": 424.08575439453125,
        "y": 144.9531707763672,
        "z": "5119743a.9ef5ec",
        "wires": [
            [
                "f4036480.02d348"
            ]
        ]
    },
    {
        "id": "48d142ef.d9f49c",
        "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/add-neighbor.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RPC to add neighbors. Number of neighbors to add: \"/>\n<parameter name=\"field2\" value=\"`$add-neighbor-input.lte-cell-number-of-entries`\"/>\n",
        "comments": "",
        "outputs": 1,
        "x": 447.00030517578125,
        "y": 81.01042938232422,
        "z": "5119743a.9ef5ec",
        "wires": [
            []
        ]
    },
    {
        "id": "363b094e.0a3776",
        "type": "for",
        "name": "for",
        "xml": "<for index='idx' start='0' end=\"`$add-neighbor-input.lte-cell-number-of-entries`\" >",
        "comments": "",
        "outputs": 1,
        "x": 517.0001831054688,
        "y": 382,
        "z": "5119743a.9ef5ec",
        "wires": [
            [
                "78f71404.16b18c"
            ]
        ]
    },
    {
        "id": "6136870d.6c6478",
        "type": "set",
        "name": "set tmp variables for the requested neighbor to be added",
        "xml": "<set>\n<parameter name=\"tmp.plmnid\" value=\"`$add-neighbor-input.lte-ran-neighbor-list-in-use-lte-cell[$idx].plmnid`\"/>\n<parameter name=\"tmp.cid\" value=\"`$add-neighbor-input.lte-ran-neighbor-list-in-use-lte-cell[$idx].cid`\"/>\n<parameter name=\"tmp.phy-cell-id\" value=\"`$add-neighbor-input.lte-ran-neighbor-list-in-use-lte-cell[$idx].phy-cell-id`\"/>\n<parameter name=\"tmp.pnf-name\" value=\"`$add-neighbor-input.lte-ran-neighbor-list-in-use-lte-cell[$idx].pnf-name`\"/>\n<parameter name=\"tmp.blacklisted\" value=\"`$add-neighbor-input.lte-ran-neighbor-list-in-use-lte-cell[$idx].blacklisted`\"/>\n<parameter name=\"tmp.alias\" value=\"`$add-neighbor-input.alias`\"/>",
        "comments": "",
        "x": 911.0011596679688,
        "y": 45.889068603515625,
        "z": "5119743a.9ef5ec",
        "wires": []
    },
    {
        "id": "6246b287.7aacbc",
        "type": "failure",
        "name": "failure",
        "xml": "<outcome value='failure'>\n",
        "comments": "",
        "outputs": 1,
        "x": 1109.000343322754,
        "y": 305.00006580352783,
        "z": "5119743a.9ef5ec",
        "wires": [
            [
                "f674a6de.faac88"
            ]
        ]
    },
    {
        "id": "edbcedd0.5795c",
        "type": "success",
        "name": "success",
        "xml": "<outcome value='success'>\n",
        "comments": "",
        "outputs": 1,
        "x": 1100.000301361084,
        "y": 385.9999885559082,
        "z": "5119743a.9ef5ec",
        "wires": [
            [
                "eff48a81.d2c568"
            ]
        ]
    },
    {
        "id": "f674a6de.faac88",
        "type": "block",
        "name": "block",
        "xml": "<block>\n",
        "atomic": "false",
        "comments": "",
        "outputs": 1,
        "x": 1242.0002727508545,
        "y": 264.0000972747803,
        "z": "5119743a.9ef5ec",
        "wires": [
            [
                "28976a3f.4f5f06"
            ]
        ]
    },
    {
        "id": "28976a3f.4f5f06",
        "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": 1420.999963760376,
        "y": 261.0000648498535,
        "z": "5119743a.9ef5ec",
        "wires": []
    },
    {
        "id": "eff48a81.d2c568",
        "type": "block",
        "name": "block",
        "xml": "<block>\n",
        "atomic": "false",
        "comments": "",
        "outputs": 1,
        "x": 1265.0000305175781,
        "y": 385.00004863739014,
        "z": "5119743a.9ef5ec",
        "wires": [
            [
                "661aa2c3.9aab5c"
            ]
        ]
    },
    {
        "id": "661aa2c3.9aab5c",
        "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/add-neighbor.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PUT New Neighbor Executed Successfully \"/>",
        "comments": "",
        "outputs": 1,
        "x": 1438.000144958496,
        "y": 386.0000810623169,
        "z": "5119743a.9ef5ec",
        "wires": [
            []
        ]
    },
    {
        "id": "78f71404.16b18c",
        "type": "block",
        "name": "block : atomic",
        "xml": "<block atomic='true'>",
        "atomic": "true",
        "comments": "",
        "outputs": 1,
        "x": 629,
        "y": 262.0104675292969,
        "z": "5119743a.9ef5ec",
        "wires": [
            [
                "6136870d.6c6478",
                "7f995943.734d18",
                "f2193064.b94cb",
                "5ed24074.bab9f",
                "4c6d75c9.00d93c",
                "3c21b3a5.bda2cc",
                "6fce4ab.12f26b4",
                "d6d8f210.b0639",
                "adc061b8.23a98",
                "3587edc4.c1b4e2"
            ]
        ]
    },
    {
        "id": "1110ac05.6f6994",
        "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": 453.000244140625,
        "y": 202.01040649414062,
        "z": "5119743a.9ef5ec",
        "wires": [
            []
        ]
    },
    {
        "id": "fc2b7348.4f328",
        "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/add-neighbor.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Properties read .. neighbor-add template\"/>\n<parameter name=\"field2\" value=\"`$prop.neighbor-add.templatefile`\"/>\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=\"`$prop.restapi.lte-ran-neighbor-in-use`\"/>",
        "comments": "",
        "outputs": 1,
        "x": 410.0003662109375,
        "y": 253.01051330566406,
        "z": "5119743a.9ef5ec",
        "wires": [
            []
        ]
    },
    {
        "id": "f2193064.b94cb",
        "type": "execute",
        "name": "generate neighbor add URL",
        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.lte-ran-neighbor-in-use`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.add-neighbor-service-url\"/>\n    <parameter name=\"target\" value=\"{alias}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.alias`\"/>",
        "comments": "",
        "outputs": 1,
        "x": 966.0005493164062,
        "y": 127.01055145263672,
        "z": "5119743a.9ef5ec",
        "wires": [
            []
        ]
    },
    {
        "id": "5ed24074.bab9f",
        "type": "execute",
        "name": "add a neighbor using PUT",
        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/oofpcipoc-addNeighbor.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.add-neighbor-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-add-neighbor-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
        "comments": "",
        "outputs": 1,
        "x": 847.000373840332,
        "y": 411.0105400085449,
        "z": "5119743a.9ef5ec",
        "wires": [
            [
                "6246b287.7aacbc",
                "edbcedd0.5795c"
            ]
        ]
    },
    {
        "id": "4c6d75c9.00d93c",
        "type": "execute",
        "name": "Get newly added neighbor details",
        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.add-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": 833.0001449584961,
        "y": 469.0105867385864,
        "z": "5119743a.9ef5ec",
        "wires": [
            [
                "ef8351b1.e89d7",
                "8647fd2c.83ed"
            ]
        ]
    },
    {
        "id": "3c21b3a5.bda2cc",
        "type": "execute",
        "name": "populate plmnid",
        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.add-neighbor-service-url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.add-neighbor-service-url\"/>\n    <parameter name=\"target\" value=\"{plmnid}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.plmnid`\"/>",
        "comments": "",
        "outputs": 1,
        "x": 1045.0002212524414,
        "y": 226.01038932800293,
        "z": "5119743a.9ef5ec",
        "wires": [
            []
        ]
    },
    {
        "id": "6fce4ab.12f26b4",
        "type": "execute",
        "name": "populate cid",
        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.add-neighbor-service-url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.add-neighbor-service-url\"/>\n    <parameter name=\"target\" value=\"{cid}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>",
        "comments": "",
        "outputs": 1,
        "x": 873.0001678466797,
        "y": 321.0103921890259,
        "z": "5119743a.9ef5ec",
        "wires": [
            []
        ]
    },
    {
        "id": "d6d8f210.b0639",
        "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/add-neighbor.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Add Neighbor List URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.add-neighbor-service-url`\"/>",
        "comments": "",
        "outputs": 1,
        "x": 959.0000991821289,
        "y": 179.01039028167725,
        "z": "5119743a.9ef5ec",
        "wires": [
            []
        ]
    },
    {
        "id": "adc061b8.23a98",
        "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/add-neighbor.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Add Neighbor List URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.add-neighbor-service-url`\"/>\n",
        "comments": "",
        "outputs": 1,
        "x": 986.000057220459,
        "y": 269.0103907585144,
        "z": "5119743a.9ef5ec",
        "wires": [
            []
        ]
    },
    {
        "id": "3587edc4.c1b4e2",
        "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/add-neighbor.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Temporary variable for Neighbor Cell #:  \"/>\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`\"/>\n<parameter name=\"field8\" value=\"`$tmp.alias`\"/>\n",
        "comments": "",
        "outputs": 1,
        "x": 819.0000610351562,
        "y": 93.01041412353516,
        "z": "5119743a.9ef5ec",
        "wires": [
            []
        ]
    },
    {
        "id": "7d79f8c7.dc0998",
        "type": "failure",
        "name": "failure",
        "xml": "<outcome value='failure'>\n",
        "comments": "",
        "outputs": 1,
        "x": 950,
        "y": 986,
        "z": "5119743a.9ef5ec",
        "wires": [
            [
                "b55a3fbd.f2373"
            ]
        ]
    },
    {
        "id": "b55a3fbd.f2373",
        "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": 1152.999813079834,
        "y": 992.0000429153442,
        "z": "5119743a.9ef5ec",
        "wires": []
    },
    {
        "id": "4b83adf6.1b4d14",
        "type": "success",
        "name": "success",
        "xml": "<outcome value='success'>\n",
        "comments": "",
        "outputs": 1,
        "x": 932.9997978210449,
        "y": 1070.0001287460327,
        "z": "5119743a.9ef5ec",
        "wires": [
            [
                "f623dc48.7bc69"
            ]
        ]
    },
    {
        "id": "f623dc48.7bc69",
        "type": "block",
        "name": "block",
        "xml": "<block>\n",
        "atomic": "false",
        "comments": "",
        "outputs": 1,
        "x": 1098.9995956420898,
        "y": 1074.0000619888306,
        "z": "5119743a.9ef5ec",
        "wires": [
            [
                "362eeae.fdf5716"
            ]
        ]
    },
    {
        "id": "362eeae.fdf5716",
        "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/add-neighbor.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Details about newly added Neighbor\"/>\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": 1274.9995384216309,
        "y": 1073.0003290176392,
        "z": "5119743a.9ef5ec",
        "wires": [
            []
        ]
    },
    {
        "id": "15df17e8.d9f018",
        "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/add-neighbor.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for Neighbor Add PUT operation\"/>\n<parameter name=\"field2\" value=\"`$tmp.add-neighbor-service-url`\"/>\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": 653.0006790161133,
        "y": 907.3334398269653,
        "z": "5119743a.9ef5ec",
        "wires": [
            []
        ]
    },
    {
        "id": "250e361f.428f2a",
        "type": "set",
        "name": "set tmp variables for the requested neighbor to be added",
        "xml": "<set>\n<parameter name=\"tmp.plmnid\" value=\"`$add-neighbor-input.lte-ran-neighbor-list-in-use-lte-cell[$idx].plmnid`\"/>\n<parameter name=\"tmp.cid\" value=\"`$add-neighbor-input.lte-ran-neighbor-list-in-use-lte-cell[$idx].cid`\"/>\n<parameter name=\"tmp.phy-cell-id\" value=\"`$add-neighbor-input.lte-ran-neighbor-list-in-use-lte-cell[$idx].phy-cell-id`\"/>\n<parameter name=\"tmp.pnf-name\" value=\"`$add-neighbor-input.lte-ran-neighbor-list-in-use-lte-cell[$idx].pnf-name`\"/>\n<parameter name=\"tmp.blacklisted\" value=\"`$add-neighbor-input.lte-ran-neighbor-list-in-use-lte-cell[$idx].blacklisted`\"/>\n<parameter name=\"tmp.alias\" value=\"`$add-neighbor-input.alias`\"/>",
        "comments": "",
        "x": 838.0009155273438,
        "y": 567.222412109375,
        "z": "5119743a.9ef5ec",
        "wires": []
    },
    {
        "id": "6b6a9cd4.106434",
        "type": "failure",
        "name": "failure",
        "xml": "<outcome value='failure'>\n",
        "comments": "",
        "outputs": 1,
        "x": 953.0000839233398,
        "y": 848.3334331512451,
        "z": "5119743a.9ef5ec",
        "wires": [
            [
                "58f8ef76.6067d"
            ]
        ]
    },
    {
        "id": "8cf43b7e.792208",
        "type": "success",
        "name": "success",
        "xml": "<outcome value='success'>\n",
        "comments": "",
        "outputs": 1,
        "x": 944.0000419616699,
        "y": 929.3333559036255,
        "z": "5119743a.9ef5ec",
        "wires": [
            [
                "ccc2d5ee.fb0fe8"
            ]
        ]
    },
    {
        "id": "58f8ef76.6067d",
        "type": "block",
        "name": "block",
        "xml": "<block>\n",
        "atomic": "false",
        "comments": "",
        "outputs": 1,
        "x": 1086.0000133514404,
        "y": 807.3334646224976,
        "z": "5119743a.9ef5ec",
        "wires": [
            [
                "29979cbe.d55e64"
            ]
        ]
    },
    {
        "id": "29979cbe.d55e64",
        "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": 1264.999704360962,
        "y": 804.3334321975708,
        "z": "5119743a.9ef5ec",
        "wires": []
    },
    {
        "id": "ccc2d5ee.fb0fe8",
        "type": "block",
        "name": "block",
        "xml": "<block>\n",
        "atomic": "false",
        "comments": "",
        "outputs": 1,
        "x": 1108.999771118164,
        "y": 928.3334159851074,
        "z": "5119743a.9ef5ec",
        "wires": [
            [
                "1b563cee.d83563"
            ]
        ]
    },
    {
        "id": "1b563cee.d83563",
        "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/add-neighbor.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PUT New Neighbor Executed Successfully \"/>",
        "comments": "",
        "outputs": 1,
        "x": 1281.999885559082,
        "y": 929.3334484100342,
        "z": "5119743a.9ef5ec",
        "wires": [
            []
        ]
    },
    {
        "id": "4d2987ef.ea1658",
        "type": "execute",
        "name": "generate neighbor add 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.add-neighbor-service-url\"/>\n    <parameter name=\"target\" value=\"{alias}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.alias`\"/>",
        "comments": "",
        "outputs": 1,
        "x": 781.0003051757812,
        "y": 659.3439331054688,
        "z": "5119743a.9ef5ec",
        "wires": [
            []
        ]
    },
    {
        "id": "cc502fa8.e9011",
        "type": "execute",
        "name": "add a neighbor using PUT",
        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/oofpcipoc-addNeighbor.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.add-neighbor-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-add-neighbor-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
        "comments": "",
        "outputs": 1,
        "x": 691.000114440918,
        "y": 954.3439073562622,
        "z": "5119743a.9ef5ec",
        "wires": [
            [
                "6b6a9cd4.106434",
                "8cf43b7e.792208"
            ]
        ]
    },
    {
        "id": "beeeee7c.ffc14",
        "type": "execute",
        "name": "Get newly added neighbor details",
        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.add-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": 676.999885559082,
        "y": 1012.3439540863037,
        "z": "5119743a.9ef5ec",
        "wires": [
            [
                "7d79f8c7.dc0998",
                "4b83adf6.1b4d14"
            ]
        ]
    },
    {
        "id": "fc7661ec.d45a3",
        "type": "execute",
        "name": "populate plmnid",
        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.add-neighbor-service-url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.add-neighbor-service-url\"/>\n    <parameter name=\"target\" value=\"{plmnid}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.plmnid`\"/>",
        "comments": "",
        "outputs": 1,
        "x": 844.9999389648438,
        "y": 771.34375,
        "z": "5119743a.9ef5ec",
        "wires": [
            []
        ]
    },
    {
        "id": "7d7a277.ff55dd8",
        "type": "execute",
        "name": "populate cid",
        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.add-neighbor-service-url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.add-neighbor-service-url\"/>\n    <parameter name=\"target\" value=\"{cid}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>",
        "comments": "",
        "outputs": 1,
        "x": 716.9999084472656,
        "y": 864.3437595367432,
        "z": "5119743a.9ef5ec",
        "wires": [
            []
        ]
    },
    {
        "id": "6a3cb946.4407b8",
        "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/add-neighbor.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Add Neighbor List URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.add-neighbor-service-url`\"/>",
        "comments": "",
        "outputs": 1,
        "x": 699.9998168945312,
        "y": 710.34375,
        "z": "5119743a.9ef5ec",
        "wires": [
            []
        ]
    },
    {
        "id": "d2640cd6.ff60a",
        "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/add-neighbor.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Add Neighbor List URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.add-neighbor-service-url`\"/>\n",
        "comments": "",
        "outputs": 1,
        "x": 829.9997978210449,
        "y": 812.3437581062317,
        "z": "5119743a.9ef5ec",
        "wires": [
            []
        ]
    },
    {
        "id": "c207f64e.adf758",
        "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/add-neighbor.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Temporary variable for Neighbor Cell #:  \"/>\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`\"/>\n<parameter name=\"field8\" value=\"`$tmp.alias`\"/>\n",
        "comments": "",
        "outputs": 1,
        "x": 696.9998168945312,
        "y": 613.34375,
        "z": "5119743a.9ef5ec",
        "wires": [
            []
        ]
    },
    {
        "id": "503b0a42.4fcef4",
        "type": "block",
        "name": "block : atomic",
        "xml": "<block atomic='true'>",
        "atomic": "true",
        "comments": "",
        "outputs": 1,
        "x": 441.99974060058594,
        "y": 857.3438348770142,
        "z": "5119743a.9ef5ec",
        "wires": [
            [
                "250e361f.428f2a",
                "15df17e8.d9f018",
                "4d2987ef.ea1658",
                "cc502fa8.e9011",
                "beeeee7c.ffc14",
                "fc7661ec.d45a3",
                "7d7a277.ff55dd8",
                "6a3cb946.4407b8",
                "d2640cd6.ff60a",
                "c207f64e.adf758",
                "111c92b7.4948cd"
            ]
        ]
    },
    {
        "id": "8fc7c5ca.cbf158",
        "type": "for",
        "name": "for",
        "xml": "<for index='idx' start='0' end=\"`$add-neighbor-input.lte-cell-number-of-entries`\" >",
        "comments": "",
        "outputs": 1,
        "x": 478.9999084472656,
        "y": 541.3333740234375,
        "z": "5119743a.9ef5ec",
        "wires": [
            [
                "503b0a42.4fcef4"
            ]
        ]
    },
    {
        "id": "dd5b7dbc.8d908",
        "type": "switchNode",
        "name": "switch mounted",
        "xml": "<switch test='`$prop.ransim-mounted`'>\n",
        "comments": "",
        "outputs": 1,
        "x": 284,
        "y": 448,
        "z": "5119743a.9ef5ec",
        "wires": [
            [
                "d370c315.857ce",
                "15822244.a3083e"
            ]
        ]
    },
    {
        "id": "d370c315.857ce",
        "type": "outcome",
        "name": "Not Mounted",
        "xml": "<outcome value='false'>\n",
        "comments": "",
        "outputs": 1,
        "x": 371,
        "y": 319,
        "z": "5119743a.9ef5ec",
        "wires": [
            [
                "363b094e.0a3776"
            ]
        ]
    },
    {
        "id": "15822244.a3083e",
        "type": "outcome",
        "name": "Mounted",
        "xml": "<outcome value='true'>\n",
        "comments": "",
        "outputs": 1,
        "x": 319,
        "y": 571,
        "z": "5119743a.9ef5ec",
        "wires": [
            [
                "8fc7c5ca.cbf158"
            ]
        ]
    },
    {
        "id": "111c92b7.4948cd",
        "type": "execute",
        "name": "populate netconf mount",
        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.add-neighbor-service-url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.add-neighbor-service-url\"/>\n    <parameter name=\"target\" value=\"{pnf-name}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.pnf-name`\"/>",
        "comments": "",
        "outputs": 1,
        "x": 891,
        "y": 722,
        "z": "5119743a.9ef5ec",
        "wires": [
            []
        ]
    }
]