summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryashwanth <gandhapu.yashwanth@wipro.com>2021-12-03 11:54:49 +0000
committerYASHWANTH GANDHAPU <gandhapu.yashwanth@wipro.com>2021-12-03 11:57:14 +0000
commitb0ef9ef7ad29dfa57b0ab65b62cbbb69e14c535e (patch)
treec6617013c758ff69876bcfc73ec9e75ba0d5dd7f
parent606e851873a989ce9cf516c9052ae3aee70f3046 (diff)
ActivateRANSliceInstance ConfigDB - Naming Convention
Issue-ID: CCSDK-3538 Signed-off-by: yashwanth <gandhapu.yashwanth@wipro.com> Change-Id: Ideed8ad35c352bdd38279df2e5e1b29fd13fc646
-rw-r--r--platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance-configDB.json (renamed from platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance-configdb.json)1612
-rw-r--r--platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance-configDb.json3090
-rw-r--r--platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance.json150
-rw-r--r--platform-logic/ran-slice-api/src/main/xml/ran-slice-api_activateRANSliceInstance-configDB.xml (renamed from platform-logic/ran-slice-api/src/main/xml/ran-slice-api_activateRANSliceInstance-configDb.xml)2
-rw-r--r--platform-logic/ran-slice-api/src/main/xml/ran-slice-api_activateRANSliceInstance-configdb.xml932
-rw-r--r--platform-logic/ran-slice-api/src/main/xml/ran-slice-api_activateRANSliceInstance.xml2
6 files changed, 883 insertions, 4905 deletions
diff --git a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance-configdb.json b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance-configDB.json
index a52e00f5..52c813ce 100644
--- a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance-configdb.json
+++ b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance-configDB.json
@@ -1,20 +1,20 @@
[
{
- "id": "5cff533.ee6e9ac",
+ "id": "89f6e9a1.ecc1d8",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
"x": 113,
- "y": 63.66666793823242,
- "z": "d1ed7801.f49678",
+ "y": 41.66666793823242,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "29a6cffb.deaae"
+ "3e4ad38e.7afdec"
]
]
},
{
- "id": "29a6cffb.deaae",
+ "id": "3e4ad38e.7afdec",
"type": "service-logic",
"name": "ran-slice-api ${project.version}",
"module": "ran-slice-api",
@@ -23,32 +23,32 @@
"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": 198.0000228881836,
- "y": 130.6666374206543,
- "z": "d1ed7801.f49678",
+ "y": 108.6666374206543,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "80cebf59.ce589"
+ "dd6a7cd5.cecfd"
]
]
},
{
- "id": "80cebf59.ce589",
+ "id": "dd6a7cd5.cecfd",
"type": "method",
"name": "method",
- "xml": "<method rpc='activateRANSliceInstance' mode='sync'>\n",
+ "xml": "<method rpc='activateRANSliceInstance-configDB' mode='sync'>\n",
"comments": "",
"outputs": 1,
"x": 132,
- "y": 190.6666030883789,
- "z": "d1ed7801.f49678",
+ "y": 168.6666030883789,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "302cc533.59953a"
+ "114357e5.b5ced8"
]
]
},
{
- "id": "302cc533.59953a",
+ "id": "114357e5.b5ced8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
@@ -56,97 +56,97 @@
"comments": "",
"outputs": 1,
"x": 154.5000114440918,
- "y": 271.1666717529297,
- "z": "d1ed7801.f49678",
- "wires": [
- [
- "666ecdad.b370a4",
- "e3c41d6b.28b97",
- "88930a1a.ea9d58",
- "78781314.82d14c",
- "16406ee7.babe71",
- "85e5a7d8.35f4c8",
- "f048d6c7.ea6328",
- "217a94aa.8e440c",
- "a8d64ef4.1ff1c",
- "5c69f25e.ad28ac",
- "50dfd244.61a03c",
- "5d700bcb.6e4444",
- "a9192810.870fa8",
- "379f4388.b4953c",
- "f9cb74ce.a0d4a8",
- "b9f23541.f12148",
- "3d877225.e9399e",
- "d7950fa6.48464",
- "e82f33f.243c9d",
- "6f3e96e.76eef68",
- "1464a38f.dd272c"
- ]
- ]
- },
- {
- "id": "666ecdad.b370a4",
+ "y": 249.1666717529297,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "8953b8a.7058148",
+ "afcbd96c.8ba7f8",
+ "1c68dd77.506f43",
+ "be757151.125bd",
+ "32776d46.799b92",
+ "dc1ad0a0.54faa",
+ "8753ead2.f4ec78",
+ "a8d2bde7.8e816",
+ "7ad03b2c.e956a4",
+ "651e35fc.429f6c",
+ "f19c8ec4.34b46",
+ "2e838044.a26ff",
+ "90fc2c2a.9a8f2",
+ "88cb566d.e07ed8",
+ "c19823b3.9d137",
+ "1da349af.70a696",
+ "924e6fd3.100f",
+ "a96dd5c0.654b88",
+ "acfb5c24.67b4f",
+ "a07d31b.1db7ad",
+ "5f03e2e7.3fccac"
+ ]
+ ]
+ },
+ {
+ "id": "8953b8a.7058148",
"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": "",
"outputs": 1,
"x": 736.2500610351562,
- "y": 466.36112785339355,
- "z": "d1ed7801.f49678",
+ "y": 444.36112785339355,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "e3c41d6b.28b97",
+ "id": "afcbd96c.8ba7f8",
"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": "",
"outputs": 1,
"x": 676.2500152587891,
- "y": 502.91669511795044,
- "z": "d1ed7801.f49678",
+ "y": 480.91669511795044,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "88930a1a.ea9d58",
+ "id": "1c68dd77.506f43",
"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": 666.2500915527344,
- "y": 554.9167256355286,
- "z": "d1ed7801.f49678",
+ "y": 532.9167256355286,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "d12f5b75.1fc3b8",
- "f633be2c.20ba"
+ "e15120a6.03a9b",
+ "e1904161.7b70c"
]
]
},
{
- "id": "d12f5b75.1fc3b8",
+ "id": "e15120a6.03a9b",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
"x": 965.0680961608887,
- "y": 572.7347493171692,
- "z": "d1ed7801.f49678",
+ "y": 550.7347493171692,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "6ca0966a.cd3738"
+ "10126bdb.47bee4"
]
]
},
{
- "id": "6ca0966a.cd3738",
+ "id": "10126bdb.47bee4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
@@ -154,61 +154,61 @@
"comments": "",
"outputs": 1,
"x": 1135.0679931640625,
- "y": 573.7348647117615,
- "z": "d1ed7801.f49678",
+ "y": 551.7348647117615,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "4e5ee3e8.54815c",
- "ae665b19.821998"
+ "61c1def.b84042",
+ "5722f483.01f06c"
]
]
},
{
- "id": "4e5ee3e8.54815c",
+ "id": "61c1def.b84042",
"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 Obtained NearRT RIC info from ConfigDB\"/>\n<parameter name=\"field2\" value=\"`$getNFNSSIRIC-configdb-response._length`\"/>",
"comments": "",
"outputs": 1,
"x": 1358.0677909851074,
- "y": 518.7348484992981,
- "z": "d1ed7801.f49678",
+ "y": 496.7348484992981,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "ae665b19.821998",
+ "id": "5722f483.01f06c",
"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": 1353.845932006836,
- "y": 589.7348561286926,
- "z": "d1ed7801.f49678",
+ "y": 567.7348561286926,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "f633be2c.20ba",
+ "id": "e1904161.7b70c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
"x": 971.0680503845215,
- "y": 512.734833240509,
- "z": "d1ed7801.f49678",
+ "y": 490.73483324050903,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "ecd5ff69.13969"
+ "38c94f1d.be79e"
]
]
},
{
- "id": "ecd5ff69.13969",
+ "id": "38c94f1d.be79e",
"type": "block",
"name": "block",
"xml": "<block>",
@@ -216,127 +216,127 @@
"comments": "",
"outputs": 1,
"x": 1251.0681266784668,
- "y": 418.7348871231079,
- "z": "d1ed7801.f49678",
+ "y": 396.7348871231079,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "1d503010.4fa7d",
- "d50580ac.cbc9d"
+ "2ed45def.ebaa02",
+ "6090e5e0.a79f3c"
]
]
},
{
- "id": "1d503010.4fa7d",
+ "id": "2ed45def.ebaa02",
"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": 1429.06791305542,
- "y": 372.8459138870239,
- "z": "d1ed7801.f49678",
+ "y": 350.8459138870239,
+ "z": "1201fdc0.e52e32",
"wires": []
},
{
- "id": "78781314.82d14c",
+ "id": "be757151.125bd",
"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": 641,
- "y": 79.66665458679199,
- "z": "d1ed7801.f49678",
+ "y": 57.66665458679199,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "16406ee7.babe71",
+ "id": "32776d46.799b92",
"type": "set",
"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": 679.999755859375,
- "y": 122.6666669845581,
- "z": "d1ed7801.f49678",
+ "y": 100.6666669845581,
+ "z": "1201fdc0.e52e32",
"wires": []
},
{
- "id": "85e5a7d8.35f4c8",
+ "id": "dc1ad0a0.54faa",
"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": 684.9997711181641,
- "y": 167.41665267944336,
- "z": "d1ed7801.f49678",
+ "y": 145.41665267944336,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "59ef85a1.2c467c"
+ "18f820d5.220f9f"
]
]
},
{
- "id": "f048d6c7.ea6328",
+ "id": "8753ead2.f4ec78",
"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": 644.6386184692383,
- "y": 256.40620613098145,
- "z": "d1ed7801.f49678",
+ "y": 234.40620613098145,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "217a94aa.8e440c",
+ "id": "a8d2bde7.8e816",
"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/ran-slice-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n",
"comments": "",
"outputs": 1,
"x": 673.5275650024414,
- "y": 297.41662979125977,
- "z": "d1ed7801.f49678",
+ "y": 275.41662979125977,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "a8d64ef4.1ff1c",
+ "id": "7ad03b2c.e956a4",
"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=\"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": 642.5832805633545,
- "y": 342.8611469268799,
- "z": "d1ed7801.f49678",
+ "y": 320.8611469268799,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "59ef85a1.2c467c",
+ "id": "18f820d5.220f9f",
"type": "other",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
"x": 951.4997825622559,
- "y": 169.41664218902588,
- "z": "d1ed7801.f49678",
+ "y": 147.41664218902588,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "ff6f0a1c.ae0478"
+ "1e1d44f9.4cbedb"
]
]
},
{
- "id": "ff6f0a1c.ae0478",
+ "id": "1e1d44f9.4cbedb",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
@@ -344,64 +344,64 @@
"comments": "",
"outputs": 1,
"x": 1151.4999389648438,
- "y": 172.1666383743286,
- "z": "d1ed7801.f49678",
+ "y": 150.1666383743286,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "74b4afa4.f4321",
- "7d9ad18.fcc0f3"
+ "3356346c.33502c",
+ "ab9b930d.f64ed"
]
]
},
{
- "id": "74b4afa4.f4321",
+ "id": "3356346c.33502c",
"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": 1341.500015258789,
- "y": 133.666672706604,
- "z": "d1ed7801.f49678",
+ "y": 111.666672706604,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "7d9ad18.fcc0f3",
+ "id": "ab9b930d.f64ed",
"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": 1340.74995803833,
- "y": 197.66668891906738,
- "z": "d1ed7801.f49678",
+ "y": 175.66668891906738,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "5c69f25e.ad28ac",
+ "id": "651e35fc.429f6c",
"type": "for",
"name": "foreach NearRTRIC",
"xml": "<for index='idy' start='0' end='`$tmp.RICList_length`' >\n",
"comments": "",
"outputs": 1,
"x": 418.9375915527344,
- "y": 995.5416851043701,
- "z": "d1ed7801.f49678",
+ "y": 973.5416851043701,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "1d88ea8d.53a715",
- "f1a1c257.e418c",
- "ca964445.270868",
- "2cb76601.d9cada"
+ "92c79d.2d79986",
+ "5b5b2906.f8e598",
+ "dd542198.cd316",
+ "ce6df94b.677c98"
]
]
},
{
- "id": "1d88ea8d.53a715",
+ "id": "92c79d.2d79986",
"type": "block",
"name": "Process CUCP",
"xml": "<block atomic='true'>",
@@ -409,62 +409,62 @@
"comments": "",
"outputs": 1,
"x": 684.1875305175781,
- "y": 988.9736156463623,
- "z": "d1ed7801.f49678",
+ "y": 966.9736156463623,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "e31cbd46.17ee",
- "aedf4ca0.e7e8e",
- "4bbb940d.a4caac"
+ "57ce8c2.dad3d74",
+ "414b404.f11e9c",
+ "792966f1.094b98"
]
]
},
{
- "id": "e31cbd46.17ee",
+ "id": "57ce8c2.dad3d74",
"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": 1030.437515258789,
- "y": 858.7235240936279,
- "z": "d1ed7801.f49678",
+ "y": 836.7235240936279,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "aedf4ca0.e7e8e",
+ "id": "414b404.f11e9c",
"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.CUCPList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
"x": 989.9374961853027,
- "y": 906.2236013412476,
- "z": "d1ed7801.f49678",
+ "y": 884.2236013412476,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "4bbb940d.a4caac",
+ "id": "792966f1.094b98",
"type": "for",
"name": "foreach CUCP",
"xml": "<for index='idz' start='0' end='`$tmp.CUCPList_length`'>\n",
"comments": "",
"outputs": 1,
"x": 1006.6876220703125,
- "y": 956.2236020565033,
- "z": "d1ed7801.f49678",
+ "y": 934.2236020565033,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "a477bc82.81b55"
+ "c553ff71.16d2"
]
]
},
{
- "id": "a477bc82.81b55",
+ "id": "c553ff71.16d2",
"type": "block",
"name": "block : process CUCP",
"xml": "<block atomic='true'>",
@@ -472,77 +472,77 @@
"comments": "",
"outputs": 1,
"x": 1217.687515258789,
- "y": 919.4734954833984,
- "z": "d1ed7801.f49678",
+ "y": 897.4734954833984,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "6d1dad06.36c6d4",
- "6ce60690.a09ed8",
- "d794ee3e.25a13",
- "f3743894.06d978"
+ "c23b72fc.c12f7",
+ "b9898d9d.efb8f",
+ "7c7c402.56cc4c",
+ "709ad36b.5b73fc"
]
]
},
{
- "id": "6d1dad06.36c6d4",
+ "id": "c23b72fc.c12f7",
"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": 1472.4376068115234,
- "y": 649.5568962097168,
- "z": "d1ed7801.f49678",
+ "y": 627.5568962097168,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "d794ee3e.25a13",
+ "id": "7c7c402.56cc4c",
"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": 1444.187614440918,
- "y": 704.7235069274902,
- "z": "d1ed7801.f49678",
+ "y": 682.7235069274902,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "f3743894.06d978",
+ "id": "709ad36b.5b73fc",
"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": 1481.4375228881836,
- "y": 752.4735221862793,
- "z": "d1ed7801.f49678",
+ "y": 730.4735221862793,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "6ce60690.a09ed8",
+ "id": "b9898d9d.efb8f",
"type": "for",
"name": "for cellCUList",
"xml": "<for index='idcu' start='0' end='`$tmp.cellCUList_length`' >\n",
"comments": "",
"outputs": 1,
"x": 1456.4374923706055,
- "y": 805.2235374450684,
- "z": "d1ed7801.f49678",
+ "y": 783.2235374450684,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "748061d6.af9fa"
+ "3dc4f9ea.71c276"
]
]
},
{
- "id": "748061d6.af9fa",
+ "id": "3dc4f9ea.71c276",
"type": "block",
"name": "block",
"xml": "<block atomic='true'>",
@@ -550,48 +550,48 @@
"comments": "",
"outputs": 1,
"x": 1671.4375343322754,
- "y": 805.473554611206,
- "z": "d1ed7801.f49678",
+ "y": 783.473554611206,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "8c28af29.115fd",
- "db24199a.8cfc78",
- "50355151.eb926"
+ "f7645ce6.5b711",
+ "8926f051.7cdd",
+ "fc2cba6d.1cc758"
]
]
},
{
- "id": "8c28af29.115fd",
+ "id": "f7645ce6.5b711",
"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": 1888.3964233398438,
- "y": 744.1265239715576,
- "z": "d1ed7801.f49678",
+ "y": 722.1265239715576,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "50355151.eb926",
+ "id": "fc2cba6d.1cc758",
"type": "for",
"name": "foreach PLMNInfo",
"xml": "<for index='id-cuplmn' start='0' end='`$tmp.pLMNInfoList_length`' >\n",
"comments": "",
"outputs": 1,
"x": 1888.4241485595703,
- "y": 823.3207906484604,
- "z": "d1ed7801.f49678",
+ "y": 801.3207906484604,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "58e2850a.a5484c"
+ "79e0a0e5.d6a74"
]
]
},
{
- "id": "58e2850a.a5484c",
+ "id": "79e0a0e5.d6a74",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
@@ -599,77 +599,77 @@
"comments": "",
"outputs": 1,
"x": 2095.313056945801,
- "y": 765.0985851287842,
- "z": "d1ed7801.f49678",
+ "y": 743.0985851287842,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "fb737c3b.904ff",
- "babec019.ba3f3"
+ "bab26f0b.3caf6",
+ "9b279ceb.ea195"
]
]
},
{
- "id": "b14f7f73.800f2",
+ "id": "4d056992.455e58",
"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['+$id-cunssai+'].sNSSAI'`\" />",
"comments": "",
"outputs": 1,
"x": 2445.7574768066406,
- "y": 778.0985803604126,
- "z": "d1ed7801.f49678",
+ "y": 756.0985803604126,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "4b92bb45.32d8c4",
+ "id": "80784969.babca8",
"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": 2304.5353813171387,
- "y": 811.6541061401367,
- "z": "d1ed7801.f49678",
+ "y": 789.6541061401367,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "ccc6e66c.69f758",
+ "id": "6485bd54.8d70a4",
"type": "switchNode",
"name": "is NSSAI exists",
"xml": "<switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>\n",
"comments": "",
"outputs": 1,
"x": 2340.0908584594727,
- "y": 852.8763341903687,
- "z": "d1ed7801.f49678",
+ "y": 830.8763341903687,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "e658c4c2.335c18"
+ "1e9cc7f5.a3e688"
]
]
},
{
- "id": "e658c4c2.335c18",
+ "id": "1e9cc7f5.a3e688",
"type": "outcome",
"name": "True",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
"x": 2529.563056945801,
- "y": 853.0986633300781,
- "z": "d1ed7801.f49678",
+ "y": 831.0986633300781,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "34a31c3d.45b4a4"
+ "1bbb0ec4.28d7c1"
]
]
},
{
- "id": "34a31c3d.45b4a4",
+ "id": "1bbb0ec4.28d7c1",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
@@ -677,113 +677,113 @@
"comments": "",
"outputs": 1,
"x": 2750.1875,
- "y": 850.8541679382324,
- "z": "d1ed7801.f49678",
+ "y": 828.8541679382324,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "24eec6ca.92354a",
- "73519b37.01f084",
- "657b647a.1dc85c",
- "728808c9.d37108",
- "dd6b153e.625b98",
- "c2803c76.48a6a",
- "2aeb726a.d5be4e",
- "bbc09881.a83178",
- "cfd2003a.83916"
+ "e063ff8c.e49c",
+ "682fce94.32746",
+ "82088e5a.22771",
+ "3126b7b6.d1ddd8",
+ "16be4224.e4792e",
+ "e717a423.adae18",
+ "c6f5286e.f277d8",
+ "51ea23.a5fb05dc",
+ "ab9ca20.3149a6"
]
]
},
{
- "id": "cfd2003a.83916",
+ "id": "ab9ca20.3149a6",
"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": 2945.1875,
- "y": 845.8541679382324,
- "z": "d1ed7801.f49678",
+ "y": 823.8541679382324,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "bbc09881.a83178",
+ "id": "51ea23.a5fb05dc",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
"x": 2973.1875,
- "y": 913.8541679382324,
- "z": "d1ed7801.f49678",
+ "y": 891.8541679382324,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "7c145e10.91e4b",
- "669a1199.8448"
+ "dfcdedaa.6bc3d",
+ "e720258f.f265b8"
]
]
},
{
- "id": "7c145e10.91e4b",
+ "id": "dfcdedaa.6bc3d",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
"x": 3181.1875,
- "y": 878.8539237976074,
- "z": "d1ed7801.f49678",
+ "y": 856.8539237976074,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "d3b43228.ed7a6"
+ "579ea710.ae0018"
]
]
},
{
- "id": "d3b43228.ed7a6",
+ "id": "579ea710.ae0018",
"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": 3501.1875,
- "y": 893.8541679382324,
- "z": "d1ed7801.f49678",
+ "y": 871.8541679382324,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "486e157.492e2ec",
+ "id": "bee4bc6d.b0811",
"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": 3679.687530517578,
- "y": 951.8541069030762,
- "z": "d1ed7801.f49678",
+ "y": 929.8541069030762,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "8c4050b7.59905",
+ "id": "e1edbe11.4db63",
"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": 3623.687931060791,
- "y": 1004.8543004989624,
- "z": "d1ed7801.f49678",
+ "y": 982.8543004989624,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "26af655d.ac728a",
+ "id": "c121493c.8fa8a8",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
@@ -791,150 +791,150 @@
"comments": "",
"outputs": 1,
"x": 3372.6875,
- "y": 981.8541679382324,
- "z": "d1ed7801.f49678",
+ "y": 959.8541679382324,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "486e157.492e2ec",
- "8c4050b7.59905"
+ "bee4bc6d.b0811",
+ "e1edbe11.4db63"
]
]
},
{
- "id": "669a1199.8448",
+ "id": "e720258f.f265b8",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
"x": 3169.1875,
- "y": 980.8541679382324,
- "z": "d1ed7801.f49678",
+ "y": 958.8541679382324,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "26af655d.ac728a"
+ "c121493c.8fa8a8"
]
]
},
{
- "id": "24eec6ca.92354a",
+ "id": "e063ff8c.e49c",
"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": 2940.1875,
- "y": 1013.8541679382324,
- "z": "d1ed7801.f49678",
+ "y": 991.8541679382324,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "dd6b153e.625b98",
+ "id": "16be4224.e4792e",
"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": 2967.1875,
- "y": 1077.8541679382324,
- "z": "d1ed7801.f49678",
+ "y": 1055.8541679382324,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "c2803c76.48a6a",
+ "id": "e717a423.adae18",
"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": 2928.187759399414,
- "y": 1123.354196548462,
- "z": "d1ed7801.f49678",
+ "y": 1101.354196548462,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "2aeb726a.d5be4e",
+ "id": "c6f5286e.f277d8",
"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": 2893.9375610351562,
- "y": 1205.104224205017,
- "z": "d1ed7801.f49678",
+ "y": 1183.104224205017,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "73519b37.01f084",
+ "id": "682fce94.32746",
"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": 2882.68798828125,
- "y": 1265.3542404174805,
- "z": "d1ed7801.f49678",
+ "y": 1243.3542404174805,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "657b647a.1dc85c",
+ "id": "82088e5a.22771",
"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": 2879.1875,
- "y": 1333.8541679382324,
- "z": "d1ed7801.f49678",
+ "y": 1311.8541679382324,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "728808c9.d37108",
+ "id": "3126b7b6.d1ddd8",
"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": 2919.1876068115234,
- "y": 1396.8541412353516,
- "z": "d1ed7801.f49678",
+ "y": 1374.8541412353516,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "8a94a067.f3301",
- "3c056e58.b00c92"
+ "29edeba8.091284",
+ "a7845629.ace858"
]
]
},
{
- "id": "3c056e58.b00c92",
+ "id": "a7845629.ace858",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
"x": 3135.18758392334,
- "y": 1275.8541412353516,
- "z": "d1ed7801.f49678",
+ "y": 1253.8541412353516,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "652aec57.ea3014"
+ "72f06dc9.329de4"
]
]
},
{
- "id": "652aec57.ea3014",
+ "id": "72f06dc9.329de4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
@@ -942,54 +942,54 @@
"comments": "",
"outputs": 1,
"x": 3285.187858581543,
- "y": 1234.8543243408203,
- "z": "d1ed7801.f49678",
+ "y": 1212.8543243408203,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "bea1270c.9024d8",
- "5dacb409.a8884c",
- "d50580ac.cbc9d"
+ "934d443c.e5d8f8",
+ "ff81fc55.ebd82",
+ "6090e5e0.a79f3c"
]
]
},
{
- "id": "5dacb409.a8884c",
+ "id": "ff81fc55.ebd82",
"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": 3451.187614440918,
- "y": 1200.8543243408203,
- "z": "d1ed7801.f49678",
+ "y": 1178.8543243408203,
+ "z": "1201fdc0.e52e32",
"wires": []
},
{
- "id": "bea1270c.9024d8",
+ "id": "934d443c.e5d8f8",
"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": 3456.1874923706055,
- "y": 1295.8543853759766,
- "z": "d1ed7801.f49678",
+ "y": 1273.8543853759766,
+ "z": "1201fdc0.e52e32",
"wires": []
},
{
- "id": "42b8141f.3e5b2c",
+ "id": "4016125a.7522cc",
"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": 3541.1874618530273,
- "y": 1388.8545684814453,
- "z": "d1ed7801.f49678",
+ "y": 1366.8545684814453,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "fb920a8b.9a3828",
+ "id": "ba6204d2.b81408",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
@@ -997,46 +997,46 @@
"comments": "",
"outputs": 1,
"x": 3343.187400817871,
- "y": 1391.8544464111328,
- "z": "d1ed7801.f49678",
+ "y": 1369.8544464111328,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "42b8141f.3e5b2c"
+ "4016125a.7522cc"
]
]
},
{
- "id": "8a94a067.f3301",
+ "id": "29edeba8.091284",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
"x": 3170.187614440918,
- "y": 1392.8543853759766,
- "z": "d1ed7801.f49678",
+ "y": 1370.8543853759766,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "fb920a8b.9a3828"
+ "ba6204d2.b81408"
]
]
},
{
- "id": "50dfd244.61a03c",
+ "id": "f19c8ec4.34b46",
"type": "execute",
"name": "read sNSSAI from input",
"xml": "<set>\n<parameter name='tmp.sNSSAI' value=\"`$payloadJson.input.sNSSAI`\" />\n",
"comments": "",
"outputs": 1,
"x": 692.6875152587891,
- "y": 213.66667366027832,
- "z": "d1ed7801.f49678",
+ "y": 191.66667366027832,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "f1a1c257.e418c",
+ "id": "5b5b2906.f8e598",
"type": "block",
"name": "Process CUUP",
"xml": "<block atomic='true'>",
@@ -1044,62 +1044,62 @@
"comments": "",
"outputs": 1,
"x": 685.1875534057617,
- "y": 1130.854193687439,
- "z": "d1ed7801.f49678",
+ "y": 1108.854193687439,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "8c7e805a.75031",
- "f1bcc118.d5bef",
- "db0bbd4d.b879e"
+ "840ab25e.16772",
+ "90e1369f.d0a358",
+ "7d7ce27.70a991c"
]
]
},
{
- "id": "8c7e805a.75031",
+ "id": "840ab25e.16772",
"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": 1016.187557220459,
- "y": 1030.854190826416,
- "z": "d1ed7801.f49678",
+ "y": 1008.854190826416,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "f1bcc118.d5bef",
+ "id": "90e1369f.d0a358",
"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": 973.1876220703125,
- "y": 1082.1041932106018,
- "z": "d1ed7801.f49678",
+ "y": 1060.1041932106018,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "db0bbd4d.b879e",
+ "id": "7d7ce27.70a991c",
"type": "for",
"name": "foreach CUUP",
"xml": "<for index='id-cuup' start='0' end='`$tmp.CUUPList_length`'>\n",
"comments": "",
"outputs": 1,
"x": 998.6875152587891,
- "y": 1130.8541927337646,
- "z": "d1ed7801.f49678",
+ "y": 1108.8541927337646,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "e3f52f92.a0982"
+ "ee32c0f2.1ab4e"
]
]
},
{
- "id": "e3f52f92.a0982",
+ "id": "ee32c0f2.1ab4e",
"type": "block",
"name": "block : process CUUP",
"xml": "<block atomic='true'>",
@@ -1107,77 +1107,77 @@
"comments": "",
"outputs": 1,
"x": 1222.1875610351562,
- "y": 1114.1042385101318,
- "z": "d1ed7801.f49678",
+ "y": 1092.1042385101318,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "a4704939.791ef8",
- "f57a1d66.09362",
- "a759d9ec.fff038",
- "ad8147ff.97d348"
+ "f23e9637.c599b8",
+ "1ec02a06.7a25c6",
+ "5ea10365.60f14c",
+ "fe3d437c.ba573"
]
]
},
{
- "id": "a4704939.791ef8",
+ "id": "f23e9637.c599b8",
"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": 1466.1875,
- "y": 889.3541679382324,
- "z": "d1ed7801.f49678",
+ "y": 867.3541679382324,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "f57a1d66.09362",
+ "id": "1ec02a06.7a25c6",
"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": 1462.1875,
- "y": 943.3541679382324,
- "z": "d1ed7801.f49678",
+ "y": 921.3541679382324,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "a759d9ec.fff038",
+ "id": "5ea10365.60f14c",
"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": 1513.1875,
- "y": 1008.3541679382324,
- "z": "d1ed7801.f49678",
+ "y": 986.3541679382324,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "ad8147ff.97d348",
+ "id": "fe3d437c.ba573",
"type": "for",
"name": "foreach pLMNInfo",
"xml": "<for index='id-plmn' start='0' end='`$tmp.pLMNInfoList`'>\n",
"comments": "",
"outputs": 1,
"x": 1499.1875,
- "y": 1063.3541679382324,
- "z": "d1ed7801.f49678",
+ "y": 1041.3541679382324,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "dc2400ca.fd07e"
+ "b2394e54.2e47f"
]
]
},
{
- "id": "e5bbe9de.e12928",
+ "id": "19e0a173.df818f",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
@@ -1185,96 +1185,96 @@
"comments": "",
"outputs": 1,
"x": 1738.3125,
- "y": 1060.5416679382324,
- "z": "d1ed7801.f49678",
+ "y": 1038.5416679382324,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "116e91.57b7b17",
- "796b25a4.b111ec",
- "8f8b0b52.1e6b88",
- "c56a0948.d9efb8",
- "9dca12e8.9048e",
- "ab2f25e7.72f538"
+ "4d4a0755.e1e358",
+ "64a6b829.4a47c8",
+ "6243b3bf.04413c",
+ "bf53780d.10df28",
+ "ebd08735.f0acf8",
+ "c10f2b2.1a3eed8"
]
]
},
{
- "id": "116e91.57b7b17",
+ "id": "4d4a0755.e1e358",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
"x": 1951.562759399414,
- "y": 1061.2918167114258,
- "z": "d1ed7801.f49678",
+ "y": 1039.2918167114258,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "b35468ae.49e5f8",
- "5e36c60a.6a1578"
+ "fd157353.82e8f",
+ "85b6c9a0.a7b9d8"
]
]
},
{
- "id": "b35468ae.49e5f8",
+ "id": "fd157353.82e8f",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
"x": 2164.562641143799,
- "y": 1028.7914352416992,
- "z": "d1ed7801.f49678",
+ "y": 1006.7914352416992,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "4b8207f2.432e78"
+ "9ee82e5d.cf1c6"
]
]
},
{
- "id": "4b8207f2.432e78",
+ "id": "9ee82e5d.cf1c6",
"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": 2489.5625228881836,
- "y": 983.7917394638062,
- "z": "d1ed7801.f49678",
+ "y": 961.7917394638062,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "1c769fca.24a33",
+ "id": "b2be61a2.d35c8",
"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": 2600.3120651245117,
- "y": 1066.5414505004883,
- "z": "d1ed7801.f49678",
+ "y": 1044.5414505004883,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "af9a45f1.2e5218",
+ "id": "581fe4e9.3b5a3c",
"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": 2584.3125858306885,
- "y": 1134.5417108535767,
- "z": "d1ed7801.f49678",
+ "y": 1112.5417108535767,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "f548888d.52ce48",
+ "id": "dbfbfcf.2edfc",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
@@ -1282,96 +1282,96 @@
"comments": "",
"outputs": 1,
"x": 2324.562370300293,
- "y": 1125.2914509773254,
- "z": "d1ed7801.f49678",
+ "y": 1103.2914509773254,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "1c769fca.24a33",
- "af9a45f1.2e5218"
+ "b2be61a2.d35c8",
+ "581fe4e9.3b5a3c"
]
]
},
{
- "id": "5e36c60a.6a1578",
+ "id": "85b6c9a0.a7b9d8",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
"x": 2150.062515258789,
- "y": 1114.5417098999023,
- "z": "d1ed7801.f49678",
+ "y": 1092.5417098999023,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "f548888d.52ce48"
+ "dbfbfcf.2edfc"
]
]
},
{
- "id": "796b25a4.b111ec",
+ "id": "64a6b829.4a47c8",
"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": 2020.2221374511719,
- "y": 1174.3263745307922,
- "z": "d1ed7801.f49678",
+ "y": 1152.3263745307922,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "8f8b0b52.1e6b88",
+ "id": "6243b3bf.04413c",
"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": 1969.5556335449219,
- "y": 1287.9930458068848,
- "z": "d1ed7801.f49678",
+ "y": 1265.9930458068848,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "bb4d989b.a04cd8",
- "aa066d3d.d7c3"
+ "468eb481.90ea3c",
+ "f9a3efba.e451f"
]
]
},
{
- "id": "bb4d989b.a04cd8",
+ "id": "468eb481.90ea3c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
"x": 2296.0001525878906,
- "y": 1251.1044073104858,
- "z": "d1ed7801.f49678",
+ "y": 1229.1044073104858,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "a110d361.154bc"
+ "16505b53.e46f25"
]
]
},
{
- "id": "aa066d3d.d7c3",
+ "id": "f9a3efba.e451f",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
"x": 2290.000030517578,
- "y": 1318.1043462753296,
- "z": "d1ed7801.f49678",
+ "y": 1296.1043462753296,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "7e3894ea.de258c"
+ "c300285a.24d668"
]
]
},
{
- "id": "a110d361.154bc",
+ "id": "16505b53.e46f25",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
@@ -1379,18 +1379,18 @@
"comments": "",
"outputs": 1,
"x": 2473.000274658203,
- "y": 1240.1042852401733,
- "z": "d1ed7801.f49678",
+ "y": 1218.1042852401733,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "39dd38ad.8e62c8",
- "d133c7f3.0d6df8",
- "d50580ac.cbc9d"
+ "380a94be.64fbfc",
+ "290bff6a.6147b",
+ "6090e5e0.a79f3c"
]
]
},
{
- "id": "7e3894ea.de258c",
+ "id": "c300285a.24d668",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
@@ -1398,52 +1398,52 @@
"comments": "",
"outputs": 1,
"x": 2470.000030517578,
- "y": 1323.1041631698608,
- "z": "d1ed7801.f49678",
+ "y": 1301.1041631698608,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "1181bb9e.41a574"
+ "a5c40ce1.8266d"
]
]
},
{
- "id": "1181bb9e.41a574",
+ "id": "a5c40ce1.8266d",
"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": 2622.999725341797,
- "y": 1323.1044073104858,
- "z": "d1ed7801.f49678",
+ "y": 1301.1044073104858,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "39dd38ad.8e62c8",
+ "id": "380a94be.64fbfc",
"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": 2677.7502365112305,
- "y": 1240.604564666748,
- "z": "d1ed7801.f49678",
+ "y": 1218.604564666748,
+ "z": "1201fdc0.e52e32",
"wires": []
},
{
- "id": "d133c7f3.0d6df8",
+ "id": "290bff6a.6147b",
"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": 2682.7504234313965,
- "y": 1186.6047005653381,
- "z": "d1ed7801.f49678",
+ "y": 1164.6047005653381,
+ "z": "1201fdc0.e52e32",
"wires": []
},
{
- "id": "ca964445.270868",
+ "id": "dd542198.cd316",
"type": "block",
"name": "Process gNBDU",
"xml": "<block atomic='true'>",
@@ -1451,62 +1451,62 @@
"comments": "",
"outputs": 1,
"x": 679.5625076293945,
- "y": 1279.2916927337646,
- "z": "d1ed7801.f49678",
+ "y": 1257.2916927337646,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "60374cf7.c54df4",
- "acd0741.cde8688",
- "798e3427.6f079c"
+ "20ffb1aa.1f2ace",
+ "d63cf457.57f878",
+ "54b5c545.99420c"
]
]
},
{
- "id": "60374cf7.c54df4",
+ "id": "20ffb1aa.1f2ace",
"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": 1012.3125305175781,
- "y": 1185.2916793823242,
- "z": "d1ed7801.f49678",
+ "y": 1163.2916793823242,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "acd0741.cde8688",
+ "id": "d63cf457.57f878",
"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": 985.312557220459,
- "y": 1228.7917404174805,
- "z": "d1ed7801.f49678",
+ "y": 1206.7917404174805,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "798e3427.6f079c",
+ "id": "54b5c545.99420c",
"type": "for",
"name": "foreach DU",
"xml": "<for index='id-du' start='0' end='`$tmp.DUList_length`'>\n",
"comments": "",
"outputs": 1,
"x": 997.3125305175781,
- "y": 1280.0416679382324,
- "z": "d1ed7801.f49678",
+ "y": 1258.0416679382324,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "4d85ea7e.403b54"
+ "17f1792b.d82157"
]
]
},
{
- "id": "4d85ea7e.403b54",
+ "id": "17f1792b.d82157",
"type": "block",
"name": "block : process gNBDU",
"xml": "<block atomic='true'>",
@@ -1514,77 +1514,77 @@
"comments": "",
"outputs": 1,
"x": 1278.3125,
- "y": 1281.0416374206543,
- "z": "d1ed7801.f49678",
+ "y": 1259.0416374206543,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "2c804031.ea88b",
- "c20d4746.4fadb8",
- "42054159.ce5d7",
- "899cc013.9f6f7"
+ "43cd7201.d0121c",
+ "16a06086.21e2df",
+ "9118d789.5ac698",
+ "37c5bd61.c2cd62"
]
]
},
{
- "id": "2c804031.ea88b",
+ "id": "43cd7201.d0121c",
"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": 1557.3123245239258,
- "y": 1277.0409393310547,
- "z": "d1ed7801.f49678",
+ "y": 1255.0409393310547,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "c20d4746.4fadb8",
+ "id": "16a06086.21e2df",
"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": 1530.3123245239258,
- "y": 1328.0409393310547,
- "z": "d1ed7801.f49678",
+ "y": 1306.0409393310547,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "42054159.ce5d7",
+ "id": "9118d789.5ac698",
"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": 1571.3123245239258,
- "y": 1377.0409393310547,
- "z": "d1ed7801.f49678",
+ "y": 1355.0409393310547,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "899cc013.9f6f7",
+ "id": "37c5bd61.c2cd62",
"type": "for",
"name": "for cellDUList",
"xml": "<for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' >\n",
"comments": "",
"outputs": 1,
"x": 1561.3123245239258,
- "y": 1421.0409393310547,
- "z": "d1ed7801.f49678",
+ "y": 1399.0409393310547,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "ad2f62cd.bfdd7"
+ "cf808ad2.ebe628"
]
]
},
{
- "id": "ad2f62cd.bfdd7",
+ "id": "cf808ad2.ebe628",
"type": "block",
"name": "block",
"xml": "<block>\n",
@@ -1592,48 +1592,48 @@
"comments": "",
"outputs": 1,
"x": 1721.062385559082,
- "y": 1420.7910642623901,
- "z": "d1ed7801.f49678",
+ "y": 1398.7910642623901,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "fc5ab7b1.d5b378",
- "464b542f.37084c",
- "1de1fac1.d35265"
+ "820508f4.fe8198",
+ "2ac044cf.60ffcc",
+ "94550149.1c8d3"
]
]
},
{
- "id": "fc5ab7b1.d5b378",
+ "id": "820508f4.fe8198",
"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": 1969.25,
- "y": 1420.5416679382324,
- "z": "d1ed7801.f49678",
+ "y": 1398.5416679382324,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "464b542f.37084c",
+ "id": "2ac044cf.60ffcc",
"type": "for",
"name": "foreach PLMNInfo",
"xml": "<for index='id-duplmn' start='0' end='`$tmp.DUpLMNInfoList_length`' >\n",
"comments": "",
"outputs": 1,
"x": 1947.5833740234375,
- "y": 1490.5416679382324,
- "z": "d1ed7801.f49678",
+ "y": 1468.5416679382324,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "2c99b72.ad82448"
+ "256a271c.391468"
]
]
},
{
- "id": "2c99b72.ad82448",
+ "id": "256a271c.391468",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
@@ -1641,77 +1641,77 @@
"comments": "",
"outputs": 1,
"x": 2132.9721603393555,
- "y": 1484.56937789917,
- "z": "d1ed7801.f49678",
+ "y": 1462.56937789917,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "13dd363.0ebddca",
- "e949b2da.b8d16"
+ "1f36b292.2e31bd",
+ "ea301196.e0983"
]
]
},
{
- "id": "ad9f55d2.8dd238",
+ "id": "eca27dc6.23911",
"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['+$id-dunssai+'].sNSSAI'`\" />",
"comments": "",
"outputs": 1,
"x": 2485.527862548828,
- "y": 1458.6533187627792,
- "z": "d1ed7801.f49678",
+ "y": 1436.6533187627792,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "8a1ae64b.0ee3e8",
+ "id": "18cd97a2.f285a8",
"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": 2358.8610763549805,
- "y": 1501.5419877767563,
- "z": "d1ed7801.f49678",
+ "y": 1479.5419877767563,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "b372e52a.3b17b8",
+ "id": "2f5507b7.45dab8",
"type": "switchNode",
"name": "is NSSAI exists",
"xml": "<switch test='`$tmp.configDBSNSSAI-DU == $tmp.sNSSAI`'>\n",
"comments": "",
"outputs": 1,
"x": 2356.9999923706055,
- "y": 1542.0974992513657,
- "z": "d1ed7801.f49678",
+ "y": 1520.0974992513657,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "fe93c78f.f91d18"
+ "f921e19d.79b2b"
]
]
},
{
- "id": "fe93c78f.f91d18",
+ "id": "f921e19d.79b2b",
"type": "outcome",
"name": "True",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
"x": 2530.4724349975586,
- "y": 1547.8198207616806,
- "z": "d1ed7801.f49678",
+ "y": 1525.8198207616806,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "b4dafbf2.c32438"
+ "6f810774.7b93a8"
]
]
},
{
- "id": "b4dafbf2.c32438",
+ "id": "6f810774.7b93a8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
@@ -1719,99 +1719,99 @@
"comments": "",
"outputs": 1,
"x": 2712.500129699707,
- "y": 1499.7918910980225,
- "z": "d1ed7801.f49678",
+ "y": 1477.7918910980225,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "721df19.911991",
- "ad33f1e2.1f442",
- "aa3f5c54.b1ff",
- "7bf6a0fa.78272",
- "ed7bc479.772488",
- "e3a236ea.7a8fe8",
- "fa098be9.a6f2c8"
+ "f7dc1a0f.0b66a8",
+ "ba03b1e4.098be",
+ "8a7c605c.429e9",
+ "13f6a647.fee91a",
+ "7036cbd4.084b44",
+ "95d471ec.92869",
+ "a389908d.33273"
]
]
},
{
- "id": "3fb77cec.bd13b4",
+ "id": "9fdcc413.58f698",
"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": 2925.0004959106445,
- "y": 1468.5418912172318,
- "z": "d1ed7801.f49678",
+ "y": 1446.5418912172318,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "721df19.911991",
+ "id": "f7dc1a0f.0b66a8",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
"x": 2929.2500076293945,
- "y": 1526.5419235229492,
- "z": "d1ed7801.f49678",
+ "y": 1504.5419235229492,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "38615202.b77a1e",
- "a011653f.03dda8"
+ "bf8a29af.55fce8",
+ "eb001946.c11da8"
]
]
},
{
- "id": "38615202.b77a1e",
+ "id": "bf8a29af.55fce8",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
"x": 3138.500499725342,
- "y": 1481.541464805603,
- "z": "d1ed7801.f49678",
+ "y": 1459.541464805603,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "aa530664.9ca788"
+ "f3dfb14e.b778"
]
]
},
{
- "id": "a011653f.03dda8",
+ "id": "eb001946.c11da8",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
"x": 3133.500499725342,
- "y": 1543.0421676635742,
- "z": "d1ed7801.f49678",
+ "y": 1521.0421676635742,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "da3d810.b5d8d8"
+ "d8b32181.00589"
]
]
},
{
- "id": "aa530664.9ca788",
+ "id": "f3dfb14e.b778",
"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": 3484.750259399414,
- "y": 1480.2919216156006,
- "z": "d1ed7801.f49678",
+ "y": 1458.2919216156006,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "da3d810.b5d8d8",
+ "id": "d8b32181.00589",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
@@ -1819,148 +1819,148 @@
"comments": "",
"outputs": 1,
"x": 3311.0000762939453,
- "y": 1549.5418014526367,
- "z": "d1ed7801.f49678",
+ "y": 1527.5418014526367,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "70f711ae.9e416",
- "2d22f2a1.bee86e"
+ "567b5cfa.d93804",
+ "1d990f27.84d141"
]
]
},
{
- "id": "70f711ae.9e416",
+ "id": "567b5cfa.d93804",
"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": 3593.000442504883,
- "y": 1538.2918014526367,
- "z": "d1ed7801.f49678",
+ "y": 1516.2918014526367,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "2d22f2a1.bee86e",
+ "id": "1d990f27.84d141",
"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": 3543.250747680664,
- "y": 1598.7918329238892,
- "z": "d1ed7801.f49678",
+ "y": 1576.7918329238892,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "ad33f1e2.1f442",
+ "id": "ba03b1e4.098be",
"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": 2976.1250610351562,
- "y": 1653.3541059494019,
- "z": "d1ed7801.f49678",
+ "y": 1631.3541059494019,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "aa3f5c54.b1ff",
+ "id": "8a7c605c.429e9",
"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": 2949.125244140625,
- "y": 1708.3541078567505,
- "z": "d1ed7801.f49678",
+ "y": 1686.3541078567505,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "7bf6a0fa.78272",
+ "id": "13f6a647.fee91a",
"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": 2929.1249389648438,
- "y": 1771.354413986206,
- "z": "d1ed7801.f49678",
+ "y": 1749.354413986206,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "ed7bc479.772488",
+ "id": "7036cbd4.084b44",
"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": 2931.1251831054688,
- "y": 1829.3540468215942,
- "z": "d1ed7801.f49678",
+ "y": 1807.3540468215942,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "e3a236ea.7a8fe8",
+ "id": "95d471ec.92869",
"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": 2936.1248168945312,
- "y": 1897.3545379638672,
- "z": "d1ed7801.f49678",
+ "y": 1875.3545379638672,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "fa098be9.a6f2c8",
+ "id": "a389908d.33273",
"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": 2993.1248474121094,
- "y": 1972.6039237976074,
- "z": "d1ed7801.f49678",
+ "y": 1950.6039237976074,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "fc716723.e5af98",
- "db2f5d85.2ea97"
+ "ab6a2b3b.5e71c8",
+ "202ca42d.c28fec"
]
]
},
{
- "id": "db2f5d85.2ea97",
+ "id": "202ca42d.c28fec",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
"x": 3260.1248474121094,
- "y": 1872.6039237976074,
- "z": "d1ed7801.f49678",
+ "y": 1850.6039237976074,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "9c568d7b.4440d"
+ "3a50b974.b14756"
]
]
},
{
- "id": "9c568d7b.4440d",
+ "id": "3a50b974.b14756",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
@@ -1968,54 +1968,54 @@
"comments": "",
"outputs": 1,
"x": 3418.1250915527344,
- "y": 1820.6039237976074,
- "z": "d1ed7801.f49678",
+ "y": 1798.6039237976074,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "16580081.68b02f",
- "fe0665a8.387608",
- "d50580ac.cbc9d"
+ "9973b795.dae038",
+ "69990ee8.60a4",
+ "6090e5e0.a79f3c"
]
]
},
{
- "id": "fe0665a8.387608",
+ "id": "69990ee8.60a4",
"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": 3584.1248474121094,
- "y": 1786.6039237976074,
- "z": "d1ed7801.f49678",
+ "y": 1764.6039237976074,
+ "z": "1201fdc0.e52e32",
"wires": []
},
{
- "id": "16580081.68b02f",
+ "id": "9973b795.dae038",
"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": 3589.124725341797,
- "y": 1881.6039848327637,
- "z": "d1ed7801.f49678",
+ "y": 1859.6039848327637,
+ "z": "1201fdc0.e52e32",
"wires": []
},
{
- "id": "29e4ab84.4b9054",
+ "id": "92ef08c4.78a4b8",
"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": 3573.124725341797,
- "y": 1967.6041679382324,
- "z": "d1ed7801.f49678",
+ "y": 1945.6041679382324,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "4464eaf8.6c5754",
+ "id": "a401d55f.96dde8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
@@ -2023,130 +2023,130 @@
"comments": "",
"outputs": 1,
"x": 3427.1248474121094,
- "y": 1968.6039264202118,
- "z": "d1ed7801.f49678",
+ "y": 1946.6039264202118,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "29e4ab84.4b9054"
+ "92ef08c4.78a4b8"
]
]
},
{
- "id": "fc716723.e5af98",
+ "id": "ab6a2b3b.5e71c8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
"x": 3259.1248474121094,
- "y": 1971.6039237976074,
- "z": "d1ed7801.f49678",
+ "y": 1949.6039237976074,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "4464eaf8.6c5754"
+ "a401d55f.96dde8"
]
]
},
{
- "id": "5d700bcb.6e4444",
+ "id": "2e838044.a26ff",
"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": 640.8125305175781,
- "y": 612.1041793823242,
- "z": "d1ed7801.f49678",
+ "y": 590.1041793823242,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "a9192810.870fa8",
+ "id": "90fc2c2a.9a8f2",
"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": 614.3125305175781,
- "y": 667.6042108535767,
- "z": "d1ed7801.f49678",
+ "y": 645.6042108535767,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "379f4388.b4953c",
+ "id": "88cb566d.e07ed8",
"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": 683.0625152587891,
- "y": 721.1041469573975,
- "z": "d1ed7801.f49678",
+ "y": 699.1041469573975,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "f9cb74ce.a0d4a8",
+ "id": "c19823b3.9d137",
"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": 636.0625076293945,
- "y": 760.2153882980347,
- "z": "d1ed7801.f49678",
+ "y": 738.2153882980347,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "238023dc.8566dc",
+ "id": "47d3f41d.b976bc",
"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": 1195.534782409668,
- "y": 739.2432578802109,
- "z": "d1ed7801.f49678",
+ "y": 717.2432578802109,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "3aa793c2.9eac5c",
+ "id": "8d37fc17.6b991",
"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": 1206.201530456543,
- "y": 777.0209678411484,
- "z": "d1ed7801.f49678",
+ "y": 755.0209678411484,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "b9f23541.f12148",
+ "id": "1da349af.70a696",
"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": 607.4171524047852,
- "y": 870.7921524047852,
- "z": "d1ed7801.f49678",
+ "y": 848.7921524047852,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "d50580ac.cbc9d",
+ "id": "6090e5e0.a79f3c",
"type": "block",
"name": "block : SO Response",
"xml": "<block atomic='true'>",
@@ -2154,76 +2154,76 @@
"comments": "",
"outputs": 1,
"x": 4062.0625,
- "y": 1619.15775680542,
- "z": "d1ed7801.f49678",
+ "y": 1597.15775680542,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "f1edf53a.42ff38",
- "db427fff.78edc",
- "d48c97fc.718418"
+ "d9504148.ee56c",
+ "87aa647d.4d8d98",
+ "f020935d.c511d"
]
]
},
{
- "id": "f1edf53a.42ff38",
+ "id": "d9504148.ee56c",
"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": 4441.206283569336,
- "y": 1476.771743774414,
- "z": "d1ed7801.f49678",
+ "y": 1454.771743774414,
+ "z": "1201fdc0.e52e32",
"wires": []
},
{
- "id": "db427fff.78edc",
+ "id": "87aa647d.4d8d98",
"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": 4444.776741027832,
- "y": 1542.4438304901123,
- "z": "d1ed7801.f49678",
+ "y": 1520.4438304901123,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "d48c97fc.718418",
+ "id": "f020935d.c511d",
"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": 4371.205307006836,
- "y": 1620.872405052185,
- "z": "d1ed7801.f49678",
+ "y": 1598.872405052185,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "8cacd907.37c0c8",
- "7e622c94.f93944"
+ "b423ad87.9e9f",
+ "ae17a703.37f4b8"
]
]
},
{
- "id": "8cacd907.37c0c8",
+ "id": "b423ad87.9e9f",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
"x": 4608.633865356445,
- "y": 1603.5864562988281,
- "z": "d1ed7801.f49678",
+ "y": 1581.5864562988281,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "d8587501.17d718"
+ "1e60ecb5.a97f93"
]
]
},
{
- "id": "d8587501.17d718",
+ "id": "1e60ecb5.a97f93",
"type": "block",
"name": "block",
"xml": "<block>\n",
@@ -2231,41 +2231,41 @@
"comments": "",
"outputs": 1,
"x": 4801.062232971191,
- "y": 1594.3008937835693,
- "z": "d1ed7801.f49678",
+ "y": 1572.3008937835693,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "e2913b6c.e8e908"
+ "55d39dff.cb4034"
]
]
},
{
- "id": "e2913b6c.e8e908",
+ "id": "55d39dff.cb4034",
"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": 5002.7761154174805,
- "y": 1583.0150055885315,
- "z": "d1ed7801.f49678",
+ "y": 1561.0150055885315,
+ "z": "1201fdc0.e52e32",
"wires": []
},
{
- "id": "652fd2c0.67d33c",
+ "id": "e4d7ff5e.e47fb",
"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": 4996.91939163208,
- "y": 1658.0150718688965,
- "z": "d1ed7801.f49678",
+ "y": 1636.0150718688965,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "517629ae.3f9148",
+ "id": "835a173.5b012e8",
"type": "block",
"name": "block",
"xml": "<block>\n",
@@ -2273,32 +2273,32 @@
"comments": "",
"outputs": 1,
"x": 4812.919242858887,
- "y": 1663.4435138702393,
- "z": "d1ed7801.f49678",
+ "y": 1641.4435138702393,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "652fd2c0.67d33c"
+ "e4d7ff5e.e47fb"
]
]
},
{
- "id": "7e622c94.f93944",
+ "id": "ae17a703.37f4b8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
"x": 4602.919189453125,
- "y": 1667.3007526397705,
- "z": "d1ed7801.f49678",
+ "y": 1645.3007526397705,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "517629ae.3f9148"
+ "835a173.5b012e8"
]
]
},
{
- "id": "3d877225.e9399e",
+ "id": "924e6fd3.100f",
"type": "block",
"name": "SO Response",
"xml": "<block atomic='true'>",
@@ -2306,93 +2306,93 @@
"comments": "",
"outputs": 1,
"x": 609.5625,
- "y": 1596.300579071045,
- "z": "d1ed7801.f49678",
+ "y": 1574.300579071045,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "3997fd94.a61942",
- "b6633284.60d13",
- "cdff2f1c.66a17",
- "460eebaa.96cde4"
+ "29cdb6ae.ab792a",
+ "f387426e.541f3",
+ "ed6945a2.73bda8",
+ "179c8e9e.56df01"
]
]
},
{
- "id": "cdff2f1c.66a17",
+ "id": "ed6945a2.73bda8",
"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": 889.5636444091797,
- "y": 1446.2000637054443,
- "z": "d1ed7801.f49678",
+ "y": 1424.2000637054443,
+ "z": "1201fdc0.e52e32",
"wires": []
},
{
- "id": "3997fd94.a61942",
+ "id": "29cdb6ae.ab792a",
"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": 886.5624771118164,
- "y": 1600.3007621765137,
- "z": "d1ed7801.f49678",
+ "y": 1578.3007621765137,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "b6633284.60d13",
+ "id": "f387426e.541f3",
"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": 755.5625762939453,
- "y": 1717.3004665374756,
- "z": "d1ed7801.f49678",
+ "y": 1695.3004665374756,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "8f0c5c02.629d2",
- "ba3a7306.efc7b"
+ "704df754.9e8f18",
+ "28ea4757.187cd8"
]
]
},
{
- "id": "8f0c5c02.629d2",
+ "id": "704df754.9e8f18",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
"x": 920.5625762939453,
- "y": 1697.3004655838013,
- "z": "d1ed7801.f49678",
+ "y": 1675.3004655838013,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "1117358b.f3459a"
+ "b78016cb.c24fd8"
]
]
},
{
- "id": "ba3a7306.efc7b",
+ "id": "28ea4757.187cd8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
"x": 912.5624694824219,
- "y": 1770.3004159927368,
- "z": "d1ed7801.f49678",
+ "y": 1748.3004159927368,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "6eaf02b7.c3befc"
+ "fad6df44.e7af5"
]
]
},
{
- "id": "6eaf02b7.c3befc",
+ "id": "fad6df44.e7af5",
"type": "block",
"name": "block",
"xml": "<block>\n",
@@ -2400,16 +2400,16 @@
"comments": "",
"outputs": 1,
"x": 1058.562313079834,
- "y": 1775.300524711609,
- "z": "d1ed7801.f49678",
+ "y": 1753.300524711609,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "d074c75b.338f58"
+ "7ddbc90.01a4838"
]
]
},
{
- "id": "1117358b.f3459a",
+ "id": "b78016cb.c24fd8",
"type": "block",
"name": "block",
"xml": "<block>\n",
@@ -2417,148 +2417,148 @@
"comments": "",
"outputs": 1,
"x": 1069.5624771118164,
- "y": 1693.3006010055542,
- "z": "d1ed7801.f49678",
+ "y": 1671.3006010055542,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "6ce1ce27.46abb",
- "42940bfc.c025e4"
+ "f7d94b75.276fa8",
+ "5ef6235e.86631c"
]
]
},
{
- "id": "6ce1ce27.46abb",
+ "id": "f7d94b75.276fa8",
"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": 1216.5620956420898,
- "y": 1704.3003425598145,
- "z": "d1ed7801.f49678",
+ "y": 1682.3003425598145,
+ "z": "1201fdc0.e52e32",
"wires": []
},
{
- "id": "d074c75b.338f58",
+ "id": "7ddbc90.01a4838",
"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": 1219.5622329711914,
- "y": 1781.3004169464111,
- "z": "d1ed7801.f49678",
+ "y": 1759.3004169464111,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "42940bfc.c025e4",
+ "id": "5ef6235e.86631c",
"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": 1204.0727043151855,
- "y": 1608.289834022522,
- "z": "d1ed7801.f49678",
+ "y": 1586.289834022522,
+ "z": "1201fdc0.e52e32",
"wires": []
},
{
- "id": "460eebaa.96cde4",
+ "id": "179c8e9e.56df01",
"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": 908.902099609375,
- "y": 1536.2859163284302,
- "z": "d1ed7801.f49678",
+ "y": 1514.2859163284302,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "d7950fa6.48464",
+ "id": "a96dd5c0.654b88",
"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": 267.0625,
- "y": 1112.7291679382324,
- "z": "d1ed7801.f49678",
+ "y": 1090.7291679382324,
+ "z": "1201fdc0.e52e32",
"wires": []
},
{
- "id": "e82f33f.243c9d",
+ "id": "acfb5c24.67b4f",
"type": "execute",
"name": "read RIC list size",
"xml": "<set>\n<parameter name='tmp.RICList_length' value=\"`$getNFNSSIRIC-configdb-response._length`\"/>",
"comments": "",
"outputs": 1,
"x": 636.0555038452148,
- "y": 903.388837814331,
- "z": "d1ed7801.f49678",
+ "y": 881.388837814331,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "d914b800.2d3b68",
+ "id": "84096503.bbd298",
"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": 1850.4999084472656,
- "y": 695.0556983947754,
- "z": "d1ed7801.f49678",
+ "y": 673.0556983947754,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "b6d230c2.d14dd",
+ "id": "36d6a83d.1233d8",
"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": 1850.4999465942383,
- "y": 786.1667079925537,
- "z": "d1ed7801.f49678",
+ "y": 764.1667079925537,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "61a6c21d.5f535c",
+ "id": "1ca1fd5d.e03003",
"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": 2310.4998474121094,
- "y": 733.3888740539551,
- "z": "d1ed7801.f49678",
+ "y": 711.3888740539551,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "4d92f336.7f419c",
+ "id": "7756c4ba.cbb2fc",
"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": 782.9999923706055,
- "y": 935.8888072967529,
- "z": "d1ed7801.f49678",
+ "y": 913.8888072967529,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "2cb76601.d9cada",
+ "id": "ce6df94b.677c98",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
@@ -2566,119 +2566,119 @@
"comments": "",
"outputs": 1,
"x": 590.7777404785156,
- "y": 952.5555000305176,
- "z": "d1ed7801.f49678",
+ "y": 930.5555000305176,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "4d92f336.7f419c"
+ "7756c4ba.cbb2fc"
]
]
},
{
- "id": "c56a0948.d9efb8",
+ "id": "bf53780d.10df28",
"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": 1979.6665954589844,
- "y": 1138.1111030578613,
- "z": "d1ed7801.f49678",
+ "y": 1116.1111030578613,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "9dca12e8.9048e",
+ "id": "ebd08735.f0acf8",
"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": 1976.3332214355469,
- "y": 1214.7777290344238,
- "z": "d1ed7801.f49678",
+ "y": 1192.7777290344238,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "ab2f25e7.72f538",
+ "id": "c10f2b2.1a3eed8",
"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": 1972.9998474121094,
- "y": 1248.1111030578613,
- "z": "d1ed7801.f49678",
+ "y": 1226.1111030578613,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "9cbc67f.5408898",
+ "id": "9849d8ff.7b7358",
"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['+ $id-cuup +'].pLMNInfoList['+ $id-plmn +'].sNSSAI['+$id-cuupnssai+'].sNSSAI'`\" />",
"comments": "",
"outputs": 1,
"x": 2045.8334197998047,
- "y": 952.3333648443222,
- "z": "d1ed7801.f49678",
+ "y": 930.3333648443222,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "9040c865.b8b448",
+ "id": "1efa7316.272c2d",
"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": 1902.7226104736328,
- "y": 992.1111348867416,
- "z": "d1ed7801.f49678",
+ "y": 970.1111348867416,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "648875fa.a1e58c",
+ "id": "8a9c0618.d54148",
"type": "switchNode",
"name": "is NSSAI exists",
"xml": "<switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>\n",
"comments": "",
"outputs": 1,
"x": 1905.9445724487305,
- "y": 1027.22223508358,
- "z": "d1ed7801.f49678",
+ "y": 1005.22223508358,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "ddc0bc52.3336a",
- "b0ad4562.e34528"
+ "1155450b.559edb",
+ "188e3978.ac3927"
]
]
},
{
- "id": "ddc0bc52.3336a",
+ "id": "1155450b.559edb",
"type": "outcome",
"name": "True",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
"x": 2088.6391792297363,
- "y": 997.3334401845932,
- "z": "d1ed7801.f49678",
+ "y": 975.3334401845932,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "e5bbe9de.e12928"
+ "19e0a173.df818f"
]
]
},
{
- "id": "dc2400ca.fd07e",
+ "id": "b2394e54.2e47f",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
@@ -2686,161 +2686,161 @@
"comments": "",
"outputs": 1,
"x": 1704.9443054199219,
- "y": 980.3332710266113,
- "z": "d1ed7801.f49678",
+ "y": 958.3332710266113,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "ae01a5a3.1574b8",
- "351f58be.4b3448",
- "19eff89.de05507"
+ "93be7b03.af9ca8",
+ "69f3fae7.81aba4",
+ "c6b659bc.e58a78"
]
]
},
{
- "id": "b0ad4562.e34528",
+ "id": "188e3978.ac3927",
"type": "outcome",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
"x": 2223.277576446533,
- "y": 989.9999746084213,
- "z": "d1ed7801.f49678",
+ "y": 967.9999746084213,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "a6bd4794.c1ab58"
+ "b92b9827.804918"
]
]
},
{
- "id": "a6bd4794.c1ab58",
+ "id": "b92b9827.804918",
"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": 2418.2777366638184,
- "y": 936.9999284744263,
- "z": "d1ed7801.f49678",
+ "y": 914.9999284744263,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "db24199a.8cfc78",
+ "id": "8926f051.7cdd",
"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": 1869.3888397216797,
- "y": 642.5555105209351,
- "z": "d1ed7801.f49678",
+ "y": 620.5555105209351,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "1de1fac1.d35265",
+ "id": "94550149.1c8d3",
"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": 1948.5555114746094,
- "y": 1345.8888130187988,
- "z": "d1ed7801.f49678",
+ "y": 1323.8888130187988,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "adacbad7.24c918",
+ "id": "13414e1d.5221e2",
"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": 1947.930191040039,
- "y": 1381.2011938095093,
- "z": "d1ed7801.f49678",
+ "y": 1359.2011938095093,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "6f3e96e.76eef68",
+ "id": "a07d31b.1db7ad",
"type": "switchNode",
"name": "check the action",
"xml": "<switch test='`$activate-r-a-n-slice-instance-input.action == activate`'>\n",
"comments": "",
"outputs": 1,
"x": 652.1666641235352,
- "y": 390.3333144187927,
- "z": "d1ed7801.f49678",
+ "y": 368.3333144187927,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "4ae975c4.21fe2c",
- "2635fad5.384ac6"
+ "26d0ec80.062ac4",
+ "818e175b.30ee98"
]
]
},
{
- "id": "4ae975c4.21fe2c",
+ "id": "26d0ec80.062ac4",
"type": "outcome",
"name": "True",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
"x": 879.6666603088379,
- "y": 335.88891792297363,
- "z": "d1ed7801.f49678",
+ "y": 313.88891792297363,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "923a6072.28e91"
+ "720f8fbd.f36a6"
]
]
},
{
- "id": "2635fad5.384ac6",
+ "id": "818e175b.30ee98",
"type": "outcome",
"name": "False",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
"x": 881.8888053894043,
- "y": 394.77780532836914,
- "z": "d1ed7801.f49678",
+ "y": 372.77780532836914,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "41266f8c.595af"
+ "5e431322.6bf7fc"
]
]
},
{
- "id": "bc36a9a2.17eaf8",
+ "id": "1014836f.8442fd",
"type": "set",
"name": "set status as ACTIVE",
"xml": "<set>\n<parameter name='tmp.status' value='ACTIVE' />",
"comments": "",
"x": 1334.1112327575684,
- "y": 305.8888816833496,
- "z": "d1ed7801.f49678",
+ "y": 283.8888816833496,
+ "z": "1201fdc0.e52e32",
"wires": []
},
{
- "id": "16d10d1a.8d5573",
+ "id": "bca9e65a.a9cb58",
"type": "set",
"name": "set status as INACTIVE",
"xml": "<set>\n<parameter name='tmp.status' value='INACTIVE' />",
"comments": "",
"x": 1308.555576324463,
- "y": 339.22223567962646,
- "z": "d1ed7801.f49678",
+ "y": 317.22223567962646,
+ "z": "1201fdc0.e52e32",
"wires": []
},
{
- "id": "923a6072.28e91",
+ "id": "720f8fbd.f36a6",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
@@ -2848,16 +2848,16 @@
"comments": "",
"outputs": 1,
"x": 1089.666660308838,
- "y": 323.66662788391113,
- "z": "d1ed7801.f49678",
+ "y": 301.66662788391113,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "bc36a9a2.17eaf8"
+ "1014836f.8442fd"
]
]
},
{
- "id": "41266f8c.595af",
+ "id": "5e431322.6bf7fc",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
@@ -2865,88 +2865,88 @@
"comments": "",
"outputs": 1,
"x": 1086.3334045410156,
- "y": 380.33335638046265,
- "z": "d1ed7801.f49678",
+ "y": 358.33335638046265,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "16d10d1a.8d5573"
+ "bca9e65a.a9cb58"
]
]
},
{
- "id": "1464a38f.dd272c",
+ "id": "5f03e2e7.3fccac",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
"x": 656.25,
- "y": 821.4166692495346,
- "z": "d1ed7801.f49678",
+ "y": 799.4166692495346,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "b1181fc9.04dab",
- "fce0a4b3.3bb418"
+ "6b9ee4d6.508c5c",
+ "545724c2.401a1c"
]
]
},
{
- "id": "b1181fc9.04dab",
+ "id": "6b9ee4d6.508c5c",
"type": "execute",
"name": "split pLMNId",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name=\"original_string\" value=\"`$tmp.pLMNId`\" />\n <parameter name=\"regex\" value=\"-\"/>\n <parameter name=\"ctx_memory_result_key\" value=\"tmp.plmnList\" />",
"comments": "",
"outputs": 1,
"x": 917.5224990844727,
- "y": 703.9289726018906,
- "z": "d1ed7801.f49678",
+ "y": 681.9289726018906,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "fce0a4b3.3bb418",
+ "id": "545724c2.401a1c",
"type": "set",
"name": "set mcc & mnc Variables",
"xml": "<set>\n<parameter name='tmp.mcc' value='`$tmp.plmnList[0]`'/>\n<parameter name='tmp.mnc' value='`$tmp.plmnList[1]`'/>",
"comments": "",
"x": 947.9770889282227,
- "y": 750.9744132757187,
- "z": "d1ed7801.f49678",
+ "y": 728.9744132757187,
+ "z": "1201fdc0.e52e32",
"wires": []
},
{
- "id": "fb737c3b.904ff",
+ "id": "bab26f0b.3caf6",
"type": "execute",
"name": "read snssailist size",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.snssaiList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList['+$id-cuplmn+'].sNSSAI_length'`\" />",
"comments": "",
"outputs": 1,
"x": 2308,
- "y": 660.6666692495346,
- "z": "d1ed7801.f49678",
+ "y": 638.6666692495346,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "babec019.ba3f3",
+ "id": "9b279ceb.ea195",
"type": "for",
"name": "foreach snssai",
"xml": "<for index='id-cunssai' start='0' end='`$tmp.snssaiList_length`' >\n",
"comments": "",
"outputs": 1,
"x": 2316,
- "y": 700.6666692495346,
- "z": "d1ed7801.f49678",
+ "y": 678.6666692495346,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "c5dee108.611ce"
+ "89384351.d2087"
]
]
},
{
- "id": "c5dee108.611ce",
+ "id": "89384351.d2087",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
@@ -2954,48 +2954,48 @@
"comments": "",
"outputs": 1,
"x": 2509.25,
- "y": 703.1666692495346,
- "z": "d1ed7801.f49678",
+ "y": 681.1666692495346,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "b14f7f73.800f2",
- "4b92bb45.32d8c4",
- "ccc6e66c.69f758"
+ "4d056992.455e58",
+ "80784969.babca8",
+ "6485bd54.8d70a4"
]
]
},
{
- "id": "ae01a5a3.1574b8",
+ "id": "93be7b03.af9ca8",
"type": "execute",
"name": "read snssailist size",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.snssaiListup_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].pLMNInfoList['+$id-plmn+'].sNSSAI_length'`\" />",
"comments": "",
"outputs": 1,
"x": 1941.999984741211,
- "y": 852.9167226552963,
- "z": "d1ed7801.f49678",
+ "y": 830.9167226552963,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "351f58be.4b3448",
+ "id": "69f3fae7.81aba4",
"type": "for",
"name": "foreach snssai",
"xml": "<for index='id-cuupnssai' start='0' end='`$tmp.snssaiListup_length`' >\n",
"comments": "",
"outputs": 1,
"x": 1928.0000228881836,
- "y": 910.9167236089706,
- "z": "d1ed7801.f49678",
+ "y": 888.9167236089706,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "85252e3c.f2181"
+ "3e63d789.1df2c8"
]
]
},
{
- "id": "85252e3c.f2181",
+ "id": "3e63d789.1df2c8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
@@ -3003,48 +3003,48 @@
"comments": "",
"outputs": 1,
"x": 2137.2499923706055,
- "y": 907.4167236089706,
- "z": "d1ed7801.f49678",
+ "y": 885.4167236089706,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "9cbc67f.5408898",
- "9040c865.b8b448",
- "648875fa.a1e58c"
+ "9849d8ff.7b7358",
+ "1efa7316.272c2d",
+ "8a9c0618.d54148"
]
]
},
{
- "id": "13dd363.0ebddca",
+ "id": "1f36b292.2e31bd",
"type": "execute",
"name": "read snssailist size",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.snssaiListdu_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList['+$id-duplmn+'].sNSSAI_length'`\" />",
"comments": "",
"outputs": 1,
"x": 2330,
- "y": 1353.9166692495346,
- "z": "d1ed7801.f49678",
+ "y": 1331.9166692495346,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "e949b2da.b8d16",
+ "id": "ea301196.e0983",
"type": "for",
"name": "foreach snssai",
"xml": "<for index='id-dunssai' start='0' end='`$tmp.snssaiListdu_length`' >\n",
"comments": "",
"outputs": 1,
"x": 2338,
- "y": 1393.9166692495346,
- "z": "d1ed7801.f49678",
+ "y": 1371.9166692495346,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "2cb8fd8a.6d1762"
+ "f2d0640f.baaaf8"
]
]
},
{
- "id": "2cb8fd8a.6d1762",
+ "id": "f2d0640f.baaaf8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
@@ -3052,39 +3052,39 @@
"comments": "",
"outputs": 1,
"x": 2531.25,
- "y": 1396.4166692495346,
- "z": "d1ed7801.f49678",
+ "y": 1374.4166692495346,
+ "z": "1201fdc0.e52e32",
"wires": [
[
- "ad9f55d2.8dd238",
- "8a1ae64b.0ee3e8",
- "b372e52a.3b17b8"
+ "eca27dc6.23911",
+ "18cd97a2.f285a8",
+ "2f5507b7.45dab8"
]
]
},
{
- "id": "19eff89.de05507",
+ "id": "c6b659bc.e58a78",
"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=\"CUUP - snssaiList_length\"/>\n<parameter name=\"field2\" value=\"`$tmp.snssaiListup_length`\"/>\n\n",
"comments": "",
"outputs": 1,
"x": 1942.25,
- "y": 880.4166692495346,
- "z": "d1ed7801.f49678",
+ "y": 858.4166692495346,
+ "z": "1201fdc0.e52e32",
"wires": [
[]
]
},
{
- "id": "d55655f1.0b2c68",
+ "id": "acd95d31.d21ba",
"type": "comment",
- "name": "activateRANSliceInstance-configdb",
+ "name": "activateRANSliceInstance-configDB",
"info": "",
"comments": "",
"x": 366.3333320617676,
- "y": 43,
- "z": "d1ed7801.f49678",
+ "y": 21,
+ "z": "1201fdc0.e52e32",
"wires": []
}
] \ No newline at end of file
diff --git a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance-configDb.json b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance-configDb.json
deleted file mode 100644
index 9dc5c1b7..00000000
--- a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance-configDb.json
+++ /dev/null
@@ -1,3090 +0,0 @@
-[
- {
- "id": "bb8700a9.4c981",
- "type": "dgstart",
- "name": "DGSTART",
- "outputs": 1,
- "x": 97,
- "y": 87.33333587646484,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "a8133e65.5ac4d"
- ]
- ]
- },
- {
- "id": "a8133e65.5ac4d",
- "type": "service-logic",
- "name": "ran-slice-api ${project.version}",
- "module": "ran-slice-api",
- "version": "${project.version}",
- "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": 182.0000228881836,
- "y": 154.33330535888672,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "237a3862.b8a458"
- ]
- ]
- },
- {
- "id": "237a3862.b8a458",
- "type": "method",
- "name": "method",
- "xml": "<method rpc='activateRANSliceInstance-configDb' mode='sync'>\n",
- "comments": "",
- "outputs": 1,
- "x": 116,
- "y": 214.33327102661133,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "675c49d9.02b878"
- ]
- ]
- },
- {
- "id": "675c49d9.02b878",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 138.5000114440918,
- "y": 294.8333396911621,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "ff9db377.7823d",
- "81e45632.c9dd28",
- "7a4c6f4.b29489",
- "ab9c7f54.5efce",
- "99130c3d.ef6f4",
- "374f840c.4a8c7c",
- "446b85d5.2a49fc",
- "fc362b1e.27f058",
- "d22508d5.1fcf08",
- "3a7c8c90.d3a444",
- "ae821b1.921dbe8",
- "9bf50fcf.d38c7",
- "7dbdec74.d022b4",
- "2a793d99.38e0f2",
- "b0cc41ce.60ab5",
- "bcc092a7.423ba",
- "79849f4d.ba4fb",
- "18abfe8a.745ce1",
- "1d7c779.9961388",
- "489e706d.876b8",
- "9a583c38.6dc94"
- ]
- ]
- },
- {
- "id": "ff9db377.7823d",
- "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": "",
- "outputs": 1,
- "x": 720.2500610351562,
- "y": 490.027795791626,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "81e45632.c9dd28",
- "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": "",
- "outputs": 1,
- "x": 660.2500152587891,
- "y": 526.5833630561829,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "7a4c6f4.b29489",
- "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": 650.2500915527344,
- "y": 578.583393573761,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "2358cf4b.0ce08",
- "c2f2c22b.58ba4"
- ]
- ]
- },
- {
- "id": "2358cf4b.0ce08",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 949.0680961608887,
- "y": 596.4014172554016,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "dde4f1f2.53ef8"
- ]
- ]
- },
- {
- "id": "dde4f1f2.53ef8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1119.0679931640625,
- "y": 597.4015326499939,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "69a4dd2e.c79514",
- "bedba215.78ce4"
- ]
- ]
- },
- {
- "id": "69a4dd2e.c79514",
- "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 Obtained NearRT RIC info from ConfigDB\"/>\n<parameter name=\"field2\" value=\"`$getNFNSSIRIC-configdb-response._length`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1342.0677909851074,
- "y": 542.4015164375305,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "bedba215.78ce4",
- "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": 1337.845932006836,
- "y": 613.401524066925,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "c2f2c22b.58ba4",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 955.0680503845215,
- "y": 536.4015011787415,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "2dd242a4.c8672e"
- ]
- ]
- },
- {
- "id": "2dd242a4.c8672e",
- "type": "block",
- "name": "block",
- "xml": "<block>",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1235.0681266784668,
- "y": 442.40155506134033,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "2c4b7187.aac1ae",
- "ba0c411a.8cdd3"
- ]
- ]
- },
- {
- "id": "2c4b7187.aac1ae",
- "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": 1413.06791305542,
- "y": 396.51258182525635,
- "z": "49ebb481.a8edbc",
- "wires": []
- },
- {
- "id": "ab9c7f54.5efce",
- "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": 625,
- "y": 103.33332252502441,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "99130c3d.ef6f4",
- "type": "set",
- "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": 663.999755859375,
- "y": 146.33333492279053,
- "z": "49ebb481.a8edbc",
- "wires": []
- },
- {
- "id": "374f840c.4a8c7c",
- "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": 668.9997711181641,
- "y": 191.08332061767578,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "86a30151.d9c84"
- ]
- ]
- },
- {
- "id": "446b85d5.2a49fc",
- "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": 628.6386184692383,
- "y": 280.07287406921387,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "fc362b1e.27f058",
- "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/ran-slice-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n",
- "comments": "",
- "outputs": 1,
- "x": 657.5275650024414,
- "y": 321.0832977294922,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "d22508d5.1fcf08",
- "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=\"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": 626.5832805633545,
- "y": 366.5278148651123,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "86a30151.d9c84",
- "type": "other",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 935.4997825622559,
- "y": 193.0833101272583,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "83e575af.42c718"
- ]
- ]
- },
- {
- "id": "83e575af.42c718",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1135.4999389648438,
- "y": 195.83330631256104,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "1aa8a440.c2fbdc",
- "68d301e3.d466a"
- ]
- ]
- },
- {
- "id": "1aa8a440.c2fbdc",
- "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": 1325.500015258789,
- "y": 157.33334064483643,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "68d301e3.d466a",
- "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": 1324.74995803833,
- "y": 221.3333568572998,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "3a7c8c90.d3a444",
- "type": "for",
- "name": "foreach NearRTRIC",
- "xml": "<for index='idy' start='0' end='`$tmp.RICList_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 402.9375915527344,
- "y": 1019.2083530426025,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "9dfef39f.04b07",
- "1eca4a68.a54256",
- "5c220a8a.8bb5d4",
- "d45072d8.ff4f2"
- ]
- ]
- },
- {
- "id": "9dfef39f.04b07",
- "type": "block",
- "name": "Process CUCP",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 668.1875305175781,
- "y": 1012.6402835845947,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "1d460f76.6b0121",
- "3f9c257f.09976a",
- "cf4adfdb.527e8"
- ]
- ]
- },
- {
- "id": "1d460f76.6b0121",
- "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": 1014.4375152587891,
- "y": 882.3901920318604,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "3f9c257f.09976a",
- "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.CUCPList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 973.9374961853027,
- "y": 929.89026927948,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "cf4adfdb.527e8",
- "type": "for",
- "name": "foreach CUCP",
- "xml": "<for index='idz' start='0' end='`$tmp.CUCPList_length`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 990.6876220703125,
- "y": 979.8902699947357,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "72c45b04.b2ef94"
- ]
- ]
- },
- {
- "id": "72c45b04.b2ef94",
- "type": "block",
- "name": "block : process CUCP",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1201.687515258789,
- "y": 943.1401634216309,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "314f2d1a.529f02",
- "e06b79b8.6820d8",
- "81b16984.f2cb38",
- "bdfe481a.42ab68"
- ]
- ]
- },
- {
- "id": "314f2d1a.529f02",
- "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": 1456.4376068115234,
- "y": 673.2235641479492,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "81b16984.f2cb38",
- "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": 1428.187614440918,
- "y": 728.3901748657227,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "bdfe481a.42ab68",
- "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": 1465.4375228881836,
- "y": 776.1401901245117,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "e06b79b8.6820d8",
- "type": "for",
- "name": "for cellCUList",
- "xml": "<for index='idcu' start='0' end='`$tmp.cellCUList_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1440.4374923706055,
- "y": 828.8902053833008,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "ef1f6a7.bae1e98"
- ]
- ]
- },
- {
- "id": "ef1f6a7.bae1e98",
- "type": "block",
- "name": "block",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1655.4375343322754,
- "y": 829.1402225494385,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "4893fd4c.c97634",
- "5e59ad11.3f27f4",
- "be1d09f1.402568"
- ]
- ]
- },
- {
- "id": "4893fd4c.c97634",
- "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": 1872.3964233398438,
- "y": 767.79319190979,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "be1d09f1.402568",
- "type": "for",
- "name": "foreach PLMNInfo",
- "xml": "<for index='id-cuplmn' start='0' end='`$tmp.pLMNInfoList_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1872.4241485595703,
- "y": 846.9874585866928,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "14a83fc5.38b7e"
- ]
- ]
- },
- {
- "id": "14a83fc5.38b7e",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2079.313056945801,
- "y": 788.7652530670166,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "5b4f90d3.be9f1",
- "f566b109.fab9f"
- ]
- ]
- },
- {
- "id": "12ccaf71.e0cb81",
- "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['+$id-cunssai+'].sNSSAI'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2429.7574768066406,
- "y": 801.765248298645,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "7d169af7.66fc44",
- "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": 2288.5353813171387,
- "y": 835.3207740783691,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "c7428951.69d3b8",
- "type": "switchNode",
- "name": "is NSSAI exists",
- "xml": "<switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2324.0908584594727,
- "y": 876.5430021286011,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "dde832cf.9b10b"
- ]
- ]
- },
- {
- "id": "dde832cf.9b10b",
- "type": "outcome",
- "name": "True",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2513.563056945801,
- "y": 876.7653312683105,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "6e66f8ea.2a3528"
- ]
- ]
- },
- {
- "id": "6e66f8ea.2a3528",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2734.1875,
- "y": 874.5208358764648,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "49fa499d.9aabd8",
- "7bf13c76.bcaf24",
- "f664a3ac.f0f08",
- "c4bcbc92.8e0eb",
- "ee62242f.d6c0d8",
- "1b0b697a.0ba307",
- "5be6255d.c23f4c",
- "28d485e8.b0ccda",
- "b55ec00d.eb492"
- ]
- ]
- },
- {
- "id": "b55ec00d.eb492",
- "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": 2929.1875,
- "y": 869.5208358764648,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "28d485e8.b0ccda",
- "type": "switchNode",
- "name": "ransim mounted",
- "xml": "<switch test='`$prop.ransim-mounted`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2957.1875,
- "y": 937.5208358764648,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "5ae3d18f.78d18",
- "b07a80e4.fbc7f"
- ]
- ]
- },
- {
- "id": "5ae3d18f.78d18",
- "type": "outcome",
- "name": "Not Mounted",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3165.1875,
- "y": 902.5205917358398,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "54d1444e.77810c"
- ]
- ]
- },
- {
- "id": "54d1444e.77810c",
- "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": 3485.1875,
- "y": 917.5208358764648,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "2c3a1d.3d2565e4",
- "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": 3663.687530517578,
- "y": 975.5207748413086,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "f5de1942.50bcb8",
- "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": 3607.687931060791,
- "y": 1028.5209684371948,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "37f2d984.c90d56",
- "type": "block",
- "name": "ransim URL",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3356.6875,
- "y": 1005.5208358764648,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "2c3a1d.3d2565e4",
- "f5de1942.50bcb8"
- ]
- ]
- },
- {
- "id": "b07a80e4.fbc7f",
- "type": "outcome",
- "name": "Mounted",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3153.1875,
- "y": 1004.5208358764648,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "37f2d984.c90d56"
- ]
- ]
- },
- {
- "id": "49fa499d.9aabd8",
- "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": 2924.1875,
- "y": 1037.5208358764648,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "ee62242f.d6c0d8",
- "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": 2951.1875,
- "y": 1101.5208358764648,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "1b0b697a.0ba307",
- "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": 2912.187759399414,
- "y": 1147.0208644866943,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "5be6255d.c23f4c",
- "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": 2877.9375610351562,
- "y": 1228.7708921432495,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "7bf13c76.bcaf24",
- "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": 2866.68798828125,
- "y": 1289.020908355713,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "f664a3ac.f0f08",
- "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": 2863.1875,
- "y": 1357.5208358764648,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "c4bcbc92.8e0eb",
- "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": 2903.1876068115234,
- "y": 1420.520809173584,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "27c07b14.aa5b44",
- "2fa1063b.c25faa"
- ]
- ]
- },
- {
- "id": "2fa1063b.c25faa",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3119.18758392334,
- "y": 1299.520809173584,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "58cf4168.4c4d5"
- ]
- ]
- },
- {
- "id": "58cf4168.4c4d5",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3269.187858581543,
- "y": 1258.5209922790527,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "9d6d6ab1.5debe8",
- "9ddfe5d5.c55268",
- "ba0c411a.8cdd3"
- ]
- ]
- },
- {
- "id": "9ddfe5d5.c55268",
- "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": 3435.187614440918,
- "y": 1224.5209922790527,
- "z": "49ebb481.a8edbc",
- "wires": []
- },
- {
- "id": "9d6d6ab1.5debe8",
- "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": 3440.1874923706055,
- "y": 1319.521053314209,
- "z": "49ebb481.a8edbc",
- "wires": []
- },
- {
- "id": "94e0d129.0fdb9",
- "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": 3525.1874618530273,
- "y": 1412.5212364196777,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "9ed2892f.1f9a18",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3327.187400817871,
- "y": 1415.5211143493652,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "94e0d129.0fdb9"
- ]
- ]
- },
- {
- "id": "27c07b14.aa5b44",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3154.187614440918,
- "y": 1416.521053314209,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "9ed2892f.1f9a18"
- ]
- ]
- },
- {
- "id": "ae821b1.921dbe8",
- "type": "execute",
- "name": "read sNSSAI from input",
- "xml": "<set>\n<parameter name='tmp.sNSSAI' value=\"`$payloadJson.input.sNSSAI`\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 676.6875152587891,
- "y": 237.33334159851074,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "1eca4a68.a54256",
- "type": "block",
- "name": "Process CUUP",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 669.1875534057617,
- "y": 1154.5208616256714,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "38d81c5a.bc2314",
- "be8ef331.7add2",
- "cc43e294.5e5a1"
- ]
- ]
- },
- {
- "id": "38d81c5a.bc2314",
- "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": 1000.187557220459,
- "y": 1054.5208587646484,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "be8ef331.7add2",
- "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": 957.1876220703125,
- "y": 1105.7708611488342,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "cc43e294.5e5a1",
- "type": "for",
- "name": "foreach CUUP",
- "xml": "<for index='id-cuup' start='0' end='`$tmp.CUUPList_length`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 982.6875152587891,
- "y": 1154.520860671997,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "492dd078.78c33"
- ]
- ]
- },
- {
- "id": "492dd078.78c33",
- "type": "block",
- "name": "block : process CUUP",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1206.1875610351562,
- "y": 1137.7709064483643,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "4dfb2d91.dcc074",
- "678a98c7.514418",
- "ea7544a.9f411b8",
- "db274764.3a57a8"
- ]
- ]
- },
- {
- "id": "4dfb2d91.dcc074",
- "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": 1450.1875,
- "y": 913.0208358764648,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "678a98c7.514418",
- "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": 1446.1875,
- "y": 967.0208358764648,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "ea7544a.9f411b8",
- "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": 1497.1875,
- "y": 1032.0208358764648,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "db274764.3a57a8",
- "type": "for",
- "name": "foreach pLMNInfo",
- "xml": "<for index='id-plmn' start='0' end='`$tmp.pLMNInfoList`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1483.1875,
- "y": 1087.0208358764648,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "d31686c0.f517e8"
- ]
- ]
- },
- {
- "id": "877eeca6.75ac",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1722.3125,
- "y": 1084.2083358764648,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "eeaf4165.feda1",
- "6b312c26.a80804",
- "cd218e05.7d456",
- "622bbaea.f33c14",
- "78e59d9d.c33774",
- "bd62a74f.9bb7d8"
- ]
- ]
- },
- {
- "id": "eeaf4165.feda1",
- "type": "switchNode",
- "name": "ransim mounted",
- "xml": "<switch test='`$prop.ransim-mounted`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1935.562759399414,
- "y": 1084.9584846496582,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "731fe436.29da5c",
- "a4b5f682.7ef498"
- ]
- ]
- },
- {
- "id": "731fe436.29da5c",
- "type": "outcome",
- "name": "Not Mounted",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2148.562641143799,
- "y": 1052.4581031799316,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "4b194bae.082724"
- ]
- ]
- },
- {
- "id": "4b194bae.082724",
- "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": 2473.5625228881836,
- "y": 1007.4584074020386,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "e3c3a5b7.a668c8",
- "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": 2584.3120651245117,
- "y": 1090.2081184387207,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "39292b24.adf9a4",
- "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": 2568.3125858306885,
- "y": 1158.208378791809,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "dc8d7a0c.f2a648",
- "type": "block",
- "name": "ransim URL",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2308.562370300293,
- "y": 1148.9581189155579,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "e3c3a5b7.a668c8",
- "39292b24.adf9a4"
- ]
- ]
- },
- {
- "id": "a4b5f682.7ef498",
- "type": "outcome",
- "name": "Mounted",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2134.062515258789,
- "y": 1138.2083778381348,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "dc8d7a0c.f2a648"
- ]
- ]
- },
- {
- "id": "6b312c26.a80804",
- "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": 2004.2221374511719,
- "y": 1197.9930424690247,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "cd218e05.7d456",
- "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": 1953.5556335449219,
- "y": 1311.6597137451172,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "3577e927.98b886",
- "f1f2cc13.57bb5"
- ]
- ]
- },
- {
- "id": "3577e927.98b886",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2280.0001525878906,
- "y": 1274.7710752487183,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "5f118337.ca776c"
- ]
- ]
- },
- {
- "id": "f1f2cc13.57bb5",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2274.000030517578,
- "y": 1341.771014213562,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "4cff2bc4.eb67d4"
- ]
- ]
- },
- {
- "id": "5f118337.ca776c",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2457.000274658203,
- "y": 1263.7709531784058,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "c40e437c.48b9b",
- "dcdfae5c.70649",
- "ba0c411a.8cdd3"
- ]
- ]
- },
- {
- "id": "4cff2bc4.eb67d4",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2454.000030517578,
- "y": 1346.7708311080933,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "36f7364a.fc377a"
- ]
- ]
- },
- {
- "id": "36f7364a.fc377a",
- "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": 2606.999725341797,
- "y": 1346.7710752487183,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "c40e437c.48b9b",
- "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": 2661.7502365112305,
- "y": 1264.2712326049805,
- "z": "49ebb481.a8edbc",
- "wires": []
- },
- {
- "id": "dcdfae5c.70649",
- "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": 2666.7504234313965,
- "y": 1210.2713685035706,
- "z": "49ebb481.a8edbc",
- "wires": []
- },
- {
- "id": "5c220a8a.8bb5d4",
- "type": "block",
- "name": "Process gNBDU",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 663.5625076293945,
- "y": 1302.958360671997,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "14894329.d4c5dd",
- "80c2f591.526dc8",
- "d7d73287.61c54"
- ]
- ]
- },
- {
- "id": "14894329.d4c5dd",
- "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": 996.3125305175781,
- "y": 1208.9583473205566,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "80c2f591.526dc8",
- "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": 969.312557220459,
- "y": 1252.458408355713,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "d7d73287.61c54",
- "type": "for",
- "name": "foreach DU",
- "xml": "<for index='id-du' start='0' end='`$tmp.DUList_length`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 981.3125305175781,
- "y": 1303.7083358764648,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "1bf6769a.ab3de9"
- ]
- ]
- },
- {
- "id": "1bf6769a.ab3de9",
- "type": "block",
- "name": "block : process gNBDU",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1262.3125,
- "y": 1304.7083053588867,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "b643faf5.0f6df8",
- "669c0196.ed1a1",
- "24ead5e9.45a31a",
- "cdb6a11f.b2f2"
- ]
- ]
- },
- {
- "id": "b643faf5.0f6df8",
- "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": 1541.3123245239258,
- "y": 1300.707607269287,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "669c0196.ed1a1",
- "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": 1514.3123245239258,
- "y": 1351.707607269287,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "24ead5e9.45a31a",
- "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": 1555.3123245239258,
- "y": 1400.707607269287,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "cdb6a11f.b2f2",
- "type": "for",
- "name": "for cellDUList",
- "xml": "<for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1545.3123245239258,
- "y": 1444.707607269287,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "caa51c48.27933"
- ]
- ]
- },
- {
- "id": "caa51c48.27933",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1705.062385559082,
- "y": 1444.4577322006226,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "ed3c2dd4.71ea3",
- "cb96b1d8.5390c",
- "5e5993a3.45a0bc"
- ]
- ]
- },
- {
- "id": "ed3c2dd4.71ea3",
- "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": 1953.25,
- "y": 1444.2083358764648,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "cb96b1d8.5390c",
- "type": "for",
- "name": "foreach PLMNInfo",
- "xml": "<for index='id-duplmn' start='0' end='`$tmp.DUpLMNInfoList_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1931.5833740234375,
- "y": 1514.2083358764648,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "b7028323.99161"
- ]
- ]
- },
- {
- "id": "b7028323.99161",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2116.9721603393555,
- "y": 1508.2360458374023,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "a8ebd475.71b368",
- "e7ad6507.c74ba8"
- ]
- ]
- },
- {
- "id": "6bb0e42e.de207c",
- "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['+$id-dunssai+'].sNSSAI'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2469.527862548828,
- "y": 1482.3199867010117,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "9a3de28d.8599a",
- "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": 2342.8610763549805,
- "y": 1525.2086557149887,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "2cb311bb.502cde",
- "type": "switchNode",
- "name": "is NSSAI exists",
- "xml": "<switch test='`$tmp.configDBSNSSAI-DU == $tmp.sNSSAI`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2340.9999923706055,
- "y": 1565.764167189598,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "eea090b0.6dd1"
- ]
- ]
- },
- {
- "id": "eea090b0.6dd1",
- "type": "outcome",
- "name": "True",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2514.4724349975586,
- "y": 1571.486488699913,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "43162b02.c88044"
- ]
- ]
- },
- {
- "id": "43162b02.c88044",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2696.500129699707,
- "y": 1523.4585590362549,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "36b43a22.55dae6",
- "2d7ca551.93d8ba",
- "c41ddf6b.bd392",
- "83039ad5.422538",
- "3caee8a.a546418",
- "2fcffb5e.ddcec4",
- "53568cff.53c7b4"
- ]
- ]
- },
- {
- "id": "65644592.3fed8c",
- "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": 2909.0004959106445,
- "y": 1492.2085591554642,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "36b43a22.55dae6",
- "type": "switchNode",
- "name": "ransim mounted",
- "xml": "<switch test='`$prop.ransim-mounted`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2913.2500076293945,
- "y": 1550.2085914611816,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "d3e22b00.911878",
- "2da3f392.bd7c5c"
- ]
- ]
- },
- {
- "id": "d3e22b00.911878",
- "type": "outcome",
- "name": "Not Mounted",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3122.500499725342,
- "y": 1505.2081327438354,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "e1da9a3f.54a068"
- ]
- ]
- },
- {
- "id": "2da3f392.bd7c5c",
- "type": "outcome",
- "name": "Mounted",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3117.500499725342,
- "y": 1566.7088356018066,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "2a7d1bcc.ddaba4"
- ]
- ]
- },
- {
- "id": "e1da9a3f.54a068",
- "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": 3468.750259399414,
- "y": 1503.958589553833,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "2a7d1bcc.ddaba4",
- "type": "block",
- "name": "ransim URL",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3295.0000762939453,
- "y": 1573.2084693908691,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "d9bda424.5ac268",
- "5ca1e95f.65bcd8"
- ]
- ]
- },
- {
- "id": "d9bda424.5ac268",
- "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": 3577.000442504883,
- "y": 1561.9584693908691,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "5ca1e95f.65bcd8",
- "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": 3527.250747680664,
- "y": 1622.4585008621216,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "2d7ca551.93d8ba",
- "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": 2960.1250610351562,
- "y": 1677.0207738876343,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "c41ddf6b.bd392",
- "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": 2933.125244140625,
- "y": 1732.020775794983,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "83039ad5.422538",
- "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": 2913.1249389648438,
- "y": 1795.0210819244385,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "3caee8a.a546418",
- "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": 2915.1251831054688,
- "y": 1853.0207147598267,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "2fcffb5e.ddcec4",
- "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": 2920.1248168945312,
- "y": 1921.0212059020996,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "53568cff.53c7b4",
- "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": 2977.1248474121094,
- "y": 1996.2705917358398,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "dc6e3002.bdc36",
- "77d96617.088668"
- ]
- ]
- },
- {
- "id": "77d96617.088668",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3244.1248474121094,
- "y": 1896.2705917358398,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "3e4c5836.48f4a8"
- ]
- ]
- },
- {
- "id": "3e4c5836.48f4a8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3402.1250915527344,
- "y": 1844.2705917358398,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "21151fa3.7d9be",
- "ce16670f.38e568",
- "ba0c411a.8cdd3"
- ]
- ]
- },
- {
- "id": "ce16670f.38e568",
- "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": 3568.1248474121094,
- "y": 1810.2705917358398,
- "z": "49ebb481.a8edbc",
- "wires": []
- },
- {
- "id": "21151fa3.7d9be",
- "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": 3573.124725341797,
- "y": 1905.270652770996,
- "z": "49ebb481.a8edbc",
- "wires": []
- },
- {
- "id": "7d0f876a.954ee8",
- "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": 3557.124725341797,
- "y": 1991.2708358764648,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "a02cc11f.5b8c5",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3411.1248474121094,
- "y": 1992.2705943584442,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "7d0f876a.954ee8"
- ]
- ]
- },
- {
- "id": "dc6e3002.bdc36",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3243.1248474121094,
- "y": 1995.2705917358398,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "a02cc11f.5b8c5"
- ]
- ]
- },
- {
- "id": "9bf50fcf.d38c7",
- "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": 624.8125305175781,
- "y": 635.7708473205566,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "7dbdec74.d022b4",
- "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": 598.3125305175781,
- "y": 691.2708787918091,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "2a793d99.38e0f2",
- "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": 667.0625152587891,
- "y": 744.7708148956299,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "b0cc41ce.60ab5",
- "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": 620.0625076293945,
- "y": 783.8820562362671,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "645027fe.65dd88",
- "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": 1179.534782409668,
- "y": 762.9099258184433,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "8befbcbf.5b71f",
- "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": 1190.201530456543,
- "y": 800.6876357793808,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "bcc092a7.423ba",
- "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": 591.4171524047852,
- "y": 894.4588203430176,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "ba0c411a.8cdd3",
- "type": "block",
- "name": "block : SO Response",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 4046.0625,
- "y": 1642.8244247436523,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "b63b2f62.39c3f",
- "f93b95ea.20bfa8",
- "2c8e20c7.f0edc"
- ]
- ]
- },
- {
- "id": "b63b2f62.39c3f",
- "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": 4425.206283569336,
- "y": 1500.4384117126465,
- "z": "49ebb481.a8edbc",
- "wires": []
- },
- {
- "id": "f93b95ea.20bfa8",
- "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": 4428.776741027832,
- "y": 1566.1104984283447,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "2c8e20c7.f0edc",
- "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": 4355.205307006836,
- "y": 1644.5390729904175,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "940e2483.e3e8c8",
- "ad4b1799.fbea48"
- ]
- ]
- },
- {
- "id": "940e2483.e3e8c8",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 4592.633865356445,
- "y": 1627.2531242370605,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "8e1d126d.ac778"
- ]
- ]
- },
- {
- "id": "8e1d126d.ac778",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 4785.062232971191,
- "y": 1617.9675617218018,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "cdf399af.f35138"
- ]
- ]
- },
- {
- "id": "cdf399af.f35138",
- "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": 4986.7761154174805,
- "y": 1606.681673526764,
- "z": "49ebb481.a8edbc",
- "wires": []
- },
- {
- "id": "13c9b0a1.3a6b8f",
- "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": 4980.91939163208,
- "y": 1681.681739807129,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "72560d59.664084",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 4796.919242858887,
- "y": 1687.1101818084717,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "13c9b0a1.3a6b8f"
- ]
- ]
- },
- {
- "id": "ad4b1799.fbea48",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 4586.919189453125,
- "y": 1690.967420578003,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "72560d59.664084"
- ]
- ]
- },
- {
- "id": "79849f4d.ba4fb",
- "type": "block",
- "name": "SO Response",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 593.5625,
- "y": 1619.9672470092773,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "5840b378.812dec",
- "21cae3c8.23eb2c",
- "9a28ea9e.33e778",
- "a531fbb8.d88138"
- ]
- ]
- },
- {
- "id": "9a28ea9e.33e778",
- "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": 873.5636444091797,
- "y": 1469.8667316436768,
- "z": "49ebb481.a8edbc",
- "wires": []
- },
- {
- "id": "5840b378.812dec",
- "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": 870.5624771118164,
- "y": 1623.967430114746,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "21cae3c8.23eb2c",
- "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": 739.5625762939453,
- "y": 1740.967134475708,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "ec60c32b.e8fde",
- "87902a94.ed48f8"
- ]
- ]
- },
- {
- "id": "ec60c32b.e8fde",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 904.5625762939453,
- "y": 1720.9671335220337,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "b75ef1c9.2d841"
- ]
- ]
- },
- {
- "id": "87902a94.ed48f8",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 896.5624694824219,
- "y": 1793.9670839309692,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "d4bc837e.c401b"
- ]
- ]
- },
- {
- "id": "d4bc837e.c401b",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1042.562313079834,
- "y": 1798.9671926498413,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "8053b1c1.88dec"
- ]
- ]
- },
- {
- "id": "b75ef1c9.2d841",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1053.5624771118164,
- "y": 1716.9672689437866,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "d789e968.ffca18",
- "f95caf5d.145bc"
- ]
- ]
- },
- {
- "id": "d789e968.ffca18",
- "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": 1200.5620956420898,
- "y": 1727.9670104980469,
- "z": "49ebb481.a8edbc",
- "wires": []
- },
- {
- "id": "8053b1c1.88dec",
- "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": 1203.5622329711914,
- "y": 1804.9670848846436,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "f95caf5d.145bc",
- "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": 1188.0727043151855,
- "y": 1631.9565019607544,
- "z": "49ebb481.a8edbc",
- "wires": []
- },
- {
- "id": "a531fbb8.d88138",
- "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": 892.902099609375,
- "y": 1559.9525842666626,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "18abfe8a.745ce1",
- "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": 251.0625,
- "y": 1136.3958358764648,
- "z": "49ebb481.a8edbc",
- "wires": []
- },
- {
- "id": "1d7c779.9961388",
- "type": "execute",
- "name": "read RIC list size",
- "xml": "<set>\n<parameter name='tmp.RICList_length' value=\"`$getNFNSSIRIC-configdb-response._length`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 620.0555038452148,
- "y": 927.0555057525635,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "5ed5868f.f491f8",
- "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": 1834.4999084472656,
- "y": 718.7223663330078,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "8f30e9a0.d5de98",
- "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": 1834.4999465942383,
- "y": 809.8333759307861,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "7b689155.9fc4c",
- "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": 2294.4998474121094,
- "y": 757.0555419921875,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "c351706e.4f93e",
- "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": 766.9999923706055,
- "y": 959.5554752349854,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "d45072d8.ff4f2",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 574.7777404785156,
- "y": 976.22216796875,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "c351706e.4f93e"
- ]
- ]
- },
- {
- "id": "622bbaea.f33c14",
- "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": 1963.6665954589844,
- "y": 1161.7777709960938,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "78e59d9d.c33774",
- "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": 1960.3332214355469,
- "y": 1238.4443969726562,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "bd62a74f.9bb7d8",
- "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": 1956.9998474121094,
- "y": 1271.7777709960938,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "99fec0b9.59324",
- "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['+ $id-cuup +'].pLMNInfoList['+ $id-plmn +'].sNSSAI['+$id-cuupnssai+'].sNSSAI'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2029.8334197998047,
- "y": 976.0000327825546,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "feb11fb4.5c233",
- "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": 1886.7226104736328,
- "y": 1015.7778028249741,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "1ee518f4.3703a7",
- "type": "switchNode",
- "name": "is NSSAI exists",
- "xml": "<switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1889.9445724487305,
- "y": 1050.8889030218124,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "ad97d09b.d9b81",
- "74682f4.88912d"
- ]
- ]
- },
- {
- "id": "ad97d09b.d9b81",
- "type": "outcome",
- "name": "True",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2072.6391792297363,
- "y": 1021.0001081228256,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "877eeca6.75ac"
- ]
- ]
- },
- {
- "id": "d31686c0.f517e8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1688.9443054199219,
- "y": 1003.9999389648438,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "67b665a2.331eec",
- "5ef72d3c.9ae7f4",
- "cdf049ac.feb428"
- ]
- ]
- },
- {
- "id": "74682f4.88912d",
- "type": "outcome",
- "name": "false",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2207.277576446533,
- "y": 1013.6666425466537,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "d151840a.328298"
- ]
- ]
- },
- {
- "id": "d151840a.328298",
- "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": 2402.2777366638184,
- "y": 960.6665964126587,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "5e59ad11.3f27f4",
- "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": 1853.3888397216797,
- "y": 666.2221784591675,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "5e5993a3.45a0bc",
- "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": 1932.5555114746094,
- "y": 1369.5554809570312,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "20afd842.3f1de8",
- "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": 1931.930191040039,
- "y": 1404.8678617477417,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "489e706d.876b8",
- "type": "switchNode",
- "name": "check the action",
- "xml": "<switch test='`$activate-r-a-n-slice-instance-input.action == activate`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 636.1666641235352,
- "y": 413.99998235702515,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "9dec79ec.1ddf18",
- "7b034b5d.674d34"
- ]
- ]
- },
- {
- "id": "9dec79ec.1ddf18",
- "type": "outcome",
- "name": "True",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 863.6666603088379,
- "y": 359.55558586120605,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "d83cf369.95ae1"
- ]
- ]
- },
- {
- "id": "7b034b5d.674d34",
- "type": "outcome",
- "name": "False",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 865.8888053894043,
- "y": 418.44447326660156,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "5e609cab.422fe4"
- ]
- ]
- },
- {
- "id": "bf8612b3.1320c",
- "type": "set",
- "name": "set status as ACTIVE",
- "xml": "<set>\n<parameter name='tmp.status' value='ACTIVE' />",
- "comments": "",
- "x": 1318.1112327575684,
- "y": 329.55554962158203,
- "z": "49ebb481.a8edbc",
- "wires": []
- },
- {
- "id": "d30c222f.3f273",
- "type": "set",
- "name": "set status as INACTIVE",
- "xml": "<set>\n<parameter name='tmp.status' value='INACTIVE' />",
- "comments": "",
- "x": 1292.555576324463,
- "y": 362.8889036178589,
- "z": "49ebb481.a8edbc",
- "wires": []
- },
- {
- "id": "d83cf369.95ae1",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1073.666660308838,
- "y": 347.33329582214355,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "bf8612b3.1320c"
- ]
- ]
- },
- {
- "id": "5e609cab.422fe4",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1070.3334045410156,
- "y": 404.00002431869507,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "d30c222f.3f273"
- ]
- ]
- },
- {
- "id": "9a583c38.6dc94",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 640.25,
- "y": 845.083337187767,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "181277b9.3d57a8",
- "2ad10952.0b36d6"
- ]
- ]
- },
- {
- "id": "181277b9.3d57a8",
- "type": "execute",
- "name": "split pLMNId",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name=\"original_string\" value=\"`$tmp.pLMNId`\" />\n <parameter name=\"regex\" value=\"-\"/>\n <parameter name=\"ctx_memory_result_key\" value=\"tmp.plmnList\" />",
- "comments": "",
- "outputs": 1,
- "x": 901.5224990844727,
- "y": 727.595640540123,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "2ad10952.0b36d6",
- "type": "set",
- "name": "set mcc & mnc Variables",
- "xml": "<set>\n<parameter name='tmp.mcc' value='`$tmp.plmnList[0]`'/>\n<parameter name='tmp.mnc' value='`$tmp.plmnList[1]`'/>",
- "comments": "",
- "x": 931.9770889282227,
- "y": 774.6410812139511,
- "z": "49ebb481.a8edbc",
- "wires": []
- },
- {
- "id": "5b4f90d3.be9f1",
- "type": "execute",
- "name": "read snssailist size",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.snssaiList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList['+$id-cuplmn+'].sNSSAI_length'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2292,
- "y": 684.333337187767,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "f566b109.fab9f",
- "type": "for",
- "name": "foreach snssai",
- "xml": "<for index='id-cunssai' start='0' end='`$tmp.snssaiList_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 2300,
- "y": 724.333337187767,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "a4bdc694.fd89b8"
- ]
- ]
- },
- {
- "id": "a4bdc694.fd89b8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2493.25,
- "y": 726.833337187767,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "12ccaf71.e0cb81",
- "7d169af7.66fc44",
- "c7428951.69d3b8"
- ]
- ]
- },
- {
- "id": "67b665a2.331eec",
- "type": "execute",
- "name": "read snssailist size",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.snssaiListup_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].pLMNInfoList['+$id-plmn+'].sNSSAI_length'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 1925.999984741211,
- "y": 876.5833905935287,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "5ef72d3c.9ae7f4",
- "type": "for",
- "name": "foreach snssai",
- "xml": "<for index='id-cuupnssai' start='0' end='`$tmp.snssaiListup_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1912.0000228881836,
- "y": 934.5833915472031,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "cc91ffeb.d4c58"
- ]
- ]
- },
- {
- "id": "cc91ffeb.d4c58",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2121.2499923706055,
- "y": 931.0833915472031,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "99fec0b9.59324",
- "feb11fb4.5c233",
- "1ee518f4.3703a7"
- ]
- ]
- },
- {
- "id": "a8ebd475.71b368",
- "type": "execute",
- "name": "read snssailist size",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.snssaiListdu_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList['+$id-duplmn+'].sNSSAI_length'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2314,
- "y": 1377.583337187767,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "e7ad6507.c74ba8",
- "type": "for",
- "name": "foreach snssai",
- "xml": "<for index='id-dunssai' start='0' end='`$tmp.snssaiListdu_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 2322,
- "y": 1417.583337187767,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "fc3b7366.ff8fa"
- ]
- ]
- },
- {
- "id": "fc3b7366.ff8fa",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2515.25,
- "y": 1420.083337187767,
- "z": "49ebb481.a8edbc",
- "wires": [
- [
- "6bb0e42e.de207c",
- "9a3de28d.8599a",
- "2cb311bb.502cde"
- ]
- ]
- },
- {
- "id": "cdf049ac.feb428",
- "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=\"CUUP - snssaiList_length\"/>\n<parameter name=\"field2\" value=\"`$tmp.snssaiListup_length`\"/>\n\n",
- "comments": "",
- "outputs": 1,
- "x": 1926.25,
- "y": 904.083337187767,
- "z": "49ebb481.a8edbc",
- "wires": [
- []
- ]
- },
- {
- "id": "e59e1ba8.c4d548",
- "type": "comment",
- "name": "activateRANSliceInstance-configdb",
- "info": "",
- "comments": "",
- "x": 350.3333320617676,
- "y": 66.66666793823242,
- "z": "49ebb481.a8edbc",
- "wires": []
- }
-] \ No newline at end of file
diff --git a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance.json b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance.json
index b41e5f8c..2155f8e1 100644
--- a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance.json
+++ b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance.json
@@ -1,36 +1,36 @@
[
{
- "id": "41b06fc3.c6cf9",
+ "id": "f39fc9d1.2337b8",
"type": "method",
"name": "method",
"xml": "<method rpc='activateRANSliceInstance' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 116,
- "y": 205.00000095367432,
- "z": "6776f36d.c22a9c",
+ "x": 141,
+ "y": 242.00000095367432,
+ "z": "df71633d.19dc3",
"wires": [
[
- "9b4d44b1.794e98"
+ "506a8784.ce4808"
]
]
},
{
- "id": "f29e25a8.beb6b8",
+ "id": "af955d31.2ef2",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 119,
- "y": 54.99999713897705,
- "z": "6776f36d.c22a9c",
+ "x": 144,
+ "y": 91.99999713897705,
+ "z": "df71633d.19dc3",
"wires": [
[
- "31594d05.bd6432"
+ "3df0cac4.b6ef46"
]
]
},
{
- "id": "31594d05.bd6432",
+ "id": "3df0cac4.b6ef46",
"type": "service-logic",
"name": "ran-slice-api ${project.version}",
"module": "ran-slice-api",
@@ -38,195 +38,195 @@
"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": 176.99998474121094,
- "y": 116.00009250640869,
- "z": "6776f36d.c22a9c",
+ "x": 201.99998474121094,
+ "y": 153.0000925064087,
+ "z": "df71633d.19dc3",
"wires": [
[
- "41b06fc3.c6cf9"
+ "f39fc9d1.2337b8"
]
]
},
{
- "id": "9b4d44b1.794e98",
+ "id": "506a8784.ce4808",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 123.3333511352539,
- "y": 268.6666669845581,
- "z": "6776f36d.c22a9c",
+ "x": 148.3333511352539,
+ "y": 305.6666669845581,
+ "z": "df71633d.19dc3",
"wires": [
[
- "16518179.756a3f",
- "ca0173b6.09cc5"
+ "a00b259b.82b0d8",
+ "8ab433ec.932ab"
]
]
},
{
- "id": "16518179.756a3f",
+ "id": "a00b259b.82b0d8",
"type": "switchNode",
"name": "switch configdb deployed",
"xml": "<switch test='`$prop.configdb-deployed`'>\n",
"comments": "",
"outputs": 1,
- "x": 428.0000991821289,
- "y": 265.33334827423096,
- "z": "6776f36d.c22a9c",
+ "x": 453.0000991821289,
+ "y": 302.33334827423096,
+ "z": "df71633d.19dc3",
"wires": [
[
- "7b67f3ed.7b795c",
- "cc77d342.b6b6d"
+ "f7e6b80f.16dd58",
+ "1fdc4a91.441d45"
]
]
},
{
- "id": "7b67f3ed.7b795c",
+ "id": "f7e6b80f.16dd58",
"type": "outcome",
"name": "ConfigDB Deployed",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 694.0000305175781,
- "y": 186.99996662139893,
- "z": "6776f36d.c22a9c",
+ "x": 719.0000305175781,
+ "y": 223.99996662139893,
+ "z": "df71633d.19dc3",
"wires": [
[
- "bcdeea5a.e54548"
+ "1e7cb8b.3abe947"
]
]
},
{
- "id": "cc77d342.b6b6d",
+ "id": "1fdc4a91.441d45",
"type": "outcome",
"name": "CPS Deployed",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 649.0000076293945,
- "y": 336.00000286102295,
- "z": "6776f36d.c22a9c",
+ "x": 674.0000076293945,
+ "y": 373.00000286102295,
+ "z": "df71633d.19dc3",
"wires": [
[
- "5df863d6.72391c"
+ "db25b066.63481"
]
]
},
{
- "id": "5df863d6.72391c",
+ "id": "db25b066.63481",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 870.0000114440918,
- "y": 331.9999785423279,
- "z": "6776f36d.c22a9c",
+ "x": 895.0000114440918,
+ "y": 368.9999785423279,
+ "z": "df71633d.19dc3",
"wires": [
[
- "b9de8079.aaf7",
- "c9947444.0e0038"
+ "84f41d1b.d5057",
+ "75d87b31.50e104"
]
]
},
{
- "id": "bcdeea5a.e54548",
+ "id": "1e7cb8b.3abe947",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 907,
- "y": 195.99999713897705,
- "z": "6776f36d.c22a9c",
+ "x": 932,
+ "y": 232.99999713897705,
+ "z": "df71633d.19dc3",
"wires": [
[
- "d4cde26c.0168d",
- "51a14a74.134ba4"
+ "6017a976.4b6848",
+ "694f4c12.14ecc4"
]
]
},
{
- "id": "d4cde26c.0168d",
+ "id": "6017a976.4b6848",
"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/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Calling activateRANSliceInstance-configDB \"/>",
"comments": "",
"outputs": 1,
- "x": 1091,
- "y": 152.99999713897705,
- "z": "6776f36d.c22a9c",
+ "x": 1116,
+ "y": 189.99999713897705,
+ "z": "df71633d.19dc3",
"wires": [
[]
]
},
{
- "id": "51a14a74.134ba4",
+ "id": "694f4c12.14ecc4",
"type": "call",
- "name": "call activateRanslice-configdb",
- "xml": "<call module='ran-slice-api' rpc='activateRANSliceInstance-configDb' mode='sync' >\n",
+ "name": "call activateRanslice-configDB",
+ "xml": "<call module='ran-slice-api' rpc='activateRANSliceInstance-configDB' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1174.4567260742188,
- "y": 207.75003337860107,
- "z": "6776f36d.c22a9c",
+ "x": 1199.4567260742188,
+ "y": 244.75003337860107,
+ "z": "df71633d.19dc3",
"wires": [
[]
]
},
{
- "id": "b9de8079.aaf7",
+ "id": "84f41d1b.d5057",
"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/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Calling activateRANSliceInstance-cps \"/>",
"comments": "",
"outputs": 1,
- "x": 1074,
- "y": 330.99999713897705,
- "z": "6776f36d.c22a9c",
+ "x": 1099,
+ "y": 367.99999713897705,
+ "z": "df71633d.19dc3",
"wires": [
[]
]
},
{
- "id": "c9947444.0e0038",
+ "id": "75d87b31.50e104",
"type": "call",
"name": "call activateRanslice-cps",
"xml": "<call module='ran-slice-api' rpc='activateRANSliceInstance-cps' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1159.678897857666,
- "y": 385.7500047683716,
- "z": "6776f36d.c22a9c",
+ "x": 1184.678897857666,
+ "y": 422.7500047683716,
+ "z": "df71633d.19dc3",
"wires": [
[]
]
},
{
- "id": "d97ce952.92ce08",
+ "id": "96299f1.93ac06",
"type": "comment",
"name": "activateRANSliceInstance",
"info": "",
"comments": "",
- "x": 610.6667022705078,
- "y": 44,
- "z": "6776f36d.c22a9c",
+ "x": 635.6667022705078,
+ "y": 81,
+ "z": "df71633d.19dc3",
"wires": []
},
{
- "id": "ca0173b6.09cc5",
+ "id": "8ab433ec.932ab",
"type": "execute",
"name": "execute",
"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' />",
"comments": "",
"outputs": 1,
- "x": 383.1111259460449,
- "y": 211.33332347869873,
- "z": "6776f36d.c22a9c",
+ "x": 408.1111259460449,
+ "y": 248.33332347869873,
+ "z": "df71633d.19dc3",
"wires": [
[]
]
diff --git a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_activateRANSliceInstance-configDb.xml b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_activateRANSliceInstance-configDB.xml
index 4dd27375..5c3946d1 100644
--- a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_activateRANSliceInstance-configDb.xml
+++ b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_activateRANSliceInstance-configDB.xml
@@ -1,7 +1,7 @@
<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}'>
- <method rpc='activateRANSliceInstance-configDb' mode='sync'>
+ <method rpc='activateRANSliceInstance-configDB' mode='sync'>
<block atomic='true'>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
diff --git a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_activateRANSliceInstance-configdb.xml b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_activateRANSliceInstance-configdb.xml
deleted file mode 100644
index 0cd09eba..00000000
--- a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_activateRANSliceInstance-configdb.xml
+++ /dev/null
@@ -1,932 +0,0 @@
-<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}'>
- <method rpc='activateRANSliceInstance' mode='sync'>
- <block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="RPC to handle activateRANSlice.: "/>
- <parameter name="field2" value="`$activate-r-a-n-slice-instance-input.action`"/>
- <parameter name="field3" value="`$activate-r-a-n-slice-instance-input.timestamp`"/>
- <parameter name="field4" value="`$activate-r-a-n-slice-instance-input.common-header.request-id`"/>
- <parameter name="field5" value="`$activate-r-a-n-slice-instance-input.common-header.originator-id`"/>
- <parameter name="field6" value="RPC Payload String "/>
- <parameter name="field7" value="`$activate-r-a-n-slice-instance-input.payload`"/>
- </record>
- <set>
- <parameter name='error-code' value='200' />
- <parameter name='error-message' value='Successful execution of activateRANSice RPC' />
- </set>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='jsonStringToCtx'>
- <parameter name='source' value='activate-r-a-n-slice-instance-input.payload' />
- <parameter name='outputPath' value='payloadJson' />
- <parameter name='isEscaped' value='false' />
- <outcome value='success'>
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
- <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-activateRANSlice-context.log' />
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Payload for activateRANSlice.: "/>
- <parameter name="field2" value="`$payloadJson.input.sNSSAI`"/>
- <parameter name="field3" value="`$payloadJson.input.RANNFNSSIId`"/>
- <parameter name="field4" value="`$payloadJson.input.callbackURL`"/>
- <parameter name="field5" value="`$payloadJson.input.sliceProfileId`"/>
- </record>
- </block>
- </outcome>
- </execute>
- <set>
- <parameter name='tmp.sNSSAI' value="`$payloadJson.input.sNSSAI`" />
- </set>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
- <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-activateRANSlice-context.log' />
- </execute>
- <execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >
- <parameter name='fileName' value='/opt/onap/ccsdk/data/properties/ran-slice-api-dg.properties' />
- <parameter name='contextPrefix' value='prop' />
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Properties read .. controller details "/>
- <parameter name="field2" value="`$prop.controller.user`"/>
- <parameter name="field3" value="`$prop.controller.pwd`"/>
- <parameter name="field4" value="`$prop.controller.url`"/>
- <parameter name="field5" value="ransim-mounted (true/false): "/>
- <parameter name="field6" value="`$prop.ransim-mounted`"/>
- <parameter name="field7" value="config DB deployed (true/false): "/>
- <parameter name="field8" value="`$prop.configdb-deployed`"/>
- </record>
- <switch test='`$activate-r-a-n-slice-instance-input.action == activate`'>
- <outcome value='true'>
- <block atomic='true'>
- <set>
- <parameter name='tmp.status' value='ACTIVE' />
- </set>
- </block>
- </outcome>
- <outcome value='false'>
- <block atomic='true'>
- <set>
- <parameter name='tmp.status' value='INACTIVE' />
- </set>
- </block>
- </outcome>
- </switch>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.configdb.getNearRTRICByNSSI`"/>
- <parameter name="outputPath" value="tmp.configdb.getNearRTRICByNSSI.url"/>
- <parameter name="target" value="{ranNFNSSIId}"/>
- <parameter name="replacement" value="`$payloadJson.input.RANNFNSSIId`"/>
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="URL for configDB to Get NearRTRIC for RANNFNSSI"/>
- <parameter name='field2' value="`$prop.configdb.url + $tmp.configdb.getNearRTRICByNSSI.url`" />
- <parameter name='field3' value="`$ranNFNSSIId`" />
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="restapiUrl" value="`$prop.configdb.url + $tmp.configdb.getNearRTRICByNSSI.url`"/>
- <parameter name="httpMethod" value="GET"/>
- <parameter name="responsePrefix" value="getNFNSSIRIC-configdb-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
- <parameter name="convertResponse" value="true"/>
- <outcome value='failure'>
- <block>
- <set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>
- </set>
- <block atomic='true'>
- <set>
- <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
- <parameter name="tmp.status" value="`$error-code`"/>
- <parameter name="tmp.reason" value="`$error-message`"/>
- <parameter name="tmp.requestID" value="`$activate-r-a-n-slice-instance-input.common-header.request-id`"/>
- <parameter name="tmp.action" value="`$activate-r-a-n-slice-instance-input.action`"/>
- </set>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="URL for SO Callback Response"/>
- <parameter name='field2' value="`$tmp.so.callbackURL`" />
- <parameter name='field3' value="`$tmp.status`" />
- <parameter name='field4' value="`$tmp.reason`" />
- <parameter name='field5' value="`$tmp.requestID`" />
- <parameter name='field6' value="`$tmp.action`" />
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
- <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
- <parameter name="httpMethod" value="POST"/>
- <parameter name="responsePrefix" value="so-callback-activate-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='*/*' />
- <parameter name="convertResponse" value="true"/>
- <outcome value='failure'>
- <block>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="Error sending SO Response" />
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="SO Response Sent "/>
- </record>
- </block>
- </outcome>
- </execute>
- </block>
- </block>
- </outcome>
- <outcome value='success'>
- <block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Successfully Obtained NearRT RIC info from ConfigDB"/>
- <parameter name="field2" value="`$getNFNSSIRIC-configdb-response._length`"/>
- </record>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
- <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-activateRANSlice-context.log' />
- </execute>
- </block>
- </outcome>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.configdb.getplmn`"/>
- <parameter name="outputPath" value="tmp.configdb.getPLMNId.url"/>
- <parameter name="target" value="{sliceProfileId}"/>
- <parameter name="replacement" value="`$payloadJson.input.sliceProfileId`"/>
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Get PLMN from SliceProfileId URL: "/>
- <parameter name="field2" value="`$tmp.configdb.getPLMNId.url`"/>
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="restapiUrl" value="`$prop.configdb.url + $tmp.configdb.getPLMNId.url`"/>
- <parameter name="httpMethod" value="GET"/>
- <parameter name="responsePrefix" value="getPLMN-configdb-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
- <parameter name="convertResponse" value="true"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.pLMNId' />
- <parameter name='source' value="`getPLMN-configdb-response.plmnId`" />
- </execute>
- <block atomic="true">
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>
- <parameter name="original_string" value="`$tmp.pLMNId`" />
- <parameter name="regex" value="-"/>
- <parameter name="ctx_memory_result_key" value="tmp.plmnList" />
- </execute>
- <set>
- <parameter name='tmp.mcc' value='`$tmp.plmnList[0]`'/>
- <parameter name='tmp.mnc' value='`$tmp.plmnList[1]`'/>
- </set>
- </block>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="`$tmp.pLMNId`"/>
- <parameter name="field2" value="`$tmp.mcc`"/>
- <parameter name="field3" value="`$tmp.mnc`"/>
- </record>
- <set>
- <parameter name='tmp.RICList_length' value="`$getNFNSSIRIC-configdb-response._length`"/>
- </set>
- <for index='idy' start='0' end='`$tmp.RICList_length`' >
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.nearRTRICId' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.[' + $idy +'].nearRTRICId'`" />
- </execute>
- </block>
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.CUCPList_length' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUCPList_length'`" />
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Number of CUCP List Entries "/>
- <parameter name="field2" value="`$tmp.CUCPList_length`"/>
- <parameter name="field3" value="for the NearRTRIC"/>
- <parameter name="field4" value="`$tmp.nearRTRICId`"/>
- </record>
- <for index='idz' start='0' end='`$tmp.CUCPList_length`'>
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.CUCPName' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].gNBCUName'`" />
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="CUCPName "/>
- <parameter name="field2" value="`$tmp.CUCPName`"/>
- </record>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.cellCUList_length' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUCPList[' + $idz +'].cellCUList_length'`" />
- </execute>
- <for index='idcu' start='0' end='`$tmp.cellCUList_length`' >
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.cellLocalId' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].cellLocalId'`" />
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.pLMNInfoList_length' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList_length'`" />
- </execute>
- <for index='id-cuplmn' start='0' end='`$tmp.pLMNInfoList_length`' >
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.snssaiList_length' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList['+$id-cuplmn+'].sNSSAI_length'`" />
- </execute>
- <for index='id-cunssai' start='0' end='`$tmp.snssaiList_length`' >
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.configDBSNSSAI' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList['+ $id-cuplmn +'].sNSSAI['+$id-cunssai+'].sNSSAI'`" />
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="sNSSAI - getNFNSSIRIC-configdb-response"/>
- <parameter name="field2" value="`$tmp.configDBSNSSAI`"/>
- <parameter name="field3" value="sNSSAI from request"/>
- <parameter name="field4" value="`$tmp.sNSSAI`"/>
- </record>
- <switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>
- <outcome value='true'>
- <block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="CellCU is applicable for the NSSAI "/>
- </record>
- <switch test='`$prop.ransim-mounted`'>
- <outcome value='false'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToNRCellCU`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
- <parameter name="target" value="{idNearRTRIC}"/>
- <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
- </execute>
- </outcome>
- <outcome value='true'>
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToNRCellCU.ransim-mounted`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
- <parameter name="target" value="{idNearRTRIC}"/>
- <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoListEntry.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
- <parameter name="target" value="{mountName}"/>
- <parameter name="replacement" value="`$tmp.CUCPName`"/>
- </execute>
- </block>
- </outcome>
- </switch>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.cellCULocalId' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].cellLocalId'`" />
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoListEntry.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
- <parameter name="target" value="{idGNBCUCPFunction}"/>
- <parameter name="replacement" value="`$tmp.CUCPName`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoListEntry.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
- <parameter name="target" value="{idNRCellCU}"/>
- <parameter name="replacement" value="`$tmp.cellCULocalId`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoListEntry.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
- <parameter name="target" value="{mcc}"/>
- <parameter name="replacement" value="`$tmp.mcc`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoListEntry.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
- <parameter name="target" value="{mnc}"/>
- <parameter name="replacement" value="`$tmp.mnc`"/>
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="patch cellCU NSSAI parameters"/>
- <parameter name="field2" value="`$tmp.nearRTRICId`"/>
- <parameter name="field3" value="`$tmp.CUCPName`"/>
- <parameter name="field4" value="`$tmp.cellCULocalId`"/>
- <parameter name="field5" value="`$tmp.mcc`"/>
- <parameter name="field6" value="`$tmp.mnc`"/>
- <parameter name="field7" value="`$tmp.patchPLMNInfoListEntry.url`"/>
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-status.json'`" />
- <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.patchPLMNInfoListEntry.url`"/>
- <parameter name="restapiUser" value="`$prop.controller.user`" />
- <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
- <parameter name="httpMethod" value="PATCH"/>
- <parameter name="responsePrefix" value="activate-cellCU-PLMNInfoList-response"/>
- <parameter name='contentType' value='application/yang.patch+json' />
- <parameter name='accept' value='application/yang.patch-status+json'/>
- <parameter name='format' value='json' />
- <outcome value='failure'>
- <block atomic='true'>
- <set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error patching cellCU PLMNInfoList. Aborting RPC executiopn'/>
- </set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error updating NRcellCU - PLMNInfo. Aborting RPC executiopn'/>
- </return>
- <block atomic='true'>
- <set>
- <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
- <parameter name="tmp.status" value="`$error-code`"/>
- <parameter name="tmp.reason" value="`$error-message`"/>
- <parameter name="tmp.requestID" value="`$activate-r-a-n-slice-instance-input.common-header.request-id`"/>
- <parameter name="tmp.action" value="`$activate-r-a-n-slice-instance-input.action`"/>
- </set>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="URL for SO Callback Response"/>
- <parameter name='field2' value="`$tmp.so.callbackURL`" />
- <parameter name='field3' value="`$tmp.status`" />
- <parameter name='field4' value="`$tmp.reason`" />
- <parameter name='field5' value="`$tmp.requestID`" />
- <parameter name='field6' value="`$tmp.action`" />
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
- <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
- <parameter name="httpMethod" value="POST"/>
- <parameter name="responsePrefix" value="so-callback-activate-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='*/*' />
- <parameter name="convertResponse" value="true"/>
- <outcome value='failure'>
- <block>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="Error sending SO Response" />
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="SO Response Sent "/>
- </record>
- </block>
- </outcome>
- </execute>
- </block>
- </block>
- </outcome>
- <outcome value='success'>
- <block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Successfully Patched - cellCU PLMNInfo List"/>
- </record>
- </block>
- </outcome>
- </execute>
- </block>
- </outcome>
- </switch>
- </block>
- </for>
- </block>
- </for>
- </block>
- </for>
- </block>
- </for>
- </block>
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.CUUPList_length' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUUPList_length'`" />
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Number of CUCP List Entries "/>
- <parameter name="field2" value="`$tmp.CUUPList_length`"/>
- <parameter name="field3" value="for the NearRTRIC"/>
- <parameter name="field4" value="`$tmp.nearRTRICId`"/>
- </record>
- <for index='id-cuup' start='0' end='`$tmp.CUUPList_length`'>
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.idGNBCUUPFunction' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].gNBCUUPId'`" />
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="idGNBCUUPFunction "/>
- <parameter name="field2" value="`$tmp.idGNBCUUPFunction`"/>
- </record>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.pLMNInfoList' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].pLMNInfoList_length'`" />
- </execute>
- <for index='id-plmn' start='0' end='`$tmp.pLMNInfoList`'>
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.snssaiListup_length' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].pLMNInfoList['+$id-plmn+'].sNSSAI_length'`" />
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="CUUP - snssaiList_length"/>
- <parameter name="field2" value="`$tmp.snssaiListup_length`"/>
- </record>
- <for index='id-cuupnssai' start='0' end='`$tmp.snssaiListup_length`' >
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.configDBSNSSAI' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].pLMNInfoList['+ $id-plmn +'].sNSSAI['+$id-cuupnssai+'].sNSSAI'`" />
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="sNSSAI - getNFNSSIRIC-configdb-response"/>
- <parameter name="field2" value="`$tmp.configDBSNSSAI`"/>
- <parameter name="field3" value="sNSSAI from request"/>
- <parameter name="field4" value="`$tmp.sNSSAI`"/>
- </record>
- <switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>
- <outcome value='false'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="sNSSAI doesn't match"/>
- </record>
- </outcome>
- <outcome value='true'>
- <block atomic='true'>
- <switch test='`$prop.ransim-mounted`'>
- <outcome value='false'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
- <parameter name="target" value="{idNearRTRIC}"/>
- <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
- </execute>
- </outcome>
- <outcome value='true'>
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP.ransim-mounted`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
- <parameter name="target" value="{idNearRTRIC}"/>
- <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
- <parameter name="target" value="{mountName}"/>
- <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
- </execute>
- </block>
- </outcome>
- </switch>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
- <parameter name="target" value="{idNearRTRIC}"/>
- <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
- <parameter name="target" value="{idGNBCUUPFunction}"/>
- <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
- <parameter name="target" value="{mcc}"/>
- <parameter name="replacement" value="`$tmp.mcc`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
- <parameter name="target" value="{mnc}"/>
- <parameter name="replacement" value="`$tmp.mnc`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-status.json'`" />
- <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.patchPLMNInfoList-CUUP.url`"/>
- <parameter name="restapiUser" value="`$prop.controller.user`" />
- <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
- <parameter name="httpMethod" value="PATCH"/>
- <parameter name="responsePrefix" value="activate-gNBCUUP-PLMNInfoList-response"/>
- <parameter name='contentType' value='application/yang.patch+json' />
- <parameter name='accept' value='application/yang.patch-status+json'/>
- <parameter name='format' value='json' />
- <outcome value='failure'>
- <block atomic='true'>
- <set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error patching CUUP PLMNInfoList. Aborting RPC executiopn'/>
- </set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error patching CUUP PLMNInfo. Aborting RPC executiopn'/>
- </return>
- <block atomic='true'>
- <set>
- <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
- <parameter name="tmp.status" value="`$error-code`"/>
- <parameter name="tmp.reason" value="`$error-message`"/>
- <parameter name="tmp.requestID" value="`$activate-r-a-n-slice-instance-input.common-header.request-id`"/>
- <parameter name="tmp.action" value="`$activate-r-a-n-slice-instance-input.action`"/>
- </set>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="URL for SO Callback Response"/>
- <parameter name='field2' value="`$tmp.so.callbackURL`" />
- <parameter name='field3' value="`$tmp.status`" />
- <parameter name='field4' value="`$tmp.reason`" />
- <parameter name='field5' value="`$tmp.requestID`" />
- <parameter name='field6' value="`$tmp.action`" />
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
- <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
- <parameter name="httpMethod" value="POST"/>
- <parameter name="responsePrefix" value="so-callback-activate-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='*/*' />
- <parameter name="convertResponse" value="true"/>
- <outcome value='failure'>
- <block>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="Error sending SO Response" />
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="SO Response Sent "/>
- </record>
- </block>
- </outcome>
- </execute>
- </block>
- </block>
- </outcome>
- <outcome value='success'>
- <block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Successfully Patched - gNBCUUP PLMNInfo List"/>
- </record>
- </block>
- </outcome>
- </execute>
- </block>
- </outcome>
- </switch>
- </block>
- </for>
- </block>
- </for>
- </block>
- </for>
- </block>
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.DUList_length' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBDUList_length'`" />
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Number of DU List Entries "/>
- <parameter name="field2" value="`$tmp.DUList_length`"/>
- <parameter name="field3" value="for the NearRTRIC"/>
- <parameter name="field4" value="`$tmp.nearRTRICId`"/>
- </record>
- <for index='id-du' start='0' end='`$tmp.DUList_length`'>
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.GNBDUId' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].gNBDUId'`" />
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="GNBDUId "/>
- <parameter name="field2" value="`$tmp.GNBDUId`"/>
- </record>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.cellDUList_length' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBDUList[' + $id-du +'].cellDUList_length'`" />
- </execute>
- <for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' >
- <block>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.cellDULocalId' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].cellLocalId'`" />
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.DUpLMNInfoList_length' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList_length'`" />
- </execute>
- <for index='id-duplmn' start='0' end='`$tmp.DUpLMNInfoList_length`' >
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.snssaiListdu_length' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList['+$id-duplmn+'].sNSSAI_length'`" />
- </execute>
- <for index='id-dunssai' start='0' end='`$tmp.snssaiListdu_length`' >
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.configDBSNSSAI-DU' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList['+ $id-duplmn +'].sNSSAI['+$id-dunssai+'].sNSSAI'`" />
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="sNSSAI - getNFNSSIRIC-configdb-response"/>
- <parameter name="field2" value="`$tmp.configDBSNSSAI-DU`"/>
- <parameter name="field3" value="sNSSAI from request"/>
- <parameter name="field4" value="`$tmp.sNSSAI`"/>
- </record>
- <switch test='`$tmp.configDBSNSSAI-DU == $tmp.sNSSAI`'>
- <outcome value='true'>
- <block atomic='true'>
- <switch test='`$prop.ransim-mounted`'>
- <outcome value='false'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToNRCellDU`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
- <parameter name="target" value="{idNearRTRIC}"/>
- <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
- </execute>
- </outcome>
- <outcome value='true'>
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToNRCellDU.ransim-mounted`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
- <parameter name="target" value="{idNearRTRIC}"/>
- <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
- <parameter name="target" value="{mountName}"/>
- <parameter name="replacement" value="`$tmp.GNBDUId`"/>
- </execute>
- </block>
- </outcome>
- </switch>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
- <parameter name="target" value="{idGNBDUFunction}"/>
- <parameter name="replacement" value="`$tmp.GNBDUId`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
- <parameter name="target" value="{idNRCellDU}"/>
- <parameter name="replacement" value="`$tmp.cellDULocalId`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
- <parameter name="target" value="{mcc}"/>
- <parameter name="replacement" value="`$tmp.mcc`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
- <parameter name="target" value="{mnc}"/>
- <parameter name="replacement" value="`$tmp.mnc`"/>
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="patch cellDU NSSAI parameters"/>
- <parameter name="field2" value="`$tmp.nearRTRICId`"/>
- <parameter name="field3" value="`$tmp.GNBDUId`"/>
- <parameter name="field4" value="`$tmp.cellDULocalId`"/>
- <parameter name="field5" value="`$tmp.mcc`"/>
- <parameter name="field6" value="`$tmp.mnc`"/>
- <parameter name="field7" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-status.json'`" />
- <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.patchPLMNInfoListEntry-cellDU.url`"/>
- <parameter name="restapiUser" value="`$prop.controller.user`" />
- <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
- <parameter name="httpMethod" value="PATCH"/>
- <parameter name="responsePrefix" value="activate-cellDU-PLMNInfoList-response"/>
- <parameter name='contentType' value='application/yang.patch+json' />
- <parameter name='accept' value='application/yang.patch-status+json'/>
- <parameter name='format' value='json' />
- <outcome value='failure'>
- <block atomic='true'>
- <block atomic='true'>
- <set>
- <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
- <parameter name="tmp.status" value="`$error-code`"/>
- <parameter name="tmp.reason" value="`$error-message`"/>
- <parameter name="tmp.requestID" value="`$activate-r-a-n-slice-instance-input.common-header.request-id`"/>
- <parameter name="tmp.action" value="`$activate-r-a-n-slice-instance-input.action`"/>
- </set>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="URL for SO Callback Response"/>
- <parameter name='field2' value="`$tmp.so.callbackURL`" />
- <parameter name='field3' value="`$tmp.status`" />
- <parameter name='field4' value="`$tmp.reason`" />
- <parameter name='field5' value="`$tmp.requestID`" />
- <parameter name='field6' value="`$tmp.action`" />
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
- <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
- <parameter name="httpMethod" value="POST"/>
- <parameter name="responsePrefix" value="so-callback-activate-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='*/*' />
- <parameter name="convertResponse" value="true"/>
- <outcome value='failure'>
- <block>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="Error sending SO Response" />
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="SO Response Sent "/>
- </record>
- </block>
- </outcome>
- </execute>
- </block>
- <set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error patching cellDU PLMNInfoList. Aborting RPC executiopn'/>
- </set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error updating NECellDU - PLMNInfo. Aborting RPC executiopn'/>
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Successfully Patched - cellDU PLMNInfo List"/>
- </record>
- </block>
- </outcome>
- </execute>
- </block>
- </outcome>
- </switch>
- </block>
- </for>
- </block>
- </for>
- </block>
- </for>
- </block>
- </for>
- </block>
- </for>
- <return status='success'>
- <parameter name="ack-final" value="Y" />
- <parameter name="error-code" value="200" />
- <parameter name="error-message" value="SUCCESSFUL Execution" />
- </return>
- <block atomic='true'>
- <set>
- <parameter name="tmp.status" value="`$error-code`"/>
- <parameter name="tmp.reason" value="`$error-message`"/>
- <parameter name="tmp.requestID" value="`$activate-r-a-n-slice-input.common-header.request-id `"/>
- <parameter name="tmp.action" value="`$activate-r-a-n-slice-input.action`"/>
- </set>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.so.callbackURL`"/>
- <parameter name="outputPath" value="tmp.so.callbackURL"/>
- <parameter name="target" value="{requestId}"/>
- <parameter name="replacement" value="`$tmp.requestID`"/>
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="URL for SO Callback Response"/>
- <parameter name='field2' value="`$payloadJson.input.callbackURL`" />
- <parameter name='field3' value="`$tmp.status`" />
- <parameter name='field4' value="`$tmp.reason`" />
- <parameter name='field5' value="`$tmp.requestID`" />
- <parameter name='field6' value="`$tmp.action`" />
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
- <parameter name="restapiUrl" value="`$payloadJson.input.callbackURL`"/>
- <parameter name="httpMethod" value="POST"/>
- <parameter name="responsePrefix" value="so-callback-activate-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='*/*' />
- <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
- <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
- <outcome value='failure'>
- <block>
- <set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error sending SO response. Aborting RPC executiopn'/>
- </set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="Error sending SO Response" />
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="SO Response Sent "/>
- </record>
- </block>
- </outcome>
- </execute>
- </block>
- </block>
- </method>
-</service-logic> \ No newline at end of file
diff --git a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_activateRANSliceInstance.xml b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_activateRANSliceInstance.xml
index 698c9ae9..bae876da 100644
--- a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_activateRANSliceInstance.xml
+++ b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_activateRANSliceInstance.xml
@@ -15,7 +15,7 @@
<parameter name="level" value="info" />
<parameter name="field1" value="Calling activateRANSliceInstance-configDB "/>
</record>
- <call module='ran-slice-api' rpc='activateRANSliceInstance-configDb' mode='sync' ></call>
+ <call module='ran-slice-api' rpc='activateRANSliceInstance-configDB' mode='sync' ></call>
</block>
</outcome>
<outcome value='false'>