[
{
- "id": "62c88a41.7901c4",
+ "id": "b0e84f67.bfca5",
"type": "comment",
"name": "Generic Neighbor Configuration",
"info": "",
"comments": "",
- "x": 363,
- "y": 27,
- "z": "b5912bac.e498b8",
+ "x": 365,
+ "y": 42,
+ "z": "252a4e44.929a62",
"wires": []
},
{
- "id": "baa967e2.faeed8",
+ "id": "e224f980.9882f8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 604.0000457763672,
- "y": 247.01050186157227,
- "z": "b5912bac.e498b8",
+ "x": 632.0000610351562,
+ "y": 262.010498046875,
+ "z": "252a4e44.929a62",
"wires": [
[
- "e7f7731c.df44c",
- "e8c58776.722298",
- "26d77802.a1d148",
- "a1ea2bf1.677578",
- "1dc9243f.b48cec",
- "42fc4612.e644c8",
- "dd9a5d15.06aae",
- "772f6c66.8f6644",
- "9257d114.fbb5f",
- "bf3b2072.183ee",
- "5dfa3076.0f2dc"
+ "7f0907cf.082338",
+ "742660e3.0e5d4",
+ "402a9020.563bb",
+ "5b76bc17.f32ce4",
+ "7b4e78c0.a96468",
+ "2c50a619.a494ea",
+ "5ae0e50d.a4dc6c",
+ "d51d9d04.31b31",
+ "a46c5047.46087",
+ "10fb55a2.da074a",
+ "9b2edc01.f191f"
]
]
},
{
- "id": "3b46224d.2d6b5e",
+ "id": "7a6e2451.cb09ac",
"type": "for",
"name": "for",
"xml": "<for index='idx' start='0' end=\"`$generic-neighbor-configuration-input.lte-cell-number-of-entries`\" >",
"comments": "",
"outputs": 1,
- "x": 551.0001831054688,
- "y": 405,
- "z": "b5912bac.e498b8",
+ "x": 553.0001831054688,
+ "y": 420,
+ "z": "252a4e44.929a62",
"wires": [
[
- "baa967e2.faeed8"
+ "e224f980.9882f8"
]
]
},
{
- "id": "e7f7731c.df44c",
+ "id": "7f0907cf.082338",
"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": 935.0011596679688,
- "y": 49.88909912109375,
- "z": "b5912bac.e498b8",
+ "x": 937.0011596679688,
+ "y": 64.88909912109375,
+ "z": "252a4e44.929a62",
"wires": []
},
{
- "id": "e8c58776.722298",
+ "id": "742660e3.0e5d4",
"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": 799.5105075836182,
- "y": 93.01042747497559,
- "z": "b5912bac.e498b8",
+ "x": 801.5105075836182,
+ "y": 108.01042747497559,
+ "z": "252a4e44.929a62",
"wires": [
[]
]
},
{
- "id": "472be384.ef3bac",
+ "id": "7b4990e1.529af",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 126.48959350585938,
- "y": 283.9896240234375,
- "z": "b5912bac.e498b8",
+ "x": 128.48959350585938,
+ "y": 298.9896240234375,
+ "z": "252a4e44.929a62",
"wires": [
[
- "58f1d84.b947928",
- "f7111027.f6312",
- "be76099f.4dfad8",
- "ce40b7fa.694068",
- "d8ef20b.61a53e",
- "1cfec41e.135f0c",
- "598648b2.5aa358",
- "3e67b041.fa193"
+ "e68f35dd.146c08",
+ "a6f2b267.e5311",
+ "138176a8.e62099",
+ "3f9b6f16.92476",
+ "2dbe6e04.1b04f2",
+ "f2bdeb66.05c1e8",
+ "2ae7e255.e92e0e",
+ "f6ddb1c4.e2257",
+ "bd6a5dc6.53e57"
]
]
},
{
- "id": "98417a7.9342688",
+ "id": "73bbdcfa.349ac4",
"type": "method",
"name": "method",
"xml": "<method rpc='generic-neighbor-configuration' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 112,
- "y": 184.9895782470703,
- "z": "b5912bac.e498b8",
+ "x": 114,
+ "y": 199.9895782470703,
+ "z": "252a4e44.929a62",
"wires": [
[
- "472be384.ef3bac"
+ "7b4990e1.529af"
]
]
},
{
- "id": "58f1d84.b947928",
+ "id": "e68f35dd.146c08",
"type": "returnSuccess",
"name": "return success",
"xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"SUCCESSFUL Execution\" />\n",
"comments": "",
- "x": 117.00033950805664,
- "y": 2844.989965438843,
- "z": "b5912bac.e498b8",
+ "x": 119.00033950805664,
+ "y": 2859.989965438843,
+ "z": "252a4e44.929a62",
"wires": []
},
{
- "id": "f7111027.f6312",
+ "id": "a6f2b267.e5311",
"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=\"RPC to Configure Neighbors INVOKED. Number of Neighbors to configure: \"/>\n<parameter name=\"field2\" value=\"`$generic-neighbor-configuration-input.lte-cell-number-of-entries`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 413.00030517578125,
- "y": 84.01042938232422,
- "z": "b5912bac.e498b8",
+ "x": 415.00030517578125,
+ "y": 99.01042938232422,
+ "z": "252a4e44.929a62",
"wires": [
[]
]
},
{
- "id": "be76099f.4dfad8",
+ "id": "138176a8.e62099",
"type": "for",
"name": "for",
"xml": "<for index='idx' start='0' end=\"`$generic-neighbor-configuration-input.lte-cell-number-of-entries`\" >",
"comments": "",
"outputs": 1,
- "x": 424.085693359375,
- "y": 130.9531707763672,
- "z": "b5912bac.e498b8",
+ "x": 426.085693359375,
+ "y": 145.9531707763672,
+ "z": "252a4e44.929a62",
"wires": [
[
- "93be64d3.f030f8"
+ "9f14658a.014d08"
]
]
},
{
- "id": "ce40b7fa.694068",
+ "id": "3f9b6f16.92476",
"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": 427.00018310546875,
- "y": 189.01040649414062,
- "z": "b5912bac.e498b8",
+ "x": 438.00018310546875,
+ "y": 194.01040649414062,
+ "z": "252a4e44.929a62",
"wires": [
[]
]
},
{
- "id": "d8ef20b.61a53e",
+ "id": "2dbe6e04.1b04f2",
"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=\"Properties read .. generic neighbor config template\"/>\n<parameter name=\"field2\" value=\"`$prop.restapi.generic-neighbor-patch.template`\"/>\n<parameter name=\"field3\" value=\"`$prop.controller.user`\"/>\n<parameter name=\"field4\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"field5\" value=\"`$prop.controller.url`\"/>",
"comments": "",
"outputs": 1,
- "x": 379.000301361084,
- "y": 257.01050090789795,
- "z": "b5912bac.e498b8",
+ "x": 402.00030517578125,
+ "y": 236.010498046875,
+ "z": "252a4e44.929a62",
"wires": [
[]
]
},
{
- "id": "f6fcf198.4f53a",
+ "id": "767a16c9.47c368",
"type": "service-logic",
"name": "oofpcipoc-api ${project.version}",
"module": "oofpcipoc-api",
"comments": "",
"xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='oofpcipoc-api' version='${project.version}'>",
"outputs": 1,
- "x": 167.99998474121094,
- "y": 95.98968505859375,
- "z": "b5912bac.e498b8",
+ "x": 169.99998474121094,
+ "y": 110.98968505859375,
+ "z": "252a4e44.929a62",
"wires": [
[
- "98417a7.9342688"
+ "73bbdcfa.349ac4"
]
]
},
{
- "id": "93be64d3.f030f8",
+ "id": "9f14658a.014d08",
"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=\"Input RPC Payload request. Neighbor #: \"/>\n<parameter name=\"field2\" value=\"`$idx`\"/>\n<parameter name=\"field3\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].plmnid`\"/>\n<parameter name=\"field4\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].cid`\"/>\n<parameter name=\"field5\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].phy-cell-id`\"/>\n<parameter name=\"field6\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].pnf-name`\"/>\n<parameter name=\"field7\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].blacklisted`\"/>",
"comments": "",
"outputs": 1,
- "x": 589.0005493164062,
- "y": 114.98963165283203,
- "z": "b5912bac.e498b8",
+ "x": 591.0005493164062,
+ "y": 129.98963165283203,
+ "z": "252a4e44.929a62",
"wires": [
[]
]
},
{
- "id": "9a50d806.bf9d88",
+ "id": "5f1ad16d.8a92a",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 103,
- "y": 33.989585876464844,
- "z": "b5912bac.e498b8",
+ "x": 105,
+ "y": 48.989585876464844,
+ "z": "252a4e44.929a62",
"wires": [
[
- "f6fcf198.4f53a"
+ "767a16c9.47c368"
]
]
},
{
- "id": "bf3b2072.183ee",
+ "id": "10fb55a2.da074a",
"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`\"/>\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": 870.5108642578125,
- "y": 137.56614685058594,
- "z": "b5912bac.e498b8",
+ "x": 872.5108642578125,
+ "y": 152.56614685058594,
+ "z": "252a4e44.929a62",
"wires": [
[]
]
},
{
- "id": "26d77802.a1d148",
+ "id": "402a9020.563bb",
"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": 797.510498046875,
- "y": 190.7882080078125,
- "z": "b5912bac.e498b8",
+ "x": 799.510498046875,
+ "y": 205.7882080078125,
+ "z": "252a4e44.929a62",
"wires": [
[]
]
},
{
- "id": "a1ea2bf1.677578",
+ "id": "5b76bc17.f32ce4",
"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": 999.5106258392334,
- "y": 202.78822231292725,
- "z": "b5912bac.e498b8",
+ "x": 1001.5106258392334,
+ "y": 217.78822231292725,
+ "z": "252a4e44.929a62",
"wires": [
[]
]
},
{
- "id": "1dc9243f.b48cec",
+ "id": "7b4e78c0.a96468",
"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": 867.5104789733887,
- "y": 246.78819751739502,
- "z": "b5912bac.e498b8",
+ "x": 869.5104789733887,
+ "y": 261.788197517395,
+ "z": "252a4e44.929a62",
"wires": [
[]
]
},
{
- "id": "42fc4612.e644c8",
+ "id": "2c50a619.a494ea",
"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": 890.5105075836182,
- "y": 291.7882204055786,
- "z": "b5912bac.e498b8",
+ "x": 892.5105075836182,
+ "y": 306.7882204055786,
+ "z": "252a4e44.929a62",
"wires": [
[]
]
},
{
- "id": "772f6c66.8f6644",
+ "id": "d51d9d04.31b31",
"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": 922.510498046875,
- "y": 431.788330078125,
- "z": "b5912bac.e498b8",
+ "x": 924.510498046875,
+ "y": 446.788330078125,
+ "z": "252a4e44.929a62",
"wires": [
[
- "18e5fc47.677d84",
- "9996e5f3.0463a8"
+ "42094d77.460ca4",
+ "ece3aaf8.017e88"
]
]
},
{
- "id": "18e5fc47.677d84",
+ "id": "42094d77.460ca4",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1183.5103855133057,
- "y": 395.77778339385986,
- "z": "b5912bac.e498b8",
+ "x": 1185.5103855133057,
+ "y": 410.77778339385986,
+ "z": "252a4e44.929a62",
"wires": [
[
- "7e1599c6.f4b258"
+ "4d5fe442.9a545c"
]
]
},
{
- "id": "9996e5f3.0463a8",
+ "id": "ece3aaf8.017e88",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1185.5103302001953,
- "y": 459.77761459350586,
- "z": "b5912bac.e498b8",
+ "x": 1187.5103302001953,
+ "y": 474.77761459350586,
+ "z": "252a4e44.929a62",
"wires": [
[
- "8be63bfe.ba0d78"
+ "186e8503.876f0b"
]
]
},
{
- "id": "24c17f16.af7c2",
+ "id": "75c28db6.dab864",
"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": 1516.510124206543,
- "y": 455.77770233154297,
- "z": "b5912bac.e498b8",
+ "x": 1518.510124206543,
+ "y": 470.77770233154297,
+ "z": "252a4e44.929a62",
"wires": [
[]
]
},
{
- "id": "8be63bfe.ba0d78",
+ "id": "186e8503.876f0b",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1352.5101737976074,
- "y": 458.77769660949707,
- "z": "b5912bac.e498b8",
+ "x": 1354.5101737976074,
+ "y": 473.77769660949707,
+ "z": "252a4e44.929a62",
"wires": [
[
- "24c17f16.af7c2"
+ "75c28db6.dab864"
]
]
},
{
- "id": "7e1599c6.f4b258",
+ "id": "4d5fe442.9a545c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1342.510248184204,
- "y": 404.7777690887451,
- "z": "b5912bac.e498b8",
+ "x": 1344.510248184204,
+ "y": 419.7777690887451,
+ "z": "252a4e44.929a62",
"wires": [
[
- "ce7d1839.31b058"
+ "91c0b18a.5233d"
]
]
},
{
- "id": "ce7d1839.31b058",
+ "id": "91c0b18a.5233d",
"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": 1518.5100116729736,
- "y": 389.77774238586426,
- "z": "b5912bac.e498b8",
+ "x": 1520.5100116729736,
+ "y": 404.77774238586426,
+ "z": "252a4e44.929a62",
"wires": []
},
{
- "id": "dd9a5d15.06aae",
+ "id": "5ae0e50d.a4dc6c",
"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": 920.5104370117188,
- "y": 343.7882080078125,
- "z": "b5912bac.e498b8",
+ "x": 922.5104370117188,
+ "y": 358.7882080078125,
+ "z": "252a4e44.929a62",
"wires": [
[
- "9fe95e60.166c3",
- "9512e3ea.241a4"
+ "1a9049a4.4660f6",
+ "babfc7f5.e3d6f8"
]
]
},
{
- "id": "9fe95e60.166c3",
+ "id": "1a9049a4.4660f6",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1188.510498046875,
- "y": 280.4442491531372,
- "z": "b5912bac.e498b8",
+ "x": 1190.510498046875,
+ "y": 295.4442491531372,
+ "z": "252a4e44.929a62",
"wires": [
[
- "5a501fde.87adb"
+ "61c1aef5.95942"
]
]
},
{
- "id": "9512e3ea.241a4",
+ "id": "babfc7f5.e3d6f8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1175.5103912353516,
- "y": 344.44439697265625,
- "z": "b5912bac.e498b8",
+ "x": 1177.5103912353516,
+ "y": 359.44439697265625,
+ "z": "252a4e44.929a62",
"wires": [
[
- "f3752e03.cce3d"
+ "fd628eba.9d3f1"
]
]
},
{
- "id": "f3752e03.cce3d",
+ "id": "fd628eba.9d3f1",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1318.5101871490479,
- "y": 341.44431257247925,
- "z": "b5912bac.e498b8",
+ "x": 1320.5101871490479,
+ "y": 356.44431257247925,
+ "z": "252a4e44.929a62",
"wires": [
[
- "56993fd5.34454"
+ "e6d88742.250328"
]
]
},
{
- "id": "56993fd5.34454",
+ "id": "e6d88742.250328",
"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": 1479.510103225708,
- "y": 335.44458293914795,
- "z": "b5912bac.e498b8",
+ "x": 1481.510103225708,
+ "y": 350.44458293914795,
+ "z": "252a4e44.929a62",
"wires": [
[]
]
},
{
- "id": "5a501fde.87adb",
+ "id": "61c1aef5.95942",
"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": 1387.5103912353516,
- "y": 270.4442768096924,
- "z": "b5912bac.e498b8",
+ "x": 1389.5103912353516,
+ "y": 285.4442768096924,
+ "z": "252a4e44.929a62",
"wires": []
},
{
- "id": "9257d114.fbb5f",
+ "id": "a46c5047.46087",
"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": 878.5104370117188,
- "y": 507.67706298828125,
- "z": "b5912bac.e498b8",
+ "x": 880.5104370117188,
+ "y": 522.6770629882812,
+ "z": "252a4e44.929a62",
"wires": [
[
- "f3eccc73.b462e",
- "3ed6cc6a.c6c044"
+ "182595bb.f7ee4a",
+ "26bfad36.c5ae22"
]
]
},
{
- "id": "f3eccc73.b462e",
+ "id": "182595bb.f7ee4a",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1213.5104370117188,
- "y": 507.3331050872803,
- "z": "b5912bac.e498b8",
+ "x": 1215.5104370117188,
+ "y": 522.3331050872803,
+ "z": "252a4e44.929a62",
"wires": [
[
- "1ebdbe5d.7f30b2"
+ "c2de4855.593ee8"
]
]
},
{
- "id": "3ed6cc6a.c6c044",
+ "id": "26bfad36.c5ae22",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1206.5103302001953,
- "y": 559.3333015441895,
- "z": "b5912bac.e498b8",
+ "x": 1208.5103302001953,
+ "y": 574.3333015441895,
+ "z": "252a4e44.929a62",
"wires": [
[
- "7a33e4a5.c1140c"
+ "ceef9fe1.1c80b"
]
]
},
{
- "id": "7a33e4a5.c1140c",
+ "id": "ceef9fe1.1c80b",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1375.5100898742676,
- "y": 566.3332405090332,
- "z": "b5912bac.e498b8",
+ "x": 1377.5100898742676,
+ "y": 581.3332405090332,
+ "z": "252a4e44.929a62",
"wires": [
[
- "8874cc8.fdd9c3"
+ "aa26494c.850b58"
]
]
},
{
- "id": "1ebdbe5d.7f30b2",
+ "id": "c2de4855.593ee8",
"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": 1386.5103912353516,
- "y": 504.33313274383545,
- "z": "b5912bac.e498b8",
+ "x": 1388.5103912353516,
+ "y": 519.3331327438354,
+ "z": "252a4e44.929a62",
"wires": []
},
{
- "id": "8874cc8.fdd9c3",
+ "id": "aa26494c.850b58",
"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 Post-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": 1522.510124206543,
- "y": 564.333456993103,
- "z": "b5912bac.e498b8",
+ "x": 1524.510124206543,
+ "y": 579.333456993103,
+ "z": "252a4e44.929a62",
"wires": [
[]
]
},
{
- "id": "caedd83d.51f7c8",
+ "id": "8aebb9c4.9c2d58",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 576.9999465942383,
- "y": 1317.0000581741333,
- "z": "b5912bac.e498b8",
+ "x": 578.9999465942383,
+ "y": 1332.0000581741333,
+ "z": "252a4e44.929a62",
"wires": [
[
- "1c84f0b8.618d3f",
- "661254e5.c354ac",
- "30fcd4e2.e8af6c",
- "f65cc795.09a8f8",
- "6002fae9.c462d4",
- "26a41e87.9a2a42",
- "8ad484a4.2e48f8",
- "9cd115c6.7d3528",
- "aa95ae6a.9db0c",
- "917698f.742c268",
- "5d5cd71e.9e8ad8",
- "dd44dc35.baa9a"
+ "d17b4a49.0377f8",
+ "62b6cd99.0b8964",
+ "228ec87c.7b30b8",
+ "a271ebfa.714168",
+ "34a4ad69.82f8c2",
+ "900f320e.2470c",
+ "d3287262.5d0d6",
+ "31829f2b.2121d",
+ "dbd04c8.1f2e4b",
+ "7df6d59c.f8208c",
+ "53f1a4f2.cd94cc",
+ "91a1e388.084d9"
]
]
},
{
- "id": "49402706.7c5b88",
+ "id": "7ffaf0be.ee25f",
"type": "for",
"name": "for",
"xml": "<for index='idx' start='0' end=\"`$generic-neighbor-configuration-input.lte-cell-number-of-entries`\" >",
"comments": "",
"outputs": 1,
- "x": 520.0001831054688,
- "y": 497.989501953125,
- "z": "b5912bac.e498b8",
+ "x": 522.0001831054688,
+ "y": 512.989501953125,
+ "z": "252a4e44.929a62",
"wires": [
[
- "caedd83d.51f7c8"
+ "8aebb9c4.9c2d58"
]
]
},
{
- "id": "1c84f0b8.618d3f",
+ "id": "d17b4a49.0377f8",
"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": 910.0011806488037,
- "y": 1000.8786706924438,
- "z": "b5912bac.e498b8",
+ "x": 912.0011806488037,
+ "y": 1015.8786706924438,
+ "z": "252a4e44.929a62",
"wires": []
},
{
- "id": "661254e5.c354ac",
+ "id": "62b6cd99.0b8964",
"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": 780.5105037689209,
- "y": 1077.0000381469727,
- "z": "b5912bac.e498b8",
+ "x": 782.5105037689209,
+ "y": 1092.0000381469727,
+ "z": "252a4e44.929a62",
"wires": [
[]
]
},
{
- "id": "917698f.742c268",
+ "id": "7df6d59c.f8208c",
"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": 873.5108242034912,
- "y": 1138.5557250976562,
- "z": "b5912bac.e498b8",
+ "x": 875.5108242034912,
+ "y": 1153.5557250976562,
+ "z": "252a4e44.929a62",
"wires": [
[]
]
},
{
- "id": "30fcd4e2.e8af6c",
+ "id": "228ec87c.7b30b8",
"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": 814.5104579925537,
- "y": 1187.7777709960938,
- "z": "b5912bac.e498b8",
+ "x": 816.5104579925537,
+ "y": 1202.7777709960938,
+ "z": "252a4e44.929a62",
"wires": [
[]
]
},
{
- "id": "f65cc795.09a8f8",
+ "id": "a271ebfa.714168",
"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": 878.5105800628662,
- "y": 1283.7777709960938,
- "z": "b5912bac.e498b8",
+ "x": 880.5105800628662,
+ "y": 1298.7777709960938,
+ "z": "252a4e44.929a62",
"wires": [
[]
]
},
{
- "id": "6002fae9.c462d4",
+ "id": "34a4ad69.82f8c2",
"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": 853.5104579925537,
- "y": 1331.7777709960938,
- "z": "b5912bac.e498b8",
+ "x": 855.5104579925537,
+ "y": 1346.7777709960938,
+ "z": "252a4e44.929a62",
"wires": [
[]
]
},
{
- "id": "26a41e87.9a2a42",
+ "id": "900f320e.2470c",
"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": 862.5104579925537,
- "y": 1368.7777709960938,
- "z": "b5912bac.e498b8",
+ "x": 864.5104579925537,
+ "y": 1383.7777709960938,
+ "z": "252a4e44.929a62",
"wires": [
[]
]
},
{
- "id": "9cd115c6.7d3528",
+ "id": "31829f2b.2121d",
"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": 876.5104579925537,
- "y": 1498.7778930664062,
- "z": "b5912bac.e498b8",
+ "x": 878.5104579925537,
+ "y": 1513.7778930664062,
+ "z": "252a4e44.929a62",
"wires": [
[
- "550d2fe8.b2398",
- "c01d1028.d9257"
+ "e9803890.320ab8",
+ "19d2bb84.870d44"
]
]
},
{
- "id": "550d2fe8.b2398",
+ "id": "e9803890.320ab8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1171.5103454589844,
- "y": 1505.767346382141,
- "z": "b5912bac.e498b8",
+ "x": 1173.5103454589844,
+ "y": 1520.767346382141,
+ "z": "252a4e44.929a62",
"wires": [
[
- "6a5a8363.937f4c"
+ "d2c2fe00.15af4"
]
]
},
{
- "id": "c01d1028.d9257",
+ "id": "19d2bb84.870d44",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1189.5103874206543,
- "y": 1573.7671728134155,
- "z": "b5912bac.e498b8",
+ "x": 1191.5103874206543,
+ "y": 1588.7671728134155,
+ "z": "252a4e44.929a62",
"wires": [
[
- "52465faf.7e9e9"
+ "d28bc469.f5aa28"
]
]
},
{
- "id": "7626dcea.9b0314",
+ "id": "ffbd161f.e01d28",
"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": 1527.510139465332,
- "y": 1560.7672810554504,
- "z": "b5912bac.e498b8",
+ "x": 1529.510139465332,
+ "y": 1575.7672810554504,
+ "z": "252a4e44.929a62",
"wires": [
[]
]
},
{
- "id": "52465faf.7e9e9",
+ "id": "d28bc469.f5aa28",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1369.510051727295,
- "y": 1571.7672538757324,
- "z": "b5912bac.e498b8",
+ "x": 1371.510051727295,
+ "y": 1586.7672538757324,
+ "z": "252a4e44.929a62",
"wires": [
[
- "7626dcea.9b0314"
+ "ffbd161f.e01d28"
]
]
},
{
- "id": "6a5a8363.937f4c",
+ "id": "d2c2fe00.15af4",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1330.5102081298828,
- "y": 1514.7673320770264,
- "z": "b5912bac.e498b8",
+ "x": 1332.5102081298828,
+ "y": 1529.7673320770264,
+ "z": "252a4e44.929a62",
"wires": [
[
- "c37acb1b.5bf368"
+ "30f2e462.46c8dc"
]
]
},
{
- "id": "c37acb1b.5bf368",
+ "id": "30f2e462.46c8dc",
"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": 1506.5099716186523,
- "y": 1499.7673053741455,
- "z": "b5912bac.e498b8",
+ "x": 1508.5099716186523,
+ "y": 1514.7673053741455,
+ "z": "252a4e44.929a62",
"wires": []
},
{
- "id": "8ad484a4.2e48f8",
+ "id": "d3287262.5d0d6",
"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": 886.5103969573975,
- "y": 1413.7777709960938,
- "z": "b5912bac.e498b8",
+ "x": 888.5103969573975,
+ "y": 1428.7777709960938,
+ "z": "252a4e44.929a62",
"wires": [
[
- "91fb4292.af9ba",
- "4fbff7ac.8fb1f8"
+ "f0a75827.0ad898",
+ "1be65a71.b6dd36"
]
]
},
{
- "id": "91fb4292.af9ba",
+ "id": "f0a75827.0ad898",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1159.510498046875,
- "y": 1386.43381690979,
- "z": "b5912bac.e498b8",
+ "x": 1161.510498046875,
+ "y": 1401.43381690979,
+ "z": "252a4e44.929a62",
"wires": [
[
- "a8a950c8.2502f"
+ "2355719e.d606ce"
]
]
},
{
- "id": "4fbff7ac.8fb1f8",
+ "id": "1be65a71.b6dd36",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1154.5103302001953,
- "y": 1442.433970451355,
- "z": "b5912bac.e498b8",
+ "x": 1156.5103302001953,
+ "y": 1457.433970451355,
+ "z": "252a4e44.929a62",
"wires": [
[
- "ffc0c87a.ab73b8"
+ "a0d79e97.8cfb2"
]
]
},
{
- "id": "ffc0c87a.ab73b8",
+ "id": "a0d79e97.8cfb2",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1306.5101470947266,
- "y": 1451.4338755607605,
- "z": "b5912bac.e498b8",
+ "x": 1308.5101470947266,
+ "y": 1466.4338755607605,
+ "z": "252a4e44.929a62",
"wires": [
[
- "d27f355.abdb1c8"
+ "4d7e37ed.51df38"
]
]
},
{
- "id": "d27f355.abdb1c8",
+ "id": "4d7e37ed.51df38",
"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": 1467.5100631713867,
- "y": 1445.4341459274292,
- "z": "b5912bac.e498b8",
+ "x": 1469.5100631713867,
+ "y": 1460.4341459274292,
+ "z": "252a4e44.929a62",
"wires": [
[]
]
},
{
- "id": "a8a950c8.2502f",
+ "id": "2355719e.d606ce",
"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": 1360.5102882385254,
- "y": 1392.433825492859,
- "z": "b5912bac.e498b8",
+ "x": 1362.5102882385254,
+ "y": 1407.433825492859,
+ "z": "252a4e44.929a62",
"wires": []
},
{
- "id": "aa95ae6a.9db0c",
+ "id": "dbd04c8.1f2e4b",
"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": 842.5103969573975,
- "y": 1612.6666870117188,
- "z": "b5912bac.e498b8",
+ "x": 844.5103969573975,
+ "y": 1627.6666870117188,
+ "z": "252a4e44.929a62",
"wires": [
[
- "9a649311.6c99",
- "6cc8d6fb.f0ac98"
+ "4d125e.4a93cda4",
+ "bb46ef6d.b2b72"
]
]
},
{
- "id": "9a649311.6c99",
+ "id": "4d125e.4a93cda4",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1199.510498046875,
- "y": 1624.3226718902588,
- "z": "b5912bac.e498b8",
+ "x": 1201.510498046875,
+ "y": 1639.3226718902588,
+ "z": "252a4e44.929a62",
"wires": [
[
- "cdae9665.c04dc8"
+ "939a85c1.7d4528"
]
]
},
{
- "id": "6cc8d6fb.f0ac98",
+ "id": "bb46ef6d.b2b72",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1194.5103302001953,
- "y": 1680.3228254318237,
- "z": "b5912bac.e498b8",
+ "x": 1196.5103302001953,
+ "y": 1695.3228254318237,
+ "z": "252a4e44.929a62",
"wires": [
[
- "c3f07c0c.f0779"
+ "90a83ca2.24d34"
]
]
},
{
- "id": "c3f07c0c.f0779",
+ "id": "90a83ca2.24d34",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1346.5101470947266,
- "y": 1689.3227305412292,
- "z": "b5912bac.e498b8",
+ "x": 1348.5101470947266,
+ "y": 1704.3227305412292,
+ "z": "252a4e44.929a62",
"wires": [
[
- "adbc9ce8.ce34e"
+ "9c430d3f.4728b"
]
]
},
{
- "id": "cdae9665.c04dc8",
+ "id": "939a85c1.7d4528",
"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": 1400.5102882385254,
- "y": 1630.3226804733276,
- "z": "b5912bac.e498b8",
+ "x": 1402.5102882385254,
+ "y": 1645.3226804733276,
+ "z": "252a4e44.929a62",
"wires": []
},
{
- "id": "adbc9ce8.ce34e",
+ "id": "9c430d3f.4728b",
"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 Post-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": 1507.5100555419922,
- "y": 1682.3229751586914,
- "z": "b5912bac.e498b8",
+ "x": 1509.5100555419922,
+ "y": 1697.3229751586914,
+ "z": "252a4e44.929a62",
"wires": [
[]
]
},
{
- "id": "9e1d4a81.fff878",
+ "id": "dc02f9a7.daea28",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 427,
- "y": 324,
- "z": "b5912bac.e498b8",
+ "x": 429,
+ "y": 339,
+ "z": "252a4e44.929a62",
"wires": [
[
- "3b46224d.2d6b5e"
+ "7a6e2451.cb09ac"
]
]
},
{
- "id": "1cfec41e.135f0c",
+ "id": "f2bdeb66.05c1e8",
"type": "switchNode",
"name": "switch mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 325,
- "y": 413,
- "z": "b5912bac.e498b8",
+ "x": 327,
+ "y": 428,
+ "z": "252a4e44.929a62",
"wires": [
[
- "9e1d4a81.fff878",
- "f4668911.4ee4b8"
+ "dc02f9a7.daea28",
+ "d85c99ed.eedbf8"
]
]
},
{
- "id": "f4668911.4ee4b8",
+ "id": "d85c99ed.eedbf8",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 358,
- "y": 491,
- "z": "b5912bac.e498b8",
+ "x": 360,
+ "y": 506,
+ "z": "252a4e44.929a62",
"wires": [
[
- "49402706.7c5b88"
+ "7ffaf0be.ee25f"
]
]
},
{
- "id": "5d5cd71e.9e8ad8",
+ "id": "53f1a4f2.cd94cc",
"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": 882.9999599456787,
- "y": 1239.0000610351562,
- "z": "b5912bac.e498b8",
+ "x": 884.9999599456787,
+ "y": 1254.0000610351562,
+ "z": "252a4e44.929a62",
"wires": [
[]
]
},
{
- "id": "3cf0d2d4.0a5d0e",
+ "id": "a684245a.ac34d8",
"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-modifyconfiganr-resp-payload-template.vtl' />\n <parameter name='output' value='resp-payload' />\n <parameter name='prefix' value='sdnr' />",
"comments": "",
"outputs": 1,
- "x": 872.0104598999023,
- "y": 2125.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 874.0104598999023,
+ "y": 2140.4550261497498,
+ "z": "252a4e44.929a62",
"wires": [
[
- "fb7f30bc.4c65b",
- "bdb5c927.8af808"
+ "15052fc1.cca6c",
+ "6ccf93e6.8f7a4c"
]
]
},
{
- "id": "fb7f30bc.4c65b",
+ "id": "15052fc1.cca6c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1146.0104598999023,
- "y": 2094.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 1148.0104598999023,
+ "y": 2109.4550261497498,
+ "z": "252a4e44.929a62",
"wires": [
[
- "c11aee10.e6e67"
+ "3551690e.6b2536"
]
]
},
{
- "id": "c11aee10.e6e67",
+ "id": "3551690e.6b2536",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1337.0104598999023,
- "y": 2097.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 1339.0104598999023,
+ "y": 2112.4550261497498,
+ "z": "252a4e44.929a62",
"wires": [
[
- "9a917d5e.1c727"
+ "d6d5afed.2d1c5"
]
]
},
{
- "id": "9a917d5e.1c727",
+ "id": "d6d5afed.2d1c5",
"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=\"__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": 1505.0104598999023,
- "y": 2098.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 1507.0104598999023,
+ "y": 2113.4550261497498,
+ "z": "252a4e44.929a62",
"wires": [
[]
]
},
{
- "id": "df99ee06.4ace2",
+ "id": "55bd856d.1ca76c",
"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": 844.5104598999023,
- "y": 2241.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 846.5104598999023,
+ "y": 2256.4550261497498,
+ "z": "252a4e44.929a62",
"wires": [
[
- "c93e93f1.a82ee",
- "185060e1.24becf"
+ "3480a140.d8695e",
+ "630b1a6e.1c5ca4"
]
]
},
{
- "id": "2dc1f234.42072e",
+ "id": "fed718fb.801098",
"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": 834.0104598999023,
- "y": 2323.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 836.0104598999023,
+ "y": 2338.4550261497498,
+ "z": "252a4e44.929a62",
"wires": [
[
- "6e15985e.9487b8",
- "ee17f7c6.a13008"
+ "41afadd6.491be4",
+ "2950c15f.a9573e"
]
]
},
{
- "id": "d94faf20.0bc6f",
- "type": "execute",
- "name": "Escape JSON String",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='escapeJsonString' >\n <parameter name=\"source\" value='`$tmp.oofpcipoc-dmaap-config-resp.payload`'/>\n <parameter name=\"target\" value='tmp.oofpcipoc-dmaap-config-resp.payload'/>\n",
- "comments": "",
- "outputs": 1,
- "x": 821.5104598999023,
- "y": 2439.4550261497498,
- "z": "b5912bac.e498b8",
- "wires": [
- [
- "90e3f8bd.7c3bc8",
- "a4d7a3a6.62a39"
- ]
- ]
- },
- {
- "id": "90e3f8bd.7c3bc8",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1023.5104598999023,
- "y": 2429.4550261497498,
- "z": "b5912bac.e498b8",
- "wires": [
- [
- "dc13ddfc.0613e"
- ]
- ]
- },
- {
- "id": "6e15985e.9487b8",
+ "id": "41afadd6.491be4",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1016.5104598999023,
- "y": 2331.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 1018.5104598999023,
+ "y": 2346.4550261497498,
+ "z": "252a4e44.929a62",
"wires": [
[
- "a4df22c7.c42fd"
+ "7784e992.808138"
]
]
},
{
- "id": "dc13ddfc.0613e",
+ "id": "7784e992.808138",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1187.5104598999023,
- "y": 2431.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 1203.5104598999023,
+ "y": 2344.4550261497498,
+ "z": "252a4e44.929a62",
"wires": [
[
- "a1498459.692f68"
+ "e30277aa.6f4f48"
]
]
},
{
- "id": "a1498459.692f68",
- "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=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Redndred template as an Escaped string\"/>\n<parameter name='field3' value='`$tmp.oofpcipoc-dmaap-config-resp.payload`' />\n",
- "comments": "",
- "outputs": 1,
- "x": 1347.5104598999023,
- "y": 2430.4550261497498,
- "z": "b5912bac.e498b8",
- "wires": [
- []
- ]
- },
- {
- "id": "a4df22c7.c42fd",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1201.5104598999023,
- "y": 2329.4550261497498,
- "z": "b5912bac.e498b8",
- "wires": [
- [
- "64c913b9.99501c"
- ]
- ]
- },
- {
- "id": "64c913b9.99501c",
+ "id": "e30277aa.6f4f48",
"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=\"__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": 1403.5104598999023,
- "y": 2324.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 1405.5104598999023,
+ "y": 2339.4550261497498,
+ "z": "252a4e44.929a62",
"wires": [
[]
]
},
{
- "id": "c93e93f1.a82ee",
+ "id": "3480a140.d8695e",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1038.0104598999023,
- "y": 2209.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 1040.0104598999023,
+ "y": 2224.4550261497498,
+ "z": "252a4e44.929a62",
"wires": [
[
- "d0d96a57.50b6a8"
+ "67a37d60.dbdd04"
]
]
},
{
- "id": "d0d96a57.50b6a8",
+ "id": "67a37d60.dbdd04",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1213.0104598999023,
- "y": 2223.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 1215.0104598999023,
+ "y": 2238.4550261497498,
+ "z": "252a4e44.929a62",
"wires": [
[
- "f893a35e.08e4f"
+ "f9928555.694f68"
]
]
},
{
- "id": "f893a35e.08e4f",
+ "id": "f9928555.694f68",
"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=\"__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": 1401.0104598999023,
- "y": 2225.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 1403.0104598999023,
+ "y": 2240.4550261497498,
+ "z": "252a4e44.929a62",
"wires": [
[]
]
},
{
- "id": "bdb5c927.8af808",
+ "id": "6ccf93e6.8f7a4c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1145.0104598999023,
- "y": 2151.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 1147.0104598999023,
+ "y": 2166.4550261497498,
+ "z": "252a4e44.929a62",
"wires": [
[
- "3f455a05.46ca56"
+ "c443b33.268a25"
]
]
},
{
- "id": "3f455a05.46ca56",
+ "id": "c443b33.268a25",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1314.0103378295898,
- "y": 2157.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 1316.0103378295898,
+ "y": 2172.4550261497498,
+ "z": "252a4e44.929a62",
"wires": [
[
- "4b319563.0e680c"
+ "59f0b873.9c5108"
]
]
},
{
- "id": "4b319563.0e680c",
+ "id": "59f0b873.9c5108",
"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": 1470.0100936889648,
- "y": 2156.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 1472.0100936889648,
+ "y": 2171.4550261497498,
+ "z": "252a4e44.929a62",
"wires": []
},
{
- "id": "185060e1.24becf",
+ "id": "630b1a6e.1c5ca4",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1059.0104598999023,
- "y": 2280.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 1061.0104598999023,
+ "y": 2295.4550261497498,
+ "z": "252a4e44.929a62",
"wires": [
[
- "f035b64a.afd518"
+ "f2d69190.67874"
]
]
},
{
- "id": "f035b64a.afd518",
+ "id": "f2d69190.67874",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1227.0103378295898,
- "y": 2275.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 1229.0103378295898,
+ "y": 2290.4550261497498,
+ "z": "252a4e44.929a62",
"wires": [
[
- "3f311f39.6d976"
+ "74ef47ca.f01a78"
]
]
},
{
- "id": "3f311f39.6d976",
+ "id": "74ef47ca.f01a78",
"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": 1385.0100326538086,
- "y": 2278.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 1387.0100326538086,
+ "y": 2293.4550261497498,
+ "z": "252a4e44.929a62",
"wires": []
},
{
- "id": "ee17f7c6.a13008",
+ "id": "2950c15f.a9573e",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1019.0104598999023,
- "y": 2379.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 1021.0104598999023,
+ "y": 2394.4550261497498,
+ "z": "252a4e44.929a62",
"wires": [
[
- "435f1a9.a102ee4"
+ "3e3b30c7.caf5d"
]
]
},
{
- "id": "435f1a9.a102ee4",
+ "id": "3e3b30c7.caf5d",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1195.0103378295898,
- "y": 2380.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 1197.0103378295898,
+ "y": 2395.4550261497498,
+ "z": "252a4e44.929a62",
"wires": [
[
- "d581508c.2e804"
+ "3e56d853.3bee08"
]
]
},
{
- "id": "d581508c.2e804",
+ "id": "3e56d853.3bee08",
"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": 1342.0100326538086,
- "y": 2383.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 1344.0100326538086,
+ "y": 2398.4550261497498,
+ "z": "252a4e44.929a62",
"wires": []
},
{
- "id": "a4d7a3a6.62a39",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1017.0104598999023,
- "y": 2491.4550261497498,
- "z": "b5912bac.e498b8",
- "wires": [
- [
- "7a39172d.482ce8"
- ]
- ]
- },
- {
- "id": "7a39172d.482ce8",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1179.0103378295898,
- "y": 2487.4550261497498,
- "z": "b5912bac.e498b8",
- "wires": [
- [
- "7705a742.9b25b8"
- ]
- ]
- },
- {
- "id": "7705a742.9b25b8",
- "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 inserting escape chars in SDNR response payload string. Aborting PCI configuration\" />",
- "comments": "",
- "x": 1340.0100326538086,
- "y": 2495.4550261497498,
- "z": "b5912bac.e498b8",
- "wires": []
- },
- {
- "id": "598648b2.5aa358",
+ "id": "2ae7e255.e92e0e",
"type": "block",
"name": "DMAAP Payload Generation",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 576.0104751586914,
- "y": 2243.4551243782043,
- "z": "b5912bac.e498b8",
+ "x": 578.0104751586914,
+ "y": 2258.4551243782043,
+ "z": "252a4e44.929a62",
"wires": [
[
- "3cf0d2d4.0a5d0e",
- "df99ee06.4ace2",
- "2dc1f234.42072e",
- "d94faf20.0bc6f"
+ "a684245a.ac34d8",
+ "55bd856d.1ca76c",
+ "fed718fb.801098"
]
]
},
{
- "id": "3e67b041.fa193",
+ "id": "f6ddb1c4.e2257",
"type": "block",
"name": "DMAAP Reponse Publish",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 438.0104446411133,
- "y": 2591.343816280365,
- "z": "b5912bac.e498b8",
+ "x": 440.0104446411133,
+ "y": 2606.343816280365,
+ "z": "252a4e44.929a62",
"wires": [
[
- "31416be7.b41224",
- "5ccbfc1e.20e2f4"
+ "3f35cc94.a49f84",
+ "8019acb8.c7086"
]
]
},
{
- "id": "5ccbfc1e.20e2f4",
+ "id": "8019acb8.c7086",
"type": "execute",
"name": "execute DmaapMsg",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.dmaap-publish-config-response.template`\" />\n <parameter name='restapiUrl' value=\"`$prop.dmaap-message-router.url + '/' + $prop.oofpcipoc-dmaap-configuration-response.topic`\" />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='POST' />\n <parameter name='contentType' value='application/json' />\n <parameter name='responsePrefix' value='dmaap' />",
"comments": "",
"outputs": 1,
- "x": 853.0105209350586,
- "y": 2653.4550433158875,
- "z": "b5912bac.e498b8",
+ "x": 855.0105209350586,
+ "y": 2668.4550433158875,
+ "z": "252a4e44.929a62",
"wires": [
[
- "35df2cf3.78dc74",
- "ecbae94b.e41fd8"
+ "33c7111a.a2963e",
+ "14e94231.224a4e"
]
]
},
{
- "id": "31416be7.b41224",
+ "id": "3f35cc94.a49f84",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='tmp.oofpcipoc-dmaap-config-resp.rpc-name' value='`$prop.oofpcipoc-dmaap-config-resp.rpc-name.modifyconfiganr`'/>",
"comments": "",
- "x": 839.6772193908691,
- "y": 2549.4550337791443,
- "z": "b5912bac.e498b8",
+ "x": 841.6772193908691,
+ "y": 2564.4550337791443,
+ "z": "252a4e44.929a62",
"wires": []
},
{
- "id": "35df2cf3.78dc74",
+ "id": "33c7111a.a2963e",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1027.510498046875,
- "y": 2587.3717608451843,
- "z": "b5912bac.e498b8",
+ "x": 1029.510498046875,
+ "y": 2602.3717608451843,
+ "z": "252a4e44.929a62",
"wires": [
[
- "6faec48c.adf59c"
+ "94a3b167.874"
]
]
},
{
- "id": "ecbae94b.e41fd8",
+ "id": "14e94231.224a4e",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1050.510353088379,
- "y": 2716.3718676567078,
- "z": "b5912bac.e498b8",
+ "x": 1052.510353088379,
+ "y": 2731.3718676567078,
+ "z": "252a4e44.929a62",
"wires": [
[
- "7c97eaeb.048ce4"
+ "b252cdf3.20703"
]
]
},
{
- "id": "6faec48c.adf59c",
+ "id": "94a3b167.874",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1208.510269165039,
- "y": 2590.3718905448914,
- "z": "b5912bac.e498b8",
+ "x": 1210.510269165039,
+ "y": 2605.3718905448914,
+ "z": "252a4e44.929a62",
"wires": [
[
- "96ee7bd4.ade948"
+ "df9838bf.c57f98"
]
]
},
{
- "id": "96ee7bd4.ade948",
+ "id": "df9838bf.c57f98",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error publishing DMAAP Config Response message. ConfigDB Updated; TO be rolled back...will handle next release\" />",
"comments": "",
- "x": 1382.5099868774414,
- "y": 2597.3718156814575,
- "z": "b5912bac.e498b8",
+ "x": 1384.5099868774414,
+ "y": 2612.3718156814575,
+ "z": "252a4e44.929a62",
"wires": []
},
{
- "id": "7c97eaeb.048ce4",
+ "id": "b252cdf3.20703",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1210.5099983215332,
- "y": 2708.3718400001526,
- "z": "b5912bac.e498b8",
+ "x": 1212.5099983215332,
+ "y": 2723.3718400001526,
+ "z": "252a4e44.929a62",
"wires": [
[
- "9752c29a.925d5"
+ "d4a05173.00859"
]
]
},
{
- "id": "9752c29a.925d5",
+ "id": "d4a05173.00859",
"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=\"DMAAP Config Response Message Successfully Published \"/>",
"comments": "",
"outputs": 1,
- "x": 1387.5101165771484,
- "y": 2713.3719487190247,
- "z": "b5912bac.e498b8",
+ "x": 1389.5101165771484,
+ "y": 2728.3719487190247,
+ "z": "252a4e44.929a62",
"wires": [
[]
]
},
{
- "id": "6658e995.a8afc8",
+ "id": "a3e4a58a.882fd8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 891.0104370117188,
- "y": 843.34375,
- "z": "b5912bac.e498b8",
+ "x": 893.0104370117188,
+ "y": 858.34375,
+ "z": "252a4e44.929a62",
"wires": [
[
- "be155b7f.4b4658",
- "e5e6ffd6.3ceea",
- "33c67261.6b5ade",
- "aa8fe0bd.58667"
+ "82201feb.47811",
+ "a6151b0f.fd4e38",
+ "a9fa611b.f4f53",
+ "f8b28cfb.9ca18"
]
]
},
{
- "id": "be155b7f.4b4658",
+ "id": "82201feb.47811",
"type": "execute",
"name": "generate configdb nbr ho patch url",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.patch-ho-for-nbr`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.patch-ho-for-nbr.url\"/>\n <parameter name=\"target\" value=\"{cellId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.alias`\"/>",
"comments": "",
"outputs": 1,
- "x": 1173.0103607177734,
- "y": 696.3437967300415,
- "z": "b5912bac.e498b8",
+ "x": 1175.0103607177734,
+ "y": 711.3437967300415,
+ "z": "252a4e44.929a62",
"wires": [
[]
]
},
{
- "id": "e5e6ffd6.3ceea",
+ "id": "a6151b0f.fd4e38",
"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/generic-neighbor-config.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-ho-for-nbr.url`\" />\n<parameter name='field3' value=\"`$tmp.alias`\" />\n<parameter name='field4' value=\"`$tmp.cid`\" />",
"comments": "",
"outputs": 1,
- "x": 1182.0104522705078,
- "y": 809.3437929153442,
- "z": "b5912bac.e498b8",
+ "x": 1184.0104522705078,
+ "y": 824.3437929153442,
+ "z": "252a4e44.929a62",
"wires": [
[]
]
},
{
- "id": "33c67261.6b5ade",
+ "id": "a9fa611b.f4f53",
"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-ho-for-nbr.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.patch-ho-for-nbr.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' />\n",
"comments": "",
"outputs": 1,
- "x": 1149.0104370117188,
- "y": 914.34375,
- "z": "b5912bac.e498b8",
+ "x": 1151.0104370117188,
+ "y": 929.34375,
+ "z": "252a4e44.929a62",
"wires": [
[
- "cbd12702.8e4338",
- "12af70f8.c2945f"
+ "f52685f5.9ec9e8",
+ "1e33abb.7dfcc54"
]
]
},
{
- "id": "cbd12702.8e4338",
+ "id": "f52685f5.9ec9e8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1364.0104370117188,
- "y": 857.34375,
- "z": "b5912bac.e498b8",
+ "x": 1366.0104370117188,
+ "y": 872.34375,
+ "z": "252a4e44.929a62",
"wires": [
[
- "eebd8d4d.fd481"
+ "7a88211d.21404"
]
]
},
{
- "id": "12af70f8.c2945f",
+ "id": "1e33abb.7dfcc54",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1364.0103149414062,
- "y": 953.3436279296875,
- "z": "b5912bac.e498b8",
+ "x": 1366.0103149414062,
+ "y": 968.3436279296875,
+ "z": "252a4e44.929a62",
"wires": [
[
- "342f48d0.8ab638"
+ "cdb5356d.ee7188"
]
]
},
{
- "id": "eebd8d4d.fd481",
+ "id": "7a88211d.21404",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1533.0103149414062,
- "y": 868.34375,
- "z": "b5912bac.e498b8",
+ "x": 1535.0103149414062,
+ "y": 883.34375,
+ "z": "252a4e44.929a62",
"wires": [
[
- "d55d851b.fc1958"
+ "3afbe91c.525196"
]
]
},
{
- "id": "342f48d0.8ab638",
+ "id": "cdb5356d.ee7188",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1526.0100708007812,
- "y": 954.34375,
- "z": "b5912bac.e498b8",
+ "x": 1528.0100708007812,
+ "y": 969.34375,
+ "z": "252a4e44.929a62",
"wires": [
[
- "6dcdc966.a406c8"
+ "a11318ad.1a6bc8"
]
]
},
{
- "id": "d55d851b.fc1958",
+ "id": "3afbe91c.525196",
"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 Nbr HO configuration\" />",
"comments": "",
- "x": 1687.010009765625,
- "y": 861.34375,
- "z": "b5912bac.e498b8",
+ "x": 1689.010009765625,
+ "y": 876.34375,
+ "z": "252a4e44.929a62",
"wires": []
},
{
- "id": "6dcdc966.a406c8",
+ "id": "a11318ad.1a6bc8",
"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=\"HO Value for nbr updated in ConfigDB\"/>",
"comments": "",
"outputs": 1,
- "x": 1681.010269165039,
- "y": 951.3437585830688,
- "z": "b5912bac.e498b8",
+ "x": 1683.010269165039,
+ "y": 966.3437585830688,
+ "z": "252a4e44.929a62",
"wires": [
[]
]
},
{
- "id": "5dfa3076.0f2dc",
+ "id": "9b2edc01.f191f",
"type": "switchNode",
"name": "switch configdb deployed",
"xml": "<switch test='`$prop.configdb-deployed`'>\n",
"comments": "",
"outputs": 1,
- "x": 774.0104522705078,
- "y": 637.343770980835,
- "z": "b5912bac.e498b8",
+ "x": 776.0104522705078,
+ "y": 652.343770980835,
+ "z": "252a4e44.929a62",
"wires": [
[
- "f86727f0.323a28",
- "b1853d4e.2ef79"
+ "1e56b849.b86cf8",
+ "ae371307.929fb"
]
]
},
{
- "id": "f86727f0.323a28",
+ "id": "1e56b849.b86cf8",
"type": "outcome",
"name": "Deployed",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 816.0104370117188,
- "y": 767.34375,
- "z": "b5912bac.e498b8",
+ "x": 818.0104370117188,
+ "y": 782.34375,
+ "z": "252a4e44.929a62",
"wires": [
[
- "6658e995.a8afc8"
+ "a3e4a58a.882fd8"
]
]
},
{
- "id": "aa8fe0bd.58667",
+ "id": "f8b28cfb.9ca18",
"type": "execute",
"name": "Update target cellid for configdb nbr ho patch url",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.configdb.patch-ho-for-nbr.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.patch-ho-for-nbr.url\"/>\n <parameter name=\"target\" value=\"{targetCellId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>",
"comments": "",
"outputs": 1,
- "x": 1241.0103912353516,
- "y": 748.4549632072449,
- "z": "b5912bac.e498b8",
+ "x": 1243.0103912353516,
+ "y": 763.4549632072449,
+ "z": "252a4e44.929a62",
"wires": [
[]
]
},
{
- "id": "fcdde69d.5ef6b8",
+ "id": "d525e267.ae255",
"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=\"ConfigDB Update Skipped\"/>",
"comments": "",
"outputs": 1,
- "x": 1213.0103645324707,
- "y": 623.5659379959106,
- "z": "b5912bac.e498b8",
+ "x": 1215.0103645324707,
+ "y": 638.5659379959106,
+ "z": "252a4e44.929a62",
"wires": [
[]
]
},
{
- "id": "b1853d4e.2ef79",
+ "id": "ae371307.929fb",
"type": "outcome",
"name": "Not Deployed",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1039.0103302001953,
- "y": 619.6770076751709,
- "z": "b5912bac.e498b8",
+ "x": 1041.0103302001953,
+ "y": 634.6770076751709,
+ "z": "252a4e44.929a62",
"wires": [
[
- "fcdde69d.5ef6b8"
+ "d525e267.ae255"
]
]
},
{
- "id": "b59fe403.100df8",
+ "id": "11c3d0d6.90744f",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 880.0104370117188,
- "y": 1921.5660400390625,
- "z": "b5912bac.e498b8",
+ "x": 882.0104370117188,
+ "y": 1936.5660400390625,
+ "z": "252a4e44.929a62",
"wires": [
[
- "5fee4a24.714e24",
- "e80f49c7.bc5e98",
- "9f3eddb8.4c8b6",
- "ede238d3.02b908"
+ "8655da73.bc36d8",
+ "382e3360.38b5ec",
+ "d9ac0eb4.66ffe",
+ "5df7b8fb.71a428"
]
]
},
{
- "id": "5fee4a24.714e24",
+ "id": "8655da73.bc36d8",
"type": "execute",
"name": "generate configdb nbr ho patch url",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.patch-ho-for-nbr`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.patch-ho-for-nbr.url\"/>\n <parameter name=\"target\" value=\"{cellId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.alias`\"/>",
"comments": "",
"outputs": 1,
- "x": 1207.0103759765625,
- "y": 1782.5660467147827,
- "z": "b5912bac.e498b8",
+ "x": 1209.0103759765625,
+ "y": 1797.5660467147827,
+ "z": "252a4e44.929a62",
"wires": [
[]
]
},
{
- "id": "e80f49c7.bc5e98",
+ "id": "382e3360.38b5ec",
"type": "execute",
"name": "Configure Nbr HO 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-ho-for-nbr.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.patch-ho-for-nbr.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' />\n",
"comments": "",
"outputs": 1,
- "x": 1138.0104370117188,
- "y": 1992.5660400390625,
- "z": "b5912bac.e498b8",
+ "x": 1140.0104370117188,
+ "y": 2007.5660400390625,
+ "z": "252a4e44.929a62",
"wires": [
[
- "fde36f04.ecf63",
- "5da0cd73.d5ac34"
+ "5e7d03c0.aeeeac",
+ "40e48c4e.2e3b44"
]
]
},
{
- "id": "fde36f04.ecf63",
+ "id": "5e7d03c0.aeeeac",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1353.0104370117188,
- "y": 1935.5660400390625,
- "z": "b5912bac.e498b8",
+ "x": 1355.0104370117188,
+ "y": 1950.5660400390625,
+ "z": "252a4e44.929a62",
"wires": [
[
- "b0184360.4173a"
+ "9814df0d.82aad"
]
]
},
{
- "id": "5da0cd73.d5ac34",
+ "id": "40e48c4e.2e3b44",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1353.0103149414062,
- "y": 2031.56591796875,
- "z": "b5912bac.e498b8",
+ "x": 1355.0103149414062,
+ "y": 2046.56591796875,
+ "z": "252a4e44.929a62",
"wires": [
[
- "6d733c40.16c4e4"
+ "72b3f355.14e49c"
]
]
},
{
- "id": "b0184360.4173a",
+ "id": "9814df0d.82aad",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1522.0103149414062,
- "y": 1946.5660400390625,
- "z": "b5912bac.e498b8",
+ "x": 1524.0103149414062,
+ "y": 1961.5660400390625,
+ "z": "252a4e44.929a62",
"wires": [
[
- "c56ebe3b.bbda7"
+ "4c3f314d.e4918"
]
]
},
{
- "id": "6d733c40.16c4e4",
+ "id": "72b3f355.14e49c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1515.0100708007812,
- "y": 2032.5660400390625,
- "z": "b5912bac.e498b8",
+ "x": 1517.0100708007812,
+ "y": 2047.5660400390625,
+ "z": "252a4e44.929a62",
"wires": [
[
- "c9d72369.59a1b"
+ "1e520c42.9f5004"
]
]
},
{
- "id": "c56ebe3b.bbda7",
+ "id": "4c3f314d.e4918",
"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 Nbr HO configuration\" />",
"comments": "",
- "x": 1676.010009765625,
- "y": 1939.5660400390625,
- "z": "b5912bac.e498b8",
+ "x": 1678.010009765625,
+ "y": 1954.5660400390625,
+ "z": "252a4e44.929a62",
"wires": []
},
{
- "id": "c9d72369.59a1b",
+ "id": "1e520c42.9f5004",
"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=\"HO Value for nbr updated in ConfigDB\"/>",
"comments": "",
"outputs": 1,
- "x": 1670.010269165039,
- "y": 2029.5660486221313,
- "z": "b5912bac.e498b8",
+ "x": 1672.010269165039,
+ "y": 2044.5660486221313,
+ "z": "252a4e44.929a62",
"wires": [
[]
]
},
{
- "id": "dd44dc35.baa9a",
+ "id": "91a1e388.084d9",
"type": "switchNode",
"name": "switch configdb deployed",
"xml": "<switch test='`$prop.configdb-deployed`'>\n",
"comments": "",
"outputs": 1,
- "x": 696.0107116699219,
- "y": 1734.566120147705,
- "z": "b5912bac.e498b8",
+ "x": 698.0107116699219,
+ "y": 1749.566120147705,
+ "z": "252a4e44.929a62",
"wires": [
[
- "b541eb45.1e5278",
- "eefdf306.9fa25"
+ "92f1f43a.71c648",
+ "3956df3.7497e2"
]
]
},
{
- "id": "b541eb45.1e5278",
+ "id": "92f1f43a.71c648",
"type": "outcome",
"name": "Deployed",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 900.0104904174805,
- "y": 1819.5660769939423,
- "z": "b5912bac.e498b8",
+ "x": 902.0104904174805,
+ "y": 1834.5660769939423,
+ "z": "252a4e44.929a62",
"wires": [
[
- "b59fe403.100df8"
+ "11c3d0d6.90744f"
]
]
},
{
- "id": "9f3eddb8.4c8b6",
+ "id": "d9ac0eb4.66ffe",
"type": "execute",
"name": "Update target cellid for configdb nbr ho patch url",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.configdb.patch-ho-for-nbr.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.patch-ho-for-nbr.url\"/>\n <parameter name=\"target\" value=\"{targetCellId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>",
"comments": "",
"outputs": 1,
- "x": 1258.0103759765625,
- "y": 1835.6773228645325,
- "z": "b5912bac.e498b8",
+ "x": 1260.0103759765625,
+ "y": 1850.6773228645325,
+ "z": "252a4e44.929a62",
"wires": [
[]
]
},
{
- "id": "a5a8d47.a6e5b28",
+ "id": "230508b3.4de498",
"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=\"ConfigDB Update Skipped\"/>",
"comments": "",
"outputs": 1,
- "x": 1191.0104579925537,
- "y": 1732.788185119629,
- "z": "b5912bac.e498b8",
+ "x": 1193.0104579925537,
+ "y": 1747.788185119629,
+ "z": "252a4e44.929a62",
"wires": [
[]
]
},
{
- "id": "eefdf306.9fa25",
+ "id": "3956df3.7497e2",
"type": "outcome",
"name": "Not Deployed",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1012.010383605957,
- "y": 1719.8994035720825,
- "z": "b5912bac.e498b8",
+ "x": 1014.010383605957,
+ "y": 1734.8994035720825,
+ "z": "252a4e44.929a62",
"wires": [
[
- "a5a8d47.a6e5b28"
+ "230508b3.4de498"
]
]
},
{
- "id": "ede238d3.02b908",
+ "id": "5df7b8fb.71a428",
"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/generic-neighbor-config.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-ho-for-nbr.url`\" />\n<parameter name='field3' value=\"`$tmp.alias`\" />\n<parameter name='field4' value=\"`$tmp.cid`\" />",
"comments": "",
"outputs": 1,
- "x": 1203.565933227539,
- "y": 1892.3437194824219,
- "z": "b5912bac.e498b8",
+ "x": 1205.565933227539,
+ "y": 1907.3437194824219,
+ "z": "252a4e44.929a62",
"wires": [
[]
]
+ },
+ {
+ "id": "bd6a5dc6.53e57",
+ "type": "set",
+ "name": "set properties for DMAAP header",
+ "xml": "<set>\n<parameter name=\"prop.oofpcipoc-dmaap-config-resp.timestamp\" value=\"`$generic-neighbor-configuration-input.timeStamp`\"/>\n<parameter name=\"prop.oofpcipoc-dmaap-config-resp.requestID\" value=\"`$generic-neighbor-configuration-input.requestID`\"/>\n<parameter name=\"prop.oofpcipoc-dmaap-config-resp.subrequestID\" value=\"`$generic-neighbor-configuration-input.subRequestID`\"/>",
+ "comments": "",
+ "x": 399,
+ "y": 300,
+ "z": "252a4e44.929a62",
+ "wires": []
}
-]
+]
\ No newline at end of file