diff options
author | Sandeep Shah <sandeep.shah2@techmahindra.com> | 2019-06-13 08:46:43 -0500 |
---|---|---|
committer | Sandeep Shah <sandeep.shah2@techmahindra.com> | 2019-06-13 08:46:43 -0500 |
commit | 5d012b346c6a6b9b87c81da720094afad5282127 (patch) | |
tree | a3945212bc03a21e427fb1e5032c79ef0cd8a755 /platform-logic/oofpcipoc-api/src/main/json/oofpcipoc-api_add-neighbor.json | |
parent | 428403f72cd97df8bdded8dadb624cd01dde459a (diff) |
SDNR OOCPCI DG Updates for RANSIM Netconf Mount
RAN Simulator leverages Netconf servers to simulate DU's in the RAN
and DG's that reconfigure YANG tree leaf nodes for closed loop
automation need to also support RESTCONF API calls for YANG tree
leaf nodes behind the mount points. Modified existing DG's and
DG properties file
Issue-ID: CCSDK-1398
Signed-off-by: SandeepLinux <sandeeplinux1068@gmail.com>
Change-Id: I2875860115d6ee07edaa39bfcb2e28c01ac9040f
Diffstat (limited to 'platform-logic/oofpcipoc-api/src/main/json/oofpcipoc-api_add-neighbor.json')
-rw-r--r-- | platform-logic/oofpcipoc-api/src/main/json/oofpcipoc-api_add-neighbor.json | 754 |
1 files changed, 577 insertions, 177 deletions
diff --git a/platform-logic/oofpcipoc-api/src/main/json/oofpcipoc-api_add-neighbor.json b/platform-logic/oofpcipoc-api/src/main/json/oofpcipoc-api_add-neighbor.json index 8b3a703b..459daf4a 100644 --- a/platform-logic/oofpcipoc-api/src/main/json/oofpcipoc-api_add-neighbor.json +++ b/platform-logic/oofpcipoc-api/src/main/json/oofpcipoc-api_add-neighbor.json @@ -1,36 +1,36 @@ [ { - "id": "f22345c.de9f5b8", + "id": "aeeb7f1b.21de4", "type": "method", "name": "method", "xml": "<method rpc='add-neighbor' mode='sync'>\n", "comments": "", "outputs": 1, - "x": 148.0103988647461, - "y": 257.98956298828125, - "z": "cc83b660.90f568", + "x": 129, + "y": 216.98956298828125, + "z": "5119743a.9ef5ec", "wires": [ [ - "d7c5d576.1a7868" + "ddcea5f4.b62c08" ] ] }, { - "id": "882b1b72.c01588", + "id": "c0c05b1f.4be1c8", "type": "dgstart", "name": "DGSTART", "outputs": 1, - "x": 168.010404586792, - "y": 59.989585876464844, - "z": "cc83b660.90f568", + "x": 96.00000762939453, + "y": 34.989585876464844, + "z": "5119743a.9ef5ec", "wires": [ [ - "96efced.3d6433" + "9a9306f0.db8218" ] ] }, { - "id": "96efced.3d6433", + "id": "9a9306f0.db8218", "type": "service-logic", "name": "oofpcipoc-api 0.4.2-SNAPSHOT", "module": "oofpcipoc-api", @@ -38,493 +38,893 @@ "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='0.4.2-SNAPSHOT'>", "outputs": 1, - "x": 169.01039123535156, - "y": 141.98968315124512, - "z": "cc83b660.90f568", + "x": 161.99999237060547, + "y": 115.98968505859375, + "z": "5119743a.9ef5ec", "wires": [ [ - "f22345c.de9f5b8" + "aeeb7f1b.21de4" ] ] }, { - "id": "d7c5d576.1a7868", + "id": "ddcea5f4.b62c08", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 134.50000381469727, - "y": 452.9896240234375, - "z": "cc83b660.90f568", + "x": 82.48960876464844, + "y": 331.9896240234375, + "z": "5119743a.9ef5ec", "wires": [ [ - "ff63b265.d194a", - "add1f4bf.f5ec98", - "f85efba7.e52cf8", - "5b7bde21.76a44", - "dd389a0f.51a588", - "9b68a77d.4364d8" + "92a384d9.f02948", + "48d142ef.d9f49c", + "bdb38341.e760b", + "1110ac05.6f6994", + "fc2b7348.4f328", + "dd5b7dbc.8d908" ] ] }, { - "id": "ff63b265.d194a", + "id": "92a384d9.f02948", "type": "returnSuccess", "name": "return success", "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"SUCCESSFUL add-neighbor Execution\" />\n", "comments": "", - "x": 405.01065826416016, - "y": 599.9897012710571, - "z": "cc83b660.90f568", + "x": 137.000244140625, + "y": 578.9896850585938, + "z": "5119743a.9ef5ec", "wires": [] }, { - "id": "9832e91f.5dea28", + "id": "f4036480.02d348", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/add-neighbor.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Input RPC Payload request for Alias: \"/>\n<parameter name=\"field2\" value=\"`$add-neighbor-input.alias`\"/>\n<parameter name=\"field3\" value=\"Input RPC Payload request for add-neighbor. Neighbor Cell #: \"/>\n<parameter name=\"field4\" value=\"`$idx`\"/>\n<parameter name=\"field5\" value=\"`$add-neighbor-input.lte-ran-neighbor-list-in-use-lte-cell[$idx].plmnid`\"/>\n<parameter name=\"field6\" value=\"`$add-neighbor-input.lte-ran-neighbor-list-in-use-lte-cell[$idx].cid`\"/>\n<parameter name=\"field7\" value=\"`$add-neighbor-input.lte-ran-neighbor-list-in-use-lte-cell[$idx].phy-cell-id`\"/>\n<parameter name=\"field8\" value=\"`$add-neighbor-input.lte-ran-neighbor-list-in-use-lte-cell[$idx].pnf-name`\"/>\n<parameter name=\"field9\" value=\"`$add-neighbor-input.lte-ran-neighbor-list-in-use-lte-cell[$idx].blacklisted`\"/>", "comments": "", "outputs": 1, - "x": 717.0112991333008, - "y": 36.98963642120361, - "z": "cc83b660.90f568", + "x": 558.0009155273438, + "y": 132.98963928222656, + "z": "5119743a.9ef5ec", "wires": [ [] ] }, { - "id": "e5a7e054.27e8c", + "id": "a94986f.5e05878", "type": "comment", "name": "Add Neighbor", "info": "", "comments": "", - "x": 371.010404586792, - "y": 20, - "z": "cc83b660.90f568", + "x": 372.0000057220459, + "y": 33, + "z": "5119743a.9ef5ec", "wires": [] }, { - "id": "4725ca86.5a91c4", + "id": "ef8351b1.e89d7", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 911.0106582641602, - "y": 520.6666460037231, - "z": "cc83b660.90f568", + "x": 1106.000259399414, + "y": 442.6666326522827, + "z": "5119743a.9ef5ec", "wires": [ [ - "419e89e2.878848" + "ac999630.a33af8" ] ] }, { - "id": "419e89e2.878848", + "id": "ac999630.a33af8", "type": "returnFailure", "name": "return failure", "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error getting details about new neighbor \" />", "comments": "", - "x": 1114.0104713439941, - "y": 526.6666889190674, - "z": "cc83b660.90f568", + "x": 1309.000072479248, + "y": 448.66667556762695, + "z": "5119743a.9ef5ec", "wires": [] }, { - "id": "b77d4baf.430698", + "id": "8647fd2c.83ed", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 894.0104560852051, - "y": 604.6667747497559, - "z": "cc83b660.90f568", + "x": 1089.000057220459, + "y": 526.6667613983154, + "z": "5119743a.9ef5ec", "wires": [ [ - "3d864d85.162082" + "3f87ccd6.6e8934" ] ] }, { - "id": "3d864d85.162082", + "id": "3f87ccd6.6e8934", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1060.01025390625, - "y": 608.6667079925537, - "z": "cc83b660.90f568", + "x": 1254.999855041504, + "y": 530.6666946411133, + "z": "5119743a.9ef5ec", "wires": [ [ - "d764eca7.6c1dd" + "1f57f138.7861af" ] ] }, { - "id": "d764eca7.6c1dd", + "id": "1f57f138.7861af", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/add-neighbor.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Details about newly added Neighbor\"/>\n<parameter name=\"field2\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].plmnid`\"/>\n<parameter name=\"field3\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].cid`\"/>\n<parameter name=\"field4\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].phy-cell-id`\"/>\n<parameter name=\"field5\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].pnf-name`\"/>\n<parameter name=\"field6\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].blacklisted`\"/>", "comments": "", "outputs": 1, - "x": 1236.010196685791, - "y": 607.6669750213623, - "z": "cc83b660.90f568", + "x": 1430.999797821045, + "y": 529.6669616699219, + "z": "5119743a.9ef5ec", "wires": [ [] ] }, { - "id": "e945229c.9e3f8", + "id": "7f995943.734d18", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/add-neighbor.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for Neighbor Add PUT operation\"/>\n<parameter name=\"field2\" value=\"`$tmp.add-neighbor-service-url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.plmnid`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cid`\"/>\n<parameter name=\"field5\" value=\"`$tmp.phy-cell-id`\"/>\n<parameter name=\"field6\" value=\"`$tmp.pnf-name`\"/>\n<parameter name=\"field7\" value=\"`$tmp.blacklisted`\"/>", "comments": "", "outputs": 1, - "x": 614.0113372802734, - "y": 442.0000858306885, - "z": "cc83b660.90f568", + "x": 809.0009384155273, + "y": 364.00007247924805, + "z": "5119743a.9ef5ec", "wires": [ [] ] }, { - "id": "f85efba7.e52cf8", + "id": "bdb38341.e760b", "type": "for", "name": "for", "xml": "<for index='idx' start='0' end=\"`$add-neighbor-input.lte-cell-number-of-entries`\" >", "comments": "", "outputs": 1, - "x": 566.0961723327637, - "y": 44.95317363739014, - "z": "cc83b660.90f568", + "x": 424.08575439453125, + "y": 144.9531707763672, + "z": "5119743a.9ef5ec", "wires": [ [ - "9832e91f.5dea28" + "f4036480.02d348" ] ] }, { - "id": "add1f4bf.f5ec98", + "id": "48d142ef.d9f49c", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/add-neighbor.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RPC to add neighbors. Number of neighbors to add: \"/>\n<parameter name=\"field2\" value=\"`$add-neighbor-input.lte-cell-number-of-entries`\"/>\n", "comments": "", "outputs": 1, - "x": 387.0107116699219, - "y": 85.01043033599854, - "z": "cc83b660.90f568", + "x": 447.00030517578125, + "y": 81.01042938232422, + "z": "5119743a.9ef5ec", "wires": [ [] ] }, { - "id": "9b68a77d.4364d8", + "id": "363b094e.0a3776", "type": "for", "name": "for", "xml": "<for index='idx' start='0' end=\"`$add-neighbor-input.lte-cell-number-of-entries`\" >", "comments": "", "outputs": 1, - "x": 323.0105800628662, - "y": 453.99998664855957, - "z": "cc83b660.90f568", + "x": 517.0001831054688, + "y": 382, + "z": "5119743a.9ef5ec", "wires": [ [ - "d54b1c5c.89e1a" + "78f71404.16b18c" ] ] }, { - "id": "2a7d5b86.2f1f74", + "id": "6136870d.6c6478", "type": "set", "name": "set tmp variables for the requested neighbor to be added", "xml": "<set>\n<parameter name=\"tmp.plmnid\" value=\"`$add-neighbor-input.lte-ran-neighbor-list-in-use-lte-cell[$idx].plmnid`\"/>\n<parameter name=\"tmp.cid\" value=\"`$add-neighbor-input.lte-ran-neighbor-list-in-use-lte-cell[$idx].cid`\"/>\n<parameter name=\"tmp.phy-cell-id\" value=\"`$add-neighbor-input.lte-ran-neighbor-list-in-use-lte-cell[$idx].phy-cell-id`\"/>\n<parameter name=\"tmp.pnf-name\" value=\"`$add-neighbor-input.lte-ran-neighbor-list-in-use-lte-cell[$idx].pnf-name`\"/>\n<parameter name=\"tmp.blacklisted\" value=\"`$add-neighbor-input.lte-ran-neighbor-list-in-use-lte-cell[$idx].blacklisted`\"/>\n<parameter name=\"tmp.alias\" value=\"`$add-neighbor-input.alias`\"/>", "comments": "", - "x": 876.0115585327148, - "y": 125.88908386230469, - "z": "cc83b660.90f568", + "x": 911.0011596679688, + "y": 45.889068603515625, + "z": "5119743a.9ef5ec", "wires": [] }, { - "id": "2241af1e.1c926", + "id": "6246b287.7aacbc", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 914.0107421875, - "y": 383.00007915496826, - "z": "cc83b660.90f568", + "x": 1109.000343322754, + "y": 305.00006580352783, + "z": "5119743a.9ef5ec", "wires": [ [ - "1cb43b66.fbd255" + "f674a6de.faac88" ] ] }, { - "id": "90d94f4f.9d631", + "id": "edbcedd0.5795c", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 905.0107002258301, - "y": 464.00000190734863, - "z": "cc83b660.90f568", + "x": 1100.000301361084, + "y": 385.9999885559082, + "z": "5119743a.9ef5ec", "wires": [ [ - "70dd741.ff0be8c" + "eff48a81.d2c568" ] ] }, { - "id": "1cb43b66.fbd255", + "id": "f674a6de.faac88", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1047.0106716156006, - "y": 342.0001106262207, - "z": "cc83b660.90f568", + "x": 1242.0002727508545, + "y": 264.0000972747803, + "z": "5119743a.9ef5ec", "wires": [ [ - "469db094.1216" + "28976a3f.4f5f06" ] ] }, { - "id": "469db094.1216", + "id": "28976a3f.4f5f06", "type": "returnFailure", "name": "return failure", "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding a new neighbor\" />", "comments": "", - "x": 1226.010362625122, - "y": 339.00007820129395, - "z": "cc83b660.90f568", + "x": 1420.999963760376, + "y": 261.0000648498535, + "z": "5119743a.9ef5ec", "wires": [] }, { - "id": "70dd741.ff0be8c", + "id": "eff48a81.d2c568", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1070.0104293823242, - "y": 463.00006198883057, - "z": "cc83b660.90f568", + "x": 1265.0000305175781, + "y": 385.00004863739014, + "z": "5119743a.9ef5ec", "wires": [ [ - "2f306524.135d7a" + "661aa2c3.9aab5c" ] ] }, { - "id": "2f306524.135d7a", + "id": "661aa2c3.9aab5c", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/add-neighbor.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PUT New Neighbor Executed Successfully \"/>", "comments": "", "outputs": 1, - "x": 1243.0105438232422, - "y": 464.0000944137573, - "z": "cc83b660.90f568", + "x": 1438.000144958496, + "y": 386.0000810623169, + "z": "5119743a.9ef5ec", "wires": [ [] ] }, { - "id": "d54b1c5c.89e1a", + "id": "78f71404.16b18c", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 403.0103988647461, - "y": 392.0104808807373, - "z": "cc83b660.90f568", + "x": 629, + "y": 262.0104675292969, + "z": "5119743a.9ef5ec", "wires": [ [ - "2a7d5b86.2f1f74", - "e945229c.9e3f8", - "6df2494b.4e3978", - "89170580.861658", - "27948b9f.2a3644", - "4d365ed1.6f0aa", - "9041c096.4c873", - "a5298f6.4caf87", - "98094ef7.d5497", - "75189f8.6382e6" + "6136870d.6c6478", + "7f995943.734d18", + "f2193064.b94cb", + "5ed24074.bab9f", + "4c6d75c9.00d93c", + "3c21b3a5.bda2cc", + "6fce4ab.12f26b4", + "d6d8f210.b0639", + "adc061b8.23a98", + "3587edc4.c1b4e2" ] ] }, { - "id": "5b7bde21.76a44", + "id": "1110ac05.6f6994", "type": "execute", "name": "execute Properties", "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='%SDNC_CONFIG_DIR%/sdnr-oofpcipoc-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n", "comments": "", "outputs": 1, - "x": 612.0106506347656, - "y": 91.01041412353516, - "z": "cc83b660.90f568", + "x": 453.000244140625, + "y": 202.01040649414062, + "z": "5119743a.9ef5ec", "wires": [ [] ] }, { - "id": "dd389a0f.51a588", + "id": "fc2b7348.4f328", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/add-neighbor.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Properties read .. neighbor-add template\"/>\n<parameter name=\"field2\" value=\"`$prop.neighbor-add.templatefile`\"/>\n<parameter name=\"field3\" value=\"`$prop.controller.user`\"/>\n<parameter name=\"field4\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"field5\" value=\"`$prop.controller.url`\"/>\n<parameter name=\"field6\" value=\"`$prop.restapi.lte-ran-neighbor-in-use`\"/>", "comments": "", "outputs": 1, - "x": 572.010778427124, - "y": 141.01051807403564, - "z": "cc83b660.90f568", + "x": 410.0003662109375, + "y": 253.01051330566406, + "z": "5119743a.9ef5ec", "wires": [ [] ] }, { - "id": "6df2494b.4e3978", + "id": "f2193064.b94cb", "type": "execute", "name": "generate neighbor add URL", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.lte-ran-neighbor-in-use`\"/>\n <parameter name=\"outputPath\" value=\"tmp.add-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{alias}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.alias`\"/>", "comments": "", "outputs": 1, - "x": 811.0109329223633, - "y": 217.01056575775146, - "z": "cc83b660.90f568", + "x": 966.0005493164062, + "y": 127.01055145263672, + "z": "5119743a.9ef5ec", "wires": [ [] ] }, { - "id": "89170580.861658", + "id": "5ed24074.bab9f", "type": "execute", "name": "add a neighbor using PUT", "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/oofpcipoc-addNeighbor.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.add-neighbor-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-add-neighbor-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />", "comments": "", "outputs": 1, - "x": 652.0107727050781, - "y": 489.01055335998535, - "z": "cc83b660.90f568", + "x": 847.000373840332, + "y": 411.0105400085449, + "z": "5119743a.9ef5ec", "wires": [ [ - "2241af1e.1c926", - "90d94f4f.9d631" + "6246b287.7aacbc", + "edbcedd0.5795c" ] ] }, { - "id": "27948b9f.2a3644", + "id": "4c6d75c9.00d93c", "type": "execute", "name": "Get newly added neighbor details", "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.add-neighbor-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-neighbor-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n", "comments": "", "outputs": 1, - "x": 638.0105438232422, - "y": 547.0106000900269, - "z": "cc83b660.90f568", + "x": 833.0001449584961, + "y": 469.0105867385864, + "z": "5119743a.9ef5ec", "wires": [ [ - "4725ca86.5a91c4", - "b77d4baf.430698" + "ef8351b1.e89d7", + "8647fd2c.83ed" ] ] }, { - "id": "1daa570b.6f6d19", + "id": "3c21b3a5.bda2cc", "type": "execute", - "name": "Recofigure PCI for a Cell", - "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/oofpcipoc-pci-patch.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.oofpcipoc.patch.pci.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-patch-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' /> \n<parameter name='accept' value='application/yang.patch-status+json' />", + "name": "populate plmnid", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.add-neighbor-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.add-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{plmnid}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.plmnid`\"/>", "comments": "", "outputs": 1, - "x": 845.0104293823242, - "y": 795.0104370117188, - "z": "cc83b660.90f568", + "x": 1045.0002212524414, + "y": 226.01038932800293, + "z": "5119743a.9ef5ec", "wires": [ [] ] }, { - "id": "4d365ed1.6f0aa", + "id": "6fce4ab.12f26b4", "type": "execute", - "name": "execute slipluginutils", + "name": "populate cid", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.add-neighbor-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.add-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{cid}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>", + "comments": "", + "outputs": 1, + "x": 873.0001678466797, + "y": 321.0103921890259, + "z": "5119743a.9ef5ec", + "wires": [ + [] + ] + }, + { + "id": "d6d8f210.b0639", + "type": "record", + "name": "record", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/add-neighbor.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Add Neighbor List URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.add-neighbor-service-url`\"/>", + "comments": "", + "outputs": 1, + "x": 959.0000991821289, + "y": 179.01039028167725, + "z": "5119743a.9ef5ec", + "wires": [ + [] + ] + }, + { + "id": "adc061b8.23a98", + "type": "record", + "name": "record", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/add-neighbor.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Add Neighbor List URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.add-neighbor-service-url`\"/>\n", + "comments": "", + "outputs": 1, + "x": 986.000057220459, + "y": 269.0103907585144, + "z": "5119743a.9ef5ec", + "wires": [ + [] + ] + }, + { + "id": "3587edc4.c1b4e2", + "type": "record", + "name": "record", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/add-neighbor.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Temporary variable for Neighbor Cell #: \"/>\n<parameter name=\"field2\" value=\"`$idx`\"/>\n<parameter name=\"field3\" value=\"`$tmp.plmnid`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cid`\"/>\n<parameter name=\"field5\" value=\"`$tmp.phy-cell-id`\"/>\n<parameter name=\"field6\" value=\"`$tmp.pnf-name`\"/>\n<parameter name=\"field7\" value=\"`$tmp.blacklisted`\"/>\n<parameter name=\"field8\" value=\"`$tmp.alias`\"/>\n", + "comments": "", + "outputs": 1, + "x": 819.0000610351562, + "y": 93.01041412353516, + "z": "5119743a.9ef5ec", + "wires": [ + [] + ] + }, + { + "id": "7d79f8c7.dc0998", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 950, + "y": 986, + "z": "5119743a.9ef5ec", + "wires": [ + [ + "b55a3fbd.f2373" + ] + ] + }, + { + "id": "b55a3fbd.f2373", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error getting details about new neighbor \" />", + "comments": "", + "x": 1152.999813079834, + "y": 992.0000429153442, + "z": "5119743a.9ef5ec", + "wires": [] + }, + { + "id": "4b83adf6.1b4d14", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 932.9997978210449, + "y": 1070.0001287460327, + "z": "5119743a.9ef5ec", + "wires": [ + [ + "f623dc48.7bc69" + ] + ] + }, + { + "id": "f623dc48.7bc69", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1098.9995956420898, + "y": 1074.0000619888306, + "z": "5119743a.9ef5ec", + "wires": [ + [ + "362eeae.fdf5716" + ] + ] + }, + { + "id": "362eeae.fdf5716", + "type": "record", + "name": "record", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/add-neighbor.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Details about newly added Neighbor\"/>\n<parameter name=\"field2\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].plmnid`\"/>\n<parameter name=\"field3\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].cid`\"/>\n<parameter name=\"field4\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].phy-cell-id`\"/>\n<parameter name=\"field5\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].pnf-name`\"/>\n<parameter name=\"field6\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].blacklisted`\"/>", + "comments": "", + "outputs": 1, + "x": 1274.9995384216309, + "y": 1073.0003290176392, + "z": "5119743a.9ef5ec", + "wires": [ + [] + ] + }, + { + "id": "15df17e8.d9f018", + "type": "record", + "name": "record", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/add-neighbor.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for Neighbor Add PUT operation\"/>\n<parameter name=\"field2\" value=\"`$tmp.add-neighbor-service-url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.plmnid`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cid`\"/>\n<parameter name=\"field5\" value=\"`$tmp.phy-cell-id`\"/>\n<parameter name=\"field6\" value=\"`$tmp.pnf-name`\"/>\n<parameter name=\"field7\" value=\"`$tmp.blacklisted`\"/>", + "comments": "", + "outputs": 1, + "x": 653.0006790161133, + "y": 907.3334398269653, + "z": "5119743a.9ef5ec", + "wires": [ + [] + ] + }, + { + "id": "250e361f.428f2a", + "type": "set", + "name": "set tmp variables for the requested neighbor to be added", + "xml": "<set>\n<parameter name=\"tmp.plmnid\" value=\"`$add-neighbor-input.lte-ran-neighbor-list-in-use-lte-cell[$idx].plmnid`\"/>\n<parameter name=\"tmp.cid\" value=\"`$add-neighbor-input.lte-ran-neighbor-list-in-use-lte-cell[$idx].cid`\"/>\n<parameter name=\"tmp.phy-cell-id\" value=\"`$add-neighbor-input.lte-ran-neighbor-list-in-use-lte-cell[$idx].phy-cell-id`\"/>\n<parameter name=\"tmp.pnf-name\" value=\"`$add-neighbor-input.lte-ran-neighbor-list-in-use-lte-cell[$idx].pnf-name`\"/>\n<parameter name=\"tmp.blacklisted\" value=\"`$add-neighbor-input.lte-ran-neighbor-list-in-use-lte-cell[$idx].blacklisted`\"/>\n<parameter name=\"tmp.alias\" value=\"`$add-neighbor-input.alias`\"/>", + "comments": "", + "x": 838.0009155273438, + "y": 567.222412109375, + "z": "5119743a.9ef5ec", + "wires": [] + }, + { + "id": "6b6a9cd4.106434", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 953.0000839233398, + "y": 848.3334331512451, + "z": "5119743a.9ef5ec", + "wires": [ + [ + "58f8ef76.6067d" + ] + ] + }, + { + "id": "8cf43b7e.792208", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 944.0000419616699, + "y": 929.3333559036255, + "z": "5119743a.9ef5ec", + "wires": [ + [ + "ccc2d5ee.fb0fe8" + ] + ] + }, + { + "id": "58f8ef76.6067d", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1086.0000133514404, + "y": 807.3334646224976, + "z": "5119743a.9ef5ec", + "wires": [ + [ + "29979cbe.d55e64" + ] + ] + }, + { + "id": "29979cbe.d55e64", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding a new neighbor\" />", + "comments": "", + "x": 1264.999704360962, + "y": 804.3334321975708, + "z": "5119743a.9ef5ec", + "wires": [] + }, + { + "id": "ccc2d5ee.fb0fe8", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1108.999771118164, + "y": 928.3334159851074, + "z": "5119743a.9ef5ec", + "wires": [ + [ + "1b563cee.d83563" + ] + ] + }, + { + "id": "1b563cee.d83563", + "type": "record", + "name": "record", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/add-neighbor.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PUT New Neighbor Executed Successfully \"/>", + "comments": "", + "outputs": 1, + "x": 1281.999885559082, + "y": 929.3334484100342, + "z": "5119743a.9ef5ec", + "wires": [ + [] + ] + }, + { + "id": "4d2987ef.ea1658", + "type": "execute", + "name": "generate neighbor add URL", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.lte-ran-neighbor-in-use.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.add-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{alias}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.alias`\"/>", + "comments": "", + "outputs": 1, + "x": 781.0003051757812, + "y": 659.3439331054688, + "z": "5119743a.9ef5ec", + "wires": [ + [] + ] + }, + { + "id": "cc502fa8.e9011", + "type": "execute", + "name": "add a neighbor using PUT", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/oofpcipoc-addNeighbor.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.add-neighbor-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-add-neighbor-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />", + "comments": "", + "outputs": 1, + "x": 691.000114440918, + "y": 954.3439073562622, + "z": "5119743a.9ef5ec", + "wires": [ + [ + "6b6a9cd4.106434", + "8cf43b7e.792208" + ] + ] + }, + { + "id": "beeeee7c.ffc14", + "type": "execute", + "name": "Get newly added neighbor details", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.add-neighbor-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-neighbor-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n", + "comments": "", + "outputs": 1, + "x": 676.999885559082, + "y": 1012.3439540863037, + "z": "5119743a.9ef5ec", + "wires": [ + [ + "7d79f8c7.dc0998", + "4b83adf6.1b4d14" + ] + ] + }, + { + "id": "fc7661ec.d45a3", + "type": "execute", + "name": "populate plmnid", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.add-neighbor-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.add-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{plmnid}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.plmnid`\"/>", "comments": "", "outputs": 1, - "x": 850.0106201171875, - "y": 304.01040267944336, - "z": "cc83b660.90f568", + "x": 844.9999389648438, + "y": 771.34375, + "z": "5119743a.9ef5ec", "wires": [ [] ] }, { - "id": "9041c096.4c873", + "id": "7d7a277.ff55dd8", "type": "execute", - "name": "execute slipluginutils", + "name": "populate cid", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.add-neighbor-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.add-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{cid}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>", "comments": "", "outputs": 1, - "x": 678.0105667114258, - "y": 399.0104055404663, - "z": "cc83b660.90f568", + "x": 716.9999084472656, + "y": 864.3437595367432, + "z": "5119743a.9ef5ec", "wires": [ [] ] }, { - "id": "a5298f6.4caf87", + "id": "6a3cb946.4407b8", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/add-neighbor.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Add Neighbor List URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.add-neighbor-service-url`\"/>", "comments": "", "outputs": 1, - "x": 764.010498046875, - "y": 257.0104036331177, - "z": "cc83b660.90f568", + "x": 699.9998168945312, + "y": 710.34375, + "z": "5119743a.9ef5ec", "wires": [ [] ] }, { - "id": "98094ef7.d5497", + "id": "d2640cd6.ff60a", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/add-neighbor.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Add Neighbor List URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.add-neighbor-service-url`\"/>\n", "comments": "", "outputs": 1, - "x": 791.0104560852051, - "y": 347.01040410995483, - "z": "cc83b660.90f568", + "x": 829.9997978210449, + "y": 812.3437581062317, + "z": "5119743a.9ef5ec", "wires": [ [] ] }, { - "id": "75189f8.6382e6", + "id": "c207f64e.adf758", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/add-neighbor.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Temporary variable for Neighbor Cell #: \"/>\n<parameter name=\"field2\" value=\"`$idx`\"/>\n<parameter name=\"field3\" value=\"`$tmp.plmnid`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cid`\"/>\n<parameter name=\"field5\" value=\"`$tmp.phy-cell-id`\"/>\n<parameter name=\"field6\" value=\"`$tmp.pnf-name`\"/>\n<parameter name=\"field7\" value=\"`$tmp.blacklisted`\"/>\n<parameter name=\"field8\" value=\"`$tmp.alias`\"/>\n", "comments": "", "outputs": 1, - "x": 760.0104751586914, - "y": 173.01042461395264, - "z": "cc83b660.90f568", + "x": 696.9998168945312, + "y": 613.34375, + "z": "5119743a.9ef5ec", + "wires": [ + [] + ] + }, + { + "id": "503b0a42.4fcef4", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 441.99974060058594, + "y": 857.3438348770142, + "z": "5119743a.9ef5ec", + "wires": [ + [ + "250e361f.428f2a", + "15df17e8.d9f018", + "4d2987ef.ea1658", + "cc502fa8.e9011", + "beeeee7c.ffc14", + "fc7661ec.d45a3", + "7d7a277.ff55dd8", + "6a3cb946.4407b8", + "d2640cd6.ff60a", + "c207f64e.adf758", + "111c92b7.4948cd" + ] + ] + }, + { + "id": "8fc7c5ca.cbf158", + "type": "for", + "name": "for", + "xml": "<for index='idx' start='0' end=\"`$add-neighbor-input.lte-cell-number-of-entries`\" >", + "comments": "", + "outputs": 1, + "x": 478.9999084472656, + "y": 541.3333740234375, + "z": "5119743a.9ef5ec", + "wires": [ + [ + "503b0a42.4fcef4" + ] + ] + }, + { + "id": "dd5b7dbc.8d908", + "type": "switchNode", + "name": "switch mounted", + "xml": "<switch test='`$prop.ransim-mounted`'>\n", + "comments": "", + "outputs": 1, + "x": 284, + "y": 448, + "z": "5119743a.9ef5ec", + "wires": [ + [ + "d370c315.857ce", + "15822244.a3083e" + ] + ] + }, + { + "id": "d370c315.857ce", + "type": "outcome", + "name": "Not Mounted", + "xml": "<outcome value='false'>\n", + "comments": "", + "outputs": 1, + "x": 371, + "y": 319, + "z": "5119743a.9ef5ec", + "wires": [ + [ + "363b094e.0a3776" + ] + ] + }, + { + "id": "15822244.a3083e", + "type": "outcome", + "name": "Mounted", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 319, + "y": 571, + "z": "5119743a.9ef5ec", + "wires": [ + [ + "8fc7c5ca.cbf158" + ] + ] + }, + { + "id": "111c92b7.4948cd", + "type": "execute", + "name": "populate netconf mount", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.add-neighbor-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.add-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{pnf-name}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.pnf-name`\"/>", + "comments": "", + "outputs": 1, + "x": 891, + "y": 722, + "z": "5119743a.9ef5ec", "wires": [ [] ] } -] +]
\ No newline at end of file |