[
{
- "id": "62c88a41.7901c4",
+ "id": "f9d145d6.92a5b8",
"type": "comment",
"name": "Generic Neighbor Configuration",
"info": "",
"comments": "",
- "x": 363,
- "y": 27,
- "z": "b5912bac.e498b8",
+ "x": 514.1666870117188,
+ "y": 107.5,
+ "z": "f08fd02e.7ccb9",
"wires": []
},
{
- "id": "baa967e2.faeed8",
+ "id": "e5892671.0fb188",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 604.0000457763672,
- "y": 247.01050186157227,
- "z": "b5912bac.e498b8",
+ "x": 781.166748046875,
+ "y": 327.510498046875,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "e7f7731c.df44c",
- "e8c58776.722298",
- "26d77802.a1d148",
- "a1ea2bf1.677578",
- "1dc9243f.b48cec",
- "42fc4612.e644c8",
- "dd9a5d15.06aae",
- "772f6c66.8f6644",
- "9257d114.fbb5f",
- "bf3b2072.183ee",
- "5dfa3076.0f2dc"
+ "362b54f1.9c826c",
+ "31ea5358.e2aa1c",
+ "cda7b527.94fc98",
+ "d9c7215a.12f99",
+ "1214560d.d77c8a",
+ "e3725e51.5f277",
+ "e970a898.e19308",
+ "f8224a12.905338",
+ "76209135.67e12",
+ "b896ce8b.d5f36",
+ "23bac247.06602e"
]
]
},
{
- "id": "3b46224d.2d6b5e",
+ "id": "abcb036f.7b12b",
"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": 702.1668701171875,
+ "y": 485.5,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "baa967e2.faeed8"
+ "e5892671.0fb188"
]
]
},
{
- "id": "e7f7731c.df44c",
+ "id": "362b54f1.9c826c",
"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": 1086.1678466796875,
+ "y": 130.38909912109375,
+ "z": "f08fd02e.7ccb9",
"wires": []
},
{
- "id": "e8c58776.722298",
+ "id": "31ea5358.e2aa1c",
"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": 950.6771945953369,
+ "y": 173.5104274749756,
+ "z": "f08fd02e.7ccb9",
"wires": [
[]
]
},
{
- "id": "472be384.ef3bac",
+ "id": "f8c4c3fe.12cab",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 126.48959350585938,
- "y": 283.9896240234375,
- "z": "b5912bac.e498b8",
+ "x": 277.6562805175781,
+ "y": 364.4896240234375,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "58f1d84.b947928",
- "f7111027.f6312",
- "be76099f.4dfad8",
- "ce40b7fa.694068",
- "d8ef20b.61a53e",
- "1cfec41e.135f0c",
- "598648b2.5aa358",
- "3e67b041.fa193"
+ "9523bf6c.c97a4",
+ "2b29299.af9e6d6",
+ "fd5e5cd5.a1177",
+ "40a6097f.54cbe8",
+ "648bd9b3.831a08",
+ "2afc75ed.92f08a",
+ "d03449d9.83f4e8",
+ "3b7efdb8.e94912",
+ "4c500818.631818",
+ "ddbb5c91.05c3b"
]
]
},
{
- "id": "98417a7.9342688",
+ "id": "dbc82225.f1e43",
"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": 265.16668701171875,
+ "y": 266.4895782470703,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "472be384.ef3bac"
+ "f8c4c3fe.12cab"
]
]
},
{
- "id": "58f1d84.b947928",
+ "id": "9523bf6c.c97a4",
"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": 268.1670265197754,
+ "y": 2925.489965438843,
+ "z": "f08fd02e.7ccb9",
"wires": []
},
{
- "id": "f7111027.f6312",
+ "id": "2b29299.af9e6d6",
"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": 564.1669921875,
+ "y": 164.51042938232422,
+ "z": "f08fd02e.7ccb9",
"wires": [
[]
]
},
{
- "id": "be76099f.4dfad8",
+ "id": "fd5e5cd5.a1177",
"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": 575.2523803710938,
+ "y": 211.4531707763672,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "93be64d3.f030f8"
+ "1bd1f3a1.09079c"
]
]
},
{
- "id": "ce40b7fa.694068",
+ "id": "40a6097f.54cbe8",
"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": 585.1668701171875,
+ "y": 260.5104064941406,
+ "z": "f08fd02e.7ccb9",
"wires": [
[]
]
},
{
- "id": "d8ef20b.61a53e",
+ "id": "648bd9b3.831a08",
"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": 551.1669921875,
+ "y": 301.510498046875,
+ "z": "f08fd02e.7ccb9",
"wires": [
[]
]
},
{
- "id": "f6fcf198.4f53a",
+ "id": "af482317.1c7b8",
"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": 319.1666717529297,
+ "y": 176.48968505859375,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "98417a7.9342688"
+ "dbc82225.f1e43"
]
]
},
{
- "id": "93be64d3.f030f8",
+ "id": "1bd1f3a1.09079c",
"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": 740.167236328125,
+ "y": 195.48963165283203,
+ "z": "f08fd02e.7ccb9",
"wires": [
[]
]
},
{
- "id": "9a50d806.bf9d88",
+ "id": "e68006a4.4c98a8",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 103,
- "y": 33.989585876464844,
- "z": "b5912bac.e498b8",
+ "x": 254.16668701171875,
+ "y": 114.48958587646484,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "f6fcf198.4f53a"
+ "af482317.1c7b8"
]
]
},
{
- "id": "bf3b2072.183ee",
+ "id": "b896ce8b.d5f36",
"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": 1021.6775512695312,
+ "y": 218.06614685058594,
+ "z": "f08fd02e.7ccb9",
"wires": [
[]
]
},
{
- "id": "26d77802.a1d148",
+ "id": "cda7b527.94fc98",
"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": 948.6771850585938,
+ "y": 271.2882080078125,
+ "z": "f08fd02e.7ccb9",
"wires": [
[]
]
},
{
- "id": "a1ea2bf1.677578",
+ "id": "d9c7215a.12f99",
"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": 1150.6773128509521,
+ "y": 283.28822231292725,
+ "z": "f08fd02e.7ccb9",
"wires": [
[]
]
},
{
- "id": "1dc9243f.b48cec",
+ "id": "1214560d.d77c8a",
"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": 1018.6771659851074,
+ "y": 327.288197517395,
+ "z": "f08fd02e.7ccb9",
"wires": [
[]
]
},
{
- "id": "42fc4612.e644c8",
+ "id": "e3725e51.5f277",
"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": 1041.677194595337,
+ "y": 372.2882204055786,
+ "z": "f08fd02e.7ccb9",
"wires": [
[]
]
},
{
- "id": "772f6c66.8f6644",
+ "id": "f8224a12.905338",
"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": 1073.6771850585938,
+ "y": 512.288330078125,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "18e5fc47.677d84",
- "9996e5f3.0463a8"
+ "ff8b53c9.b708e",
+ "45608c86.4dccd4"
]
]
},
{
- "id": "18e5fc47.677d84",
+ "id": "ff8b53c9.b708e",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1183.5103855133057,
- "y": 395.77778339385986,
- "z": "b5912bac.e498b8",
+ "x": 1334.6770725250244,
+ "y": 476.27778339385986,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "7e1599c6.f4b258"
+ "7fd59e2f.d3912"
]
]
},
{
- "id": "9996e5f3.0463a8",
+ "id": "45608c86.4dccd4",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1185.5103302001953,
- "y": 459.77761459350586,
- "z": "b5912bac.e498b8",
+ "x": 1336.677017211914,
+ "y": 540.2776145935059,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "8be63bfe.ba0d78"
+ "4ddc1c5a.eb6ef4"
]
]
},
{
- "id": "24c17f16.af7c2",
+ "id": "25a0053f.716e1a",
"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": 1667.6768112182617,
+ "y": 536.277702331543,
+ "z": "f08fd02e.7ccb9",
"wires": [
[]
]
},
{
- "id": "8be63bfe.ba0d78",
+ "id": "4ddc1c5a.eb6ef4",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1352.5101737976074,
- "y": 458.77769660949707,
- "z": "b5912bac.e498b8",
+ "x": 1503.6768608093262,
+ "y": 539.2776966094971,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "24c17f16.af7c2"
+ "25a0053f.716e1a"
]
]
},
{
- "id": "7e1599c6.f4b258",
+ "id": "7fd59e2f.d3912",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1342.510248184204,
- "y": 404.7777690887451,
- "z": "b5912bac.e498b8",
+ "x": 1493.6769351959229,
+ "y": 485.2777690887451,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "ce7d1839.31b058"
+ "dac0e5d1.b83c88"
]
]
},
{
- "id": "ce7d1839.31b058",
+ "id": "dac0e5d1.b83c88",
"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": 1669.6766986846924,
+ "y": 470.27774238586426,
+ "z": "f08fd02e.7ccb9",
"wires": []
},
{
- "id": "dd9a5d15.06aae",
+ "id": "e970a898.e19308",
"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": 1071.6771240234375,
+ "y": 424.2882080078125,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "9fe95e60.166c3",
- "9512e3ea.241a4"
+ "38ac1416.ffd55c",
+ "c22c8c28.1e84"
]
]
},
{
- "id": "9fe95e60.166c3",
+ "id": "38ac1416.ffd55c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1188.510498046875,
- "y": 280.4442491531372,
- "z": "b5912bac.e498b8",
+ "x": 1339.6771850585938,
+ "y": 360.9442491531372,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "5a501fde.87adb"
+ "237f5a55.46bef6"
]
]
},
{
- "id": "9512e3ea.241a4",
+ "id": "c22c8c28.1e84",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1175.5103912353516,
- "y": 344.44439697265625,
- "z": "b5912bac.e498b8",
+ "x": 1326.6770782470703,
+ "y": 424.94439697265625,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "f3752e03.cce3d"
+ "c67afc7a.2db77"
]
]
},
{
- "id": "f3752e03.cce3d",
+ "id": "c67afc7a.2db77",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1318.5101871490479,
- "y": 341.44431257247925,
- "z": "b5912bac.e498b8",
+ "x": 1469.6768741607666,
+ "y": 421.94431257247925,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "56993fd5.34454"
+ "cf30bd96.fe6ee"
]
]
},
{
- "id": "56993fd5.34454",
+ "id": "cf30bd96.fe6ee",
"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": 1630.6767902374268,
+ "y": 415.94458293914795,
+ "z": "f08fd02e.7ccb9",
"wires": [
[]
]
},
{
- "id": "5a501fde.87adb",
+ "id": "237f5a55.46bef6",
"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": 1538.6770782470703,
+ "y": 350.9442768096924,
+ "z": "f08fd02e.7ccb9",
"wires": []
},
{
- "id": "9257d114.fbb5f",
+ "id": "76209135.67e12",
"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": 1029.6771240234375,
+ "y": 588.1770629882812,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "f3eccc73.b462e",
- "3ed6cc6a.c6c044"
+ "c83d8b4.abeee78",
+ "f8f64304.b1796"
]
]
},
{
- "id": "f3eccc73.b462e",
+ "id": "c83d8b4.abeee78",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1213.5104370117188,
- "y": 507.3331050872803,
- "z": "b5912bac.e498b8",
+ "x": 1364.6771240234375,
+ "y": 587.8331050872803,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "1ebdbe5d.7f30b2"
+ "591ae340.35f6ac"
]
]
},
{
- "id": "3ed6cc6a.c6c044",
+ "id": "f8f64304.b1796",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1206.5103302001953,
- "y": 559.3333015441895,
- "z": "b5912bac.e498b8",
+ "x": 1357.677017211914,
+ "y": 639.8333015441895,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "7a33e4a5.c1140c"
+ "3e2b4b95.7f28f4"
]
]
},
{
- "id": "7a33e4a5.c1140c",
+ "id": "3e2b4b95.7f28f4",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1375.5100898742676,
- "y": 566.3332405090332,
- "z": "b5912bac.e498b8",
+ "x": 1526.6767768859863,
+ "y": 646.8332405090332,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "8874cc8.fdd9c3"
+ "5daacc6.d095134"
]
]
},
{
- "id": "1ebdbe5d.7f30b2",
+ "id": "591ae340.35f6ac",
"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": 1537.6770782470703,
+ "y": 584.8331327438354,
+ "z": "f08fd02e.7ccb9",
"wires": []
},
{
- "id": "8874cc8.fdd9c3",
+ "id": "5daacc6.d095134",
"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": 1673.6768112182617,
+ "y": 644.833456993103,
+ "z": "f08fd02e.7ccb9",
"wires": [
[]
]
},
{
- "id": "caedd83d.51f7c8",
+ "id": "a995adeb.02033",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 576.9999465942383,
- "y": 1317.0000581741333,
- "z": "b5912bac.e498b8",
+ "x": 728.166633605957,
+ "y": 1397.5000581741333,
+ "z": "f08fd02e.7ccb9",
"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"
+ "c9bd7786.5b9288",
+ "227feacf.6ecdd6",
+ "f6a84a53.bc8ea8",
+ "d8d67178.d1b2e",
+ "854bf556.e666e8",
+ "87eb1217.f698e",
+ "ac3eb9e3.99e788",
+ "b351d9ee.eb7378",
+ "4d5af34d.e2dcdc",
+ "7a9b9ae.0fd9964",
+ "fa4d0b27.7db0e8",
+ "d5c688bf.397978",
+ "4cf451c1.25706",
+ "63915021.50c66"
]
]
},
{
- "id": "49402706.7c5b88",
+ "id": "7d3011a3.815cf",
"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": 693.1668891906738,
+ "y": 684.4895186424255,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "caedd83d.51f7c8"
+ "a995adeb.02033"
]
]
},
{
- "id": "1c84f0b8.618d3f",
+ "id": "c9bd7786.5b9288",
"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": 1053.1678314208984,
+ "y": 1041.378734588623,
+ "z": "f08fd02e.7ccb9",
"wires": []
},
{
- "id": "661254e5.c354ac",
+ "id": "227feacf.6ecdd6",
"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`\"/>",
+ "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`\"/>\n<parameter name=\"field8\" value=\"`tmp.idGNBCUCPFunction`\"/>\n<parameter name=\"field9\" value=\"`tmp.idNRCellCU`\"/>\n<parameter name=\"field10\" value=\"`tmp.idNRCellRelation`\"/>\n<parameter name=\"field11\" value=\"`$tmp.isHOAllowed`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 780.5105037689209,
- "y": 1077.0000381469727,
- "z": "b5912bac.e498b8",
+ "x": 971.6771926879883,
+ "y": 1215.500238418579,
+ "z": "f08fd02e.7ccb9",
"wires": [
[]
]
},
{
- "id": "917698f.742c268",
+ "id": "4d5af34d.e2dcdc",
"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`\"/>",
+ "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=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.plmnid`\"/>",
"comments": "",
"outputs": 1,
- "x": 873.5108242034912,
- "y": 1138.5557250976562,
- "z": "b5912bac.e498b8",
+ "x": 1040.6775970458984,
+ "y": 1255.0559854507446,
+ "z": "f08fd02e.7ccb9",
"wires": [
[]
]
},
{
- "id": "30fcd4e2.e8af6c",
- "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",
- "wires": [
- []
- ]
- },
- {
- "id": "f65cc795.09a8f8",
+ "id": "f6a84a53.bc8ea8",
"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`\"/>",
+ "name": "populate idNRCellCU",
+ "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=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idNRCellCU`\"/>",
"comments": "",
"outputs": 1,
- "x": 878.5105800628662,
- "y": 1283.7777709960938,
- "z": "b5912bac.e498b8",
+ "x": 1015.6773147583008,
+ "y": 1370.2781162261963,
+ "z": "f08fd02e.7ccb9",
"wires": [
[]
]
},
{
- "id": "6002fae9.c462d4",
+ "id": "d8d67178.d1b2e",
"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": 1006.677131652832,
+ "y": 1466.2780380249023,
+ "z": "f08fd02e.7ccb9",
"wires": [
[]
]
},
{
- "id": "26a41e87.9a2a42",
+ "id": "854bf556.e666e8",
"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`\"/>",
+ "name": "populate idNRCellRelation",
+ "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=\"{idNRCellRelation}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idNRCellRelation`\"/>",
"comments": "",
"outputs": 1,
- "x": 862.5104579925537,
- "y": 1368.7777709960938,
- "z": "b5912bac.e498b8",
+ "x": 1003.677131652832,
+ "y": 1421.2780361175537,
+ "z": "f08fd02e.7ccb9",
"wires": [
[]
]
},
{
- "id": "9cd115c6.7d3528",
+ "id": "ac3eb9e3.99e788",
"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": 1027.6771450042725,
+ "y": 1579.2778930664062,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "550d2fe8.b2398",
- "c01d1028.d9257"
+ "1feb8c6e.1dbd04",
+ "97af0249.5d2d5"
]
]
},
{
- "id": "550d2fe8.b2398",
+ "id": "1feb8c6e.1dbd04",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1171.5103454589844,
- "y": 1505.767346382141,
- "z": "b5912bac.e498b8",
+ "x": 1322.6770324707031,
+ "y": 1586.267346382141,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "6a5a8363.937f4c"
+ "ae4edbe4.9e9318"
]
]
},
{
- "id": "c01d1028.d9257",
+ "id": "97af0249.5d2d5",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1189.5103874206543,
- "y": 1573.7671728134155,
- "z": "b5912bac.e498b8",
+ "x": 1340.677074432373,
+ "y": 1654.2671728134155,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "52465faf.7e9e9"
+ "984c5d97.f711"
]
]
},
{
- "id": "7626dcea.9b0314",
+ "id": "c424d898.fc0098",
"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": 1678.6768264770508,
+ "y": 1641.2672810554504,
+ "z": "f08fd02e.7ccb9",
"wires": [
[]
]
},
{
- "id": "52465faf.7e9e9",
+ "id": "984c5d97.f711",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1369.510051727295,
- "y": 1571.7672538757324,
- "z": "b5912bac.e498b8",
+ "x": 1520.6767387390137,
+ "y": 1652.2672538757324,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "7626dcea.9b0314"
+ "c424d898.fc0098"
]
]
},
{
- "id": "6a5a8363.937f4c",
+ "id": "ae4edbe4.9e9318",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1330.5102081298828,
- "y": 1514.7673320770264,
- "z": "b5912bac.e498b8",
+ "x": 1481.6768951416016,
+ "y": 1595.2673320770264,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "c37acb1b.5bf368"
+ "221ace29.0e8c12"
]
]
},
{
- "id": "c37acb1b.5bf368",
+ "id": "221ace29.0e8c12",
"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": 1657.676658630371,
+ "y": 1580.2673053741455,
+ "z": "f08fd02e.7ccb9",
"wires": []
},
{
- "id": "8ad484a4.2e48f8",
+ "id": "87eb1217.f698e",
"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": 1055.6771087646484,
+ "y": 1526.2779159545898,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "91fb4292.af9ba",
- "4fbff7ac.8fb1f8"
+ "7d8c07b1.7d8698",
+ "f9098206.e4cb9"
]
]
},
{
- "id": "91fb4292.af9ba",
+ "id": "7d8c07b1.7d8698",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1159.510498046875,
- "y": 1386.43381690979,
- "z": "b5912bac.e498b8",
+ "x": 1310.6771850585938,
+ "y": 1466.93381690979,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "a8a950c8.2502f"
+ "5565fb72.682ce4"
]
]
},
{
- "id": "4fbff7ac.8fb1f8",
+ "id": "f9098206.e4cb9",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1154.5103302001953,
- "y": 1442.433970451355,
- "z": "b5912bac.e498b8",
+ "x": 1305.677017211914,
+ "y": 1522.933970451355,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "ffc0c87a.ab73b8"
+ "fcc026f0.8f0248"
]
]
},
{
- "id": "ffc0c87a.ab73b8",
+ "id": "fcc026f0.8f0248",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1306.5101470947266,
- "y": 1451.4338755607605,
- "z": "b5912bac.e498b8",
+ "x": 1457.6768341064453,
+ "y": 1531.9338755607605,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "d27f355.abdb1c8"
+ "117b622a.540c9e"
]
]
},
{
- "id": "d27f355.abdb1c8",
+ "id": "117b622a.540c9e",
"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": 1618.6767501831055,
+ "y": 1525.9341459274292,
+ "z": "f08fd02e.7ccb9",
"wires": [
[]
]
},
{
- "id": "a8a950c8.2502f",
+ "id": "5565fb72.682ce4",
"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": 1511.6769752502441,
+ "y": 1472.933825492859,
+ "z": "f08fd02e.7ccb9",
"wires": []
},
{
- "id": "aa95ae6a.9db0c",
+ "id": "b351d9ee.eb7378",
"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": 993.6770839691162,
+ "y": 1693.1666870117188,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "9a649311.6c99",
- "6cc8d6fb.f0ac98"
+ "7927eb3e.ae4d34",
+ "25d28fe0.23ddc"
]
]
},
{
- "id": "9a649311.6c99",
+ "id": "7927eb3e.ae4d34",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1199.510498046875,
- "y": 1624.3226718902588,
- "z": "b5912bac.e498b8",
+ "x": 1350.6771850585938,
+ "y": 1704.8226718902588,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "cdae9665.c04dc8"
+ "d756d827.3e7ac8"
]
]
},
{
- "id": "6cc8d6fb.f0ac98",
+ "id": "25d28fe0.23ddc",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1194.5103302001953,
- "y": 1680.3228254318237,
- "z": "b5912bac.e498b8",
+ "x": 1345.677017211914,
+ "y": 1760.8228254318237,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "c3f07c0c.f0779"
+ "e10edd7c.1620f"
]
]
},
{
- "id": "c3f07c0c.f0779",
+ "id": "e10edd7c.1620f",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1346.5101470947266,
- "y": 1689.3227305412292,
- "z": "b5912bac.e498b8",
+ "x": 1497.6768341064453,
+ "y": 1769.8227305412292,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "adbc9ce8.ce34e"
+ "afe46b33.c90678"
]
]
},
{
- "id": "cdae9665.c04dc8",
+ "id": "d756d827.3e7ac8",
"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": 1551.6769752502441,
+ "y": 1710.8226804733276,
+ "z": "f08fd02e.7ccb9",
"wires": []
},
{
- "id": "adbc9ce8.ce34e",
+ "id": "afe46b33.c90678",
"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": 1658.676742553711,
+ "y": 1762.8229751586914,
+ "z": "f08fd02e.7ccb9",
"wires": [
[]
]
},
{
- "id": "9e1d4a81.fff878",
+ "id": "73468618.74cc58",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 427,
- "y": 324,
- "z": "b5912bac.e498b8",
+ "x": 619.1666870117188,
+ "y": 425.5,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "3b46224d.2d6b5e"
+ "abcb036f.7b12b"
]
]
},
{
- "id": "1cfec41e.135f0c",
+ "id": "2afc75ed.92f08a",
"type": "switchNode",
"name": "switch mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 325,
- "y": 413,
- "z": "b5912bac.e498b8",
+ "x": 517.1666870117188,
+ "y": 529.5,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "9e1d4a81.fff878",
- "f4668911.4ee4b8"
+ "73468618.74cc58",
+ "fbde6544.cd9668"
]
]
},
{
- "id": "f4668911.4ee4b8",
+ "id": "fbde6544.cd9668",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 358,
- "y": 491,
- "z": "b5912bac.e498b8",
+ "x": 555.1666870117188,
+ "y": 634.5,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "49402706.7c5b88"
+ "7d3011a3.815cf"
]
]
},
{
- "id": "5d5cd71e.9e8ad8",
+ "id": "7a9b9ae.0fd9964",
"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`\"/>",
+ "name": "populate idGNBCUCPFunction",
+ "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=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUCPFunction`\"/>",
"comments": "",
"outputs": 1,
- "x": 882.9999599456787,
- "y": 1239.0000610351562,
- "z": "b5912bac.e498b8",
+ "x": 1038.1667785644531,
+ "y": 1335.5003242492676,
+ "z": "f08fd02e.7ccb9",
"wires": [
[]
]
},
{
- "id": "3cf0d2d4.0a5d0e",
+ "id": "92985ade.4d57b8",
"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": 1023.1771469116211,
+ "y": 2205.9550261497498,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "fb7f30bc.4c65b",
- "bdb5c927.8af808"
+ "9ba8281d.975b78",
+ "9f8e09d0.130388"
]
]
},
{
- "id": "fb7f30bc.4c65b",
+ "id": "9ba8281d.975b78",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1146.0104598999023,
- "y": 2094.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 1297.177146911621,
+ "y": 2174.9550261497498,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "c11aee10.e6e67"
+ "9f9c952d.ba2a08"
]
]
},
{
- "id": "c11aee10.e6e67",
+ "id": "9f9c952d.ba2a08",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1337.0104598999023,
- "y": 2097.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 1488.177146911621,
+ "y": 2177.9550261497498,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "9a917d5e.1c727"
+ "2b320c5e.e23494"
]
]
},
{
- "id": "9a917d5e.1c727",
+ "id": "2b320c5e.e23494",
"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": 1656.177146911621,
+ "y": 2178.9550261497498,
+ "z": "f08fd02e.7ccb9",
"wires": [
[]
]
},
{
- "id": "df99ee06.4ace2",
+ "id": "3959d91c.b4da86",
"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": 995.6771469116211,
+ "y": 2321.9550261497498,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "c93e93f1.a82ee",
- "185060e1.24becf"
+ "fa77627a.c09df",
+ "cfe08130.517bd"
]
]
},
{
- "id": "2dc1f234.42072e",
+ "id": "c4ff91ad.639c1",
"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": 985.1771469116211,
+ "y": 2403.9550261497498,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "6e15985e.9487b8",
- "ee17f7c6.a13008"
+ "a27b86c0.18e648",
+ "cb3f37c7.61f468"
]
]
},
{
- "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",
+ "id": "a27b86c0.18e648",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1023.5104598999023,
- "y": 2429.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 1167.677146911621,
+ "y": 2411.9550261497498,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "dc13ddfc.0613e"
+ "ae81b790.5ca618"
]
]
},
{
- "id": "6e15985e.9487b8",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1016.5104598999023,
- "y": 2331.4550261497498,
- "z": "b5912bac.e498b8",
- "wires": [
- [
- "a4df22c7.c42fd"
- ]
- ]
- },
- {
- "id": "dc13ddfc.0613e",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1187.5104598999023,
- "y": 2431.4550261497498,
- "z": "b5912bac.e498b8",
- "wires": [
- [
- "a1498459.692f68"
- ]
- ]
- },
- {
- "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",
+ "id": "ae81b790.5ca618",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1201.5104598999023,
- "y": 2329.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 1352.677146911621,
+ "y": 2409.9550261497498,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "64c913b9.99501c"
+ "69ab3ccb.386c24"
]
]
},
{
- "id": "64c913b9.99501c",
+ "id": "69ab3ccb.386c24",
"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": 1554.677146911621,
+ "y": 2404.9550261497498,
+ "z": "f08fd02e.7ccb9",
"wires": [
[]
]
},
{
- "id": "c93e93f1.a82ee",
+ "id": "fa77627a.c09df",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1038.0104598999023,
- "y": 2209.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 1189.177146911621,
+ "y": 2289.9550261497498,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "d0d96a57.50b6a8"
+ "9b8fe211.0c5b"
]
]
},
{
- "id": "d0d96a57.50b6a8",
+ "id": "9b8fe211.0c5b",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1213.0104598999023,
- "y": 2223.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 1364.177146911621,
+ "y": 2303.9550261497498,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "f893a35e.08e4f"
+ "e3d89f04.5c86c"
]
]
},
{
- "id": "f893a35e.08e4f",
+ "id": "e3d89f04.5c86c",
"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": 1558.1771850585938,
+ "y": 2308.955078125,
+ "z": "f08fd02e.7ccb9",
"wires": [
[]
]
},
{
- "id": "bdb5c927.8af808",
+ "id": "9f8e09d0.130388",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1145.0104598999023,
- "y": 2151.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 1296.177146911621,
+ "y": 2231.9550261497498,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "3f455a05.46ca56"
+ "d5d8bf53.46566"
]
]
},
{
- "id": "3f455a05.46ca56",
+ "id": "d5d8bf53.46566",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1314.0103378295898,
- "y": 2157.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 1465.1770248413086,
+ "y": 2237.9550261497498,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "4b319563.0e680c"
+ "8228bb91.7a2768"
]
]
},
{
- "id": "4b319563.0e680c",
+ "id": "8228bb91.7a2768",
"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\" />",
+ "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 Generic neighbor configuration\" />",
"comments": "",
- "x": 1470.0100936889648,
- "y": 2156.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 1621.1767807006836,
+ "y": 2236.9550261497498,
+ "z": "f08fd02e.7ccb9",
"wires": []
},
{
- "id": "185060e1.24becf",
+ "id": "cfe08130.517bd",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1059.0104598999023,
- "y": 2280.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 1210.177146911621,
+ "y": 2360.9550261497498,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "f035b64a.afd518"
+ "9ca597a3.3e7208"
]
]
},
{
- "id": "f035b64a.afd518",
+ "id": "9ca597a3.3e7208",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1227.0103378295898,
- "y": 2275.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 1378.1770248413086,
+ "y": 2355.9550261497498,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "3f311f39.6d976"
+ "b40c2dce.de198"
]
]
},
{
- "id": "3f311f39.6d976",
+ "id": "b40c2dce.de198",
"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\" />",
+ "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 Generic neighbor configuration\" />",
"comments": "",
- "x": 1385.0100326538086,
- "y": 2278.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 1536.1767196655273,
+ "y": 2358.9550261497498,
+ "z": "f08fd02e.7ccb9",
"wires": []
},
{
- "id": "ee17f7c6.a13008",
+ "id": "cb3f37c7.61f468",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1019.0104598999023,
- "y": 2379.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 1170.177146911621,
+ "y": 2459.9550261497498,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "435f1a9.a102ee4"
+ "bc6e0ea.dfc3af"
]
]
},
{
- "id": "435f1a9.a102ee4",
+ "id": "bc6e0ea.dfc3af",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1195.0103378295898,
- "y": 2380.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 1346.1770248413086,
+ "y": 2460.9550261497498,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "d581508c.2e804"
+ "3758a3f0.0ad0cc"
]
]
},
{
- "id": "d581508c.2e804",
+ "id": "3758a3f0.0ad0cc",
"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\" />",
+ "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 Generic neighbor configuration\" />",
"comments": "",
- "x": 1342.0100326538086,
- "y": 2383.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 1493.1767196655273,
+ "y": 2463.9550261497498,
+ "z": "f08fd02e.7ccb9",
"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": "d03449d9.83f4e8",
"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": 727.1771621704102,
+ "y": 2323.9551243782043,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "3cf0d2d4.0a5d0e",
- "df99ee06.4ace2",
- "2dc1f234.42072e",
- "d94faf20.0bc6f"
+ "92985ade.4d57b8",
+ "3959d91c.b4da86",
+ "c4ff91ad.639c1"
]
]
},
{
- "id": "3e67b041.fa193",
+ "id": "3b7efdb8.e94912",
"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": 589.177131652832,
+ "y": 2671.843816280365,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "31416be7.b41224",
- "5ccbfc1e.20e2f4"
+ "eac8422a.c0f02",
+ "c4e31c5f.8ed8",
+ "3e22d25.0e8092e",
+ "2486f3f6.9b53dc"
]
]
},
{
- "id": "5ccbfc1e.20e2f4",
+ "id": "c4e31c5f.8ed8",
"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": 862.1772079467773,
+ "y": 3067.955108642578,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "35df2cf3.78dc74",
- "ecbae94b.e41fd8"
+ "2ffad604.7343da",
+ "3cd0c1f4.879dce"
]
]
},
{
- "id": "31416be7.b41224",
+ "id": "eac8422a.c0f02",
"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": 829.8439331054688,
+ "y": 2482.955078125,
+ "z": "f08fd02e.7ccb9",
"wires": []
},
{
- "id": "35df2cf3.78dc74",
+ "id": "2ffad604.7343da",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1027.510498046875,
- "y": 2587.3717608451843,
- "z": "b5912bac.e498b8",
+ "x": 1036.6771850585938,
+ "y": 3001.871826171875,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "6faec48c.adf59c"
+ "7a30b4d2.bb24bc"
]
]
},
{
- "id": "ecbae94b.e41fd8",
+ "id": "3cd0c1f4.879dce",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1050.510353088379,
- "y": 2716.3718676567078,
- "z": "b5912bac.e498b8",
+ "x": 1059.6770401000977,
+ "y": 3130.8719329833984,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "7c97eaeb.048ce4"
+ "d03bf129.9a969"
]
]
},
{
- "id": "6faec48c.adf59c",
+ "id": "7a30b4d2.bb24bc",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1208.510269165039,
- "y": 2590.3718905448914,
- "z": "b5912bac.e498b8",
+ "x": 1217.6769561767578,
+ "y": 3004.871955871582,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "96ee7bd4.ade948"
+ "3ebe0ef1.7df362"
]
]
},
{
- "id": "96ee7bd4.ade948",
+ "id": "3ebe0ef1.7df362",
"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": 1391.6766738891602,
+ "y": 3011.871881008148,
+ "z": "f08fd02e.7ccb9",
"wires": []
},
{
- "id": "7c97eaeb.048ce4",
+ "id": "d03bf129.9a969",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1210.5099983215332,
- "y": 2708.3718400001526,
- "z": "b5912bac.e498b8",
+ "x": 1219.676685333252,
+ "y": 3122.8719053268433,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "9752c29a.925d5"
+ "b6716cb2.3356c"
]
]
},
{
- "id": "9752c29a.925d5",
+ "id": "b6716cb2.3356c",
"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": 1396.6768035888672,
+ "y": 3127.8720140457153,
+ "z": "f08fd02e.7ccb9",
"wires": [
[]
]
},
{
- "id": "6658e995.a8afc8",
+ "id": "428bea4a.3ffdc4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 891.0104370117188,
- "y": 843.34375,
- "z": "b5912bac.e498b8",
+ "x": 1042.1771240234375,
+ "y": 923.84375,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "be155b7f.4b4658",
- "e5e6ffd6.3ceea",
- "33c67261.6b5ade",
- "aa8fe0bd.58667"
+ "cfd8c476.7498f8",
+ "357aa571.1e20fa",
+ "bb862905.ad3888",
+ "2a456a83.290216"
]
]
},
{
- "id": "be155b7f.4b4658",
+ "id": "cfd8c476.7498f8",
"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": 1324.1770477294922,
+ "y": 776.8437967300415,
+ "z": "f08fd02e.7ccb9",
"wires": [
[]
]
},
{
- "id": "e5e6ffd6.3ceea",
+ "id": "357aa571.1e20fa",
"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": 1333.1771392822266,
+ "y": 889.8437929153442,
+ "z": "f08fd02e.7ccb9",
"wires": [
[]
]
},
{
- "id": "33c67261.6b5ade",
+ "id": "bb862905.ad3888",
"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": 1300.1771240234375,
+ "y": 994.84375,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "cbd12702.8e4338",
- "12af70f8.c2945f"
+ "3f47519b.22c24e",
+ "2a9bf75d.8aff58"
]
]
},
{
- "id": "cbd12702.8e4338",
+ "id": "3f47519b.22c24e",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1364.0104370117188,
- "y": 857.34375,
- "z": "b5912bac.e498b8",
+ "x": 1515.1771240234375,
+ "y": 937.84375,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "eebd8d4d.fd481"
+ "899e1338.fbe02"
]
]
},
{
- "id": "12af70f8.c2945f",
+ "id": "2a9bf75d.8aff58",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1364.0103149414062,
- "y": 953.3436279296875,
- "z": "b5912bac.e498b8",
+ "x": 1515.177001953125,
+ "y": 1033.8436279296875,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "342f48d0.8ab638"
+ "b853b436.f3b028"
]
]
},
{
- "id": "eebd8d4d.fd481",
+ "id": "899e1338.fbe02",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1533.0103149414062,
- "y": 868.34375,
- "z": "b5912bac.e498b8",
+ "x": 1684.177001953125,
+ "y": 948.84375,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "d55d851b.fc1958"
+ "39d9c610.ef19da"
]
]
},
{
- "id": "342f48d0.8ab638",
+ "id": "b853b436.f3b028",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1526.0100708007812,
- "y": 954.34375,
- "z": "b5912bac.e498b8",
+ "x": 1677.1767578125,
+ "y": 1034.84375,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "6dcdc966.a406c8"
+ "39760972.bf0126"
]
]
},
{
- "id": "d55d851b.fc1958",
+ "id": "39d9c610.ef19da",
"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": 1838.1766967773438,
+ "y": 941.84375,
+ "z": "f08fd02e.7ccb9",
"wires": []
},
{
- "id": "6dcdc966.a406c8",
+ "id": "39760972.bf0126",
"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": 1832.1769561767578,
+ "y": 1031.8437585830688,
+ "z": "f08fd02e.7ccb9",
"wires": [
[]
]
},
{
- "id": "5dfa3076.0f2dc",
+ "id": "23bac247.06602e",
"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": 925.1771392822266,
+ "y": 717.843770980835,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "f86727f0.323a28",
- "b1853d4e.2ef79"
+ "48d63ea4.ed1bb",
+ "dd697d76.7473b"
]
]
},
{
- "id": "f86727f0.323a28",
+ "id": "48d63ea4.ed1bb",
"type": "outcome",
"name": "Deployed",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 816.0104370117188,
- "y": 767.34375,
- "z": "b5912bac.e498b8",
+ "x": 967.1771240234375,
+ "y": 847.84375,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "6658e995.a8afc8"
+ "428bea4a.3ffdc4"
]
]
},
{
- "id": "aa8fe0bd.58667",
+ "id": "2a456a83.290216",
"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": 1392.1770782470703,
+ "y": 828.9549632072449,
+ "z": "f08fd02e.7ccb9",
"wires": [
[]
]
},
{
- "id": "fcdde69d.5ef6b8",
+ "id": "4c04ca5d.e359a4",
"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": 1364.1770515441895,
+ "y": 704.0659379959106,
+ "z": "f08fd02e.7ccb9",
"wires": [
[]
]
},
{
- "id": "b1853d4e.2ef79",
+ "id": "dd697d76.7473b",
"type": "outcome",
"name": "Not Deployed",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1039.0103302001953,
- "y": 619.6770076751709,
- "z": "b5912bac.e498b8",
+ "x": 1190.177017211914,
+ "y": 700.1770076751709,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "fcdde69d.5ef6b8"
+ "4c04ca5d.e359a4"
]
]
},
{
- "id": "b59fe403.100df8",
+ "id": "1943fb11.42c575",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 880.0104370117188,
- "y": 1921.5660400390625,
- "z": "b5912bac.e498b8",
+ "x": 1031.1771240234375,
+ "y": 2002.0660400390625,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "5fee4a24.714e24",
- "e80f49c7.bc5e98",
- "9f3eddb8.4c8b6",
- "ede238d3.02b908"
+ "fa6bac7c.88246",
+ "d4bcee6f.54d46",
+ "20059f73.10528",
+ "d99aa1f8.c0fef"
]
]
},
{
- "id": "5fee4a24.714e24",
+ "id": "fa6bac7c.88246",
"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": 1358.1770629882812,
+ "y": 1863.0660467147827,
+ "z": "f08fd02e.7ccb9",
"wires": [
[]
]
},
{
- "id": "e80f49c7.bc5e98",
+ "id": "d4bcee6f.54d46",
"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": 1289.1771240234375,
+ "y": 2073.0660400390625,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "fde36f04.ecf63",
- "5da0cd73.d5ac34"
+ "9b089b6c.2493a8",
+ "cd6c3905.e36bb8"
]
]
},
{
- "id": "fde36f04.ecf63",
+ "id": "9b089b6c.2493a8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1353.0104370117188,
- "y": 1935.5660400390625,
- "z": "b5912bac.e498b8",
+ "x": 1504.1771240234375,
+ "y": 2016.0660400390625,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "b0184360.4173a"
+ "7e07f051.48ea8"
]
]
},
{
- "id": "5da0cd73.d5ac34",
+ "id": "cd6c3905.e36bb8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1353.0103149414062,
- "y": 2031.56591796875,
- "z": "b5912bac.e498b8",
+ "x": 1504.177001953125,
+ "y": 2112.06591796875,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "6d733c40.16c4e4"
+ "4f0103f9.8624fc"
]
]
},
{
- "id": "b0184360.4173a",
+ "id": "7e07f051.48ea8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1522.0103149414062,
- "y": 1946.5660400390625,
- "z": "b5912bac.e498b8",
+ "x": 1673.177001953125,
+ "y": 2027.0660400390625,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "c56ebe3b.bbda7"
+ "9a07ef56.6800e"
]
]
},
{
- "id": "6d733c40.16c4e4",
+ "id": "4f0103f9.8624fc",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1515.0100708007812,
- "y": 2032.5660400390625,
- "z": "b5912bac.e498b8",
+ "x": 1666.1767578125,
+ "y": 2113.0660400390625,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "c9d72369.59a1b"
+ "f3f12e4d.fb5f5"
]
]
},
{
- "id": "c56ebe3b.bbda7",
+ "id": "9a07ef56.6800e",
"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": 1827.1766967773438,
+ "y": 2020.0660400390625,
+ "z": "f08fd02e.7ccb9",
"wires": []
},
{
- "id": "c9d72369.59a1b",
+ "id": "f3f12e4d.fb5f5",
"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": 1821.1769561767578,
+ "y": 2110.0660486221313,
+ "z": "f08fd02e.7ccb9",
"wires": [
[]
]
},
{
- "id": "dd44dc35.baa9a",
+ "id": "fa4d0b27.7db0e8",
"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": 847.1773986816406,
+ "y": 1815.066120147705,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "b541eb45.1e5278",
- "eefdf306.9fa25"
+ "6350f4d6.7659bc",
+ "9e1d3e0c.063d4"
]
]
},
{
- "id": "b541eb45.1e5278",
+ "id": "6350f4d6.7659bc",
"type": "outcome",
"name": "Deployed",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 900.0104904174805,
- "y": 1819.5660769939423,
- "z": "b5912bac.e498b8",
+ "x": 1051.1771774291992,
+ "y": 1900.0660769939423,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "b59fe403.100df8"
+ "1943fb11.42c575"
]
]
},
{
- "id": "9f3eddb8.4c8b6",
+ "id": "20059f73.10528",
"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": 1409.1770629882812,
+ "y": 1916.1773228645325,
+ "z": "f08fd02e.7ccb9",
"wires": [
[]
]
},
{
- "id": "a5a8d47.a6e5b28",
+ "id": "bbcac1f1.834d2",
"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": 1342.1771450042725,
+ "y": 1813.288185119629,
+ "z": "f08fd02e.7ccb9",
"wires": [
[]
]
},
{
- "id": "eefdf306.9fa25",
+ "id": "9e1d3e0c.063d4",
"type": "outcome",
"name": "Not Deployed",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1012.010383605957,
- "y": 1719.8994035720825,
- "z": "b5912bac.e498b8",
+ "x": 1163.1770706176758,
+ "y": 1800.3994035720825,
+ "z": "f08fd02e.7ccb9",
"wires": [
[
- "a5a8d47.a6e5b28"
+ "bbcac1f1.834d2"
]
]
},
{
- "id": "ede238d3.02b908",
+ "id": "d99aa1f8.c0fef",
"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": 1354.7326202392578,
+ "y": 1972.8437194824219,
+ "z": "f08fd02e.7ccb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4c500818.631818",
+ "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": 548.1666870117188,
+ "y": 365.5,
+ "z": "f08fd02e.7ccb9",
+ "wires": []
+ },
+ {
+ "id": "ddbb5c91.05c3b",
+ "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 Message Header stored in properties file \"/>\n<parameter name=\"field2\" value=\"`$prop.oofpcipoc-dmaap-config-resp.timestamp`\"/>\n<parameter name=\"field3\" value=\"`$prop.oofpcipoc-dmaap-config-resp.requestID`\"/>\n<parameter name=\"field4\" value=\"`$prop.oofpcipoc-dmaap-config-resp.subrequestID`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 486.16668701171875,
+ "y": 407.5,
+ "z": "f08fd02e.7ccb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3e22d25.0e8092e",
+ "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=\"Before DMAAP Event - template file name, restapiURL\"/>\n<parameter name='field3' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.dmaap-publish-config-response.template`\" />\n<parameter name='field4' value=\"`$prop.dmaap-message-router.url + '/' + $prop.oofpcipoc-dmaap-configuration-response.topic`\" />\n<parameter name=\"field5\" value=\"Before DMAAP Event - Timestamp, RequestID, subRequestID\"/>\n<parameter name=\"field6\" value=\"`$prop.oofpcipoc-dmaap-config-resp.timestamp`\"/>\n<parameter name=\"field7\" value=\"`$prop.oofpcipoc-dmaap-config-resp.requestID`\"/>\n<parameter name=\"field8\" value=\"`$prop.oofpcipoc-dmaap-config-resp.subrequestID`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 857.1666870117188,
+ "y": 2967.5,
+ "z": "f08fd02e.7ccb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2486f3f6.9b53dc",
+ "type": "block",
+ "name": "Remove escape chars",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 969.1666870117188,
+ "y": 2674.5,
+ "z": "f08fd02e.7ccb9",
+ "wires": [
+ [
+ "f65f95a2.8051f8",
+ "3a1d48d4.eb4f18",
+ "1282e70f.0c1149"
+ ]
+ ]
+ },
+ {
+ "id": "f65f95a2.8051f8",
+ "type": "execute",
+ "name": "Timestamp",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replaceAll' >\n <parameter name=\"source\" value=\"`$prop.oofpcipoc-dmaap-config-resp.timestamp`\"/>\n <parameter name=\"outputPath\" value=\"prop.oofpcipoc-dmaap-config-resp.timestamp\"/>\n <parameter name=\"target\" value='\"'/>\n <parameter name=\"replacement\" value=''/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1178.1666870117188,
+ "y": 2549.5,
+ "z": "f08fd02e.7ccb9",
+ "wires": [
+ [
+ "261c9a2.6f2b766",
+ "b0ebaa0b.cfeb68"
+ ]
+ ]
+ },
+ {
+ "id": "261c9a2.6f2b766",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1360.6666870117188,
+ "y": 2557.5,
+ "z": "f08fd02e.7ccb9",
+ "wires": [
+ [
+ "c67d4664.c043a8"
+ ]
+ ]
+ },
+ {
+ "id": "c67d4664.c043a8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1545.6666870117188,
+ "y": 2555.5,
+ "z": "f08fd02e.7ccb9",
+ "wires": [
+ [
+ "7356dd6f.210a44"
+ ]
+ ]
+ },
+ {
+ "id": "7356dd6f.210a44",
+ "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=\"Quotation removed from timestamp for DMAAP response header \\r\"/>\n<parameter name=\"field2\" value=\"`$prop.oofpcipoc-dmaap-config-resp.timestamp`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1748.6666870117188,
+ "y": 2551.5,
+ "z": "f08fd02e.7ccb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b0ebaa0b.cfeb68",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1363.1666870117188,
+ "y": 2605.5,
+ "z": "f08fd02e.7ccb9",
+ "wires": [
+ [
+ "52639d24.6ab3c4"
+ ]
+ ]
+ },
+ {
+ "id": "52639d24.6ab3c4",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1539.1665649414062,
+ "y": 2606.5,
+ "z": "f08fd02e.7ccb9",
+ "wires": [
+ [
+ "26c4bc2.c5af244"
+ ]
+ ]
+ },
+ {
+ "id": "26c4bc2.c5af244",
+ "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 quotation from timestamp for DMAAP response header. Aborting Generic neighbor configuration\" />",
+ "comments": "",
+ "x": 1688.1663208007812,
+ "y": 2613.5,
+ "z": "f08fd02e.7ccb9",
+ "wires": []
+ },
+ {
+ "id": "3a1d48d4.eb4f18",
+ "type": "execute",
+ "name": "RequestID",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replaceAll' >\n <parameter name=\"source\" value=\"`$prop.oofpcipoc-dmaap-config-resp.requestID`\"/>\n <parameter name=\"outputPath\" value=\"prop.oofpcipoc-dmaap-config-resp.requestID\"/>\n <parameter name=\"target\" value='\"'/>\n <parameter name=\"replacement\" value=''/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1185.1666870117188,
+ "y": 2690.5,
+ "z": "f08fd02e.7ccb9",
+ "wires": [
+ [
+ "9c4a0548.d9eac8",
+ "2b38ec60.479dc4"
+ ]
+ ]
+ },
+ {
+ "id": "9c4a0548.d9eac8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1367.6666870117188,
+ "y": 2698.5,
+ "z": "f08fd02e.7ccb9",
+ "wires": [
+ [
+ "8e36d651.355aa8"
+ ]
+ ]
+ },
+ {
+ "id": "8e36d651.355aa8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1552.6666870117188,
+ "y": 2696.5,
+ "z": "f08fd02e.7ccb9",
+ "wires": [
+ [
+ "8ab75332.0c5b1"
+ ]
+ ]
+ },
+ {
+ "id": "8ab75332.0c5b1",
+ "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=\"Quotation removed from requestID for DMAAP response header \\r\"/>\n<parameter name=\"field2\" value=\"`$prop.oofpcipoc-dmaap-config-resp.requestID`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1754.6666870117188,
+ "y": 2691.5,
+ "z": "f08fd02e.7ccb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2b38ec60.479dc4",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1370.1666870117188,
+ "y": 2746.5,
+ "z": "f08fd02e.7ccb9",
+ "wires": [
+ [
+ "fa5638b7.b957e8"
+ ]
+ ]
+ },
+ {
+ "id": "fa5638b7.b957e8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1546.1665649414062,
+ "y": 2747.5,
+ "z": "f08fd02e.7ccb9",
+ "wires": [
+ [
+ "6fdbdf7d.faea5"
+ ]
+ ]
+ },
+ {
+ "id": "6fdbdf7d.faea5",
+ "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 quotation from requestID for DMAAP response header. Aborting Generic neighbor configuration\" />",
+ "comments": "",
+ "x": 1695.1663208007812,
+ "y": 2750.5,
+ "z": "f08fd02e.7ccb9",
+ "wires": []
+ },
+ {
+ "id": "1282e70f.0c1149",
+ "type": "execute",
+ "name": "subRequestID",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replaceAll' >\n <parameter name=\"source\" value=\"`$prop.oofpcipoc-dmaap-config-resp.subrequestID`\"/>\n <parameter name=\"outputPath\" value=\"prop.oofpcipoc-dmaap-config-resp.subrequestID\"/>\n <parameter name=\"target\" value='\"'/>\n <parameter name=\"replacement\" value=''/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1120.1666870117188,
+ "y": 2830.5,
+ "z": "f08fd02e.7ccb9",
+ "wires": [
+ [
+ "882005eb.69e658",
+ "5f27b86f.772108"
+ ]
+ ]
+ },
+ {
+ "id": "882005eb.69e658",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1302.6666870117188,
+ "y": 2838.5,
+ "z": "f08fd02e.7ccb9",
+ "wires": [
+ [
+ "6d9e03ef.0bbaec"
+ ]
+ ]
+ },
+ {
+ "id": "6d9e03ef.0bbaec",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1487.6666870117188,
+ "y": 2836.5,
+ "z": "f08fd02e.7ccb9",
+ "wires": [
+ [
+ "5d2abc1.d3eb544"
+ ]
+ ]
+ },
+ {
+ "id": "5d2abc1.d3eb544",
+ "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=\"Quotation removed from subRequestID for DMAAP response header \\r\"/>\n<parameter name=\"field2\" value=\"`$prop.oofpcipoc-dmaap-config-resp.subrequestID`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1689.6666870117188,
+ "y": 2831.5,
+ "z": "f08fd02e.7ccb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5f27b86f.772108",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1305.1666870117188,
+ "y": 2886.5,
+ "z": "f08fd02e.7ccb9",
+ "wires": [
+ [
+ "653a4280.39bf2c"
+ ]
+ ]
+ },
+ {
+ "id": "653a4280.39bf2c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1481.1665649414062,
+ "y": 2887.5,
+ "z": "f08fd02e.7ccb9",
+ "wires": [
+ [
+ "2def7630.b732da"
+ ]
+ ]
+ },
+ {
+ "id": "2def7630.b732da",
+ "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 quotation from timestamp for DMAAP response header. Aborting Generic neighbor configuration\" />",
+ "comments": "",
+ "x": 1628.166259765625,
+ "y": 2890.5,
+ "z": "f08fd02e.7ccb9",
+ "wires": []
+ },
+ {
+ "id": "d5c688bf.397978",
+ "type": "switchNode",
+ "name": "is blacklisted",
+ "xml": "<switch test='`$tmp.blacklisted`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 935.3333587646484,
+ "y": 1102.0000743865967,
+ "z": "f08fd02e.7ccb9",
+ "wires": [
+ [
+ "9e8e5976.f6ba08",
+ "ab7e29c0.c23ce8"
+ ]
+ ]
+ },
+ {
+ "id": "9e8e5976.f6ba08",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1125.333366394043,
+ "y": 1084.0000734329224,
+ "z": "f08fd02e.7ccb9",
+ "wires": [
+ [
+ "93f2263c.3b42e8"
+ ]
+ ]
+ },
+ {
+ "id": "ab7e29c0.c23ce8",
+ "type": "outcome",
+ "name": "False",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1132.305534362793,
+ "y": 1124.638991355896,
+ "z": "f08fd02e.7ccb9",
+ "wires": [
+ [
+ "3f3f13cb.069a0c"
+ ]
+ ]
+ },
+ {
+ "id": "c7fa4fe4.4c50b",
+ "type": "set",
+ "name": "set isHOAllowed as false",
+ "xml": "<set>\n<parameter name='tmp.isHOAllowed' value='false' />",
+ "comments": "",
+ "x": 1556.2777099609375,
+ "y": 1080.7500734329224,
+ "z": "f08fd02e.7ccb9",
+ "wires": []
+ },
+ {
+ "id": "49efb44b.8dd87c",
+ "type": "set",
+ "name": "set isHOAllowed as true",
+ "xml": "<set>\n<parameter name='tmp.isHOAllowed' value='true' />",
+ "comments": "",
+ "x": 1549.7220458984375,
+ "y": 1119.083327293396,
+ "z": "f08fd02e.7ccb9",
+ "wires": []
+ },
+ {
+ "id": "93f2263c.3b42e8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1309.333366394043,
+ "y": 1082.7777433395386,
+ "z": "f08fd02e.7ccb9",
+ "wires": [
+ [
+ "c7fa4fe4.4c50b"
+ ]
+ ]
+ },
+ {
+ "id": "3f3f13cb.069a0c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1297.499870300293,
+ "y": 1130.1944103240967,
+ "z": "f08fd02e.7ccb9",
+ "wires": [
+ [
+ "49efb44b.8dd87c"
+ ]
+ ]
+ },
+ {
+ "id": "4cf451c1.25706",
+ "type": "set",
+ "name": "set tmp variables",
+ "xml": "<set>\n<parameter name=\"tmp.idNRCellCU\" value=\"`$generic-neighbor-configuration-input.alias`\"/>\n<parameter name=\"tmp.idNRCellRelation\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].cid`\"/>\n<parameter name=\"tmp.idGNBCUCPFunction\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].pnf-name`\"/>\n",
+ "comments": "",
+ "x": 976.0000305175781,
+ "y": 1163.333408355713,
+ "z": "f08fd02e.7ccb9",
+ "wires": []
+ },
+ {
+ "id": "63915021.50c66",
+ "type": "execute",
+ "name": "populate mount name",
+ "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=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUCPFunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1044.0000457763672,
+ "y": 1295.3334112167358,
+ "z": "f08fd02e.7ccb9",
"wires": [
[]
]