[
{
- "id": "a5d25c75.df911",
- "type": "method",
- "name": "method",
- "xml": "<method rpc='activateRANSliceInstance' mode='sync'>\n",
- "comments": "",
- "outputs": 1,
- "x": 128,
- "y": 176.9895896911621,
- "z": "f630c4e8.64d488",
- "wires": [
- [
- "940794b0.9ca258"
- ]
- ]
- },
- {
- "id": "6b98a8.11e82758",
+ "id": "2e3f70a0.8d47d",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 131,
- "y": 26.989585876464844,
- "z": "f630c4e8.64d488",
+ "x": 127.5,
+ "y": 84.44443893432617,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "cc743ed3.cedd7"
+ "41f44f.07015bb"
]
]
},
{
- "id": "cc743ed3.cedd7",
+ "id": "41f44f.07015bb",
"type": "service-logic",
"name": "ran-slice-api ${project.version}",
"module": "ran-slice-api",
"comments": "",
"xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='ran-slice-api' version='${project.version}'>",
"outputs": 1,
- "x": 188.99998474121094,
- "y": 87.98968124389648,
- "z": "f630c4e8.64d488",
+ "x": 212.5000228881836,
+ "y": 151.44440841674805,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "463cb4d1.3e11bc"
+ ]
+ ]
+ },
+ {
+ "id": "463cb4d1.3e11bc",
+ "type": "method",
+ "name": "method",
+ "xml": "<method rpc='activateRANSliceInstance' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 146.5,
+ "y": 211.44437408447266,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "a5d25c75.df911"
+ "ad331fd6.efc5a"
]
]
},
{
- "id": "940794b0.9ca258",
+ "id": "ad331fd6.efc5a",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 150.48959732055664,
- "y": 345.98962020874023,
- "z": "f630c4e8.64d488",
+ "x": 169.0000114440918,
+ "y": 291.94444274902344,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "d32cd716.eb75f8",
- "5a119db3.ce9b34"
+ "b8ff0ca8.28a5",
+ "1fe0b815.396298",
+ "1dcf8d76.830503",
+ "6e9843e2.482e7c",
+ "3b188957.fce246",
+ "fec23156.86e02",
+ "f5b38460.dd09d8",
+ "a67e635a.79297",
+ "72972aa.c24f3d4",
+ "fbda5be.41c6ba8",
+ "d8a96a7b.dfd628",
+ "4af74b2.0c4c3b4",
+ "78a81d70.8057c4",
+ "3140a69b.5ea20a",
+ "5d00062a.743238",
+ "f8eadf29.5ba87",
+ "8900b25a.4b727",
+ "65561a2a.1348f4",
+ "fb4912a7.ac9d6",
+ "82a44f57.da628",
+ "4a7507d.20e03f8",
+ "cf85911.dc4117"
]
]
},
{
- "id": "d32cd716.eb75f8",
- "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",
+ "id": "b8ff0ca8.28a5",
+ "type": "execute",
+ "name": "generate getNearRTRICsFromRANNFNSSI URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.getNearRTRICByNSSI`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getNearRTRICByNSSI.url\"/>\n <parameter name=\"target\" value=\"{ranNFNSSIId}\"/>\n <parameter name=\"replacement\" value=\"`$payloadJson.input.RANNFNSSIId`\"/>",
"comments": "",
- "x": 247.0002670288086,
- "y": 575.9897727966309,
- "z": "f630c4e8.64d488",
- "wires": []
+ "outputs": 1,
+ "x": 750.7500610351562,
+ "y": 487.1388988494873,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
},
{
- "id": "44cfb129.2991e",
- "type": "comment",
- "name": "activateRANSliceInstance",
- "info": "",
+ "id": "1fe0b815.396298",
+ "type": "record",
+ "name": "record configdb RestAPI params",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB to Get NearRTRIC for RANNFNSSI\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.getNearRTRICByNSSI.url`\" />\n<parameter name='field3' value=\"`$ranNFNSSIId`\" />",
"comments": "",
- "x": 413,
- "y": 20,
- "z": "f630c4e8.64d488",
- "wires": []
+ "outputs": 1,
+ "x": 690.7500152587891,
+ "y": 523.6944661140442,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
},
{
- "id": "5a119db3.ce9b34",
- "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/configureNearRTRIC.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RPC to handle configureNearRTRIC \"/>",
+ "id": "1dcf8d76.830503",
+ "type": "execute",
+ "name": "Get nearRTRIC for NFNSSI",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getNearRTRICByNSSI.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getNFNSSIRIC-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 300.0002975463867,
- "y": 155.01043319702148,
- "z": "f630c4e8.64d488",
+ "x": 680.7500915527344,
+ "y": 575.6944966316223,
+ "z": "97d36d8.2debe9",
"wires": [
- []
+ [
+ "3e76d279.75553e",
+ "5e15e811.5faf68"
+ ]
]
},
{
- "id": "f7ead8d5.6a76d8",
- "type": "set",
- "name": "set tmp variables for notif input parms",
- "xml": "<set>\n<parameter name=\"tmp.alias\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].alias`\"/>\n<parameter name=\"tmp.cid\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].cid`\"/>\n<parameter name=\"tmp.phy-cell-id-in-use\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].phy-cell-id-in-use`\"/>\n<parameter name=\"tmp.pnf-name\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].pnf-name`\"/>\n<parameter name=\"tmp.lte-cell-number-of-entries\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\"/>",
+ "id": "3e76d279.75553e",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
"comments": "",
- "x": 770.0010986328125,
- "y": 210.88906478881836,
- "z": "f630c4e8.64d488",
- "wires": []
+ "outputs": 1,
+ "x": 979.5680961608887,
+ "y": 593.5125203132629,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "8dc6ef5d.717c1"
+ ]
+ ]
},
{
- "id": "6e214788.4686f8",
- "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-CMNotify-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n",
+ "id": "8dc6ef5d.717c1",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 495.00018310546875,
- "y": 176.01041793823242,
- "z": "f630c4e8.64d488",
+ "x": 1149.5679931640625,
+ "y": 594.5126357078552,
+ "z": "97d36d8.2debe9",
"wires": [
- []
+ [
+ "da9c97d.25b1768",
+ "331d3bbf.64aeb4"
+ ]
]
},
{
- "id": "df08b48d.a7c588",
+ "id": "da9c97d.25b1768",
"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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Properties read ..configDB URL\"/>\n<parameter name=\"field2\" value=\"`$prop.configdb.url`\"/>\n<parameter name=\"field3\" value=\"Properties read ..DMAAP Msg Router URL\"/>\n<parameter name=\"field4\" value=\"`$prop.configdb.url`\"/>\n<parameter name=\"field5\" value=\"`$prop.dmaap-message-router.url`\"/>\n<parameter name=\"field6\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"field7\" value=\"`$prop.controller.url`\"/>\n",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained NearRT RIC info from ConfigDB\"/>\n<parameter name=\"field2\" value=\"`$getNFNSSIRIC-configdb-response._length`\"/>",
"comments": "",
"outputs": 1,
- "x": 460.00030517578125,
- "y": 230.01049423217773,
- "z": "f630c4e8.64d488",
+ "x": 1372.5677909851074,
+ "y": 539.5126194953918,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "3cf4985f.1d9b68",
- "type": "for",
- "name": "for",
- "xml": "<for index='idx' start='0' end=\"`$nbrlist-change-notification-input.fap-service-number-of-entries-changed`\" >",
+ "id": "331d3bbf.64aeb4",
+ "type": "execute",
+ "name": "printContext",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-activateRANSlice-context.log' />\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1368.345932006836,
+ "y": 610.5126271247864,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5e15e811.5faf68",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 335,
- "y": 355.98958587646484,
- "z": "f630c4e8.64d488",
+ "x": 985.5680503845215,
+ "y": 533.5126042366028,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "c8a0e6e.1dd9f18"
+ "6058101b.41923"
]
]
},
{
- "id": "c8a0e6e.1dd9f18",
+ "id": "6058101b.41923",
"type": "block",
- "name": "block : ConfigDB Update",
- "xml": "<block atomic='true'>",
- "atomic": "true",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
"comments": "",
"outputs": 1,
- "x": 514,
- "y": 346.9895896911621,
- "z": "f630c4e8.64d488",
+ "x": 1265.5681266784668,
+ "y": 439.51265811920166,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "f7ead8d5.6a76d8",
- "30513601.2f1eda"
+ "fe1b7f80.af15e",
+ "a6171c84.8f453"
]
]
},
{
- "id": "30513601.2f1eda",
- "type": "for",
- "name": "for",
- "xml": "<for index='idy' start='0' end=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\" >",
+ "id": "fe1b7f80.af15e",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 1443.56791305542,
+ "y": 393.6236848831177,
+ "z": "97d36d8.2debe9",
+ "wires": []
+ },
+ {
+ "id": "6e9843e2.482e7c",
+ "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RPC to handle activateRANSlice.: \"/>\n<parameter name=\"field2\" value=\"`$activate-r-a-n-slice-instance-input.action`\"/>\n<parameter name=\"field3\" value=\"`$activate-r-a-n-slice-instance-input.timestamp`\"/>\n<parameter name=\"field4\" value=\"`$activate-r-a-n-slice-instance-input.common-header.request-id`\"/>\n<parameter name=\"field5\" value=\"`$activate-r-a-n-slice-instance-input.common-header.originator-id`\"/>\n<parameter name=\"field6\" value=\"RPC Payload String \"/>\n<parameter name=\"field7\" value=\"`$activate-r-a-n-slice-instance-input.payload`\"/>",
"comments": "",
"outputs": 1,
- "x": 731,
- "y": 320.9895896911621,
- "z": "f630c4e8.64d488",
+ "x": 655.5,
+ "y": 100.44442558288574,
+ "z": "97d36d8.2debe9",
"wires": [
- [
- "307d8f82.8592a"
- ]
+ []
]
},
{
- "id": "c0f7c9f8.98e818",
+ "id": "3b188957.fce246",
"type": "set",
- "name": "set tmp variables for notif neigbor input parms",
- "xml": "<set>\n<parameter name=\"tmp.nbr.plmnid\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].plmnid`\"/>\n<parameter name=\"tmp.nbr.cid\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].cid`\"/>\n<parameter name=\"tmp.nbr.phy-cell-id\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].phy-cell-id`\"/>\n<parameter name=\"tmp.nbr.pnf-name\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].pnf-name`\"/>\n<parameter name=\"tmp.nbr.blacklisted\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].blacklisted`\"/>",
+ "name": "set default status value",
+ "xml": "<set>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value='Successful execution of activateRANSice RPC' />",
"comments": "",
- "x": 1129,
- "y": 194.9895896911621,
- "z": "f630c4e8.64d488",
+ "x": 694.499755859375,
+ "y": 143.44443798065186,
+ "z": "97d36d8.2debe9",
"wires": []
},
{
- "id": "307d8f82.8592a",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
+ "id": "fec23156.86e02",
+ "type": "execute",
+ "name": "execute jsonStringToCtx",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='jsonStringToCtx'>\n\t<parameter name='source' value='activate-r-a-n-slice-instance-input.payload' />\n\t<parameter name='outputPath' value='payloadJson' />\n\t<parameter name='isEscaped' value='false' />",
"comments": "",
"outputs": 1,
- "x": 864,
- "y": 268.9895896911621,
- "z": "f630c4e8.64d488",
+ "x": 699.4997711181641,
+ "y": 188.1944236755371,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "c0f7c9f8.98e818",
- "fa22a415.571198",
- "6f4fe94a.b1ffa8",
- "49fbbbb9.e37cd4"
+ "ca5056d6.43deb8"
]
]
},
{
- "id": "fa22a415.571198",
+ "id": "f5b38460.dd09d8",
+ "type": "execute",
+ "name": "printContext",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-activateRANSlice-context.log' />\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 659.1386184692383,
+ "y": 277.1839771270752,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a67e635a.79297",
"type": "execute",
- "name": "generate configdb add URL for nbr",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.add-nbrlist-change-per-notif`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.add-nbrlist-change-per-notif.url\"/>\n <parameter name=\"target\" value=\"{cellId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>",
+ "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/ran-slice-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n",
"comments": "",
"outputs": 1,
- "x": 1127,
- "y": 240.9895896911621,
- "z": "f630c4e8.64d488",
+ "x": 688.0275650024414,
+ "y": 318.1944007873535,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "6f4fe94a.b1ffa8",
+ "id": "72972aa.c24f3d4",
"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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB neighbor cell ADD\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.add-nbrlist-change-per-notif.url`\" />\n<parameter name='field3' value=\"`$tmp.nbr.cid`\" />\n<parameter name='field4' value=\"`$tmp.nbr.blacklisted`\" />\n",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Properties read .. controller details \"/>\n<parameter name=\"field2\" value=\"`$prop.controller.user`\"/>\n<parameter name=\"field3\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"field4\" value=\"`$prop.controller.url`\"/>\n<parameter name=\"field5\" value=\"ransim-mounted (true/false): \"/>\n<parameter name=\"field6\" value=\"`$prop.ransim-mounted`\"/>\n<parameter name=\"field7\" value=\"config DB deployed (true/false): \"/>\n<parameter name=\"field8\" value=\"`$prop.configdb-deployed`\"/>",
"comments": "",
"outputs": 1,
- "x": 1122,
- "y": 289.9895896911621,
- "z": "f630c4e8.64d488",
+ "x": 657.0832805633545,
+ "y": 363.63891792297363,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "49fbbbb9.e37cd4",
- "type": "execute",
- "name": "Add neighbor to Cell",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/CMNotify-add-nbr-to-configdb-per-nbrlist-change-notif.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.add-nbrlist-change-per-notif.url`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"CMNotify-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />",
+ "id": "ca5056d6.43deb8",
+ "type": "other",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1093,
- "y": 367.9895896911621,
- "z": "f630c4e8.64d488",
+ "x": 965.9997825622559,
+ "y": 190.19441318511963,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "e8bd439c.2947",
- "780d51b3.1fe4c"
+ "f409f85.647a408"
]
]
},
{
- "id": "e8bd439c.2947",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
+ "id": "f409f85.647a408",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1295,
- "y": 334.9895896911621,
- "z": "f630c4e8.64d488",
+ "x": 1165.9999389648438,
+ "y": 192.94440937042236,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "3e77d15e.509e8e"
+ "93b984ad.bea558",
+ "42ac8bbd.691104"
]
]
},
{
- "id": "780d51b3.1fe4c",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
+ "id": "93b984ad.bea558",
+ "type": "execute",
+ "name": "printContext",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-activateRANSlice-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1287.999891281128,
- "y": 413.98949909210205,
- "z": "f630c4e8.64d488",
+ "x": 1356.000015258789,
+ "y": 154.44444370269775,
+ "z": "97d36d8.2debe9",
"wires": [
- [
- "ec0f9390.bc092"
- ]
+ []
]
},
{
- "id": "3e77d15e.509e8e",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
+ "id": "42ac8bbd.691104",
+ "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Payload for activateRANSlice.: \"/>\n<parameter name=\"field2\" value=\"`$payloadJson.input.sNSSAI`\"/>\n<parameter name=\"field3\" value=\"`$payloadJson.input.RANNFNSSIId`\"/>\n<parameter name=\"field4\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfileId`\"/>\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1455.9998779296875,
- "y": 291.98962020874023,
- "z": "f630c4e8.64d488",
+ "x": 1355.24995803833,
+ "y": 218.44445991516113,
+ "z": "97d36d8.2debe9",
"wires": [
- [
- "1a2c5cb9.93d263"
- ]
+ []
]
},
{
- "id": "1a2c5cb9.93d263",
- "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 neighbor to configdb. Aborting notification update\" />",
+ "id": "fbda5be.41c6ba8",
+ "type": "for",
+ "name": "foreach NearRTRIC",
+ "xml": "<for index='idy' start='0' end='`$tmp.RICList_length`' >\n",
"comments": "",
- "x": 1634.999568939209,
- "y": 288.9895877838135,
- "z": "f630c4e8.64d488",
- "wires": []
+ "outputs": 1,
+ "x": 433.4375915527344,
+ "y": 1016.3194561004639,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "7c110262.8404cc",
+ "83b3aa05.8be538",
+ "3b09f70f.de57e8",
+ "d74aea1d.4971f8"
+ ]
+ ]
},
{
- "id": "ec0f9390.bc092",
+ "id": "7c110262.8404cc",
"type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
+ "name": "Process CUCP",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1445.9996337890625,
- "y": 379.989559173584,
- "z": "f630c4e8.64d488",
+ "x": 698.6875305175781,
+ "y": 1009.751386642456,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "81cf5fd.7666fa"
+ "f2ca7302.db0fb",
+ "64af93d5.849c2c",
+ "967a2e00.a891c"
]
]
},
{
- "id": "81cf5fd.7666fa",
+ "id": "f2ca7302.db0fb",
+ "type": "execute",
+ "name": "read CUCP list size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCPList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUCPList_length'`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 1044.937515258789,
+ "y": 879.5012950897217,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "64af93d5.849c2c",
"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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Neighbor Added to ConfigDB \"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of CUCP List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUCPList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1624.9997024536133,
- "y": 378.98954582214355,
- "z": "f630c4e8.64d488",
+ "x": 1004.4374961853027,
+ "y": 927.0013723373413,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "b33ddeae.aa57b",
- "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.templatefile`\" />\n <parameter name='restapiUrl' value=\"`$prop.dmaap-message-router.url + '/' + $prop.CMNotify-dmaap.nbrlist-change.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' />",
+ "id": "967a2e00.a891c",
+ "type": "for",
+ "name": "foreach CUCP",
+ "xml": "<for index='idz' start='0' end='`$tmp.CUCPList_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 665.5,
- "y": 506.07290267944336,
- "z": "f630c4e8.64d488",
+ "x": 1021.1876220703125,
+ "y": 977.001373052597,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "5682184.0ed98e8",
- "116d5ac8.a491a5"
+ "2627c7aa.bdde98"
]
]
},
{
- "id": "77dfbd9a.85b724",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='tmp.oofpcipoc-dmaap.requestID' value='`$prop.CMNotify-dmaap.requestID`'/>\n<parameter name='tmp.oofpcipoc-dmaap.aai' value=\"`$prop.CMNotify-dmaap.aai`\"/>\n<parameter name='tmp.oofpcipoc-dmaap.version' value='`$prop.CMNotify-dmaap.version`'/>\n<parameter name='tmp.oofpcipoc-dmaap.action' value='`$prop.CMNotify-dmaap.action`'/>\n<parameter name='tmp.oofpcipoc-dmaap.payload' value='`$nbrlist-change-notification-input.payload`'/>",
+ "id": "2627c7aa.bdde98",
+ "type": "block",
+ "name": "block : process CUCP",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
- "x": 660.166748046875,
- "y": 412.07290267944336,
- "z": "f630c4e8.64d488",
- "wires": []
+ "outputs": 1,
+ "x": 1232.187515258789,
+ "y": 940.2512664794922,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "bb142c16.d827",
+ "fa055768.583dd8",
+ "81577c39.485ae",
+ "cf7b2dea.a1465"
+ ]
+ ]
},
{
- "id": "5682184.0ed98e8",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
+ "id": "bb142c16.d827",
+ "type": "execute",
+ "name": "read CUCP name",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCPName' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].gNBCUName'`\" />",
"comments": "",
"outputs": 1,
- "x": 861,
- "y": 445.9895896911621,
- "z": "f630c4e8.64d488",
+ "x": 1486.9376068115234,
+ "y": 670.3346672058105,
+ "z": "97d36d8.2debe9",
"wires": [
- [
- "feddd5d5.b26b48"
- ]
+ []
]
},
{
- "id": "116d5ac8.a491a5",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
+ "id": "81577c39.485ae",
+ "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CUCPName \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUCPName`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 846.9998779296875,
- "y": 579.9895286560059,
- "z": "f630c4e8.64d488",
+ "x": 1458.687614440918,
+ "y": 725.501277923584,
+ "z": "97d36d8.2debe9",
"wires": [
- [
- "f00581ee.7161e"
- ]
+ []
]
},
{
- "id": "feddd5d5.b26b48",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
+ "id": "cf7b2dea.a1465",
+ "type": "execute",
+ "name": "read cellCU list size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUCPList[' + $idz +'].cellCUList_length'`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 1051.9998779296875,
- "y": 475.98962020874023,
- "z": "f630c4e8.64d488",
+ "x": 1495.9375228881836,
+ "y": 773.251293182373,
+ "z": "97d36d8.2debe9",
"wires": [
- [
- "f9e8e42c.b650c8"
- ]
+ []
]
},
{
- "id": "f9e8e42c.b650c8",
- "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 message. ConfigDB Updated; TO be rolled back...will handle next release\" />",
+ "id": "fa055768.583dd8",
+ "type": "for",
+ "name": "for cellCUList",
+ "xml": "<for index='idcu' start='0' end='`$tmp.cellCUList_length`' >\n",
"comments": "",
- "x": 1230.999568939209,
- "y": 472.9895877838135,
- "z": "f630c4e8.64d488",
- "wires": []
+ "outputs": 1,
+ "x": 1470.9374923706055,
+ "y": 826.0013084411621,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "9d238b51.1eb318"
+ ]
+ ]
},
{
- "id": "f00581ee.7161e",
+ "id": "9d238b51.1eb318",
"type": "block",
"name": "block",
- "xml": "<block>\n",
- "atomic": "false",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1041.9996337890625,
- "y": 563.989559173584,
- "z": "f630c4e8.64d488",
+ "x": 1685.9375343322754,
+ "y": 826.2513256072998,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "2a523c48.546854"
+ "e883771f.62ada8",
+ "5789652a.13621c",
+ "ba32eb.352e5d18"
]
]
},
{
- "id": "2a523c48.546854",
- "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"DMAAP Message Successfully Published \"/>",
+ "id": "e883771f.62ada8",
+ "type": "execute",
+ "name": "read PLMNList size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNInfoList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList_length'`\" />",
"comments": "",
"outputs": 1,
- "x": 1220.9997024536133,
- "y": 562.9895458221436,
- "z": "f630c4e8.64d488",
+ "x": 1902.8964233398438,
+ "y": 764.9042949676514,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "283ddbe5.abd8f4",
+ "id": "ba32eb.352e5d18",
+ "type": "for",
+ "name": "foreach PLMNInfo",
+ "xml": "<for index='id-cuplmn' start='0' end='`$tmp.pLMNInfoList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1931.9240798950195,
+ "y": 863.0985670089722,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "6567a11b.57ba4"
+ ]
+ ]
+ },
+ {
+ "id": "6567a11b.57ba4",
"type": "block",
- "name": "block : Publish DMAAP Message",
+ "name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 416,
- "y": 449.98958587646484,
- "z": "f630c4e8.64d488",
+ "x": 2109.813056945801,
+ "y": 785.8763561248779,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "77dfbd9a.85b724",
- "b33ddeae.aa57b"
+ "af8a2706.fe3648",
+ "b1460aaf.3d1778",
+ "49bb7059.83e74"
]
]
},
{
- "id": "280fec55.9805a4",
- "type": "comment",
- "name": "DMAAP Publish Not Reqd. Just a placeholder",
- "info": "",
+ "id": "49bb7059.83e74",
+ "type": "execute",
+ "name": "read sNSSAI from getNFNSSIRIC-configdb-response",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.configDBSNSSAI' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList['+ $id-cuplmn +'].sNSSAI.sNSSAI'`\" />",
"comments": "",
- "x": 380,
- "y": 503.98958587646484,
- "z": "f630c4e8.64d488",
- "wires": []
+ "outputs": 1,
+ "x": 2460.2574768066406,
+ "y": 798.8763513565063,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
},
{
- "id": "3d43e8a.fae8d18",
+ "id": "af8a2706.fe3648",
"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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Input RPC Payload request. FAP #: \"/>\n<parameter name=\"field2\" value=\"`$idx`\"/>\n<parameter name=\"field3\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].alias`\"/>\n<parameter name=\"field4\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].cid`\"/>\n<parameter name=\"field5\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].phy-cell-id-in-use`\"/>\n<parameter name=\"field6\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].pnf-name`\"/>\n<parameter name=\"field7\" value=\"Number of neigbors Changed/To Be Added #: \"/>\n<parameter name=\"field8\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI - getNFNSSIRIC-configdb-response\"/>\n<parameter name=\"field2\" value=\"`$tmp.configDBSNSSAI`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 815.0005493164062,
- "y": 42.9896354675293,
- "z": "f630c4e8.64d488",
+ "x": 2319.0353813171387,
+ "y": 832.4318771362305,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "c74a3b00.dbe438",
- "type": "for",
- "name": "for",
- "xml": "<for index='idx' start='0' end=\"`$nbrlist-change-notification-input.fap-service-number-of-entries-changed`\" >",
+ "id": "b1460aaf.3d1778",
+ "type": "switchNode",
+ "name": "is NSSAI exists",
+ "xml": "<switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2354.5908584594727,
+ "y": 873.6541051864624,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "f8d9d5cc.331478"
+ ]
+ ]
+ },
+ {
+ "id": "f8d9d5cc.331478",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 484.085693359375,
- "y": 115.95317459106445,
- "z": "f630c4e8.64d488",
+ "x": 2544.063056945801,
+ "y": 873.8764343261719,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "898ea471.c49108"
+ "4bf0bc05.929e64"
]
]
},
{
- "id": "898ea471.c49108",
+ "id": "4bf0bc05.929e64",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 636,
- "y": 77.98958969116211,
- "z": "f630c4e8.64d488",
+ "x": 2764.6875,
+ "y": 871.6319389343262,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "3d43e8a.fae8d18",
- "15326088.5383cf"
+ "4e7e556c.845abc",
+ "8a2266a8.1c2d38",
+ "731d42c4.f6e40c",
+ "df02fea.90fde",
+ "e6e24fd0.3cd09",
+ "42fb01d5.8ba33",
+ "9b0a2c7e.8b569",
+ "88ebb234.4318f",
+ "dafd44d3.cdebe8"
]
]
},
{
- "id": "15326088.5383cf",
- "type": "for",
- "name": "for",
- "xml": "<for index='idy' start='0' end=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\" >",
+ "id": "dafd44d3.cdebe8",
+ "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CellCU is applicable for the NSSAI \"/>\n\n\n",
"comments": "",
"outputs": 1,
- "x": 808,
- "y": 107.98958969116211,
- "z": "f630c4e8.64d488",
+ "x": 2959.6875,
+ "y": 866.6319389343262,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "88ebb234.4318f",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2987.6875,
+ "y": 934.6319389343262,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "6ebb935.a77b76c"
+ "d77c2d0a.fe695",
+ "408dc4a2.df219c"
]
]
},
{
- "id": "6ebb935.a77b76c",
- "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Neighbor #: \"/>\n<parameter name=\"field2\" value=\"`$idy`\"/>\n<parameter name=\"field3\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].plmnid`\"/>\n<parameter name=\"field4\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].cid`\"/>\n<parameter name=\"field5\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].phy-cell-id`\"/>\n<parameter name=\"field6\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].pnf-name`\"/>\n<parameter name=\"field7\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].blacklisted`\"/>",
+ "id": "d77c2d0a.fe695",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3195.6875,
+ "y": 899.6316947937012,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "44f83437.9a11ac"
+ ]
+ ]
+ },
+ {
+ "id": "44f83437.9a11ac",
+ "type": "execute",
+ "name": "generate patch PLMNInfoListEntry ToNRCellCU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellCU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 959,
- "y": 101.98958969116211,
- "z": "f630c4e8.64d488",
+ "x": 3515.6875,
+ "y": 914.6319389343262,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
+ },
+ {
+ "id": "5de7db9d.692f04",
+ "type": "execute",
+ "name": "generate patchPLMNInfoList.ToNRCellCU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellCU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3694.187530517578,
+ "y": 972.6318778991699,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "aa989b67.645808",
+ "type": "execute",
+ "name": "populate mountName",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3638.187931060791,
+ "y": 1025.6320714950562,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bb1a8099.105d6",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3387.1875,
+ "y": 1002.6319389343262,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "5de7db9d.692f04",
+ "aa989b67.645808"
+ ]
+ ]
+ },
+ {
+ "id": "408dc4a2.df219c",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3183.6875,
+ "y": 1001.6319389343262,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "bb1a8099.105d6"
+ ]
+ ]
+ },
+ {
+ "id": "4e7e556c.845abc",
+ "type": "execute",
+ "name": "read cellCU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCULocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].cellLocalId'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2954.6875,
+ "y": 1034.6319389343262,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e6e24fd0.3cd09",
+ "type": "execute",
+ "name": "prepare idGNBCUCPFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2981.6875,
+ "y": 1098.6319389343262,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "42fb01d5.8ba33",
+ "type": "execute",
+ "name": "prepare idNRCellCU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2942.687759399414,
+ "y": 1144.1319675445557,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9b0a2c7e.8b569",
+ "type": "execute",
+ "name": "prepare mcc",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 2908.4375610351562,
+ "y": 1225.8819952011108,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8a2266a8.1c2d38",
+ "type": "execute",
+ "name": "prepare mnc",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2897.18798828125,
+ "y": 1286.1320114135742,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "731d42c4.f6e40c",
+ "type": "record",
+ "name": "record API params",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"patch cellCU NSSAI parameters\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.CUCPName`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cellCULocalId`\"/>\n<parameter name=\"field5\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field6\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field7\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2893.6875,
+ "y": 1354.6319389343262,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "df02fea.90fde",
+ "type": "execute",
+ "name": "activate PLMNInfoListEntry ToNRCellDU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-status.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.patchPLMNInfoListEntry.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=\"activate-cellCU-PLMNInfoList-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2933.6876068115234,
+ "y": 1417.6319122314453,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "599d4ca5.dae754",
+ "7960760f.a0e828"
+ ]
+ ]
+ },
+ {
+ "id": "7960760f.a0e828",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3149.68758392334,
+ "y": 1296.6319122314453,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "7eba1214.d6292c"
+ ]
+ ]
+ },
+ {
+ "id": "7eba1214.d6292c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3299.687858581543,
+ "y": 1255.632095336914,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "d5024375.14d7a",
+ "11cc8a2d.1c0ef6",
+ "a6171c84.8f453"
+ ]
+ ]
+ },
+ {
+ "id": "11cc8a2d.1c0ef6",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellCU PLMNInfoList. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 3465.687614440918,
+ "y": 1221.632095336914,
+ "z": "97d36d8.2debe9",
+ "wires": []
+ },
+ {
+ "id": "d5024375.14d7a",
+ "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 NRcellCU - PLMNInfo. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 3470.6874923706055,
+ "y": 1316.6321563720703,
+ "z": "97d36d8.2debe9",
+ "wires": []
+ },
+ {
+ "id": "b7ef60e6.8ba87",
+ "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellCU PLMNInfo List\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3555.6874618530273,
+ "y": 1409.632339477539,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bce86bbc.4e0a78",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3357.687400817871,
+ "y": 1412.6322174072266,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "b7ef60e6.8ba87"
+ ]
+ ]
+ },
+ {
+ "id": "599d4ca5.dae754",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3184.687614440918,
+ "y": 1413.6321563720703,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "bce86bbc.4e0a78"
+ ]
+ ]
+ },
+ {
+ "id": "d8a96a7b.dfd628",
+ "type": "execute",
+ "name": "read sNSSAI from input",
+ "xml": "<set>\n<parameter name='tmp.sNSSAI' value=\"`$payloadJson.input.sNSSAI`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 707.1875152587891,
+ "y": 234.44444465637207,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "83b3aa05.8be538",
+ "type": "block",
+ "name": "Process CUUP",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 699.6875534057617,
+ "y": 1151.6319646835327,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "ab889fe1.795bc",
+ "767a78bd.0c3858",
+ "bef03ad.2f251c8"
+ ]
+ ]
+ },
+ {
+ "id": "ab889fe1.795bc",
+ "type": "execute",
+ "name": "read CUUP list size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUUPList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUUPList_length'`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 1030.687557220459,
+ "y": 1051.6319618225098,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "767a78bd.0c3858",
+ "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of CUCP List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUUPList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 987.6876220703125,
+ "y": 1102.8819642066956,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bef03ad.2f251c8",
+ "type": "for",
+ "name": "foreach CUUP",
+ "xml": "<for index='id-cuup' start='0' end='`$tmp.CUUPList_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1013.1875152587891,
+ "y": 1151.6319637298584,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "a79c0f0.ce909f"
+ ]
+ ]
+ },
+ {
+ "id": "a79c0f0.ce909f",
+ "type": "block",
+ "name": "block : process CUUP",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1236.6875610351562,
+ "y": 1134.8820095062256,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "18ef9633.d9bbda",
+ "f9bc59d6.5a5028",
+ "583ebb73.81c944",
+ "fb440a2f.179028"
+ ]
+ ]
+ },
+ {
+ "id": "18ef9633.d9bbda",
+ "type": "execute",
+ "name": "read CUUP id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.idGNBCUUPFunction' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].gNBCUUPId'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1480.6875,
+ "y": 910.1319389343262,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f9bc59d6.5a5028",
+ "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"idGNBCUUPFunction \"/>\n<parameter name=\"field2\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1476.6875,
+ "y": 964.1319389343262,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "583ebb73.81c944",
+ "type": "execute",
+ "name": "read plmninfolist size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNInfoList' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].pLMNInfoList_length'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1527.6875,
+ "y": 1029.1319389343262,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fb440a2f.179028",
+ "type": "for",
+ "name": "foreach pLMNInfo",
+ "xml": "<for index='id-plmn' start='0' end='`$tmp.pLMNInfoList`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1513.6875,
+ "y": 1084.1319389343262,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "ddf97987.753eb8"
+ ]
+ ]
+ },
+ {
+ "id": "c41e3776.a23bb8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1752.8125,
+ "y": 1081.3194389343262,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "f6fc9393.56661",
+ "173ddfd.25e492",
+ "60bfcd2e.26d3b4",
+ "5c9636da.117878",
+ "486c8988.17b4e8",
+ "cf837fb7.24118"
+ ]
+ ]
+ },
+ {
+ "id": "f6fc9393.56661",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1966.062759399414,
+ "y": 1082.0695877075195,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "32d71801.387438",
+ "f70fa22d.1b3b9"
+ ]
+ ]
+ },
+ {
+ "id": "32d71801.387438",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2179.062641143799,
+ "y": 1049.569206237793,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "b23cfcec.7bedc"
+ ]
+ ]
+ },
+ {
+ "id": "b23cfcec.7bedc",
+ "type": "execute",
+ "name": "generate patch PLMNInfoListEntry CUUP URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2504.0625228881836,
+ "y": 1004.5695104598999,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d051a6a1.a3b278",
+ "type": "execute",
+ "name": "generate patchPLMNInfoList.TogNBCUUP",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2614.8120651245117,
+ "y": 1087.319221496582,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e9e95b17.1e7758",
+ "type": "execute",
+ "name": "populate mountName",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2598.8125858306885,
+ "y": 1155.3194818496704,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "86fac64.a62ab38",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2339.062370300293,
+ "y": 1146.0692219734192,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "d051a6a1.a3b278",
+ "e9e95b17.1e7758"
+ ]
+ ]
+ },
+ {
+ "id": "f70fa22d.1b3b9",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2164.562515258789,
+ "y": 1135.319480895996,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "86fac64.a62ab38"
+ ]
+ ]
+ },
+ {
+ "id": "173ddfd.25e492",
+ "type": "execute",
+ "name": "prepare idGNBCUUPFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUUPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2034.7221374511719,
+ "y": 1195.104145526886,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "60bfcd2e.26d3b4",
+ "type": "execute",
+ "name": "patch PLMNInfoListEntry gNBCUUP",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-status.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.patchPLMNInfoList-CUUP.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=\"activate-gNBCUUP-PLMNInfoList-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1984.0556335449219,
+ "y": 1308.7708168029785,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "a9f87790.beb6f8",
+ "1b34c3a5.cb065c"
+ ]
+ ]
+ },
+ {
+ "id": "a9f87790.beb6f8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2310.5001525878906,
+ "y": 1271.8821783065796,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "b38e2a02.d20078"
+ ]
+ ]
+ },
+ {
+ "id": "1b34c3a5.cb065c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2304.500030517578,
+ "y": 1338.8821172714233,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "7bb357a6.982188"
+ ]
+ ]
+ },
+ {
+ "id": "b38e2a02.d20078",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2487.500274658203,
+ "y": 1260.882056236267,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "fb2c033.9824a",
+ "b337d9a3.fb8778",
+ "a6171c84.8f453"
+ ]
+ ]
+ },
+ {
+ "id": "7bb357a6.982188",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2484.500030517578,
+ "y": 1343.8819341659546,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "6d52774b.718b58"
+ ]
+ ]
+ },
+ {
+ "id": "6d52774b.718b58",
+ "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - gNBCUUP PLMNInfo List\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2637.499725341797,
+ "y": 1343.8821783065796,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fb2c033.9824a",
+ "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 patching CUUP PLMNInfo. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2692.2502365112305,
+ "y": 1261.3823356628418,
+ "z": "97d36d8.2debe9",
+ "wires": []
+ },
+ {
+ "id": "b337d9a3.fb8778",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching CUUP PLMNInfoList. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2697.2504234313965,
+ "y": 1207.3824715614319,
+ "z": "97d36d8.2debe9",
+ "wires": []
+ },
+ {
+ "id": "3b09f70f.de57e8",
+ "type": "block",
+ "name": "Process gNBDU",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 694.0625076293945,
+ "y": 1300.0694637298584,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "a2731454.f88ab8",
+ "fed2b0cf.516b5",
+ "490ac02c.0d8af"
+ ]
+ ]
+ },
+ {
+ "id": "a2731454.f88ab8",
+ "type": "execute",
+ "name": "read DUlist size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.DUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBDUList_length'`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 1026.8125305175781,
+ "y": 1206.069450378418,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fed2b0cf.516b5",
+ "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of DU List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.DUList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 999.812557220459,
+ "y": 1249.5695114135742,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "490ac02c.0d8af",
+ "type": "for",
+ "name": "foreach DU",
+ "xml": "<for index='id-du' start='0' end='`$tmp.DUList_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1011.8125305175781,
+ "y": 1300.8194389343262,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "9d0de056.0e88b"
+ ]
+ ]
+ },
+ {
+ "id": "9d0de056.0e88b",
+ "type": "block",
+ "name": "block : process gNBDU",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1292.8125,
+ "y": 1301.819408416748,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "77316146.f524d",
+ "d1967c77.837a4",
+ "2878771e.95fa18",
+ "2c34edac.88ff82"
+ ]
+ ]
+ },
+ {
+ "id": "77316146.f524d",
+ "type": "execute",
+ "name": "read DU id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.GNBDUId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].gNBDUId'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1571.8123245239258,
+ "y": 1297.8187103271484,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d1967c77.837a4",
+ "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"GNBDUId \"/>\n<parameter name=\"field2\" value=\"`$tmp.GNBDUId`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1544.8123245239258,
+ "y": 1348.8187103271484,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2878771e.95fa18",
+ "type": "execute",
+ "name": "read cellDU list size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBDUList[' + $id-du +'].cellDUList_length'`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 1585.8123245239258,
+ "y": 1397.8187103271484,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2c34edac.88ff82",
+ "type": "for",
+ "name": "for cellDUList",
+ "xml": "<for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1575.8123245239258,
+ "y": 1441.8187103271484,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "418bc08c.4d246"
+ ]
+ ]
+ },
+ {
+ "id": "418bc08c.4d246",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1735.562385559082,
+ "y": 1441.568835258484,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "7e225a27.bc6134",
+ "3df28e05.782432",
+ "9950a6b.7600558"
+ ]
+ ]
+ },
+ {
+ "id": "7e225a27.bc6134",
+ "type": "execute",
+ "name": "read PLMNList size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.DUpLMNInfoList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList_length'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1983.75,
+ "y": 1441.3194389343262,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3df28e05.782432",
+ "type": "for",
+ "name": "foreach PLMNInfo",
+ "xml": "<for index='id-duplmn' start='0' end='`$tmp.DUpLMNInfoList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1962.0833740234375,
+ "y": 1511.3194389343262,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "85575f8d.89fd3"
+ ]
+ ]
+ },
+ {
+ "id": "85575f8d.89fd3",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2147.4721603393555,
+ "y": 1505.3471488952637,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "d4c5a550.025f88",
+ "6d4bb9ac.6f1ce8",
+ "6b23bbb4.2f26d4"
+ ]
+ ]
+ },
+ {
+ "id": "6d4bb9ac.6f1ce8",
+ "type": "execute",
+ "name": "read sNSSAI from getNFNSSIRIC-configdb-response",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.configDBSNSSAI-DU' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList['+ $id-duplmn +'].sNSSAI.sNSSAI'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2519.0278396606445,
+ "y": 1445.4309530258179,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1e65b7ed.d3e5f8",
+ "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI - getNFNSSIRIC-configdb-response\"/>\n<parameter name=\"field2\" value=\"`$tmp.configDBSNSSAI-DU`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2383.3611030578613,
+ "y": 1482.3196907043457,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d4c5a550.025f88",
+ "type": "switchNode",
+ "name": "is NSSAI exists",
+ "xml": "<switch test='`$tmp.configDBSNSSAI-DU == $tmp.sNSSAI`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2378.50008392334,
+ "y": 1531.8751678466797,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "1b16c5a4.524dfa"
+ ]
+ ]
+ },
+ {
+ "id": "1b16c5a4.524dfa",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2552.972328186035,
+ "y": 1524.5975251197815,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "15097fb6.9fe7e"
+ ]
+ ]
+ },
+ {
+ "id": "15097fb6.9fe7e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2727.000129699707,
+ "y": 1520.5696620941162,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "ee4d80c2.30823",
+ "f9746931.f68fc8",
+ "eeb6d06.ad3103",
+ "c099e06e.4ca54",
+ "70935f7e.52d6d",
+ "d50824ca.307f58",
+ "c365c8ce.3a5d38"
+ ]
+ ]
+ },
+ {
+ "id": "9a4bdf29.0e788",
+ "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CellDU is applicable for the NSSAI \"/>\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2939.5004959106445,
+ "y": 1489.3196622133255,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ee4d80c2.30823",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2943.7500076293945,
+ "y": 1547.319694519043,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "25db24a4.94a7bc",
+ "7299ab72.ac3bf4"
+ ]
+ ]
+ },
+ {
+ "id": "25db24a4.94a7bc",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3153.000499725342,
+ "y": 1502.3192358016968,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "8c4ae1b6.8440d"
+ ]
+ ]
+ },
+ {
+ "id": "7299ab72.ac3bf4",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3148.000499725342,
+ "y": 1563.819938659668,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "77c32512.a85e0c"
+ ]
+ ]
+ },
+ {
+ "id": "8c4ae1b6.8440d",
+ "type": "execute",
+ "name": "generate patch PLMNInfoListEntry ToNRCellDU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3499.250259399414,
+ "y": 1501.0696926116943,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "77c32512.a85e0c",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3325.5000762939453,
+ "y": 1570.3195724487305,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "14cd17df.749028",
+ "75414c2d.295d74"
+ ]
+ ]
+ },
+ {
+ "id": "14cd17df.749028",
+ "type": "execute",
+ "name": "generate patchPLMNInfoList.ToNRCellDU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellDU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3607.500442504883,
+ "y": 1559.0695724487305,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "75414c2d.295d74",
+ "type": "execute",
+ "name": "populate mountName",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3557.750747680664,
+ "y": 1619.569603919983,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f9746931.f68fc8",
+ "type": "execute",
+ "name": "prepare idGNBDUFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2990.6250610351562,
+ "y": 1674.1318769454956,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "eeb6d06.ad3103",
+ "type": "execute",
+ "name": "prepare idNRCellDU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellDULocalId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2963.625244140625,
+ "y": 1729.1318788528442,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c099e06e.4ca54",
+ "type": "execute",
+ "name": "prepare mcc",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 2943.6249389648438,
+ "y": 1792.1321849822998,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "70935f7e.52d6d",
+ "type": "execute",
+ "name": "prepare mnc",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2945.6251831054688,
+ "y": 1850.131817817688,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d50824ca.307f58",
+ "type": "record",
+ "name": "record API params",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"patch cellDU NSSAI parameters\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.GNBDUId`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cellDULocalId`\"/>\n<parameter name=\"field5\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field6\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field7\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2950.6248168945312,
+ "y": 1918.132308959961,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c365c8ce.3a5d38",
+ "type": "execute",
+ "name": "patch PLMNInfoListEntry ToNRCellDU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-status.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.patchPLMNInfoListEntry-cellDU.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=\"activate-cellDU-PLMNInfoList-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3007.6248474121094,
+ "y": 1993.3816947937012,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "cbfb7182.04192",
+ "1353c2f.b08113d"
+ ]
+ ]
+ },
+ {
+ "id": "1353c2f.b08113d",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3274.6248474121094,
+ "y": 1893.3816947937012,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "daa2fa32.0a3cf8"
+ ]
+ ]
+ },
+ {
+ "id": "daa2fa32.0a3cf8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3432.6250915527344,
+ "y": 1841.3816947937012,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "6eefc424.f5818c",
+ "a67f38fc.2aa6f8",
+ "a6171c84.8f453"
+ ]
+ ]
+ },
+ {
+ "id": "a67f38fc.2aa6f8",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellDU PLMNInfoList. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 3598.6248474121094,
+ "y": 1807.3816947937012,
+ "z": "97d36d8.2debe9",
+ "wires": []
+ },
+ {
+ "id": "6eefc424.f5818c",
+ "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 NECellDU - PLMNInfo. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 3603.624725341797,
+ "y": 1902.3817558288574,
+ "z": "97d36d8.2debe9",
+ "wires": []
+ },
+ {
+ "id": "9ccf28a9.229118",
+ "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellDU PLMNInfo List\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3587.624725341797,
+ "y": 1988.3819389343262,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "97dc56cc.61aa88",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3441.6248474121094,
+ "y": 1989.3816974163055,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "9ccf28a9.229118"
+ ]
+ ]
+ },
+ {
+ "id": "cbfb7182.04192",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3273.6248474121094,
+ "y": 1992.3816947937012,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "97dc56cc.61aa88"
+ ]
+ ]
+ },
+ {
+ "id": "4af74b2.0c4c3b4",
+ "type": "execute",
+ "name": "get PLMNId URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.getplmn`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getPLMNId.url\"/>\n <parameter name=\"target\" value=\"{sliceProfileId}\"/>\n <parameter name=\"replacement\" value=\"`$payloadJson.input.sliceProfileId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 655.3125305175781,
+ "y": 632.881950378418,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "78a81d70.8057c4",
+ "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Get PLMN from SliceProfileId URL: \"/>\n<parameter name=\"field2\" value=\"`$tmp.configdb.getPLMNId.url`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 628.8125305175781,
+ "y": 688.3819818496704,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3140a69b.5ea20a",
+ "type": "execute",
+ "name": "Get PLMN from Sliceprofile id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getPLMNId.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getPLMN-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 697.5625152587891,
+ "y": 741.8819179534912,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5d00062a.743238",
+ "type": "execute",
+ "name": "read PLMN Id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNId' />\n\t<parameter name='source' value=\"`getPLMN-configdb-response.plmnId`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 650.5625076293945,
+ "y": 780.9931592941284,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f8eadf29.5ba87",
+ "type": "execute",
+ "name": "find MCC",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n <parameter name=\"string\" value=\"`$tmp.pLMNId`\" />\n <parameter name=\"result\" value=\"tmp.mcc\"/>\n <parameter name=\"begin-index\" value=\"0\" />\n <parameter name=\"end-index\" value=\"3\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 636.0347518920898,
+ "y": 818.0209217071533,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8900b25a.4b727",
+ "type": "execute",
+ "name": "find MNC",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n <parameter name=\"string\" value=\"`$tmp.pLMNId`\" />\n <parameter name=\"result\" value=\"tmp.mnc\"/>\n <parameter name=\"begin-index\" value=\"4\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 632.701488494873,
+ "y": 856.7986507415771,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "65561a2a.1348f4",
+ "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`$tmp.pLMNId`\"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mnc`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 621.9171524047852,
+ "y": 891.5699234008789,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a6171c84.8f453",
+ "type": "block",
+ "name": "block : SO Response",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4076.5625,
+ "y": 1639.9355278015137,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "8e9200a7.f3da9",
+ "60414092.28506",
+ "f9a7f02e.efe6e"
+ ]
+ ]
+ },
+ {
+ "id": "8e9200a7.f3da9",
+ "type": "set",
+ "name": "set tmp variables for SO response",
+ "xml": "<set>\n<parameter name=\"tmp.so.callbackURL\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$activate-r-a-n-slice-instance-input.common-header.request-id`\"/>\n<parameter name=\"tmp.action\" value=\"`$activate-r-a-n-slice-instance-input.action`\"/>\n",
+ "comments": "",
+ "x": 4455.706283569336,
+ "y": 1497.5495147705078,
+ "z": "97d36d8.2debe9",
+ "wires": []
+ },
+ {
+ "id": "60414092.28506",
+ "type": "record",
+ "name": "record RestAPI parms",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for SO Callback Response\"/>\n<parameter name='field2' value=\"`$tmp.so.callbackURL`\" />\n<parameter name='field3' value=\"`$tmp.status`\" />\n<parameter name='field4' value=\"`$tmp.reason`\" />\n<parameter name='field5' value=\"`$tmp.requestID`\" />\n<parameter name='field6' value=\"`$tmp.action`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 4459.276741027832,
+ "y": 1563.221601486206,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f9a7f02e.efe6e",
+ "type": "execute",
+ "name": "Send to SO",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$tmp.so.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-activate-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='*/*' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 4385.705307006836,
+ "y": 1641.6501760482788,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "31d39151.3906ae",
+ "aaf60ba7.09e9d8"
+ ]
+ ]
+ },
+ {
+ "id": "31d39151.3906ae",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4623.133865356445,
+ "y": 1624.3642272949219,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "4210cf15.8783e"
+ ]
+ ]
+ },
+ {
+ "id": "4210cf15.8783e",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4815.562232971191,
+ "y": 1615.078664779663,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "55c1344c.aee6bc"
+ ]
+ ]
+ },
+ {
+ "id": "55c1344c.aee6bc",
+ "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 sending SO Response\" />",
+ "comments": "",
+ "x": 5017.2761154174805,
+ "y": 1603.7927765846252,
+ "z": "97d36d8.2debe9",
+ "wires": []
+ },
+ {
+ "id": "7bc0e6d8.a66c08",
+ "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 5011.41939163208,
+ "y": 1678.7928428649902,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "26cbe59.d88ae1a",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4827.419242858887,
+ "y": 1684.221284866333,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "7bc0e6d8.a66c08"
+ ]
+ ]
+ },
+ {
+ "id": "aaf60ba7.09e9d8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4617.419189453125,
+ "y": 1688.0785236358643,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "26cbe59.d88ae1a"
+ ]
+ ]
+ },
+ {
+ "id": "fb4912a7.ac9d6",
+ "type": "block",
+ "name": "SO Response",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 624.0625,
+ "y": 1617.0783500671387,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "20a36079.64749",
+ "180c33be.f7820c",
+ "e7a8f76c.47e418",
+ "b811c19e.c0b97"
+ ]
+ ]
+ },
+ {
+ "id": "e7a8f76c.47e418",
+ "type": "set",
+ "name": "set tmp variables for SO response",
+ "xml": "<set>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$activate-r-a-n-slice-input.common-header.request-id `\"/>\n<parameter name=\"tmp.action\" value=\"`$activate-r-a-n-slice-input.action`\"/>\n",
+ "comments": "",
+ "x": 904.0636444091797,
+ "y": 1466.977834701538,
+ "z": "97d36d8.2debe9",
+ "wires": []
+ },
+ {
+ "id": "20a36079.64749",
+ "type": "record",
+ "name": "record SO reply parms",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for SO Callback Response\"/>\n<parameter name='field2' value=\"`$payloadJson.input.callbackURL`\" />\n<parameter name='field3' value=\"`$tmp.status`\" />\n<parameter name='field4' value=\"`$tmp.reason`\" />\n<parameter name='field5' value=\"`$tmp.requestID`\" />\n<parameter name='field6' value=\"`$tmp.action`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 901.0624771118164,
+ "y": 1621.0785331726074,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "180c33be.f7820c",
+ "type": "execute",
+ "name": "Send to SO",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-activate-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='*/*' />\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 770.0625762939453,
+ "y": 1738.0782375335693,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "43a1e0f6.d9bce",
+ "f0514958.091e68"
+ ]
+ ]
+ },
+ {
+ "id": "43a1e0f6.d9bce",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 935.0625762939453,
+ "y": 1718.078236579895,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "49ed0881.ebce78"
+ ]
+ ]
+ },
+ {
+ "id": "f0514958.091e68",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 927.0624694824219,
+ "y": 1791.0781869888306,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "f9269895.b3ab48"
+ ]
+ ]
+ },
+ {
+ "id": "f9269895.b3ab48",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1073.062313079834,
+ "y": 1796.0782957077026,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "e63686ba.7af778"
+ ]
+ ]
+ },
+ {
+ "id": "49ed0881.ebce78",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1084.0624771118164,
+ "y": 1714.078372001648,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "f2eb4484.4e2e78",
+ "911b190b.fc87a8"
+ ]
+ ]
+ },
+ {
+ "id": "f2eb4484.4e2e78",
+ "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 sending SO Response\" />",
+ "comments": "",
+ "x": 1231.0620956420898,
+ "y": 1725.0781135559082,
+ "z": "97d36d8.2debe9",
+ "wires": []
+ },
+ {
+ "id": "e63686ba.7af778",
+ "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1234.0622329711914,
+ "y": 1802.0781879425049,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "911b190b.fc87a8",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error sending SO response. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 1218.5727043151855,
+ "y": 1629.0676050186157,
+ "z": "97d36d8.2debe9",
+ "wires": []
+ },
+ {
+ "id": "b811c19e.c0b97",
+ "type": "execute",
+ "name": "generate URL for SO Callback",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.so.callbackURL`\"/>\n <parameter name=\"outputPath\" value=\"tmp.so.callbackURL\"/>\n <parameter name=\"target\" value=\"{requestId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.requestID`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 923.402099609375,
+ "y": 1557.063687324524,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "82a44f57.da628",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n<parameter name=\"ack-final\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"SUCCESSFUL Execution\" />",
+ "comments": "",
+ "x": 281.5625,
+ "y": 1133.5069389343262,
+ "z": "97d36d8.2debe9",
+ "wires": []
+ },
+ {
+ "id": "4a7507d.20e03f8",
+ "type": "execute",
+ "name": "read RIC list size",
+ "xml": "<set>\n<parameter name='tmp.RICList_length' value=\"`$getNFNSSIRIC-configdb-response._length`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 650.5555038452148,
+ "y": 924.1666088104248,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b883fc7d.48bca",
+ "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"cellLocalId \"/>\n<parameter name=\"field2\" value=\"`$tmp.cellLocalId`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1864.9999084472656,
+ "y": 715.8334693908691,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "621e175.0404ae8",
+ "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"pLMNInfoList_length \"/>\n<parameter name=\"field2\" value=\"`$tmp.pLMNInfoList_length`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1864.9999465942383,
+ "y": 806.9444789886475,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3eb11b00.e80194",
+ "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PLMNInfo exists\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2324.9998474121094,
+ "y": 754.1666450500488,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e76bc3c0.0edf5",
+ "type": "execute",
+ "name": "read nearRTRICID",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.nearRTRICId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].nearRTRICId'`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 797.4999923706055,
+ "y": 956.6665782928467,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d74aea1d.4971f8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 605.2777404785156,
+ "y": 973.3332710266113,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "e76bc3c0.0edf5"
+ ]
+ ]
+ },
+ {
+ "id": "5c9636da.117878",
+ "type": "execute",
+ "name": "prepare nearRTRICId",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1994.1665954589844,
+ "y": 1158.888874053955,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "486c8988.17b4e8",
+ "type": "execute",
+ "name": "prepare mcc",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1990.8332214355469,
+ "y": 1235.5555000305176,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cf837fb7.24118",
+ "type": "execute",
+ "name": "prepare mnc",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1987.4998474121094,
+ "y": 1268.888874053955,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2d9bbd55.ba7582",
+ "type": "execute",
+ "name": "read sNSSAI from getNFNSSIRIC-configdb-response",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.configDBSNSSAI' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $idz +'].pLMNInfoList['+ $id-plmn +'].sNSSAI.sNSSAI'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2068.3333435058594,
+ "y": 941.1110382080078,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7229bf20.efefc",
+ "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI - getNFNSSIRIC-configdb-response\"/>\n<parameter name=\"field2\" value=\"`$tmp.configDBSNSSAI`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1918.2223739624023,
+ "y": 976.8888721466064,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "65eb3275.4c544c",
+ "type": "switchNode",
+ "name": "is NSSAI exists",
+ "xml": "<switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1930.4446182250977,
+ "y": 1016.9999618530273,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "7bbbd8d9.770108",
+ "1af10d7a.4d0d53"
+ ]
+ ]
+ },
+ {
+ "id": "7bbbd8d9.770108",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2112.139148712158,
+ "y": 996.1112003326416,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "c41e3776.a23bb8"
+ ]
+ ]
+ },
+ {
+ "id": "ddf97987.753eb8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1719.4443054199219,
+ "y": 1001.1110420227051,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "2d9bbd55.ba7582",
+ "7229bf20.efefc",
+ "65eb3275.4c544c"
+ ]
+ ]
+ },
+ {
+ "id": "1af10d7a.4d0d53",
+ "type": "outcome",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2292.7776794433594,
+ "y": 967.7777290344238,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "a81fcade.879b78"
+ ]
+ ]
+ },
+ {
+ "id": "a81fcade.879b78",
+ "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI doesn't match\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2432.7777366638184,
+ "y": 957.77769947052,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6b23bbb4.2f26d4",
+ "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"DUpLMNInfoList_length\"/>\n<parameter name=\"field2\" value=\"`$tmp.DUpLMNInfoList_length`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2368.3333435058594,
+ "y": 1391.111042022705,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5789652a.13621c",
+ "type": "execute",
+ "name": "read cell id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellLocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].cellLocalId'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1883.8888397216797,
+ "y": 663.3332815170288,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9950a6b.7600558",
+ "type": "execute",
+ "name": "read cellDU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDULocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].cellLocalId'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1963.0555114746094,
+ "y": 1366.6665840148926,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8d198da6.7e824",
+ "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"cellLocalId \"/>\n<parameter name=\"field2\" value=\"`$tmp.cellDULocalId`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1962.430191040039,
+ "y": 1401.978964805603,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cf85911.dc4117",
+ "type": "switchNode",
+ "name": "check the action",
+ "xml": "<switch test='`$activate-r-a-n-slice-instance-input.action == activate`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 666.6666641235352,
+ "y": 411.1110854148865,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "38c79f73.134ec",
+ "5289e4ce.19e78c"
+ ]
+ ]
+ },
+ {
+ "id": "38c79f73.134ec",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 894.1666603088379,
+ "y": 356.6666889190674,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "ac6ed2b3.1ec52"
+ ]
+ ]
+ },
+ {
+ "id": "5289e4ce.19e78c",
+ "type": "outcome",
+ "name": "False",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 896.3888053894043,
+ "y": 415.5555763244629,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "c4bdd35a.798ee"
+ ]
+ ]
+ },
+ {
+ "id": "30c722b5.e2114e",
+ "type": "set",
+ "name": "set status as ACTIVE",
+ "xml": "<set>\n<parameter name='tmp.status' value='ACTIVE' />",
+ "comments": "",
+ "x": 1348.6112327575684,
+ "y": 326.66665267944336,
+ "z": "97d36d8.2debe9",
+ "wires": []
+ },
+ {
+ "id": "c5cc134f.3ffc2",
+ "type": "set",
+ "name": "set status as INACTIVE",
+ "xml": "<set>\n<parameter name='tmp.status' value='INACTIVE' />",
+ "comments": "",
+ "x": 1323.055576324463,
+ "y": 360.0000066757202,
+ "z": "97d36d8.2debe9",
+ "wires": []
+ },
+ {
+ "id": "ac6ed2b3.1ec52",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1104.166660308838,
+ "y": 344.4443988800049,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "30c722b5.e2114e"
+ ]
+ ]
+ },
+ {
+ "id": "c4bdd35a.798ee",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1100.8334045410156,
+ "y": 401.1111273765564,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "c5cc134f.3ffc2"
+ ]
+ ]
}
]
\ No newline at end of file