diff options
author | Dan Timoney <dtimoney@att.com> | 2019-08-22 22:04:51 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-08-22 22:04:51 +0000 |
commit | 400d508da587d8c4fd5c19c15437b2fc2213c9b7 (patch) | |
tree | 53d0688110ced8ecf5f6dd221c50d5c275e1e339 /platform-logic/oofpcipoc-api/src/main/json/oofpcipoc-api_generic-neighbor-configuration.json | |
parent | 4ba691b0c5385b685b2cab905b08cfb7f9777da2 (diff) | |
parent | d6deaccf8c37b204191f214b38a771f14cc370a2 (diff) |
Merge "SDNR OOFPCIPOC - DG Updates for ConfigDB DMAAP"
Diffstat (limited to 'platform-logic/oofpcipoc-api/src/main/json/oofpcipoc-api_generic-neighbor-configuration.json')
-rw-r--r-- | platform-logic/oofpcipoc-api/src/main/json/oofpcipoc-api_generic-neighbor-configuration.json | 1765 |
1 files changed, 1412 insertions, 353 deletions
diff --git a/platform-logic/oofpcipoc-api/src/main/json/oofpcipoc-api_generic-neighbor-configuration.json b/platform-logic/oofpcipoc-api/src/main/json/oofpcipoc-api_generic-neighbor-configuration.json index 484dfc49..c7813893 100644 --- a/platform-logic/oofpcipoc-api/src/main/json/oofpcipoc-api_generic-neighbor-configuration.json +++ b/platform-logic/oofpcipoc-api/src/main/json/oofpcipoc-api_generic-neighbor-configuration.json @@ -1,191 +1,194 @@ [ { - "id": "acb70e34.bf9d7", + "id": "62c88a41.7901c4", "type": "comment", "name": "Generic Neighbor Configuration", "info": "", "comments": "", - "x": 356, - "y": 23, - "z": "c197f7e7.1da478", + "x": 363, + "y": 27, + "z": "b5912bac.e498b8", "wires": [] }, { - "id": "d3fed603.f6fc28", + "id": "baa967e2.faeed8", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 581.9999866485596, - "y": 252.01049518585205, - "z": "c197f7e7.1da478", + "x": 604.0000457763672, + "y": 247.01050186157227, + "z": "b5912bac.e498b8", "wires": [ [ - "dd03124b.c1ad6", - "bb81a2c1.93396", - "a007069.f2610f8", - "92d276da.4c88e8", - "198eb06.8f50d5", - "f75fac3.b2d7e5", - "1c57b1b4.beaaee", - "1e96218.b0f68df", - "15ad3471.a615dc", - "cc8e22e1.329b1" + "e7f7731c.df44c", + "e8c58776.722298", + "26d77802.a1d148", + "a1ea2bf1.677578", + "1dc9243f.b48cec", + "42fc4612.e644c8", + "dd9a5d15.06aae", + "772f6c66.8f6644", + "9257d114.fbb5f", + "bf3b2072.183ee", + "5dfa3076.0f2dc" ] ] }, { - "id": "86dca6b7.e82f88", + "id": "3b46224d.2d6b5e", "type": "for", "name": "for", "xml": "<for index='idx' start='0' end=\"`$generic-neighbor-configuration-input.lte-cell-number-of-entries`\" >", "comments": "", "outputs": 1, - "x": 544.0001831054688, - "y": 401, - "z": "c197f7e7.1da478", + "x": 551.0001831054688, + "y": 405, + "z": "b5912bac.e498b8", "wires": [ [ - "d3fed603.f6fc28" + "baa967e2.faeed8" ] ] }, { - "id": "dd03124b.c1ad6", + "id": "e7f7731c.df44c", "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": 928.0011596679688, - "y": 45.88909912109375, - "z": "c197f7e7.1da478", + "x": 935.0011596679688, + "y": 49.88909912109375, + "z": "b5912bac.e498b8", "wires": [] }, { - "id": "bb81a2c1.93396", + "id": "e8c58776.722298", "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": 792.5105075836182, - "y": 89.01042747497559, - "z": "c197f7e7.1da478", + "x": 799.5105075836182, + "y": 93.01042747497559, + "z": "b5912bac.e498b8", "wires": [ [] ] }, { - "id": "ac8961a8.d1fb4", + "id": "472be384.ef3bac", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 119.48959350585938, - "y": 279.9896240234375, - "z": "c197f7e7.1da478", + "x": 126.48959350585938, + "y": 283.9896240234375, + "z": "b5912bac.e498b8", "wires": [ [ - "6501a6c8.9b7ae8", - "32f454b1.f5ccfc", - "32ca92c1.87b4ae", - "dc78859c.2a1938", - "fb252ea6.2716a", - "c0db2192.9d16c" + "58f1d84.b947928", + "f7111027.f6312", + "be76099f.4dfad8", + "ce40b7fa.694068", + "d8ef20b.61a53e", + "1cfec41e.135f0c", + "598648b2.5aa358", + "3e67b041.fa193" ] ] }, { - "id": "93ef8347.1a6f", + "id": "98417a7.9342688", "type": "method", "name": "method", "xml": "<method rpc='generic-neighbor-configuration' mode='sync'>\n", "comments": "", "outputs": 1, - "x": 105, - "y": 180.9895782470703, - "z": "c197f7e7.1da478", + "x": 112, + "y": 184.9895782470703, + "z": "b5912bac.e498b8", "wires": [ [ - "ac8961a8.d1fb4" + "472be384.ef3bac" ] ] }, { - "id": "6501a6c8.9b7ae8", + "id": "58f1d84.b947928", "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": 160.00033569335938, - "y": 647.98974609375, - "z": "c197f7e7.1da478", + "x": 117.00033950805664, + "y": 2844.989965438843, + "z": "b5912bac.e498b8", "wires": [] }, { - "id": "32f454b1.f5ccfc", + "id": "f7111027.f6312", "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": 406.00030517578125, - "y": 80.01042938232422, - "z": "c197f7e7.1da478", + "x": 413.00030517578125, + "y": 84.01042938232422, + "z": "b5912bac.e498b8", "wires": [ [] ] }, { - "id": "32ca92c1.87b4ae", + "id": "be76099f.4dfad8", "type": "for", "name": "for", "xml": "<for index='idx' start='0' end=\"`$generic-neighbor-configuration-input.lte-cell-number-of-entries`\" >", "comments": "", "outputs": 1, - "x": 417.085693359375, - "y": 126.95317077636719, - "z": "c197f7e7.1da478", + "x": 424.085693359375, + "y": 130.9531707763672, + "z": "b5912bac.e498b8", "wires": [ [ - "e3ecab0.b7f5858" + "93be64d3.f030f8" ] ] }, { - "id": "dc78859c.2a1938", + "id": "ce40b7fa.694068", "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": 420.00018310546875, - "y": 185.01040649414062, - "z": "c197f7e7.1da478", + "x": 427.00018310546875, + "y": 189.01040649414062, + "z": "b5912bac.e498b8", "wires": [ [] ] }, { - "id": "fb252ea6.2716a", + "id": "d8ef20b.61a53e", "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": 350.00030517578125, - "y": 243.010498046875, - "z": "c197f7e7.1da478", + "x": 379.000301361084, + "y": 257.01050090789795, + "z": "b5912bac.e498b8", "wires": [ [] ] }, { - "id": "2071d805.4be628", + "id": "f6fcf198.4f53a", "type": "service-logic", "name": "oofpcipoc-api ${project.version}", "module": "oofpcipoc-api", @@ -193,890 +196,1946 @@ "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": 160.99998474121094, - "y": 91.98968505859375, - "z": "c197f7e7.1da478", + "x": 167.99998474121094, + "y": 95.98968505859375, + "z": "b5912bac.e498b8", "wires": [ [ - "93ef8347.1a6f" + "98417a7.9342688" ] ] }, { - "id": "e3ecab0.b7f5858", + "id": "93be64d3.f030f8", "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": 582.0005493164062, - "y": 110.98963165283203, - "z": "c197f7e7.1da478", + "x": 589.0005493164062, + "y": 114.98963165283203, + "z": "b5912bac.e498b8", "wires": [ [] ] }, { - "id": "6ed34cf7.c51b14", + "id": "9a50d806.bf9d88", "type": "dgstart", "name": "DGSTART", "outputs": 1, - "x": 96, - "y": 29.989585876464844, - "z": "c197f7e7.1da478", + "x": 103, + "y": 33.989585876464844, + "z": "b5912bac.e498b8", "wires": [ [ - "2071d805.4be628" + "f6fcf198.4f53a" ] ] }, { - "id": "cc8e22e1.329b1", + "id": "bf3b2072.183ee", "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": 863.5108642578125, - "y": 133.56614685058594, - "z": "c197f7e7.1da478", + "x": 870.5108642578125, + "y": 137.56614685058594, + "z": "b5912bac.e498b8", "wires": [ [] ] }, { - "id": "a007069.f2610f8", + "id": "26d77802.a1d148", "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": 790.510498046875, - "y": 186.7882080078125, - "z": "c197f7e7.1da478", + "x": 797.510498046875, + "y": 190.7882080078125, + "z": "b5912bac.e498b8", "wires": [ [] ] }, { - "id": "92d276da.4c88e8", + "id": "a1ea2bf1.677578", "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": 992.5106258392334, - "y": 198.78822231292725, - "z": "c197f7e7.1da478", + "x": 999.5106258392334, + "y": 202.78822231292725, + "z": "b5912bac.e498b8", "wires": [ [] ] }, { - "id": "198eb06.8f50d5", + "id": "1dc9243f.b48cec", "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": 860.5104789733887, - "y": 242.78819751739502, - "z": "c197f7e7.1da478", + "x": 867.5104789733887, + "y": 246.78819751739502, + "z": "b5912bac.e498b8", "wires": [ [] ] }, { - "id": "f75fac3.b2d7e5", + "id": "42fc4612.e644c8", "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": 883.5105075836182, - "y": 287.7882204055786, - "z": "c197f7e7.1da478", + "x": 890.5105075836182, + "y": 291.7882204055786, + "z": "b5912bac.e498b8", "wires": [ [] ] }, { - "id": "1e96218.b0f68df", + "id": "772f6c66.8f6644", "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": 915.510498046875, - "y": 427.788330078125, - "z": "c197f7e7.1da478", + "x": 922.510498046875, + "y": 431.788330078125, + "z": "b5912bac.e498b8", "wires": [ [ - "9ab812b9.2441c", - "b2feb5f3.1f8718" + "18e5fc47.677d84", + "9996e5f3.0463a8" ] ] }, { - "id": "9ab812b9.2441c", + "id": "18e5fc47.677d84", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1176.5103855133057, - "y": 440.77778339385986, - "z": "c197f7e7.1da478", + "x": 1183.5103855133057, + "y": 395.77778339385986, + "z": "b5912bac.e498b8", "wires": [ [ - "94c0690e.412458" + "7e1599c6.f4b258" ] ] }, { - "id": "b2feb5f3.1f8718", + "id": "9996e5f3.0463a8", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1194.5104274749756, - "y": 508.7776098251343, - "z": "c197f7e7.1da478", + "x": 1185.5103302001953, + "y": 459.77761459350586, + "z": "b5912bac.e498b8", "wires": [ [ - "42fa2758.89b668" + "8be63bfe.ba0d78" ] ] }, { - "id": "a8f77123.4f739", + "id": "24c17f16.af7c2", "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": 1532.5101795196533, - "y": 495.7777180671692, - "z": "c197f7e7.1da478", + "x": 1516.510124206543, + "y": 455.77770233154297, + "z": "b5912bac.e498b8", "wires": [ [] ] }, { - "id": "42fa2758.89b668", + "id": "8be63bfe.ba0d78", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1374.5100917816162, - "y": 506.7776908874512, - "z": "c197f7e7.1da478", + "x": 1352.5101737976074, + "y": 458.77769660949707, + "z": "b5912bac.e498b8", "wires": [ [ - "a8f77123.4f739" + "24c17f16.af7c2" ] ] }, { - "id": "94c0690e.412458", + "id": "7e1599c6.f4b258", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1335.510248184204, - "y": 449.7777690887451, - "z": "c197f7e7.1da478", + "x": 1342.510248184204, + "y": 404.7777690887451, + "z": "b5912bac.e498b8", "wires": [ [ - "8f2a4b45.9518e8" + "ce7d1839.31b058" ] ] }, { - "id": "8f2a4b45.9518e8", + "id": "ce7d1839.31b058", "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": 1511.5100116729736, - "y": 434.77774238586426, - "z": "c197f7e7.1da478", + "x": 1518.5100116729736, + "y": 389.77774238586426, + "z": "b5912bac.e498b8", "wires": [] }, { - "id": "1c57b1b4.beaaee", + "id": "dd9a5d15.06aae", "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": 913.5104370117188, - "y": 339.7882080078125, - "z": "c197f7e7.1da478", + "x": 920.5104370117188, + "y": 343.7882080078125, + "z": "b5912bac.e498b8", "wires": [ [ - "6f64c3b4.09149c", - "b4abf739.6c1f68" + "9fe95e60.166c3", + "9512e3ea.241a4" ] ] }, { - "id": "6f64c3b4.09149c", + "id": "9fe95e60.166c3", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1164.5105381011963, - "y": 321.4442539215088, - "z": "c197f7e7.1da478", + "x": 1188.510498046875, + "y": 280.4442491531372, + "z": "b5912bac.e498b8", "wires": [ [ - "a028bb53.ce35a8" + "5a501fde.87adb" ] ] }, { - "id": "b4abf739.6c1f68", + "id": "9512e3ea.241a4", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1159.5103702545166, - "y": 377.44440746307373, - "z": "c197f7e7.1da478", + "x": 1175.5103912353516, + "y": 344.44439697265625, + "z": "b5912bac.e498b8", "wires": [ [ - "f4e4f96.daf0108" + "f3752e03.cce3d" ] ] }, { - "id": "f4e4f96.daf0108", + "id": "f3752e03.cce3d", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1311.5101871490479, - "y": 386.44431257247925, - "z": "c197f7e7.1da478", + "x": 1318.5101871490479, + "y": 341.44431257247925, + "z": "b5912bac.e498b8", "wires": [ [ - "d3310510.124b48" + "56993fd5.34454" ] ] }, { - "id": "d3310510.124b48", + "id": "56993fd5.34454", "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": 1472.510103225708, - "y": 380.44458293914795, - "z": "c197f7e7.1da478", + "x": 1479.510103225708, + "y": 335.44458293914795, + "z": "b5912bac.e498b8", "wires": [ [] ] }, { - "id": "a028bb53.ce35a8", + "id": "5a501fde.87adb", "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": 1365.5103282928467, - "y": 327.44426250457764, - "z": "c197f7e7.1da478", + "x": 1387.5103912353516, + "y": 270.4442768096924, + "z": "b5912bac.e498b8", "wires": [] }, { - "id": "15ad3471.a615dc", + "id": "9257d114.fbb5f", "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": 871.5104370117188, - "y": 503.67706298828125, - "z": "c197f7e7.1da478", + "x": 878.5104370117188, + "y": 507.67706298828125, + "z": "b5912bac.e498b8", "wires": [ [ - "144ccd4d.5f33d3", - "6b712cb1.c5f834" + "f3eccc73.b462e", + "3ed6cc6a.c6c044" ] ] }, { - "id": "144ccd4d.5f33d3", + "id": "f3eccc73.b462e", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1204.5105381011963, - "y": 559.3331089019775, - "z": "c197f7e7.1da478", + "x": 1213.5104370117188, + "y": 507.3331050872803, + "z": "b5912bac.e498b8", "wires": [ [ - "5f6e00fc.ed03a" + "1ebdbe5d.7f30b2" ] ] }, { - "id": "6b712cb1.c5f834", + "id": "3ed6cc6a.c6c044", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1199.5103702545166, - "y": 615.3332624435425, - "z": "c197f7e7.1da478", + "x": 1206.5103302001953, + "y": 559.3333015441895, + "z": "b5912bac.e498b8", "wires": [ [ - "4913d618.0c8fe8" + "7a33e4a5.c1140c" ] ] }, { - "id": "4913d618.0c8fe8", + "id": "7a33e4a5.c1140c", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1351.5101871490479, - "y": 624.333167552948, - "z": "c197f7e7.1da478", + "x": 1375.5100898742676, + "y": 566.3332405090332, + "z": "b5912bac.e498b8", "wires": [ [ - "1c9c0def.8b9082" + "8874cc8.fdd9c3" ] ] }, { - "id": "5f6e00fc.ed03a", + "id": "1ebdbe5d.7f30b2", "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": 1405.5103282928467, - "y": 565.3331174850464, - "z": "c197f7e7.1da478", + "x": 1386.5103912353516, + "y": 504.33313274383545, + "z": "b5912bac.e498b8", "wires": [] }, { - "id": "1c9c0def.8b9082", + "id": "8874cc8.fdd9c3", "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": 1512.5100955963135, - "y": 617.3334121704102, - "z": "c197f7e7.1da478", + "x": 1522.510124206543, + "y": 564.333456993103, + "z": "b5912bac.e498b8", "wires": [ [] ] }, { - "id": "1262f222.f1f98e", + "id": "caedd83d.51f7c8", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 530.9999866485596, - "y": 869.999997138977, - "z": "c197f7e7.1da478", + "x": 576.9999465942383, + "y": 1317.0000581741333, + "z": "b5912bac.e498b8", "wires": [ [ - "4156eb3.49eb114", - "28301c50.f9a394", - "2aab82d0.4d643e", - "c0b1bda4.651cf", - "6b902758.7673c8", - "f337f894.e1cc48", - "fe8ae27d.83e96", - "359b0369.a48e7c", - "8d693ead.befbb", - "38c29228.79ba4e", - "411a695d.a4f048" + "1c84f0b8.618d3f", + "661254e5.c354ac", + "30fcd4e2.e8af6c", + "f65cc795.09a8f8", + "6002fae9.c462d4", + "26a41e87.9a2a42", + "8ad484a4.2e48f8", + "9cd115c6.7d3528", + "aa95ae6a.9db0c", + "917698f.742c268", + "5d5cd71e.9e8ad8", + "dd44dc35.baa9a" ] ] }, { - "id": "ae52469b.df3fe8", + "id": "49402706.7c5b88", "type": "for", "name": "for", "xml": "<for index='idx' start='0' end=\"`$generic-neighbor-configuration-input.lte-cell-number-of-entries`\" >", "comments": "", "outputs": 1, - "x": 513.0001831054688, - "y": 493.989501953125, - "z": "c197f7e7.1da478", + "x": 520.0001831054688, + "y": 497.989501953125, + "z": "b5912bac.e498b8", "wires": [ [ - "1262f222.f1f98e" + "caedd83d.51f7c8" ] ] }, { - "id": "4156eb3.49eb114", + "id": "1c84f0b8.618d3f", "type": "set", "name": "set tmp variables for the requested fap service input parms", "xml": "<set>\n<parameter name=\"tmp.alias\" value=\"`$generic-neighbor-configuration-input.alias`\"/>\n<parameter name=\"tmp.plmnid\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].plmnid`\"/>\n<parameter name=\"tmp.cid\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].cid`\"/>\n<parameter name=\"tmp.phy-cell-id\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].phy-cell-id`\"/>\n<parameter name=\"tmp.pnf-name\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].pnf-name`\"/>\n<parameter name=\"tmp.blacklisted\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].blacklisted`\"/>\n", "comments": "", - "x": 839.0011596679688, - "y": 598.8786010742188, - "z": "c197f7e7.1da478", + "x": 910.0011806488037, + "y": 1000.8786706924438, + "z": "b5912bac.e498b8", "wires": [] }, { - "id": "28301c50.f9a394", + "id": "661254e5.c354ac", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Temporary varaibles set. Neighbor #: \"/>\n<parameter name=\"field2\" value=\"`$idx`\"/>\n<parameter name=\"field3\" value=\"`$tmp.plmnid`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cid`\"/>\n<parameter name=\"field5\" value=\"`$tmp.phy-cell-id`\"/>\n<parameter name=\"field6\" value=\"`$tmp.pnf-name`\"/>\n<parameter name=\"field7\" value=\"`$tmp.blacklisted`\"/>", "comments": "", "outputs": 1, - "x": 734.510498046875, - "y": 642.9999389648438, - "z": "c197f7e7.1da478", + "x": 780.5105037689209, + "y": 1077.0000381469727, + "z": "b5912bac.e498b8", "wires": [ [] ] }, { - "id": "38c29228.79ba4e", + "id": "917698f.742c268", "type": "execute", "name": "generate neighbor config URL", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.lte-ran-neighbor-in-use.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{alias}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.alias`\"/>", "comments": "", "outputs": 1, - "x": 827.5108642578125, - "y": 691.5556640625, - "z": "c197f7e7.1da478", + "x": 873.5108242034912, + "y": 1138.5557250976562, + "z": "b5912bac.e498b8", "wires": [ [] ] }, { - "id": "2aab82d0.4d643e", + "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": 768.510498046875, - "y": 740.7777099609375, - "z": "c197f7e7.1da478", + "x": 814.5104579925537, + "y": 1187.7777709960938, + "z": "b5912bac.e498b8", "wires": [ [] ] }, { - "id": "c0b1bda4.651cf", + "id": "f65cc795.09a8f8", "type": "execute", "name": "populate plmnid", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.config-neighbor-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{plmnid}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.plmnid`\"/>", "comments": "", "outputs": 1, - "x": 832.5106201171875, - "y": 836.7777099609375, - "z": "c197f7e7.1da478", + "x": 878.5105800628662, + "y": 1283.7777709960938, + "z": "b5912bac.e498b8", "wires": [ [] ] }, { - "id": "6b902758.7673c8", + "id": "6002fae9.c462d4", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Config Neighbor List URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.config-neighbor-service-url`\"/>\n", "comments": "", "outputs": 1, - "x": 807.510498046875, - "y": 884.7777099609375, - "z": "c197f7e7.1da478", + "x": 853.5104579925537, + "y": 1331.7777709960938, + "z": "b5912bac.e498b8", "wires": [ [] ] }, { - "id": "f337f894.e1cc48", + "id": "26a41e87.9a2a42", "type": "execute", "name": "populate cid", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.config-neighbor-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{cid}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>", "comments": "", "outputs": 1, - "x": 816.510498046875, - "y": 921.7777099609375, - "z": "c197f7e7.1da478", + "x": 862.5104579925537, + "y": 1368.7777709960938, + "z": "b5912bac.e498b8", "wires": [ [] ] }, { - "id": "359b0369.a48e7c", + "id": "9cd115c6.7d3528", "type": "execute", "name": "Configure neighbor using PATCH", "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/oofpcipoc-generic-neighbor-patch.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.config-neighbor-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-neighbor-patch-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/yang.patch-status+json' />", "comments": "", "outputs": 1, - "x": 830.510498046875, - "y": 1051.77783203125, - "z": "c197f7e7.1da478", + "x": 876.5104579925537, + "y": 1498.7778930664062, + "z": "b5912bac.e498b8", "wires": [ [ - "aaf367ec.71a3d8", - "f6e2a503.cab1e8" + "550d2fe8.b2398", + "c01d1028.d9257" ] ] }, { - "id": "aaf367ec.71a3d8", + "id": "550d2fe8.b2398", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1125.5103855133057, - "y": 1058.7672853469849, - "z": "c197f7e7.1da478", + "x": 1171.5103454589844, + "y": 1505.767346382141, + "z": "b5912bac.e498b8", "wires": [ [ - "d64f59f9.bbcd88" + "6a5a8363.937f4c" ] ] }, { - "id": "f6e2a503.cab1e8", + "id": "c01d1028.d9257", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1143.5104274749756, - "y": 1126.7671117782593, - "z": "c197f7e7.1da478", + "x": 1189.5103874206543, + "y": 1573.7671728134155, + "z": "b5912bac.e498b8", "wires": [ [ - "ad51aa4c.6dd0f8" + "52465faf.7e9e9" ] ] }, { - "id": "da0a9ad3.338348", + "id": "7626dcea.9b0314", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PATCH Neighbor Executed Successfully \"/>", "comments": "", "outputs": 1, - "x": 1481.5101795196533, - "y": 1113.7672200202942, - "z": "c197f7e7.1da478", + "x": 1527.510139465332, + "y": 1560.7672810554504, + "z": "b5912bac.e498b8", "wires": [ [] ] }, { - "id": "ad51aa4c.6dd0f8", + "id": "52465faf.7e9e9", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1323.5100917816162, - "y": 1124.7671928405762, - "z": "c197f7e7.1da478", + "x": 1369.510051727295, + "y": 1571.7672538757324, + "z": "b5912bac.e498b8", "wires": [ [ - "da0a9ad3.338348" + "7626dcea.9b0314" ] ] }, { - "id": "d64f59f9.bbcd88", + "id": "6a5a8363.937f4c", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1284.510248184204, - "y": 1067.7672710418701, - "z": "c197f7e7.1da478", + "x": 1330.5102081298828, + "y": 1514.7673320770264, + "z": "b5912bac.e498b8", "wires": [ [ - "1a1c9666.4c773a" + "c37acb1b.5bf368" ] ] }, { - "id": "1a1c9666.4c773a", + "id": "c37acb1b.5bf368", "type": "returnFailure", "name": "return failure", "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding a new neighbor\" />", "comments": "", - "x": 1460.5100116729736, - "y": 1052.7672443389893, - "z": "c197f7e7.1da478", + "x": 1506.5099716186523, + "y": 1499.7673053741455, + "z": "b5912bac.e498b8", "wires": [] }, { - "id": "fe8ae27d.83e96", + "id": "8ad484a4.2e48f8", "type": "execute", "name": "Get neighbor details pre-configuration", "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.config-neighbor-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-neighbor-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n", "comments": "", "outputs": 1, - "x": 840.5104370117188, - "y": 966.7777099609375, - "z": "c197f7e7.1da478", + "x": 886.5103969573975, + "y": 1413.7777709960938, + "z": "b5912bac.e498b8", "wires": [ [ - "dc414a11.7edb78", - "9db5bb73.2d55e8" + "91fb4292.af9ba", + "4fbff7ac.8fb1f8" ] ] }, { - "id": "dc414a11.7edb78", + "id": "91fb4292.af9ba", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1113.5105381011963, - "y": 939.4337558746338, - "z": "c197f7e7.1da478", + "x": 1159.510498046875, + "y": 1386.43381690979, + "z": "b5912bac.e498b8", "wires": [ [ - "64dcc609.fa2868" + "a8a950c8.2502f" ] ] }, { - "id": "9db5bb73.2d55e8", + "id": "4fbff7ac.8fb1f8", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1108.5103702545166, - "y": 995.4339094161987, - "z": "c197f7e7.1da478", + "x": 1154.5103302001953, + "y": 1442.433970451355, + "z": "b5912bac.e498b8", "wires": [ [ - "47f38d6d.89f364" + "ffc0c87a.ab73b8" ] ] }, { - "id": "47f38d6d.89f364", + "id": "ffc0c87a.ab73b8", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1260.5101871490479, - "y": 1004.4338145256042, - "z": "c197f7e7.1da478", + "x": 1306.5101470947266, + "y": 1451.4338755607605, + "z": "b5912bac.e498b8", "wires": [ [ - "ab46d61a.7a0318" + "d27f355.abdb1c8" ] ] }, { - "id": "ab46d61a.7a0318", + "id": "d27f355.abdb1c8", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Details about Neighbor Pre-configuration\"/>\n<parameter name=\"field2\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].plmnid`\"/>\n<parameter name=\"field3\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].cid`\"/>\n<parameter name=\"field4\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].phy-cell-id`\"/>\n<parameter name=\"field5\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].pnf-name`\"/>\n<parameter name=\"field6\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].blacklisted`\"/>", "comments": "", "outputs": 1, - "x": 1421.510103225708, - "y": 998.434084892273, - "z": "c197f7e7.1da478", + "x": 1467.5100631713867, + "y": 1445.4341459274292, + "z": "b5912bac.e498b8", "wires": [ [] ] }, { - "id": "64dcc609.fa2868", + "id": "a8a950c8.2502f", "type": "returnFailure", "name": "return failure", "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error getting details about new neighbor \" />", "comments": "", - "x": 1314.5103282928467, - "y": 945.4337644577026, - "z": "c197f7e7.1da478", + "x": 1360.5102882385254, + "y": 1392.433825492859, + "z": "b5912bac.e498b8", "wires": [] }, { - "id": "8d693ead.befbb", + "id": "aa95ae6a.9db0c", "type": "execute", "name": "Get neighbor details post-configuration", "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.config-neighbor-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-neighbor-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n", "comments": "", "outputs": 1, - "x": 796.5104370117188, - "y": 1165.6666259765625, - "z": "c197f7e7.1da478", + "x": 842.5103969573975, + "y": 1612.6666870117188, + "z": "b5912bac.e498b8", "wires": [ [ - "8f75a41.6426d58", - "23c81cd0.efa084" + "9a649311.6c99", + "6cc8d6fb.f0ac98" ] ] }, { - "id": "8f75a41.6426d58", + "id": "9a649311.6c99", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1153.5105381011963, - "y": 1177.3226108551025, - "z": "c197f7e7.1da478", + "x": 1199.510498046875, + "y": 1624.3226718902588, + "z": "b5912bac.e498b8", "wires": [ [ - "bfbdf11e.993f7" + "cdae9665.c04dc8" ] ] }, { - "id": "23c81cd0.efa084", + "id": "6cc8d6fb.f0ac98", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1148.5103702545166, - "y": 1233.3227643966675, - "z": "c197f7e7.1da478", + "x": 1194.5103302001953, + "y": 1680.3228254318237, + "z": "b5912bac.e498b8", "wires": [ [ - "4d4d048c.c416cc" + "c3f07c0c.f0779" ] ] }, { - "id": "4d4d048c.c416cc", + "id": "c3f07c0c.f0779", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1300.5101871490479, - "y": 1242.322669506073, - "z": "c197f7e7.1da478", + "x": 1346.5101470947266, + "y": 1689.3227305412292, + "z": "b5912bac.e498b8", "wires": [ [ - "fcddb4e7.12b6d8" + "adbc9ce8.ce34e" ] ] }, { - "id": "bfbdf11e.993f7", + "id": "cdae9665.c04dc8", "type": "returnFailure", "name": "return failure", "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error getting details about new neighbor \" />", "comments": "", - "x": 1354.5103282928467, - "y": 1183.3226194381714, - "z": "c197f7e7.1da478", + "x": 1400.5102882385254, + "y": 1630.3226804733276, + "z": "b5912bac.e498b8", "wires": [] }, { - "id": "fcddb4e7.12b6d8", + "id": "adbc9ce8.ce34e", "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": 1461.5100955963135, - "y": 1235.3229141235352, - "z": "c197f7e7.1da478", + "x": 1507.5100555419922, + "y": 1682.3229751586914, + "z": "b5912bac.e498b8", "wires": [ [] ] }, { - "id": "8472ac8d.f6ede", + "id": "9e1d4a81.fff878", "type": "outcome", "name": "Not Mounted", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 420, - "y": 320, - "z": "c197f7e7.1da478", + "x": 427, + "y": 324, + "z": "b5912bac.e498b8", "wires": [ [ - "86dca6b7.e82f88" + "3b46224d.2d6b5e" ] ] }, { - "id": "c0db2192.9d16c", + "id": "1cfec41e.135f0c", "type": "switchNode", "name": "switch mounted", "xml": "<switch test='`$prop.ransim-mounted`'>\n", "comments": "", "outputs": 1, - "x": 318, - "y": 409, - "z": "c197f7e7.1da478", + "x": 325, + "y": 413, + "z": "b5912bac.e498b8", "wires": [ [ - "8472ac8d.f6ede", - "5a41edd6.afaa34" + "9e1d4a81.fff878", + "f4668911.4ee4b8" ] ] }, { - "id": "5a41edd6.afaa34", + "id": "f4668911.4ee4b8", "type": "outcome", "name": "Mounted", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 351, - "y": 487, - "z": "c197f7e7.1da478", + "x": 358, + "y": 491, + "z": "b5912bac.e498b8", "wires": [ [ - "ae52469b.df3fe8" + "49402706.7c5b88" ] ] }, { - "id": "411a695d.a4f048", + "id": "5d5cd71e.9e8ad8", "type": "execute", "name": "populate netconf mount", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.config-neighbor-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{pnf-name}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.pnf-name`\"/>", "comments": "", "outputs": 1, - "x": 837, - "y": 792, - "z": "c197f7e7.1da478", + "x": 882.9999599456787, + "y": 1239.0000610351562, + "z": "b5912bac.e498b8", + "wires": [ + [] + ] + }, + { + "id": "3cf0d2d4.0a5d0e", + "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", + "wires": [ + [ + "fb7f30bc.4c65b", + "bdb5c927.8af808" + ] + ] + }, + { + "id": "fb7f30bc.4c65b", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 1146.0104598999023, + "y": 2094.4550261497498, + "z": "b5912bac.e498b8", + "wires": [ + [ + "c11aee10.e6e67" + ] + ] + }, + { + "id": "c11aee10.e6e67", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1337.0104598999023, + "y": 2097.4550261497498, + "z": "b5912bac.e498b8", + "wires": [ + [ + "9a917d5e.1c727" + ] + ] + }, + { + "id": "9a917d5e.1c727", + "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", + "wires": [ + [] + ] + }, + { + "id": "df99ee06.4ace2", + "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", + "wires": [ + [ + "c93e93f1.a82ee", + "185060e1.24becf" + ] + ] + }, + { + "id": "2dc1f234.42072e", + "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", + "wires": [ + [ + "6e15985e.9487b8", + "ee17f7c6.a13008" + ] + ] + }, + { + "id": "d94faf20.0bc6f", + "type": "execute", + "name": "Escape JSON String", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='escapeJsonString' >\n <parameter name=\"source\" value='`$tmp.oofpcipoc-dmaap-config-resp.payload`'/>\n <parameter name=\"target\" value='tmp.oofpcipoc-dmaap-config-resp.payload'/>\n", + "comments": "", + "outputs": 1, + "x": 821.5104598999023, + "y": 2439.4550261497498, + "z": "b5912bac.e498b8", + "wires": [ + [ + "90e3f8bd.7c3bc8", + "a4d7a3a6.62a39" + ] + ] + }, + { + "id": "90e3f8bd.7c3bc8", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 1023.5104598999023, + "y": 2429.4550261497498, + "z": "b5912bac.e498b8", + "wires": [ + [ + "dc13ddfc.0613e" + ] + ] + }, + { + "id": "6e15985e.9487b8", + "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", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1201.5104598999023, + "y": 2329.4550261497498, + "z": "b5912bac.e498b8", + "wires": [ + [ + "64c913b9.99501c" + ] + ] + }, + { + "id": "64c913b9.99501c", + "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", + "wires": [ + [] + ] + }, + { + "id": "c93e93f1.a82ee", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 1038.0104598999023, + "y": 2209.4550261497498, + "z": "b5912bac.e498b8", + "wires": [ + [ + "d0d96a57.50b6a8" + ] + ] + }, + { + "id": "d0d96a57.50b6a8", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1213.0104598999023, + "y": 2223.4550261497498, + "z": "b5912bac.e498b8", + "wires": [ + [ + "f893a35e.08e4f" + ] + ] + }, + { + "id": "f893a35e.08e4f", + "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", + "wires": [ + [] + ] + }, + { + "id": "bdb5c927.8af808", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 1145.0104598999023, + "y": 2151.4550261497498, + "z": "b5912bac.e498b8", + "wires": [ + [ + "3f455a05.46ca56" + ] + ] + }, + { + "id": "3f455a05.46ca56", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1314.0103378295898, + "y": 2157.4550261497498, + "z": "b5912bac.e498b8", + "wires": [ + [ + "4b319563.0e680c" + ] + ] + }, + { + "id": "4b319563.0e680c", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error creating SDNR response payload string. Aborting PCI configuration\" />", + "comments": "", + "x": 1470.0100936889648, + "y": 2156.4550261497498, + "z": "b5912bac.e498b8", + "wires": [] + }, + { + "id": "185060e1.24becf", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 1059.0104598999023, + "y": 2280.4550261497498, + "z": "b5912bac.e498b8", + "wires": [ + [ + "f035b64a.afd518" + ] + ] + }, + { + "id": "f035b64a.afd518", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1227.0103378295898, + "y": 2275.4550261497498, + "z": "b5912bac.e498b8", + "wires": [ + [ + "3f311f39.6d976" + ] + ] + }, + { + "id": "3f311f39.6d976", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error removing lines from SDNR response payload string. Aborting PCI configuration\" />", + "comments": "", + "x": 1385.0100326538086, + "y": 2278.4550261497498, + "z": "b5912bac.e498b8", + "wires": [] + }, + { + "id": "ee17f7c6.a13008", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 1019.0104598999023, + "y": 2379.4550261497498, + "z": "b5912bac.e498b8", + "wires": [ + [ + "435f1a9.a102ee4" + ] + ] + }, + { + "id": "435f1a9.a102ee4", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1195.0103378295898, + "y": 2380.4550261497498, + "z": "b5912bac.e498b8", + "wires": [ + [ + "d581508c.2e804" + ] + ] + }, + { + "id": "d581508c.2e804", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error removing tabs from SDNR response payload string. Aborting PCI configuration\" />", + "comments": "", + "x": 1342.0100326538086, + "y": 2383.4550261497498, + "z": "b5912bac.e498b8", + "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", + "type": "block", + "name": "DMAAP Payload Generation", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 576.0104751586914, + "y": 2243.4551243782043, + "z": "b5912bac.e498b8", + "wires": [ + [ + "3cf0d2d4.0a5d0e", + "df99ee06.4ace2", + "2dc1f234.42072e", + "d94faf20.0bc6f" + ] + ] + }, + { + "id": "3e67b041.fa193", + "type": "block", + "name": "DMAAP Reponse Publish", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 438.0104446411133, + "y": 2591.343816280365, + "z": "b5912bac.e498b8", + "wires": [ + [ + "31416be7.b41224", + "5ccbfc1e.20e2f4" + ] + ] + }, + { + "id": "5ccbfc1e.20e2f4", + "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", + "wires": [ + [ + "35df2cf3.78dc74", + "ecbae94b.e41fd8" + ] + ] + }, + { + "id": "31416be7.b41224", + "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", + "wires": [] + }, + { + "id": "35df2cf3.78dc74", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 1027.510498046875, + "y": 2587.3717608451843, + "z": "b5912bac.e498b8", + "wires": [ + [ + "6faec48c.adf59c" + ] + ] + }, + { + "id": "ecbae94b.e41fd8", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 1050.510353088379, + "y": 2716.3718676567078, + "z": "b5912bac.e498b8", + "wires": [ + [ + "7c97eaeb.048ce4" + ] + ] + }, + { + "id": "6faec48c.adf59c", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1208.510269165039, + "y": 2590.3718905448914, + "z": "b5912bac.e498b8", + "wires": [ + [ + "96ee7bd4.ade948" + ] + ] + }, + { + "id": "96ee7bd4.ade948", + "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", + "wires": [] + }, + { + "id": "7c97eaeb.048ce4", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1210.5099983215332, + "y": 2708.3718400001526, + "z": "b5912bac.e498b8", + "wires": [ + [ + "9752c29a.925d5" + ] + ] + }, + { + "id": "9752c29a.925d5", + "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", + "wires": [ + [] + ] + }, + { + "id": "6658e995.a8afc8", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 891.0104370117188, + "y": 843.34375, + "z": "b5912bac.e498b8", + "wires": [ + [ + "be155b7f.4b4658", + "e5e6ffd6.3ceea", + "33c67261.6b5ade", + "aa8fe0bd.58667" + ] + ] + }, + { + "id": "be155b7f.4b4658", + "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", + "wires": [ + [] + ] + }, + { + "id": "e5e6ffd6.3ceea", + "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", + "wires": [ + [] + ] + }, + { + "id": "33c67261.6b5ade", + "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", + "wires": [ + [ + "cbd12702.8e4338", + "12af70f8.c2945f" + ] + ] + }, + { + "id": "cbd12702.8e4338", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 1364.0104370117188, + "y": 857.34375, + "z": "b5912bac.e498b8", + "wires": [ + [ + "eebd8d4d.fd481" + ] + ] + }, + { + "id": "12af70f8.c2945f", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 1364.0103149414062, + "y": 953.3436279296875, + "z": "b5912bac.e498b8", + "wires": [ + [ + "342f48d0.8ab638" + ] + ] + }, + { + "id": "eebd8d4d.fd481", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1533.0103149414062, + "y": 868.34375, + "z": "b5912bac.e498b8", + "wires": [ + [ + "d55d851b.fc1958" + ] + ] + }, + { + "id": "342f48d0.8ab638", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1526.0100708007812, + "y": 954.34375, + "z": "b5912bac.e498b8", + "wires": [ + [ + "6dcdc966.a406c8" + ] + ] + }, + { + "id": "d55d851b.fc1958", + "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", + "wires": [] + }, + { + "id": "6dcdc966.a406c8", + "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", + "wires": [ + [] + ] + }, + { + "id": "5dfa3076.0f2dc", + "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", + "wires": [ + [ + "f86727f0.323a28", + "b1853d4e.2ef79" + ] + ] + }, + { + "id": "f86727f0.323a28", + "type": "outcome", + "name": "Deployed", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 816.0104370117188, + "y": 767.34375, + "z": "b5912bac.e498b8", + "wires": [ + [ + "6658e995.a8afc8" + ] + ] + }, + { + "id": "aa8fe0bd.58667", + "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", + "wires": [ + [] + ] + }, + { + "id": "fcdde69d.5ef6b8", + "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", + "wires": [ + [] + ] + }, + { + "id": "b1853d4e.2ef79", + "type": "outcome", + "name": "Not Deployed", + "xml": "<outcome value='false'>\n", + "comments": "", + "outputs": 1, + "x": 1039.0103302001953, + "y": 619.6770076751709, + "z": "b5912bac.e498b8", + "wires": [ + [ + "fcdde69d.5ef6b8" + ] + ] + }, + { + "id": "b59fe403.100df8", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 880.0104370117188, + "y": 1921.5660400390625, + "z": "b5912bac.e498b8", + "wires": [ + [ + "5fee4a24.714e24", + "e80f49c7.bc5e98", + "9f3eddb8.4c8b6", + "ede238d3.02b908" + ] + ] + }, + { + "id": "5fee4a24.714e24", + "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", + "wires": [ + [] + ] + }, + { + "id": "e80f49c7.bc5e98", + "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", + "wires": [ + [ + "fde36f04.ecf63", + "5da0cd73.d5ac34" + ] + ] + }, + { + "id": "fde36f04.ecf63", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 1353.0104370117188, + "y": 1935.5660400390625, + "z": "b5912bac.e498b8", + "wires": [ + [ + "b0184360.4173a" + ] + ] + }, + { + "id": "5da0cd73.d5ac34", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 1353.0103149414062, + "y": 2031.56591796875, + "z": "b5912bac.e498b8", + "wires": [ + [ + "6d733c40.16c4e4" + ] + ] + }, + { + "id": "b0184360.4173a", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1522.0103149414062, + "y": 1946.5660400390625, + "z": "b5912bac.e498b8", + "wires": [ + [ + "c56ebe3b.bbda7" + ] + ] + }, + { + "id": "6d733c40.16c4e4", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1515.0100708007812, + "y": 2032.5660400390625, + "z": "b5912bac.e498b8", + "wires": [ + [ + "c9d72369.59a1b" + ] + ] + }, + { + "id": "c56ebe3b.bbda7", + "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", + "wires": [] + }, + { + "id": "c9d72369.59a1b", + "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", + "wires": [ + [] + ] + }, + { + "id": "dd44dc35.baa9a", + "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", + "wires": [ + [ + "b541eb45.1e5278", + "eefdf306.9fa25" + ] + ] + }, + { + "id": "b541eb45.1e5278", + "type": "outcome", + "name": "Deployed", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 900.0104904174805, + "y": 1819.5660769939423, + "z": "b5912bac.e498b8", + "wires": [ + [ + "b59fe403.100df8" + ] + ] + }, + { + "id": "9f3eddb8.4c8b6", + "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", + "wires": [ + [] + ] + }, + { + "id": "a5a8d47.a6e5b28", + "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", + "wires": [ + [] + ] + }, + { + "id": "eefdf306.9fa25", + "type": "outcome", + "name": "Not Deployed", + "xml": "<outcome value='false'>\n", + "comments": "", + "outputs": 1, + "x": 1012.010383605957, + "y": 1719.8994035720825, + "z": "b5912bac.e498b8", + "wires": [ + [ + "a5a8d47.a6e5b28" + ] + ] + }, + { + "id": "ede238d3.02b908", + "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", "wires": [ [] ] |