summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/release-notes.rst96
-rw-r--r--odlsli/src/main/properties/ran-slice-api-dg.properties6
-rw-r--r--platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSlice.json1005
-rw-r--r--platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceReconfigure-cps.json3891
-rw-r--r--platform-logic/ran-slice-api/src/main/json/ran-slice-api_terminateRANSliceInstance-configDb.json5910
-rw-r--r--platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSlice.xml18
-rw-r--r--platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceReconfigure-cps.xml1554
-rw-r--r--platform-logic/ran-slice-api/src/main/xml/ran-slice-api_terminateRANSliceInstance-configDb.xml17
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps-patch-dLThptPerSlice.json16
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps-patch-uLThptPerSlice.json16
10 files changed, 9103 insertions, 3426 deletions
diff --git a/docs/release-notes.rst b/docs/release-notes.rst
index ea5f181a..217c2bd9 100644
--- a/docs/release-notes.rst
+++ b/docs/release-notes.rst
@@ -32,7 +32,7 @@ Release Data
+-------------------------+-------------------------------------------+
| **Docker images** | See :ref:`dockercontainers` section below |
+-------------------------+-------------------------------------------+
-| **Release designation** | Istanbul |
+| **Release designation** | Istanbul Maintenance Release 1 |
| | |
+-------------------------+-------------------------------------------+
@@ -54,6 +54,10 @@ For the complete list of `CCSDK Istanbul release epics <https://jira.onap.org/is
**Bug fixes**
+Istanbul Maintenance Release 1 addresses a critical vulnerability discovered in the log4j library. This
+issue has been resolved by upgrading to version 2.17.1 of log4j-core, which is no longer vulnerable to
+this issue. The complete list of changes can be found in Jira `CCSDK-3556 <https://jira.onap.org/browse/CCSDK-3556>`
+
The full list of `bugs fixed in the CCSDK Istanbul release <https://jira.onap.org/issues/?filter=12639>`_ is maintained on the `ONAP Jira`_.
**Known Issues**
@@ -85,9 +89,9 @@ tag 1.0-STAGING-latest to pull the latest daily Guilin build
+---------------------------------------+--------------------------------------------+---------+
| Image name | Description | Version |
+=======================================+============================================+=========+
-| onap/ccsdk-alpine-j11-image | Base Alpine Linux image for CCSDK | 1.2.3 |
+| onap/ccsdk-alpine-j11-image | Base Alpine Linux image for CCSDK | 1.2.6 |
+---------------------------------------+--------------------------------------------+---------+
-| onap/ccsdk-ansible-server-image | Ansible server image | 1.2.3 |
+| onap/ccsdk-ansible-server-image | Ansible server image | 1.2.6 |
+---------------------------------------+--------------------------------------------+---------+
| onap/ccsdk-apps-ms-neng | Naming microservice | 1.2.1 |
+---------------------------------------+--------------------------------------------+---------+
@@ -99,17 +103,17 @@ tag 1.0-STAGING-latest to pull the latest daily Guilin build
+---------------------------------------+--------------------------------------------+---------+
| onap/ccsdk-controllerblueprint | CDS controller blueprints | 1.2.1 |
+---------------------------------------+--------------------------------------------+---------+
-| onap/ccsdk-dgbuilder-image | Directed graph builder | 1.2.3 |
+| onap/ccsdk-dgbuilder-image | Directed graph builder | 1.2.6 |
+---------------------------------------+--------------------------------------------+---------+
-| onap/ccsdk-odl-silicon-alpine-image | Alpine based OpenDaylight Silicon image | 1.2.3 |
+| onap/ccsdk-odl-silicon-alpine-image | Alpine based OpenDaylight Silicon image | 1.2.6 |
+---------------------------------------+--------------------------------------------+---------+
-| onap/ccsdk-odlsli-alpine-image | Alpine based OpenDaylight image with CCSDK | 1.2.3 |
+| onap/ccsdk-odlsli-alpine-image | Alpine based OpenDaylight image with CCSDK | 1.2.6 |
+---------------------------------------+--------------------------------------------+---------+
-| onap/ccsdk-saltstack-server-image | Saltstack server | 1.2.3 |
+| onap/ccsdk-saltstack-server-image | Saltstack server | 1.2.6 |
+---------------------------------------+--------------------------------------------+---------+
| onap/ccsdk-sdclistener | CDS SDC listener | 1.2.3 |
+---------------------------------------+--------------------------------------------+---------+
-| onap/ccsdk-ubuntu-image | Base Ubuntu image for CCSDK | 1.2.3 |
+| onap/ccsdk-ubuntu-image | Base Ubuntu image for CCSDK | 1.2.6 |
+---------------------------------------+--------------------------------------------+---------+
Maven Artifacts
@@ -132,39 +136,39 @@ Frankfurt version of each.
+-----------------------+-------------------------------+---------+--------------------------------------------------------------------------------------------------+
| groupId | artifactId | version | Description |
+=======================+===============================+=========+==================================================================================================+
-| org.onap.ccsdk.parent | binding-parent | 2.2.2 | Parent used in place of OpenDaylight binding-parent |
+| org.onap.ccsdk.parent | binding-parent | 2.2.4 | Parent used in place of OpenDaylight binding-parent |
+-----------------------+-------------------------------+---------+--------------------------------------------------------------------------------------------------+
-| org.onap.ccsdk.parent | bundle-parent | 2.2.2 | Parent used in place of OpenDaylight bundle-parent |
+| org.onap.ccsdk.parent | bundle-parent | 2.2.4 | Parent used in place of OpenDaylight bundle-parent |
+-----------------------+-------------------------------+---------+--------------------------------------------------------------------------------------------------+
-| org.onap.ccsdk.parent | client-parent | 2.2.2 | Parent used for projects that create client libraries for OpenDaylight APIs |
+| org.onap.ccsdk.parent | client-parent | 2.2.4 | Parent used for projects that create client libraries for OpenDaylight APIs |
+-----------------------+-------------------------------+---------+--------------------------------------------------------------------------------------------------+
-| org.onap.ccsdk.parent | dependencies-bom | 2.2.2 | Bill of Materials POM that defines versions of third party libraries used outside ODL container. |
+| org.onap.ccsdk.parent | dependencies-bom | 2.2.4 | Bill of Materials POM that defines versions of third party libraries used outside ODL container. |
| | | | Intended to be imported in dependencyManagement section. |
+-----------------------+-------------------------------+---------+--------------------------------------------------------------------------------------------------+
-| org.onap.ccsdk.parent | dependencies-odl-bom | 2.2.2 | Bill of Materials POM that defines versions of third party libraries used within ODL container. |
+| org.onap.ccsdk.parent | dependencies-odl-bom | 2.2.4 | Bill of Materials POM that defines versions of third party libraries used within ODL container. |
| | | | Intended to be imported in dependencyManagement section. |
+-----------------------+-------------------------------+---------+--------------------------------------------------------------------------------------------------+
-| org.onap.ccsdk.parent | feature-repo-parent | 2.2.2 | Parent used in place of OpenDaylight feature-repo-parent |
+| org.onap.ccsdk.parent | feature-repo-parent | 2.2.4 | Parent used in place of OpenDaylight feature-repo-parent |
+-----------------------+-------------------------------+---------+--------------------------------------------------------------------------------------------------+
-| org.onap.ccsdk.parent | karaf4-parent | 2.2.2 | Parent used in place of OpenDaylight karaf4-parent |
+| org.onap.ccsdk.parent | karaf4-parent | 2.2.4 | Parent used in place of OpenDaylight karaf4-parent |
+-----------------------+-------------------------------+---------+--------------------------------------------------------------------------------------------------+
-| org.onap.ccsdk.parent | mdsal-it-parent | 2.2.2 | Parent used in place of OpenDaylight mdsal-it-parent |
+| org.onap.ccsdk.parent | mdsal-it-parent | 2.2.4 | Parent used in place of OpenDaylight mdsal-it-parent |
+-----------------------+-------------------------------+---------+--------------------------------------------------------------------------------------------------+
-| org.onap.ccsdk.parent | odlparent | 2.2.2 | Parent used in place of OpenDaylight odlparent |
+| org.onap.ccsdk.parent | odlparent | 2.2.4 | Parent used in place of OpenDaylight odlparent |
+-----------------------+-------------------------------+---------+--------------------------------------------------------------------------------------------------+
-| org.onap.ccsdk.parent | odlparent-lite | 2.2.2 | Parent used in place of OpenDaylight odlparent-lite |
+| org.onap.ccsdk.parent | odlparent-lite | 2.2.4 | Parent used in place of OpenDaylight odlparent-lite |
+-----------------------+-------------------------------+---------+--------------------------------------------------------------------------------------------------+
-| org.onap.ccsdk.parent | single-feature-parent | 2.2.2 | Parent used in place of OpenDaylight single-feature-parent |
+| org.onap.ccsdk.parent | single-feature-parent | 2.2.4 | Parent used in place of OpenDaylight single-feature-parent |
+-----------------------+-------------------------------+---------+--------------------------------------------------------------------------------------------------+
-| org.onap.ccsdk.parent | spring-boot-1-starter-parent | 2.2.2 | Parent used in place of spring-boot-starter-parent for Springboot 1.x. |
+| org.onap.ccsdk.parent | spring-boot-1-starter-parent | 2.2.4 | Parent used in place of spring-boot-starter-parent for Springboot 1.x. |
| | | | *NOTE* This is deprecated and will be removed in a future release, since springboot 1.x should |
| | | | no longer be used due to security issues |
+-----------------------+-------------------------------+---------+--------------------------------------------------------------------------------------------------+
-| org.onap.ccsdk.parent | spring-boot-25-starter-parent | 2.2.2 | Parent used in place of spring-boot-starter-parent for Springboot 2.5.x |
+| org.onap.ccsdk.parent | spring-boot-25-starter-parent | 2.2.4 | Parent used in place of spring-boot-starter-parent for Springboot 2.5.x |
+-----------------------+-------------------------------+---------+--------------------------------------------------------------------------------------------------+
-| org.onap.ccsdk.parent | spring-boot-starter-parent | 2.2.2 | Parent used in place of spring-boot-starter-parent for Springboot 2.3.x |
+| org.onap.ccsdk.parent | spring-boot-starter-parent | 2.2.4 | Parent used in place of spring-boot-starter-parent for Springboot 2.3.x |
+-----------------------+-------------------------------+---------+--------------------------------------------------------------------------------------------------+
-| org.onap.ccsdk.parent | standalone-parent | 2.2.2 | Parent used for projects that have no need for other third party parent poms |
+| org.onap.ccsdk.parent | standalone-parent | 2.2.4 | Parent used for projects that have no need for other third party parent poms |
+-----------------------+-------------------------------+---------+--------------------------------------------------------------------------------------------------+
ccsdk/sli
@@ -178,55 +182,55 @@ projects.
+-------------------------------+------------------------------+---------+--------------------------------------------+
| groupId | artifactId | version | Description |
+===============================+==============================+=========+============================================+
-| org.onap.ccsdk.sli.core | dblib-provider | 1.3.2 | Database access library |
+| org.onap.ccsdk.sli.core | dblib-provider | 1.3.4 | Database access library |
+-------------------------------+------------------------------+---------+--------------------------------------------+
-| org.onap.ccsdk.sli.core | sli-common | 1.3.2 | Common SLI data objects |
+| org.onap.ccsdk.sli.core | sli-common | 1.3.4 | Common SLI data objects |
+-------------------------------+------------------------------+---------+--------------------------------------------+
-| org.onap.ccsdk.sli.core | sli-provider-base | 1.3.2 | ODL-independent SLI implementation objects |
+| org.onap.ccsdk.sli.core | sli-provider-base | 1.3.4 | ODL-independent SLI implementation objects |
+-------------------------------+------------------------------+---------+--------------------------------------------+
-| org.onap.ccsdk.sli.core | sli-provider | 1.3.2 | ODL-dependent SLI implementation objects |
+| org.onap.ccsdk.sli.core | sli-provider | 1.3.4 | ODL-dependent SLI implementation objects |
+-------------------------------+------------------------------+---------+--------------------------------------------+
-| org.onap.ccsdk.sli.core | sliPluginUtils-provider | 1.3.2 | Utilities for use in SLI adaptors/plugins |
+| org.onap.ccsdk.sli.core | sliPluginUtils-provider | 1.3.4 | Utilities for use in SLI adaptors/plugins |
+-------------------------------+------------------------------+---------+--------------------------------------------+
-| org.onap.ccsdk.sli.core | utils-provider | 1.3.2 | Utilities |
+| org.onap.ccsdk.sli.core | utils-provider | 1.3.4 | Utilities |
+-------------------------------+------------------------------+---------+--------------------------------------------+
-| org.onap.ccsdk.sli.adaptors | aai-service-provider | 1.3.2 | A&AI interface adaptor |
+| org.onap.ccsdk.sli.adaptors | aai-service-provider | 1.3.4 | A&AI interface adaptor |
+-------------------------------+------------------------------+---------+--------------------------------------------+
-| org.onap.ccsdk.sli.adaptors | ansible-adapter-bundle | 1.3.2 | Ansible interface adaptor |
+| org.onap.ccsdk.sli.adaptors | ansible-adapter-bundle | 1.3.4 | Ansible interface adaptor |
+-------------------------------+------------------------------+---------+--------------------------------------------+
-| org.onap.ccsdk.sli.adaptors | mdsal-resource-provider | 1.3.2 | MD-SAL interface adaptor |
+| org.onap.ccsdk.sli.adaptors | mdsal-resource-provider | 1.3.4 | MD-SAL interface adaptor |
+-------------------------------+------------------------------+---------+--------------------------------------------+
-| org.onap.ccsdk.sli.adaptors | netbox-client-provider | 1.3.2 | netbox interface adaptor |
+| org.onap.ccsdk.sli.adaptors | netbox-client-provider | 1.3.4 | netbox interface adaptor |
+-------------------------------+------------------------------+---------+--------------------------------------------+
-| org.onap.ccsdk.sli.adaptors | resource-assignment-provider | 1.3.2 | resource allocator |
+| org.onap.ccsdk.sli.adaptors | resource-assignment-provider | 1.3.4 | resource allocator |
+-------------------------------+------------------------------+---------+--------------------------------------------+
-| org.onap.ccsdk.sli.adaptors | saltstack-adaptor-provider | 1.3.2 | saltstack interface adaptor |
+| org.onap.ccsdk.sli.adaptors | saltstack-adaptor-provider | 1.3.4 | saltstack interface adaptor |
+-------------------------------+------------------------------+---------+--------------------------------------------+
-| org.onap.ccsdk.sli.adaptors | sql-resource-provider | 1.3.2 | SQL database interface adaptor |
+| org.onap.ccsdk.sli.adaptors | sql-resource-provider | 1.3.4 | SQL database interface adaptor |
+-------------------------------+------------------------------+---------+--------------------------------------------+
-| org.onap.ccsdk.sli.northbound | asdcApi-provider | 1.3.2 | ODL-based SDC interface |
+| org.onap.ccsdk.sli.northbound | asdcApi-provider | 1.3.4 | ODL-based SDC interface |
+-------------------------------+------------------------------+---------+--------------------------------------------+
-| org.onap.ccsdk.sli.northbound | dataChange-provider | 1.3.2 | A&AI data change notification interface |
+| org.onap.ccsdk.sli.northbound | dataChange-provider | 1.3.4 | A&AI data change notification interface |
+-------------------------------+------------------------------+---------+--------------------------------------------+
-| org.onap.ccsdk.sli.northbound | dmaap-listener | 1.3.2 | DMaaP listener interface |
+| org.onap.ccsdk.sli.northbound | dmaap-listener | 1.3.4 | DMaaP listener interface |
+-------------------------------+------------------------------+---------+--------------------------------------------+
-| org.onap.ccsdk.sli.northbound | lcm-provider | 1.3.2 | Life Cycle Management event interface |
+| org.onap.ccsdk.sli.northbound | lcm-provider | 1.3.4 | Life Cycle Management event interface |
+-------------------------------+------------------------------+---------+--------------------------------------------+
-| org.onap.ccsdk.sli.northbound | ueb-listener | 1.3.2 | SDC event listener |
+| org.onap.ccsdk.sli.northbound | ueb-listener | 1.3.4 | SDC event listener |
+-------------------------------+------------------------------+---------+--------------------------------------------+
-| org.onap.ccsdk.sli.plugins | properties-node-provider | 1.3.2 | Used to load a properties file for use in |
+| org.onap.ccsdk.sli.plugins | properties-node-provider | 1.3.4 | Used to load a properties file for use in |
| | | | a directed graph |
+-------------------------------+------------------------------+---------+--------------------------------------------+
-| org.onap.ccsdk.sli.plugins | restapi-call-node-provider | 1.3.2 | Used to call a generic REST API from a |
+| org.onap.ccsdk.sli.plugins | restapi-call-node-provider | 1.3.4 | Used to call a generic REST API from a |
| | | | directed graph |
+-------------------------------+------------------------------+---------+--------------------------------------------+
-| org.onap.ccsdk.sli.plugins | restconf-client-provider | 1.3.2 | Used to call a RESTCONF API from a |
+| org.onap.ccsdk.sli.plugins | restconf-client-provider | 1.3.4 | Used to call a RESTCONF API from a |
| | | | directed graph |
+-------------------------------+------------------------------+---------+--------------------------------------------+
-| org.onap.ccsdk.sli.plugins | sshapi-call-node | 1.3.2 | Used to invoke an SSH interface from a |
+| org.onap.ccsdk.sli.plugins | sshapi-call-node | 1.3.4 | Used to invoke an SSH interface from a |
| | | | directed graph |
+-------------------------------+------------------------------+---------+--------------------------------------------+
-| org.onap.ccsdk.sli.plugins | template-node-provider | 1.3.2 | Provides velocity template support |
+| org.onap.ccsdk.sli.plugins | template-node-provider | 1.3.4 | Provides velocity template support |
+-------------------------------+------------------------------+---------+--------------------------------------------+
Documentation Deliverables
diff --git a/odlsli/src/main/properties/ran-slice-api-dg.properties b/odlsli/src/main/properties/ran-slice-api-dg.properties
index 7648842e..d2cbb253 100644
--- a/odlsli/src/main/properties/ran-slice-api-dg.properties
+++ b/odlsli/src/main/properties/ran-slice-api-dg.properties
@@ -232,6 +232,12 @@ tbdmt.template.put-status-nrcellcu=put-status-nrcellcu
tbdmt.template.put-status-cuup=put-status-gnbcuup
tbdmt.template.put-status-nrcelldu=put-status-nrcelldu
+#reconfigure-ran-slice templates
+tbdmt.template.get-plmnid-mcc=get-plmnid-mcc
+tbdmt.template.get-plmnid-mnc=get-plmnid-mnc
+tbdmt.template.patch-dLThptPerSlice=patch-dLThptPerSlice
+tbdmt.template.patch-uLThptPerSlice=patch-uLThptPerSlice
+
#terminate-ran-slice templates
tbdmt.template.getmcc=get-plmnmccid-by-sliceprofileid
tbdmt.template.get-plmnmncid-from-sliceprofile=get-plmnmncid-by-sliceprofileid
diff --git a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSlice.json b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSlice.json
index 59e32d83..79a2ceca 100644
--- a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSlice.json
+++ b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSlice.json
@@ -1,36 +1,36 @@
[
{
- "id": "9c5997f.1b2f868",
+ "id": "3f941b4b.2702e4",
"type": "method",
"name": "method",
"xml": "<method rpc='instantiateRANSlice' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 180.75,
- "y": 245.98958778381348,
- "z": "10e7919c.99411e",
+ "x": 124,
+ "y": 204.9895896911621,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "5fe08ab2.6f8d74"
+ "7a80f952.c6a8b8"
]
]
},
{
- "id": "d54c429.e02bec",
+ "id": "1d8737b8.63b7f8",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 183.75,
- "y": 95.98958396911621,
- "z": "10e7919c.99411e",
+ "x": 127,
+ "y": 54.989585876464844,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "a53fa1e.7af606"
+ "ce2733d8.99f52"
]
]
},
{
- "id": "a53fa1e.7af606",
+ "id": "ce2733d8.99f52",
"type": "service-logic",
"name": "ran-slice-api ${project.version}",
"module": "ran-slice-api",
@@ -38,1358 +38,1449 @@
"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": 241.74998474121094,
- "y": 156.98967933654785,
- "z": "10e7919c.99411e",
+ "x": 184.99998474121094,
+ "y": 115.98968124389648,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "9c5997f.1b2f868"
+ "3f941b4b.2702e4"
]
]
},
{
- "id": "5fe08ab2.6f8d74",
+ "id": "7a80f952.c6a8b8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 190.23959732055664,
- "y": 410.9896287918091,
- "z": "10e7919c.99411e",
+ "x": 133.48959732055664,
+ "y": 369.9896306991577,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "8af7a6ac.6f8f68",
- "3fa9537c.74c23c",
- "549c9b20.009974",
- "2f71d7ee.1152f8",
- "8960b53e.683758",
- "77ecb7a4.831ff8",
- "78565add.fd2bf4",
- "8ecb41b7.616c6",
- "fae20792.9b5088"
+ "41563eb1.4e85c",
+ "31a05301.7c3e2c",
+ "ccadd09.547343",
+ "20cbc620.3646ca",
+ "fbc241df.458d3",
+ "c2591232.df978",
+ "81c6b27a.38845",
+ "d0bde4c8.642a28",
+ "a9edd79d.7f4d18"
]
]
},
{
- "id": "8ecb41b7.616c6",
+ "id": "d0bde4c8.642a28",
"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": 450.23958587646484,
- "y": 956.9899950027466,
- "z": "10e7919c.99411e",
+ "x": 393.48958587646484,
+ "y": 915.9899969100952,
+ "z": "f9d3d04a.3c65",
"wires": []
},
{
- "id": "51c1cb02.830f94",
+ "id": "c9ac38c7.5934a8",
"type": "comment",
"name": "instantiateRANSlice",
"info": "",
"comments": "",
- "x": 465.75,
- "y": 88.99999809265137,
- "z": "10e7919c.99411e",
+ "x": 409,
+ "y": 48,
+ "z": "f9d3d04a.3c65",
"wires": []
},
{
- "id": "8af7a6ac.6f8f68",
+ "id": "41563eb1.4e85c",
"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=\"RPC to handle instantiateRANSlice.: \"/>\n<parameter name=\"field2\" value=\"`$instantiate-r-a-n-slice-input.action`\"/>\n<parameter name=\"field3\" value=\"`$instantiate-r-a-n-slice-input.common-header.timestamp`\"/>\n<parameter name=\"field4\" value=\"`$instantiate-r-a-n-slice-input.common-header.request-id`\"/>\n<parameter name=\"field5\" value=\"`$instantiate-r-a-n-slice-input.common-header.originator-id`\"/>\n<parameter name=\"field6\" value=\"RPC Payload String \"/>\n<parameter name=\"field7\" value=\"`$instantiate-r-a-n-slice-input.payload`\"/>",
"comments": "",
"outputs": 1,
- "x": 523.7503356933594,
- "y": 140.0104579925537,
- "z": "10e7919c.99411e",
+ "x": 467.0003356933594,
+ "y": 99.01045989990234,
+ "z": "f9d3d04a.3c65",
"wires": [
[]
]
},
{
- "id": "549c9b20.009974",
+ "id": "ccadd09.547343",
"type": "execute",
"name": "execute jsonStringToCtx",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='jsonStringToCtx'>\n\t<parameter name='source' value='instantiate-r-a-n-slice-input.payload' />\n\t<parameter name='outputPath' value='payloadJson' />\n\t<parameter name='isEscaped' value='false' />",
"comments": "",
"outputs": 1,
- "x": 572.7500915527344,
- "y": 229.01042556762695,
- "z": "10e7919c.99411e",
+ "x": 516.0000915527344,
+ "y": 188.0104274749756,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "e1387c7e.c5255"
+ "1bc972ad.8fa63d"
]
]
},
{
- "id": "e1387c7e.c5255",
+ "id": "1bc972ad.8fa63d",
"type": "other",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 800.7501029968262,
- "y": 209.01044082641602,
- "z": "10e7919c.99411e",
+ "x": 744.0001029968262,
+ "y": 168.01044273376465,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "5319bb09.5f7994"
+ "e67c32ca.22c34"
]
]
},
{
- "id": "38e9a51b.61477a",
+ "id": "34a92a48.207396",
"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=\"Payload for instantiateRANSlice.: \"/>\n<parameter name=\"field2\" value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\"/>\n<parameter name=\"field3\" value=\"`$payloadJson.input.sliceProfile.NSSAI`\"/>\n<parameter name=\"field4\" value=\"`$payloadJson.input.sliceProfile.maxNumberofUEs`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfile.latency`\"/>\n<parameter name=\"field6\" value=\"`$payloadJson.input.sliceProfile.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"`$payloadJson.input.sliceProfile.dLThptPerSlice`\"/>\n<parameter name=\"field8\" value=\"`$payloadJson.input.sliceProfile.maxNumberofConns`\"/>\n<parameter name=\"field9\" value=\"`$payloadJson.input.sliceProfile.coverageAreaList[0]`\"/>\n<parameter name=\"field10\" value=\"`$payloadJson.input.sliceProfile.uEMobilityLevel`\"/>\n<parameter name=\"field11\" value=\"`$payloadJson.input.sliceProfile.resourceSharingLevel`\"/>\n<parameter name=\"field12\" value=\"`$payloadJson.input.RANNSSIId`\"/>\n<parameter name=\"field13\" value=\"`$payloadJson.input.RANNFNSSIId`\"/>\n<parameter name=\"field14\" value=\"`$payloadJson.input.callbackURL`\"/>\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1143.7502765655518,
- "y": 216.0104694366455,
- "z": "10e7919c.99411e",
+ "x": 1087.0002765655518,
+ "y": 175.01047134399414,
+ "z": "f9d3d04a.3c65",
"wires": [
[]
]
},
{
- "id": "2f71d7ee.1152f8",
+ "id": "20cbc620.3646ca",
"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": 554.7500534057617,
- "y": 314.0103826522827,
- "z": "10e7919c.99411e",
+ "x": 498.0000534057617,
+ "y": 273.01038455963135,
+ "z": "f9d3d04a.3c65",
"wires": [
[]
]
},
{
- "id": "8960b53e.683758",
+ "id": "fbc241df.458d3",
"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=\"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": 533.7500953674316,
- "y": 363.01042556762695,
- "z": "10e7919c.99411e",
+ "x": 477.00009536743164,
+ "y": 322.0104274749756,
+ "z": "f9d3d04a.3c65",
"wires": [
[]
]
},
{
- "id": "77ecb7a4.831ff8",
+ "id": "c2591232.df978",
"type": "switchNode",
"name": "switch configdb deployed",
"xml": "<switch test='`$prop.configdb-deployed`'>\n",
"comments": "",
"outputs": 1,
- "x": 426.75011444091797,
- "y": 730.8993272781372,
- "z": "10e7919c.99411e",
+ "x": 370.00011444091797,
+ "y": 689.8993291854858,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "f59f9016.323c1",
- "bb2101f5.74d22"
+ "73aff694.f5c308",
+ "17edd644.4e6b2a"
]
]
},
{
- "id": "f59f9016.323c1",
+ "id": "73aff694.f5c308",
"type": "outcome",
"name": "ConfigDB Deployed",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 646.7501449584961,
- "y": 716.8992967605591,
- "z": "10e7919c.99411e",
+ "x": 590.0001449584961,
+ "y": 675.8992986679077,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "bec0868c.2beb98"
+ "ac3dcb7.c4e2a38"
]
]
},
{
- "id": "3fa9537c.74c23c",
+ "id": "31a05301.7c3e2c",
"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 instantiateRANSice RPC' />",
"comments": "",
- "x": 572.7500915527344,
- "y": 188.0104751586914,
- "z": "10e7919c.99411e",
+ "x": 516.0000915527344,
+ "y": 147.01047706604004,
+ "z": "f9d3d04a.3c65",
"wires": []
},
{
- "id": "e8e9ca45.d5eea8",
+ "id": "b2d8bfe1.fb9e3",
"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-instantiateRANSlice-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1161.7502746582031,
- "y": 150.01044178009033,
- "z": "10e7919c.99411e",
+ "x": 1105.0002746582031,
+ "y": 109.01044368743896,
+ "z": "f9d3d04a.3c65",
"wires": [
[]
]
},
{
- "id": "5319bb09.5f7994",
+ "id": "e67c32ca.22c34",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 969.7501907348633,
- "y": 184.01043915748596,
- "z": "10e7919c.99411e",
+ "x": 913.0001907348633,
+ "y": 143.0104410648346,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "e8e9ca45.d5eea8",
- "38e9a51b.61477a"
+ "b2d8bfe1.fb9e3",
+ "34a92a48.207396"
]
]
},
{
- "id": "a82c1628.1048e8",
+ "id": "b7d815c7.418ce8",
"type": "set",
"name": "set Temp Variables",
"xml": "<set>\n<parameter name='tmp.payload.callbackURL' value='`$payloadJson.input.callbackURL`'/>\n<parameter name='tmp.payload.RANNFNSSIId' value='`$payloadJson.input.RANNFNSSIId`'/>\n<parameter name='tmp.payload.RANNSSIId' value='`$payloadJson.input.RANNSSIId`'/>\n<parameter name='tmp.payload.coverageAreaList_length' value='`$payloadJson.input.sliceProfile.coverageAreaTAList_length`'/>\n<parameter name='tmp.payload.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`'/>\n<parameter name='tmp.payload.latency' value='`$payloadJson.input.sliceProfile.latency`'/>\n<parameter name='tmp.payload.maxNumberofConns' value='`$payloadJson.input.sliceProfile.maxNumberofConns`'/>\n<parameter name='tmp.payload.maxNumberofUEs' value='`$payloadJson.input.sliceProfile.maxNumberofUEs`'/>\n<parameter name='tmp.payload.resourceSharingLevel' value='`$payloadJson.input.sliceProfile.resourceSharingLevel`'/>\n<parameter name='tmp.payload.sliceProfileId' value='`$payloadJson.input.sliceProfile.sliceProfileId`'/>\n<parameter name='tmp.payload.sNSSAI' value='`$payloadJson.input.sliceProfile.snssaiList[0]`'/>\n<parameter name='tmp.payload.uEMobilityLevel' value='`$payloadJson.input.sliceProfile.uEMobilityLevel`'/>\n<parameter name='tmp.payload.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`'/>\n<parameter name='tmp.payload.pLMNId' value='`$payloadJson.input.sliceProfile.pLMNIdList[0]`'/>",
"comments": "",
- "x": 1413.7503280639648,
- "y": 390.0104556083679,
- "z": "10e7919c.99411e",
+ "x": 1357.0003280639648,
+ "y": 349.01045751571655,
+ "z": "f9d3d04a.3c65",
"wires": []
},
{
- "id": "bec0868c.2beb98",
+ "id": "ac3dcb7.c4e2a38",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 732.7501678466797,
- "y": 823.0000047683716,
- "z": "10e7919c.99411e",
+ "x": 676.0001678466797,
+ "y": 782.0000066757202,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "a7f378f7.978f78"
+ "b41e996d.bd8628"
]
]
},
{
- "id": "78565add.fd2bf4",
+ "id": "81c6b27a.38845",
"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-instantiateRANSlice-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 546.7500152587891,
- "y": 273.0000247955322,
- "z": "10e7919c.99411e",
+ "x": 490.00001525878906,
+ "y": 232.00002670288086,
+ "z": "f9d3d04a.3c65",
"wires": [
[]
]
},
{
- "id": "e60a392.ddd87c8",
+ "id": "c9f45086.19038",
"type": "execute",
"name": "SliStringUtils - substring MCC",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n <parameter name=\"string\" value=\"`$tmp.payload.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": 1965.0335540771484,
- "y": 530.0104942321777,
- "z": "10e7919c.99411e",
+ "x": 1908.2835540771484,
+ "y": 489.01049613952637,
+ "z": "f9d3d04a.3c65",
"wires": [
[]
]
},
{
- "id": "347e9e85.5c3b02",
+ "id": "f455a778.da6da8",
"type": "execute",
"name": "SliStringUtils - substring MNC",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n <parameter name=\"string\" value=\"`$tmp.payload.pLMNId`\" />\n <parameter name=\"result\" value=\"tmp.mnc\"/>\n <parameter name=\"begin-index\" value=\"4\" />",
"comments": "",
"outputs": 1,
- "x": 1959.0335311889648,
- "y": 566.1013164520264,
- "z": "10e7919c.99411e",
+ "x": 1902.2835311889648,
+ "y": 525.101318359375,
+ "z": "f9d3d04a.3c65",
"wires": [
[]
]
},
{
- "id": "16efb65a.cc3cda",
+ "id": "f80cc38b.62487",
"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=\"PLMNID from Payload: MCC-MNC \"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mnc`\"/>",
"comments": "",
"outputs": 1,
- "x": 1366.754295349121,
- "y": 581.0038833618164,
- "z": "10e7919c.99411e",
+ "x": 1310.004295349121,
+ "y": 540.003885269165,
+ "z": "f9d3d04a.3c65",
"wires": [
[]
]
},
{
- "id": "ca8361d0.5a2d2",
+ "id": "faaa89ed.ed2b88",
"type": "comment",
"name": "TO DO",
"info": "- Use \"List of Cells for Tracking Area\" everywhere list\nof cells are sequenced for Restconf transactions...\nNo need to go through all cells as captured in the configDB\nresponse....localID will be the actual value returned \nin \n<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.trackingarea.cell' />\n\t<parameter name='source' value=\"`'getListofCells-configdb-response.[' + $ids + ']'`\" />\n\t\n\ttmp.trackingarea.cell would be cellLocalID",
"comments": "",
- "x": 820.75,
- "y": 127.99999809265137,
- "z": "10e7919c.99411e",
+ "x": 764,
+ "y": 87,
+ "z": "f9d3d04a.3c65",
"wires": []
},
{
- "id": "a7f378f7.978f78",
+ "id": "b41e996d.bd8628",
"type": "switchNode",
"name": "switch action",
"xml": "<switch test='`$instantiate-r-a-n-slice-input.action`'>",
"comments": "",
"outputs": 1,
- "x": 923.7604866027832,
- "y": 828.0104639530182,
- "z": "10e7919c.99411e",
+ "x": 867.0104866027832,
+ "y": 787.0104658603668,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "7a47342e.f3effc",
- "5ad9990f.809c88",
- "62a4b085.11774",
- "2f73e76.1120718"
+ "67a2e052.c60c6",
+ "5cab371e.d1a488",
+ "fd1feb8c.2f22b8",
+ "98376a73.6f9498"
]
]
},
{
- "id": "7a47342e.f3effc",
+ "id": "67a2e052.c60c6",
"type": "outcome",
"name": "allocate",
"xml": "<outcome value='allocate'>",
"comments": "",
"outputs": 1,
- "x": 1151.760498046875,
- "y": 701.8993473052979,
- "z": "10e7919c.99411e",
+ "x": 1095.010498046875,
+ "y": 660.8993492126465,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "f906e932.b1a8e8"
+ "60ab4a0b.a74734"
]
]
},
{
- "id": "5ad9990f.809c88",
+ "id": "5cab371e.d1a488",
"type": "outcome",
"name": "modify-allocate",
"xml": "<outcome value='modify-allocate'>",
"comments": "",
"outputs": 1,
- "x": 1161.4747695922852,
- "y": 777.3993899822235,
- "z": "10e7919c.99411e",
+ "x": 1104.7247695922852,
+ "y": 736.3993918895721,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "14960bdf.baaca4"
+ "2e8f21ac.f86bde"
]
]
},
{
- "id": "62a4b085.11774",
+ "id": "fd1feb8c.2f22b8",
"type": "outcome",
"name": "modify-deallocate",
"xml": "<outcome value='modify-deallocate'>",
"comments": "",
"outputs": 1,
- "x": 1168.8318710327148,
- "y": 867.5422134399414,
- "z": "10e7919c.99411e",
+ "x": 1112.0818710327148,
+ "y": 826.54221534729,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "e194c39c.44538"
+ "eae960f2.ee2d4"
]
]
},
{
- "id": "2f73e76.1120718",
+ "id": "98376a73.6f9498",
"type": "outcome",
"name": "reconfigure",
"xml": "<outcome value='reconfigure'>",
"comments": "",
"outputs": 1,
- "x": 1140.8318710327148,
- "y": 950.5780229568481,
- "z": "10e7919c.99411e",
+ "x": 1084.0818710327148,
+ "y": 909.5780248641968,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "3b102bad.c66ee4"
+ "bd0a83e6.a0943"
]
]
},
{
- "id": "f906e932.b1a8e8",
+ "id": "60ab4a0b.a74734",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1364.749864578247,
- "y": 686.0000371932983,
- "z": "10e7919c.99411e",
+ "x": 1307.999864578247,
+ "y": 645.000039100647,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "f1b88456.8649a8",
- "39fc6dd2.f6ca82"
+ "ca82d73a.f7bce8",
+ "336d4a7.45bf6b6"
]
]
},
{
- "id": "14960bdf.baaca4",
+ "id": "2e8f21ac.f86bde",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1384.9643173217773,
- "y": 781.5001201629639,
- "z": "10e7919c.99411e",
+ "x": 1328.2143173217773,
+ "y": 740.5001220703125,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "2d4a44bb.b66d7c",
- "6d40db84.e62604"
+ "b5579662.017518",
+ "66b05fb8.b1648"
]
]
},
{
- "id": "3b102bad.c66ee4",
+ "id": "bd0a83e6.a0943",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1372.571418762207,
- "y": 977.4286890029907,
- "z": "10e7919c.99411e",
+ "x": 1315.821418762207,
+ "y": 936.4286909103394,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "622120ff.ea39d",
- "97272cef.a1821"
+ "6a839601.d3fdc8",
+ "57a6446.a7ba7bc"
]
]
},
{
- "id": "e194c39c.44538",
+ "id": "eae960f2.ee2d4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1385.4999084472656,
- "y": 879.6430101394653,
- "z": "10e7919c.99411e",
+ "x": 1328.7499084472656,
+ "y": 838.643012046814,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "6340f688.955738",
- "8dfbd3b3.00a37"
+ "791ddd11.703704",
+ "411cb249.f2fa5c"
]
]
},
{
- "id": "f1b88456.8649a8",
+ "id": "ca82d73a.f7bce8",
"type": "call",
"name": "call instantiateRANSliceAllocate",
"xml": "<call module='ran-slice-api' rpc='instantiateRANSliceAllocate' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1652.9998474121094,
- "y": 674.7500133514404,
- "z": "10e7919c.99411e",
+ "x": 1596.2498474121094,
+ "y": 633.7500152587891,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "38611251.625a4e"
+ "17a1a43.2200f5c"
]
]
},
{
- "id": "38611251.625a4e",
+ "id": "17a1a43.2200f5c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1918.8569793701172,
- "y": 683.3214559555054,
- "z": "10e7919c.99411e",
+ "x": 1862.1069793701172,
+ "y": 642.321457862854,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "485ab503.be350c"
+ "84f6a89e.970988"
]
]
},
{
- "id": "485ab503.be350c",
+ "id": "84f6a89e.970988",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
"comments": "",
- "x": 2090.8569869995117,
- "y": 683.4286088943481,
- "z": "10e7919c.99411e",
+ "x": 2034.1069869995117,
+ "y": 642.4286108016968,
+ "z": "f9d3d04a.3c65",
"wires": []
},
{
- "id": "2d4a44bb.b66d7c",
+ "id": "b5579662.017518",
"type": "call",
"name": "call instantiateRANSliceModifyAllocate",
"xml": "<call module='ran-slice-api' rpc='instantiateRANSliceModifyAllocate-configDB' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1673.6787414550781,
- "y": 784.7500626444817,
- "z": "10e7919c.99411e",
+ "x": 1616.9287414550781,
+ "y": 743.7500645518303,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "e9c29919.baf1a8"
+ "3b14b216.30136e"
]
]
},
{
- "id": "e9c29919.baf1a8",
+ "id": "3b14b216.30136e",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1938.7144050598145,
- "y": 781.7500820159912,
- "z": "10e7919c.99411e",
+ "x": 1881.9644050598145,
+ "y": 740.7500839233398,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "f4459a61.a605d8"
+ "510851bf.455d7"
]
]
},
{
- "id": "f4459a61.a605d8",
+ "id": "510851bf.455d7",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
"comments": "",
- "x": 2107.285846710205,
- "y": 781.4286270141602,
- "z": "10e7919c.99411e",
+ "x": 2050.535846710205,
+ "y": 740.4286289215088,
+ "z": "f9d3d04a.3c65",
"wires": []
},
{
- "id": "622120ff.ea39d",
+ "id": "6a839601.d3fdc8",
"type": "call",
"name": "call instantiateRANSliceReconfigure",
"xml": "<call module='ran-slice-api' rpc='instantiateRANSliceReconfigure' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1665.5713424682617,
- "y": 977.0357475280762,
- "z": "10e7919c.99411e",
+ "x": 1608.8213424682617,
+ "y": 936.0357494354248,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "a5d8b067.d2aaf"
+ "5da642cc.fd8b0c"
]
]
},
{
- "id": "a5d8b067.d2aaf",
+ "id": "5da642cc.fd8b0c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1921.8570671081543,
- "y": 977.0357732772827,
- "z": "10e7919c.99411e",
+ "x": 1865.1070671081543,
+ "y": 936.0357751846313,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "85641a85.b66f78"
+ "accf4d38.2835a"
]
]
},
{
- "id": "85641a85.b66f78",
+ "id": "accf4d38.2835a",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
"comments": "",
- "x": 2090.428508758545,
- "y": 976.7143182754517,
- "z": "10e7919c.99411e",
+ "x": 2033.678508758545,
+ "y": 935.7143201828003,
+ "z": "f9d3d04a.3c65",
"wires": []
},
{
- "id": "6340f688.955738",
+ "id": "791ddd11.703704",
"type": "call",
"name": "call instantiateRANSliceModifyDeallocate",
"xml": "<call module='ran-slice-api' rpc='terminateRANSliceInstance-configDB' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1658.7142028808594,
- "y": 878.0358200073242,
- "z": "10e7919c.99411e",
+ "x": 1601.9642028808594,
+ "y": 837.0358219146729,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "e8f4a61d.b77d78"
+ "69fe5d78.ef50f4"
]
]
},
{
- "id": "e8f4a61d.b77d78",
+ "id": "69fe5d78.ef50f4",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1937.2855796813965,
- "y": 876.6072368621826,
- "z": "10e7919c.99411e",
+ "x": 1880.5355796813965,
+ "y": 835.6072387695312,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "9d17ea2d.aae6b8"
+ "49ca4eb3.09c31"
]
]
},
{
- "id": "9d17ea2d.aae6b8",
+ "id": "49ca4eb3.09c31",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
"comments": "",
- "x": 2105.857021331787,
- "y": 876.2857818603516,
- "z": "10e7919c.99411e",
+ "x": 2049.107021331787,
+ "y": 835.2857837677002,
+ "z": "f9d3d04a.3c65",
"wires": []
},
{
- "id": "46713467.de13cc",
+ "id": "e9985b93.6f1848",
"type": "set",
"name": "set RRMPolicyRatio IDs",
"xml": "<set>\n<parameter name='tmp.RRMPolicyRatioID.NearRTRIC' value=\"`'NearRTRIC-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`\" />\n<parameter name='tmp.RRMPolicyRatioID.GNBDUFunction' value=\"`'GNBDUFunction-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`\" />\n<parameter name='tmp.RRMPolicyRatioID.NRCellDU' value=\"`'NRCellDU-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`\" />\n<parameter name='tmp.RRMPolicyRatioID.GNBCUUPFunction' value=\"`'GNBCUUPFunction-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`\" />\n<parameter name='tmp.RRMPolicyRatioID.GNBCUCPFunction' value=\"`'GNBCUCPFunction-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`\" />\n<parameter name='tmp.RRMPolicyRatioID.NRCellCU' value=\"`'NRCellCU-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`\" />\n<parameter name='prop.ranNetwork.RRMPolicyRatioMemberID' value='`$prop.ranNetwork.RRMPolicyRatioMemberID + 1`' />",
"comments": "",
- "x": 1436.7503280639648,
- "y": 435.9999990463257,
- "z": "10e7919c.99411e",
+ "x": 1380.0003280639648,
+ "y": 395.0000009536743,
+ "z": "f9d3d04a.3c65",
"wires": []
},
{
- "id": "9695529c.512d9",
+ "id": "b98adc33.f7a72",
"type": "execute",
"name": "execute concat customer-id and @test.com",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='concat' >\n <parameter name=\"source\" value='`$prop.customer-id`'/>\n <parameter name=\"outputPath\" value=\"tmp.userAccountEmail\"/>\n <parameter name=\"target\" value=\"@test.com\"/>\n\n\n",
"comments": "",
"outputs": 1,
- "x": 399.7500228881836,
- "y": 1072.0000085830688,
- "z": "10e7919c.99411e",
+ "x": 343.0000228881836,
+ "y": 1031.0000104904175,
+ "z": "f9d3d04a.3c65",
"wires": [
[]
]
},
{
- "id": "39fc6dd2.f6ca82",
+ "id": "336d4a7.45bf6b6",
"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 instantiateRANSliceAllocate \"/>",
"comments": "",
"outputs": 1,
- "x": 1600.750015258789,
- "y": 615.000039100647,
- "z": "10e7919c.99411e",
+ "x": 1544.000015258789,
+ "y": 574.0000410079956,
+ "z": "f9d3d04a.3c65",
"wires": [
[]
]
},
{
- "id": "6d40db84.e62604",
+ "id": "66b05fb8.b1648",
"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 instantiateRANSliceModifyAllocate \"/>",
"comments": "",
"outputs": 1,
- "x": 1582.7499694824219,
- "y": 726.0000410079956,
- "z": "10e7919c.99411e",
+ "x": 1525.9999694824219,
+ "y": 685.0000429153442,
+ "z": "f9d3d04a.3c65",
"wires": [
[]
]
},
{
- "id": "8dfbd3b3.00a37",
+ "id": "411cb249.f2fa5c",
"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 instantiateRANSliceModifyDeallocate \"/>",
"comments": "",
"outputs": 1,
- "x": 1576.7499694824219,
- "y": 826.0000410079956,
- "z": "10e7919c.99411e",
+ "x": 1519.9999694824219,
+ "y": 785.0000429153442,
+ "z": "f9d3d04a.3c65",
"wires": [
[]
]
},
{
- "id": "97272cef.a1821",
+ "id": "57a6446.a7ba7bc",
"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 instantiateRANSliceReconfigure \"/>",
"comments": "",
"outputs": 1,
- "x": 1576.7499694824219,
- "y": 927.0000410079956,
- "z": "10e7919c.99411e",
+ "x": 1519.9999694824219,
+ "y": 886.0000429153442,
+ "z": "f9d3d04a.3c65",
"wires": [
[]
]
},
{
- "id": "9c98890c.ec5da8",
+ "id": "3740e6e7.14e4ca",
"type": "execute",
"name": "payload has dLThptPerSlice",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n <parameter name='source' value='`$instantiate-r-a-n-slice-input.payload`' />\n <parameter name='target' value='dLThptPerSlice' />\n",
"comments": "",
"outputs": 1,
- "x": 1015.7503509521484,
- "y": 285.6667947769165,
- "z": "10e7919c.99411e",
+ "x": 959.0003509521484,
+ "y": 244.66679668426514,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "20ced857.c221b8",
- "5c3c974.25c8468"
+ "bf5a631b.0296f",
+ "a9791043.1e2a2"
]
]
},
{
- "id": "20ced857.c221b8",
+ "id": "bf5a631b.0296f",
"type": "failure",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1234.7503623962402,
- "y": 264.6667318344116,
- "z": "10e7919c.99411e",
+ "x": 1178.0003623962402,
+ "y": 223.66673374176025,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "f196dde7.3a5cc"
+ "b4fb03b1.01a16"
]
]
},
{
- "id": "5c3c974.25c8468",
+ "id": "a9791043.1e2a2",
"type": "failure",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1193.7502746582031,
- "y": 358.6667137145996,
- "z": "10e7919c.99411e",
+ "x": 1137.0002746582031,
+ "y": 317.66671562194824,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "7c0ec46.941ed3c"
+ "c5d96ba8.2e4e18"
]
]
},
{
- "id": "7c0ec46.941ed3c",
+ "id": "c5d96ba8.2e4e18",
"type": "execute",
"name": "payload contains maxNumberofConns",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n <parameter name='source' value='`$instantiate-r-a-n-slice-input.payload`' />\n <parameter name='target' value='maxNumberofConns' />\n",
"comments": "",
"outputs": 1,
- "x": 1414.7500457763672,
- "y": 323.6667137145996,
- "z": "10e7919c.99411e",
+ "x": 1358.0000457763672,
+ "y": 282.66671562194824,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "857c2346.8113b"
+ "3a0ae807.f1d658"
]
]
},
{
- "id": "f196dde7.3a5cc",
+ "id": "b4fb03b1.01a16",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1669.7500457763672,
- "y": 159.66672897338867,
- "z": "10e7919c.99411e",
+ "x": 1613.0000457763672,
+ "y": 118.6667308807373,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "d7e9aa43.a7d838",
- "19c1468.44715ba"
+ "8d6407f8.ff4a98",
+ "846d4889.d79ec8"
]
]
},
{
- "id": "d7e9aa43.a7d838",
+ "id": "8d6407f8.ff4a98",
"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=\"PAYLOAD contains dLThptPerSlice...Closed loop \"/>\n<parameter name=\"field2\" value=\"Creating temporary variables ONLy for relevant payload fields \"/>\n",
"comments": "",
"outputs": 1,
- "x": 1892.7500534057617,
- "y": 118.66672801971436,
- "z": "10e7919c.99411e",
+ "x": 1836.0000534057617,
+ "y": 77.66672992706299,
+ "z": "f9d3d04a.3c65",
"wires": [
[]
]
},
{
- "id": "857c2346.8113b",
+ "id": "3a0ae807.f1d658",
"type": "failure",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1576.7500457763672,
- "y": 245.66671133041382,
- "z": "10e7919c.99411e",
+ "x": 1520.0000457763672,
+ "y": 204.66671323776245,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "a18a6.3f67775b"
+ "23d71f2a.4f7fb"
]
]
},
{
- "id": "a18a6.3f67775b",
+ "id": "23d71f2a.4f7fb",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1683.750373840332,
- "y": 360.66671562194824,
- "z": "10e7919c.99411e",
+ "x": 1627.000373840332,
+ "y": 319.6667175292969,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "3235136f.549f4c",
- "19c1468.44715ba"
+ "e31431f5.b0804",
+ "846d4889.d79ec8"
]
]
},
{
- "id": "3235136f.549f4c",
+ "id": "e31431f5.b0804",
"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=\"PAYLOAD contains maxNumberofConns...Inntelligent Slicing \"/>\n<parameter name=\"field2\" value=\"Creating temporary variables ONLy for relevant payload fields \"/>\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1740.750373840332,
- "y": 249.66671085357666,
- "z": "10e7919c.99411e",
+ "x": 1684.000373840332,
+ "y": 208.6667127609253,
+ "z": "f9d3d04a.3c65",
"wires": [
[]
]
},
{
- "id": "19c1468.44715ba",
+ "id": "846d4889.d79ec8",
"type": "set",
"name": "set Temp Variables",
"xml": "<set>\n<parameter name='tmp.payload.callbackURL' value='`$payloadJson.input.callbackURL`'/>\n<parameter name='tmp.payload.RANNFNSSIId' value='`$payloadJson.input.RANNFNSSIId`'/>\n<parameter name='tmp.payload.RANNSSIId' value='`$payloadJson.input.RANNSSIId`'/>",
"comments": "",
- "x": 1996.7503814697266,
- "y": 272.00004386901855,
- "z": "10e7919c.99411e",
+ "x": 1940.0003814697266,
+ "y": 231.0000457763672,
+ "z": "f9d3d04a.3c65",
"wires": []
},
{
- "id": "fae20792.9b5088",
+ "id": "a9edd79d.7f4d18",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 416.75008392333984,
- "y": 427.0000591278076,
- "z": "10e7919c.99411e",
+ "x": 360.00008392333984,
+ "y": 386.00006103515625,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "a3cde681.f1e848"
+ "fe88f514.8c8188"
]
]
},
{
- "id": "a3cde681.f1e848",
+ "id": "fe88f514.8c8188",
"type": "switchNode",
"name": "switch action",
"xml": "<switch test='`$instantiate-r-a-n-slice-input.action`'>",
"comments": "",
"outputs": 1,
- "x": 574.7606964111328,
- "y": 480.01043701171875,
- "z": "10e7919c.99411e",
+ "x": 518.0106964111328,
+ "y": 439.0104389190674,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "237c0e0f.148522",
- "3fe8fc80.d3d0c4",
- "2e87b1cc.bd552e",
- "40cc7ca4.05a624"
+ "60031c86.71d7c4",
+ "ad47916a.0739f",
+ "867e03c7.57509",
+ "1df6e46e.80d00c"
]
]
},
{
- "id": "237c0e0f.148522",
+ "id": "60031c86.71d7c4",
"type": "outcome",
"name": "reconfigure",
"xml": "<outcome value='reconfigure'>",
"comments": "",
"outputs": 1,
- "x": 791.8319129943848,
- "y": 339.57797145843506,
- "z": "10e7919c.99411e",
+ "x": 735.0819129943848,
+ "y": 298.5779733657837,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "39cdc573.bf0d8a"
+ "b8589e4d.ee186"
]
]
},
{
- "id": "39cdc573.bf0d8a",
+ "id": "b8589e4d.ee186",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 898.571662902832,
- "y": 445.42865657806396,
- "z": "10e7919c.99411e",
+ "x": 841.821662902832,
+ "y": 404.4286584854126,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "9c98890c.ec5da8"
+ "3740e6e7.14e4ca"
]
]
},
{
- "id": "8b7bd924.08c238",
+ "id": "d1ca9a13.511f18",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1087.4166793823242,
- "y": 539.0000190734863,
- "z": "10e7919c.99411e",
+ "x": 1030.6666793823242,
+ "y": 498.00002098083496,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "a82c1628.1048e8",
- "46713467.de13cc",
- "16efb65a.cc3cda",
- "b45975b4.70c658"
+ "b7d815c7.418ce8",
+ "e9985b93.6f1848",
+ "f80cc38b.62487",
+ "fc21e8cf.566358"
]
]
},
{
- "id": "f49ac68c.646c78",
+ "id": "c8574743.c29878",
"type": "set",
"name": "Original set Temp Variables",
"xml": "<set>\n<parameter name='tmp.payload.trackingArea' value='`$payloadJson.input.sliceProfile.coverageAreaList[0]`'/>\n<parameter name='tmp.payload.callbackURL' value='`$payloadJson.input.callbackURL`'/>\n<parameter name='tmp.payload.RANNFNSSIId' value='`$payloadJson.input.RANNFNSSIId`'/>\n<parameter name='tmp.payload.RANNSSIId' value='`$payloadJson.input.RANNSSIId`'/>\n<parameter name='tmp.payload.coverageAreaList_length' value='`$payloadJson.input.sliceProfile.coverageAreaList_length`'/>\n<parameter name='tmp.payload.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`'/>\n<parameter name='tmp.payload.latency' value='`$payloadJson.input.sliceProfile.latency`'/>\n<parameter name='tmp.payload.maxNumberofConns' value='`$payloadJson.input.sliceProfile.maxNumberofConns`'/>\n<parameter name='tmp.payload.maxNumberofUEs' value='`$payloadJson.input.sliceProfile.maxNumberofUEs`'/>\n<parameter name='tmp.payload.resourceSharingLevel' value='`$payloadJson.input.sliceProfile.resourceSharingLevel`'/>\n<parameter name='tmp.payload.sliceProfileId' value='`$payloadJson.input.sliceProfile.sliceProfileId`'/>\n<parameter name='tmp.payload.sNSSAI' value='`$payloadJson.input.sliceProfile.sNSSAI`'/>\n<parameter name='tmp.payload.uEMobilityLevel' value='`$payloadJson.input.sliceProfile.uEMobilityLevel`'/>\n<parameter name='tmp.payload.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`'/>\n<parameter name='tmp.payload.pLMNId' value='`$payloadJson.input.sliceProfile.pLMNIdList[0]`'/>",
"comments": "",
- "x": 2386.75,
- "y": 279.99999809265137,
- "z": "10e7919c.99411e",
+ "x": 2330,
+ "y": 239,
+ "z": "f9d3d04a.3c65",
"wires": []
},
{
- "id": "3fe8fc80.d3d0c4",
+ "id": "ad47916a.0739f",
"type": "outcome",
"name": "allocate",
"xml": "<outcome value='allocate'>",
"comments": "",
"outputs": 1,
- "x": 853.4167098999023,
- "y": 506.3333549499512,
- "z": "10e7919c.99411e",
+ "x": 796.6667098999023,
+ "y": 465.3333568572998,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "8b7bd924.08c238"
+ "d1ca9a13.511f18"
]
]
},
{
- "id": "2e87b1cc.bd552e",
+ "id": "867e03c7.57509",
"type": "outcome",
"name": "modify-allocate",
"xml": "<outcome value='modify-allocate'>",
"comments": "",
"outputs": 1,
- "x": 843.1310653686523,
- "y": 551.8333969116211,
- "z": "10e7919c.99411e",
+ "x": 786.3810653686523,
+ "y": 510.8333988189697,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "8b7bd924.08c238"
+ "d1ca9a13.511f18"
]
]
},
{
- "id": "40cc7ca4.05a624",
+ "id": "1df6e46e.80d00c",
"type": "outcome",
"name": "modify-deallocate",
"xml": "<outcome value='modify-deallocate'>",
"comments": "",
"outputs": 1,
- "x": 827.4881629943848,
- "y": 616.9761905670166,
- "z": "10e7919c.99411e",
+ "x": 770.7381629943848,
+ "y": 575.9761924743652,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "8b7bd924.08c238"
+ "d1ca9a13.511f18"
]
]
},
{
- "id": "b45975b4.70c658",
+ "id": "fc21e8cf.566358",
"type": "switchNode",
"name": "check PLMNId",
"xml": "<switch test='`$tmp.payload.pLMNId`'>",
"comments": "",
"outputs": 1,
- "x": 1330.5,
- "y": 519.7499980926514,
- "z": "10e7919c.99411e",
+ "x": 1273.75,
+ "y": 478.75,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "76986724.c316a8",
- "5b5cc8fa.d6ba88"
+ "18448523.ce63fb",
+ "619f621a.39ba0c"
]
]
},
{
- "id": "50ddb749.40aab8",
+ "id": "75167d2a.0cec34",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1704.250114440918,
- "y": 500.7500047683716,
- "z": "10e7919c.99411e",
+ "x": 1647.500114440918,
+ "y": 459.7500066757202,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "45f4b2d4.e1c22c",
- "4426a6b.16ab058"
+ "b38f4398.feb6",
+ "85d1a250.a945f"
]
]
},
{
- "id": "76986724.c316a8",
+ "id": "18448523.ce63fb",
"type": "outcome",
"name": "not null",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 1525.25,
- "y": 509.74999809265137,
- "z": "10e7919c.99411e",
+ "x": 1468.5,
+ "y": 468.75,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "74bbb6b3.896378"
+ "1e493cd0.0784c3"
]
]
},
{
- "id": "5b5cc8fa.d6ba88",
+ "id": "619f621a.39ba0c",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1519,
- "y": 559.7499980926514,
- "z": "10e7919c.99411e",
+ "x": 1462.25,
+ "y": 518.75,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "50ddb749.40aab8"
+ "75167d2a.0cec34"
]
]
},
{
- "id": "74bbb6b3.896378",
+ "id": "1e493cd0.0784c3",
"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=\"It is allocate-modify flow. PLMNId is null\"/>",
"comments": "",
"outputs": 1,
- "x": 1658,
- "y": 444.74999809265137,
- "z": "10e7919c.99411e",
+ "x": 1601.25,
+ "y": 403.75,
+ "z": "f9d3d04a.3c65",
"wires": [
[]
]
},
{
- "id": "45f4b2d4.e1c22c",
+ "id": "b38f4398.feb6",
"type": "execute",
"name": "split pLMNId",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name=\"original_string\" value=\"`$tmp.payload.pLMNId`\" />\n <parameter name=\"regex\" value=\"-\"/>\n <parameter name=\"ctx_memory_result_key\" value=\"tmp.plmnList\" />",
"comments": "",
"outputs": 1,
- "x": 1965.5226135253906,
- "y": 383.26230812072754,
- "z": "10e7919c.99411e",
+ "x": 1908.7726135253906,
+ "y": 342.2623100280762,
+ "z": "f9d3d04a.3c65",
"wires": [
[]
]
},
{
- "id": "4426a6b.16ab058",
+ "id": "85d1a250.a945f",
"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": 1995.9772033691406,
- "y": 430.30774879455566,
- "z": "10e7919c.99411e",
+ "x": 1939.2272033691406,
+ "y": 389.3077507019043,
+ "z": "f9d3d04a.3c65",
"wires": []
},
{
- "id": "bb2101f5.74d22",
+ "id": "17edd644.4e6b2a",
"type": "outcome",
"name": "CPS Deployed",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 640.2500152587891,
- "y": 978.750096321106,
- "z": "10e7919c.99411e",
+ "x": 583.5000152587891,
+ "y": 937.7500982284546,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "394e9b0d.220f74"
+ "c11522a6.912a3"
]
]
},
{
- "id": "394e9b0d.220f74",
+ "id": "c11522a6.912a3",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 815.2501239776611,
- "y": 1147.7501649856567,
- "z": "10e7919c.99411e",
+ "x": 758.5001239776611,
+ "y": 1106.7501668930054,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "85336e0f.34382"
+ "9a5be299.ac9e8"
]
]
},
{
- "id": "85336e0f.34382",
+ "id": "9a5be299.ac9e8",
"type": "switchNode",
"name": "switch action",
"xml": "<switch test='`$instantiate-r-a-n-slice-input.action`'>",
"comments": "",
"outputs": 1,
- "x": 1029.2502155303955,
- "y": 1147.7501649856567,
- "z": "10e7919c.99411e",
+ "x": 972.5002155303955,
+ "y": 1106.7501668930054,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "6021ff25.4bc92",
- "d27c26f9.e0bbc8"
+ "c8c0e2dd.5b24e",
+ "44e41709.edbb68",
+ "ae5c8c29.c4bdb"
]
]
},
{
- "id": "1c605b41.1f8055",
+ "id": "3c7fdccf.25e304",
"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 instantiateRANSliceModifyAllocate-CPS \"/>",
"comments": "",
"outputs": 1,
- "x": 1635.2502098083496,
- "y": 1090.7500677108765,
- "z": "10e7919c.99411e",
+ "x": 1578.5002098083496,
+ "y": 1049.750069618225,
+ "z": "f9d3d04a.3c65",
"wires": [
[]
]
},
{
- "id": "1017cf13.795611",
+ "id": "ae0a8810.afc028",
"type": "call",
"name": "call instantiateRANSliceModifyAllocate-cps",
"xml": "<call module='ran-slice-api' rpc='instantiateRANSliceModifyAllocate-cps' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1720.929183959961,
- "y": 1145.5001220703125,
- "z": "10e7919c.99411e",
+ "x": 1664.179183959961,
+ "y": 1104.5001239776611,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "33def680.1ee92a"
+ "7f7eb2b.fdf5d4c"
]
]
},
{
- "id": "33def680.1ee92a",
+ "id": "7f7eb2b.fdf5d4c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1991.2144298553467,
- "y": 1146.5000534057617,
- "z": "10e7919c.99411e",
+ "x": 1934.4644298553467,
+ "y": 1105.5000553131104,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "c1aa85c5.05aff8"
+ "a1a6a811.1598f8"
]
]
},
{
- "id": "c1aa85c5.05aff8",
+ "id": "a1a6a811.1598f8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
"comments": "",
- "x": 2159.7858963012695,
- "y": 1146.1786012649536,
- "z": "10e7919c.99411e",
+ "x": 2103.0358963012695,
+ "y": 1105.1786031723022,
+ "z": "f9d3d04a.3c65",
"wires": []
},
{
- "id": "6021ff25.4bc92",
+ "id": "c8c0e2dd.5b24e",
"type": "outcome",
"name": "modify-allocate",
"xml": "<outcome value='modify-allocate'>",
"comments": "",
"outputs": 1,
- "x": 1231.500144958496,
- "y": 1147.7502555847168,
- "z": "10e7919c.99411e",
+ "x": 1174.750144958496,
+ "y": 1106.7502574920654,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "99140271.a53c9"
+ "68fddc03.ce46b4"
]
]
},
{
- "id": "99140271.a53c9",
+ "id": "68fddc03.ce46b4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1443.5003185272217,
- "y": 1147.7501683235168,
- "z": "10e7919c.99411e",
+ "x": 1386.7503185272217,
+ "y": 1106.7501702308655,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "1017cf13.795611",
- "1c605b41.1f8055"
+ "ae0a8810.afc028",
+ "3c7fdccf.25e304"
]
]
},
{
- "id": "3ae0261c.6951ea",
+ "id": "a393354.fe81dc8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1453,
- "y": 1265.75,
- "z": "10e7919c.99411e",
+ "x": 1393.25,
+ "y": 1228.75,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "143c85f9.fcdf6a",
- "d2545a71.9868f8"
+ "35ed7ed2.b66562",
+ "57224a6c.760664"
]
]
},
{
- "id": "d2545a71.9868f8",
+ "id": "57224a6c.760664",
"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 instantiateRANSliceModifyAllocate-CPS \"/>",
"comments": "",
"outputs": 1,
- "x": 1644.749891281128,
- "y": 1208.7498993873596,
- "z": "10e7919c.99411e",
+ "x": 1587.999891281128,
+ "y": 1167.7499012947083,
+ "z": "f9d3d04a.3c65",
"wires": [
[]
]
},
{
- "id": "143c85f9.fcdf6a",
+ "id": "35ed7ed2.b66562",
"type": "call",
"name": "call instantiateRANSliceModifyAllocate-cps",
"xml": "<call module='ran-slice-api' rpc='terminateRANSliceInstance-cps' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1730.4288654327393,
- "y": 1263.4999537467957,
- "z": "10e7919c.99411e",
+ "x": 1673.6788654327393,
+ "y": 1222.4999556541443,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "488c511e.814ef"
+ "e988a316.a5c4e"
]
]
},
{
- "id": "488c511e.814ef",
+ "id": "e988a316.a5c4e",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2000.714111328125,
- "y": 1264.4998850822449,
- "z": "10e7919c.99411e",
+ "x": 1943.964111328125,
+ "y": 1223.4998869895935,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "e629bb75.4c59f8"
+ "29f59beb.f65aa4"
]
]
},
{
- "id": "e629bb75.4c59f8",
+ "id": "29f59beb.f65aa4",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
"comments": "",
- "x": 2169.285577774048,
- "y": 1264.1784329414368,
- "z": "10e7919c.99411e",
+ "x": 2112.535577774048,
+ "y": 1223.1784348487854,
+ "z": "f9d3d04a.3c65",
"wires": []
},
{
- "id": "d27c26f9.e0bbc8",
+ "id": "44e41709.edbb68",
"type": "outcome",
"name": "modify-allocate",
"xml": "<outcome value='modify-deallocate'>",
"comments": "",
"outputs": 1,
- "x": 1233.0000076293945,
- "y": 1268.7500085830688,
- "z": "10e7919c.99411e",
+ "x": 1176.2500076293945,
+ "y": 1227.7500104904175,
+ "z": "f9d3d04a.3c65",
"wires": [
[
- "3ae0261c.6951ea"
+ "a393354.fe81dc8"
]
]
+ },
+ {
+ "id": "ae5c8c29.c4bdb",
+ "type": "outcome",
+ "name": "reconfigure",
+ "xml": "<outcome value='reconfigure'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1170,
+ "y": 1338,
+ "z": "f9d3d04a.3c65",
+ "wires": [
+ [
+ "38f25902.34b756"
+ ]
+ ]
+ },
+ {
+ "id": "38f25902.34b756",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1392.7395477294922,
+ "y": 1355.8506660461426,
+ "z": "f9d3d04a.3c65",
+ "wires": [
+ [
+ "ed9c90f6.76807",
+ "e9652107.897be"
+ ]
+ ]
+ },
+ {
+ "id": "ed9c90f6.76807",
+ "type": "call",
+ "name": "call instantiateRANSliceReconfigure-cps",
+ "xml": "<call module='ran-slice-api' rpc='instantiateRANSliceReconfigure-cps' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1685.7394714355469,
+ "y": 1355.457724571228,
+ "z": "f9d3d04a.3c65",
+ "wires": [
+ [
+ "2d10f5f1.cf9c1a"
+ ]
+ ]
+ },
+ {
+ "id": "2d10f5f1.cf9c1a",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1942.0251960754395,
+ "y": 1355.4577503204346,
+ "z": "f9d3d04a.3c65",
+ "wires": [
+ [
+ "47cc910f.395bf"
+ ]
+ ]
+ },
+ {
+ "id": "47cc910f.395bf",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
+ "comments": "",
+ "x": 2110.59663772583,
+ "y": 1355.1362953186035,
+ "z": "f9d3d04a.3c65",
+ "wires": []
+ },
+ {
+ "id": "e9652107.897be",
+ "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 instantiateRANSliceReconfigure-cps \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1596.918098449707,
+ "y": 1305.4220180511475,
+ "z": "f9d3d04a.3c65",
+ "wires": [
+ []
+ ]
}
-] \ No newline at end of file
+]
diff --git a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceReconfigure-cps.json b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceReconfigure-cps.json
new file mode 100644
index 00000000..07fea53d
--- /dev/null
+++ b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceReconfigure-cps.json
@@ -0,0 +1,3891 @@
+[
+ {
+ "id": "9f061b81.5ee4f8",
+ "type": "method",
+ "name": "method",
+ "xml": "<method rpc='instantiateRANSliceReconfigure-cps' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 332.6666946411133,
+ "y": 244.0000286102295,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "482ddcd8.26f684"
+ ]
+ ]
+ },
+ {
+ "id": "1bd8c394.29fc0c",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 129.66665649414062,
+ "y": 133,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "308c4369.7525dc"
+ ]
+ ]
+ },
+ {
+ "id": "308c4369.7525dc",
+ "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": 375.6666259765625,
+ "y": 134.00008296966553,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "9f061b81.5ee4f8"
+ ]
+ ]
+ },
+ {
+ "id": "bd9cb92d.d2bc28",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n<parameter name=\"ack-final\" value=\"N\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"SUCCESSFUL Execution\" />",
+ "comments": "",
+ "x": 327.1562805175781,
+ "y": 2170.0003147125244,
+ "z": "4d7c5b65.634a04",
+ "wires": []
+ },
+ {
+ "id": "9e06e626.8eae98",
+ "type": "comment",
+ "name": "instantiateRANSliceReconfigure-cps",
+ "info": "",
+ "comments": "",
+ "x": 426.6666564941406,
+ "y": 45.010406494140625,
+ "z": "4d7c5b65.634a04",
+ "wires": []
+ },
+ {
+ "id": "482ddcd8.26f684",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 236.6666259765625,
+ "y": 351.0104064941406,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "bd9cb92d.d2bc28",
+ "8d913069.84b02",
+ "c151b8d6.48dfa8",
+ "89979590.5ecd48"
+ ]
+ ]
+ },
+ {
+ "id": "45049f27.1a99",
+ "type": "execute",
+ "name": "add RRM Policy ToNRCellDU using PUT",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-add-RRMPolicyRatio-NRCellDU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.addRRMPolicyRatio.ToNRCellDU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"addRRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 4003.656562805176,
+ "y": 7772.020883321762,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "ac24d742.6eff88"
+ ]
+ ]
+ },
+ {
+ "id": "ac24d742.6eff88",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4340.656440734863,
+ "y": 7798.010385274887,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "6befcd06.33f3e4"
+ ]
+ ]
+ },
+ {
+ "id": "6befcd06.33f3e4",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4520.656196594238,
+ "y": 7795.010385274887,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "258c4dc5.68dca2"
+ ]
+ ]
+ },
+ {
+ "id": "258c4dc5.68dca2",
+ "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=\"addRRMPolicyRatio to NRCELLDU Executed Successfully \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 4669.656497955322,
+ "y": 7821.010577917099,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "89979590.5ecd48",
+ "type": "block",
+ "name": "SO Response",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 356.4166564941406,
+ "y": 2120.2646436691284,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "5b1e63ee.b0bcac",
+ "6a98c3e2.10f9dc",
+ "bd81bd27.c9df1",
+ "88fbf49.5fc7708"
+ ]
+ ]
+ },
+ {
+ "id": "5b1e63ee.b0bcac",
+ "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`\" />\n<parameter name='field7' value=\"`$tmp.CUCPList`\" />\n<parameter name='field8' value=\"`$tmp.CUUPList`\" />\n<parameter name='field9' value=\"`$tmp.DUList`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 758.6666488647461,
+ "y": 2238.0149450302124,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f6a80048.4c96f",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 896.6667251586914,
+ "y": 2301.014757156372,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "93970682.457ea8"
+ ]
+ ]
+ },
+ {
+ "id": "6ef55787.17d028",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 888.666618347168,
+ "y": 2374.0147075653076,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "bd8eb24b.e9c4b"
+ ]
+ ]
+ },
+ {
+ "id": "bd8eb24b.e9c4b",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1034.66646194458,
+ "y": 2379.0148162841797,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "613b4178.27a96"
+ ]
+ ]
+ },
+ {
+ "id": "93970682.457ea8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1045.6666259765625,
+ "y": 2297.014892578125,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "496858cf.9a8df8",
+ "f0b8a6f.cd94f58"
+ ]
+ ]
+ },
+ {
+ "id": "496858cf.9a8df8",
+ "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": 1214.666259765625,
+ "y": 2298.0146484375,
+ "z": "4d7c5b65.634a04",
+ "wires": []
+ },
+ {
+ "id": "613b4178.27a96",
+ "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/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1215.6663818359375,
+ "y": 2383.0146484375,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "53f6cef7.f7902",
+ "type": "block",
+ "name": "block : SO Response",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4019.1577529907227,
+ "y": 1238.010576248169,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "6f3a42bc.806e4c",
+ "b0ee0118.94385",
+ "fc4a3247.3ff21"
+ ]
+ ]
+ },
+ {
+ "id": "6f3a42bc.806e4c",
+ "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=\"`$instantiateRANSlice-input.common-header.request-id`\"/>\n<parameter name=\"tmp.action\" value=\"`$instantiateRANSlice-input.action`\"/>\n",
+ "comments": "",
+ "x": 4304.159042358398,
+ "y": 1041.9102840423584,
+ "z": "4d7c5b65.634a04",
+ "wires": []
+ },
+ {
+ "id": "b0ee0118.94385",
+ "type": "record",
+ "name": "record configdb RestAPI parms",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/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`\" />\n<parameter name='field7' value=\"`$tmp.CUCPList`\" />\n<parameter name='field8' value=\"`$tmp.CUUPList`\" />\n<parameter name='field9' value=\"`$tmp.DUList`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 4319.157730102539,
+ "y": 1135.0109539031982,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fc4a3247.3ff21",
+ "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-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='*/*' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 4283.157737731934,
+ "y": 1258.010793685913,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "382852e9.e0675e",
+ "7b78f57e.ba76dc"
+ ]
+ ]
+ },
+ {
+ "id": "382852e9.e0675e",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4491.157357215881,
+ "y": 1258.0107421875,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "3afb94d4.66d62c"
+ ]
+ ]
+ },
+ {
+ "id": "7b78f57e.ba76dc",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4491.1572265625,
+ "y": 1322.0107421875,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "2853a0d6.ddfa4"
+ ]
+ ]
+ },
+ {
+ "id": "2853a0d6.ddfa4",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4637.1572265625,
+ "y": 1321.0107421875,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "21499006.1b3cc"
+ ]
+ ]
+ },
+ {
+ "id": "3afb94d4.66d62c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4642.1572265625,
+ "y": 1258.0108642578125,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "192c5617.efaa3a"
+ ]
+ ]
+ },
+ {
+ "id": "192c5617.efaa3a",
+ "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": 4804.15673828125,
+ "y": 1258.0107421875,
+ "z": "4d7c5b65.634a04",
+ "wires": []
+ },
+ {
+ "id": "21499006.1b3cc",
+ "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/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 4803.1572265625,
+ "y": 1320.0107421875,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f0b8a6f.cd94f58",
+ "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": 1206.1768798828125,
+ "y": 2256.004150390625,
+ "z": "4d7c5b65.634a04",
+ "wires": []
+ },
+ {
+ "id": "bd81bd27.c9df1",
+ "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": 781.0062713623047,
+ "y": 2174.000099182129,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "499f16d.22a49e8",
+ "type": "failure",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 749.6668701171875,
+ "y": 397.0000915527344,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "dea0e37d.325bd"
+ ]
+ ]
+ },
+ {
+ "id": "8d913069.84b02",
+ "type": "execute",
+ "name": "payload has dLThptPerSlice",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n <parameter name='source' value='`$instantiate-r-a-n-slice-input.payload`' />\n <parameter name='target' value='dLThptPerSlice' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 517.666748046875,
+ "y": 396.00006103515625,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "499f16d.22a49e8",
+ "ecb7f4cb.922ad8"
+ ]
+ ]
+ },
+ {
+ "id": "ecb7f4cb.922ad8",
+ "type": "failure",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 758.1733093261719,
+ "y": 503.000244140625,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "dd70b949.f841b8"
+ ]
+ ]
+ },
+ {
+ "id": "8c9f59db.e6bc48",
+ "type": "failure",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 744.6670532226562,
+ "y": 1994.000244140625,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "a73abfea.631e"
+ ]
+ ]
+ },
+ {
+ "id": "dea0e37d.325bd",
+ "type": "block",
+ "name": "Closed Loop",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 766.6668701171875,
+ "y": 124.00006103515625,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "aac735a1.6f54e8",
+ "b917faf1.f2ac38"
+ ]
+ ]
+ },
+ {
+ "id": "a73abfea.631e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 931.6669502258301,
+ "y": 1994.0001430511475,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "93c0ef.485c1f1",
+ "cc9c3169.e8025",
+ "bf442461.925f88",
+ "8142a0c0.4e5e5"
+ ]
+ ]
+ },
+ {
+ "id": "dd70b949.f841b8",
+ "type": "execute",
+ "name": "Intelligent Slicing",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n <parameter name='source' value='`$instantiate-r-a-n-slice-input.payload`' />\n <parameter name='target' value='maxNumberofConns' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 551.6671142578125,
+ "y": 1993.000244140625,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "8c9f59db.e6bc48"
+ ]
+ ]
+ },
+ {
+ "id": "aac735a1.6f54e8",
+ "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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PAYLOAD contains dLThptPerSlice...Closed loop \"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 971.6666870117188,
+ "y": 124.00004577636719,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "93c0ef.485c1f1",
+ "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/intelligentSlicing.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PAYLOAD contains maxNumberofConns...Inntelligent Slicing \"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1169.6671142578125,
+ "y": 1873.000244140625,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c151b8d6.48dfa8",
+ "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=\"Reached instantiateRANSliceReconfigure \"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 450.6666564941406,
+ "y": 351.0000238418579,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b917faf1.f2ac38",
+ "type": "block",
+ "name": "NearRTRIC",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 986.67724609375,
+ "y": 174.01046752929688,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "469ed456.870fcc",
+ "f59dcce9.2395c"
+ ]
+ ]
+ },
+ {
+ "id": "cc9c3169.e8025",
+ "type": "block",
+ "name": "CUCP",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1159.6774559020996,
+ "y": 1993.0104579925537,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "7dfe3937.33ca78",
+ "2f0d0bdc.3fe284"
+ ]
+ ]
+ },
+ {
+ "id": "a18381a8.6f5e",
+ "type": "execute",
+ "name": "Update slice profile for nearRTRIC",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-closed-loop-nearRTRIC-patch.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.restapi.addSliceProfile.ToNearRTRIC.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=\"nearRTRIC-slice-patch-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/yang.patch-status+json' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1605.5662460327148,
+ "y": 603.0106582641602,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "46b71058.0a755",
+ "2d1f14dd.9f8d4c"
+ ]
+ ]
+ },
+ {
+ "id": "46b71058.0a755",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1904.5667457580566,
+ "y": 604.0002002716064,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "86e0f783.5c44b8"
+ ]
+ ]
+ },
+ {
+ "id": "2d1f14dd.9f8d4c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1902.566749572754,
+ "y": 690.9999589920044,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "ed74cc8d.297f4"
+ ]
+ ]
+ },
+ {
+ "id": "86e0f783.5c44b8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2063.5668716430664,
+ "y": 603.0000762939453,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "7680b50c.0d0cfc",
+ "b5b9a8ee.178b08",
+ "53f6cef7.f7902"
+ ]
+ ]
+ },
+ {
+ "id": "ed74cc8d.297f4",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2075.566547393799,
+ "y": 690.0001621246338,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "d60e382a.987ab8",
+ "59e28a75.507424"
+ ]
+ ]
+ },
+ {
+ "id": "606dc018.93301",
+ "type": "block",
+ "name": "Update SiceProfile for NeaeRTRIC",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1271.666748046875,
+ "y": 473.74481201171875,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "95120f6f.d2c67",
+ "d9f440c.e5360c",
+ "322b057f.3273da",
+ "a18381a8.6f5e"
+ ]
+ ]
+ },
+ {
+ "id": "322b057f.3273da",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1567.6669921875,
+ "y": 390.4010314941406,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "27589ceb.1588b4",
+ "2f3eb675.6b0bea"
+ ]
+ ]
+ },
+ {
+ "id": "27589ceb.1588b4",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1807.6669921875,
+ "y": 389.4008483886719,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "99e5f9ee.5c06c8"
+ ]
+ ]
+ },
+ {
+ "id": "2f3eb675.6b0bea",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1798.6671142578125,
+ "y": 452.40093994140625,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "1a995263.b3b8ee"
+ ]
+ ]
+ },
+ {
+ "id": "d9f440c.e5360c",
+ "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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Patch SliceProfile ToNearRTRIC url for closed loop:\"/>\n<parameter name=\"field2\" value=\"`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1535.6673583984375,
+ "y": 432.7449951171875,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "95120f6f.d2c67",
+ "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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for PATCH SliceProfile ToNearRTRIC - closed loop\"/>\n<parameter name=\"field2\" value=\"`$prop.controller.url + $tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.dLThptPerSlice`\"/>\n<parameter name=\"field4\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field5\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field6\" value=\"`$tmp.sliceProfileId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1535.66796875,
+ "y": 482.734375,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "709901d0.b774a",
+ "type": "execute",
+ "name": "Populate MOUNT NAME",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addSliceProfile.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2326.2021484375,
+ "y": 556.0000610351562,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5b676f7e.7cbec",
+ "type": "execute",
+ "name": "Populate addSliceProfile.ToNearRTRIC URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addSliceProfile.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{sliceProfileId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.sliceProfileId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2385.736572265625,
+ "y": 513.5990905761719,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1a995263.b3b8ee",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2030.65673828125,
+ "y": 452.4009094238281,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "5dbd3439.28967c",
+ "5b676f7e.7cbec",
+ "709901d0.b774a"
+ ]
+ ]
+ },
+ {
+ "id": "5dbd3439.28967c",
+ "type": "execute",
+ "name": "generate addSliceProfile.ToNearRTRIC URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addSliceProfile.ToNearRTRIC.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addSliceProfile.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2383.201416015625,
+ "y": 475.00030517578125,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "77ebd462.27379c",
+ "type": "execute",
+ "name": "Populate addSliceProfile.ToNearRTRIC URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addSliceProfile.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{sliceProfileId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.sliceProfileId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2381.20166015625,
+ "y": 434.0001525878906,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "18f4ec66.2b3d24",
+ "type": "execute",
+ "name": "generate addSliceProfile.ToNearRTRIC URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addSliceProfile.ToNearRTRIC`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addSliceProfile.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2380.6669921875,
+ "y": 390.4011535644531,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "99e5f9ee.5c06c8",
+ "type": "block",
+ "name": "URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2027.8685302734375,
+ "y": 389.0000305175781,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "18f4ec66.2b3d24",
+ "77ebd462.27379c"
+ ]
+ ]
+ },
+ {
+ "id": "f59dcce9.2395c",
+ "type": "set",
+ "name": "set Temp Variables",
+ "xml": "<set>\n<parameter name='tmp.payload.numberUpdates' value='`$payloadJson.input.additionalproperties.resourceConfig.data_length`'/>\n<parameter name=\"tmp.sliceProfileId\" value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\"/>\n<parameter name='tmp.payload.sNSSAI' value='`$payloadJson.input.sliceProfile.sNSSAI`'/>",
+ "comments": "",
+ "x": 1172.670654296875,
+ "y": 69.00393676757812,
+ "z": "4d7c5b65.634a04",
+ "wires": []
+ },
+ {
+ "id": "469ed456.870fcc",
+ "type": "for",
+ "name": "For Number of patches",
+ "xml": "<for index='id1' start='0' end=\"`$tmp.payload.numberUpdates`\" >",
+ "comments": "",
+ "outputs": 1,
+ "x": 1021.670654296875,
+ "y": 274.0039367675781,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "606dc018.93301",
+ "b5dfde0e.035e6",
+ "b390b1db.dbb11",
+ "2f0d0bdc.3fe284",
+ "a837a263.556b8",
+ "9071a476.518048"
+ ]
+ ]
+ },
+ {
+ "id": "b5dfde0e.035e6",
+ "type": "set",
+ "name": "set Temp Variables",
+ "xml": "<set>\n<parameter name=\"tmp.dLThptPerSlice\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.data[$id1].dLThptPerSlice`\"/>\n<parameter name=\"tmp.uLThptPerSlice\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.data[$id1].uLThptPerSlice`\"/>\n<parameter name=\"tmp.nearRTRICId\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.data[$id1].nearRTRICId`\"/>",
+ "comments": "",
+ "x": 1309.1217041015625,
+ "y": 159.01048278808594,
+ "z": "4d7c5b65.634a04",
+ "wires": []
+ },
+ {
+ "id": "7680b50c.0d0cfc",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Patching slice profile parms for close loop. Exiting close loop operation'/>",
+ "comments": "",
+ "x": 2274.1218910217285,
+ "y": 604.0104541778564,
+ "z": "4d7c5b65.634a04",
+ "wires": []
+ },
+ {
+ "id": "b5b9a8ee.178b08",
+ "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 slice profile parms for close loop. Exiting close loop operation'/>",
+ "comments": "",
+ "x": 2297.121894836426,
+ "y": 643.8995742797852,
+ "z": "4d7c5b65.634a04",
+ "wires": []
+ },
+ {
+ "id": "d60e382a.987ab8",
+ "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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully PATCHED NearRTRIC for close loop operation\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2279.121726989746,
+ "y": 689.8995361328125,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "59e28a75.507424",
+ "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-closedloop-nearRTRIC-context.log' />\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2294.8998794555664,
+ "y": 740.8994579315186,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bf442461.925f88",
+ "type": "set",
+ "name": "set Temp Variables",
+ "xml": "<set>\n<parameter name='tmp.payload.dataPoints' value='`$payloadJson.input.additionalproperties.resourceConfig.data_length`'/>\n<parameter name=\"tmp.payload.sNSSAI\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.snssai`\"/>\n<parameter name=\"tmp.sliceProfileId\" value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\"/>",
+ "comments": "",
+ "x": 1202.7886962890625,
+ "y": 1908.8994140625,
+ "z": "4d7c5b65.634a04",
+ "wires": []
+ },
+ {
+ "id": "7dfe3937.33ca78",
+ "type": "for",
+ "name": "For Number of data Points",
+ "xml": "<for index='id-is' start='0' end=\"`$tmp.payload.dataPoints`\" >",
+ "comments": "",
+ "outputs": 1,
+ "x": 1386.7882080078125,
+ "y": 2139.8994140625,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "56d2328.ebe75cc"
+ ]
+ ]
+ },
+ {
+ "id": "2f0d0bdc.3fe284",
+ "type": "block",
+ "name": "get PLMNId",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1184.4167785644531,
+ "y": 919.7501668930054,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "fdccd5c2.f62b28",
+ "e432dc1.4df992",
+ "2376f7a2.cf75c8",
+ "5c0646e3.0b0dd8",
+ "c6230172.e0fc3",
+ "ec44d6b8.c095e8",
+ "2c66b2a5.586b9e"
+ ]
+ ]
+ },
+ {
+ "id": "b390b1db.dbb11",
+ "type": "block",
+ "name": "Update NearRTRIC Config",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1112.1666870117188,
+ "y": 1510.5,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "3e21d260.0305ae",
+ "99f61b3f.7c9258",
+ "4fcdfd93.2b2e94",
+ "8c7da0b4.ffdc8",
+ "b50c2ced.c3143",
+ "8dd65b69.c1c0e8",
+ "24ce1a1c.0c4dc6"
+ ]
+ ]
+ },
+ {
+ "id": "6a98c3e2.10f9dc",
+ "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=\"`$instantiate-r-a-n-slice-input.common-header.request-id `\"/>\n<parameter name=\"tmp.action\" value=\"`$instantiate-r-a-n-slice-input.action`\"/>\n",
+ "comments": "",
+ "x": 791.3541717529297,
+ "y": 2122.625093460083,
+ "z": "4d7c5b65.634a04",
+ "wires": []
+ },
+ {
+ "id": "88fbf49.5fc7708",
+ "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-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": 732.8541488647461,
+ "y": 2332.375202178955,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "f6a80048.4c96f",
+ "6ef55787.17d028"
+ ]
+ ]
+ },
+ {
+ "id": "3332b0a3.18c75",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2055.416748046875,
+ "y": 2063,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "9fe8a854.d9ada8"
+ ]
+ ]
+ },
+ {
+ "id": "6e6bdcac.3f3144",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2042.4168014526367,
+ "y": 2108.0001702308655,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "dbbfe50d.f18f78"
+ ]
+ ]
+ },
+ {
+ "id": "dbbfe50d.f18f78",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2226.4066162109375,
+ "y": 2109.000244140625,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "c9d85598.6f2108",
+ "4a5f9e34.0c641"
+ ]
+ ]
+ },
+ {
+ "id": "9fe8a854.d9ada8",
+ "type": "block",
+ "name": "URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2210.6182861328125,
+ "y": 2062.59912109375,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "9a2c83bd.5dad5"
+ ]
+ ]
+ },
+ {
+ "id": "9a2c83bd.5dad5",
+ "type": "execute",
+ "name": "generate addnSSAIEntry.ToNearRTRIC URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addnSSAIEntry.ToNearRTRIC`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2484.416748046875,
+ "y": 2062.00048828125,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c9d85598.6f2108",
+ "type": "execute",
+ "name": "generate addnSSAIEntry.ToNearRTRIC URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addnSSAIEntry.ToNearRTRIC.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2536.951177597046,
+ "y": 2109.599466353655,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4a5f9e34.0c641",
+ "type": "execute",
+ "name": "Populate MOUNT NAME",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2481.95166015625,
+ "y": 2150.59912109375,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "afec3a59.277408",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1859.416748046875,
+ "y": 2064,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "3332b0a3.18c75",
+ "6e6bdcac.3f3144"
+ ]
+ ]
+ },
+ {
+ "id": "c077a64b.c869f8",
+ "type": "execute",
+ "name": "prepare mcc",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1849.416748046875,
+ "y": 2103,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "56e26473.9cbccc",
+ "type": "execute",
+ "name": "prepare mnc",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1849.916748046875,
+ "y": 2143,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "56d2328.ebe75cc",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1606.4166259765625,
+ "y": 2142,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "afec3a59.277408",
+ "c077a64b.c869f8",
+ "56e26473.9cbccc",
+ "bb174bd1.753338",
+ "ec554766.4f8778",
+ "8381dddd.a8978",
+ "f47c2242.987ea"
+ ]
+ ]
+ },
+ {
+ "id": "bb174bd1.753338",
+ "type": "for",
+ "name": "For Number of cells",
+ "xml": "<for index='id2' start='0' end=\"`$tmp.CUCellListEntries`\" >",
+ "comments": "",
+ "outputs": 1,
+ "x": 1865.6668701171875,
+ "y": 2253,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "80b017d0.e3d138"
+ ]
+ ]
+ },
+ {
+ "id": "d39528dc.0aa948",
+ "type": "execute",
+ "name": "cellLocalId",
+ "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=\"`'payloadJson.input.additionalproperties.resourceConfig.data['+$id-is+'].cellCUList['+$id2+'].cellLocalId'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2292.916748046875,
+ "y": 2200.500244140625,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "80b017d0.e3d138",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 2068.4166259765625,
+ "y": 2253,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "d39528dc.0aa948",
+ "99d3e596.541268",
+ "a8b88564.0e3ed8",
+ "56bbe873.87ce18",
+ "a9da99d0.023b68"
+ ]
+ ]
+ },
+ {
+ "id": "99d3e596.541268",
+ "type": "execute",
+ "name": "predictedMaxNumberofConns",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.predictedMaxNumberofConns' />\n\t<parameter name='source' value=\"`'payloadJson.input.additionalproperties.resourceConfig.data['+$id-is+'].cellCUList['+$id2+'].configData.predictedMaxNumberofConns'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2349.1666259765625,
+ "y": 2307.500244140625,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a8b88564.0e3ed8",
+ "type": "execute",
+ "name": "patch NearRTRIC - config",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-closed-loop-nearRTRIC-config-patch.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.restapi.addnSSAIEntry.ToNearRTRIC.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=\"patch-nearRTRIC-config-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": 2332.9166259765625,
+ "y": 2379,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "24363a2b.964e46",
+ "bb57c66f.f72708"
+ ]
+ ]
+ },
+ {
+ "id": "24363a2b.964e46",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2553.416748046875,
+ "y": 2379.25,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "c6c44ad.b771bb8"
+ ]
+ ]
+ },
+ {
+ "id": "bb57c66f.f72708",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2549.9794921875,
+ "y": 2415.8125,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "e15a40fc.968c"
+ ]
+ ]
+ },
+ {
+ "id": "e15a40fc.968c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2706.979248046875,
+ "y": 2415.8125,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "c203d45e.a94948",
+ "af399e.80ed966",
+ "53f6cef7.f7902"
+ ]
+ ]
+ },
+ {
+ "id": "c6c44ad.b771bb8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2729.41650390625,
+ "y": 2379.25,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "de0a2639.6f4b28"
+ ]
+ ]
+ },
+ {
+ "id": "c203d45e.a94948",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2922.979248046875,
+ "y": 2451.8125,
+ "z": "4d7c5b65.634a04",
+ "wires": []
+ },
+ {
+ "id": "af399e.80ed966",
+ "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": 2903.979736328125,
+ "y": 2415.923583984375,
+ "z": "4d7c5b65.634a04",
+ "wires": []
+ },
+ {
+ "id": "de0a2639.6f4b28",
+ "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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully patched NearRTRIC configuration\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2904.166259765625,
+ "y": 2380.000244140625,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8142a0c0.4e5e5",
+ "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/intelligentSlicing.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Data length \"/>\n<parameter name=\"field2\" value=\"`$tmp.payload.dataPoints`\"/>\n\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1165.1666259765625,
+ "y": 1951.9998779296875,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ec554766.4f8778",
+ "type": "execute",
+ "name": "CUCellListEntries",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCellListEntries' />\n\t<parameter name='source' value=\"`'payloadJson.input.additionalproperties.resourceConfig.data['+$id-is+'].cellCUList_length'`\" />\n\t",
+ "comments": "",
+ "outputs": 1,
+ "x": 1861.6666259765625,
+ "y": 2179.25,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8381dddd.a8978",
+ "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/intelligentSlicing.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CUCEll List length \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUCellListEntries`\"/>\n\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1827.6666259765625,
+ "y": 2217.25,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "56bbe873.87ce18",
+ "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/intelligentSlicing.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"cellLocalId\"/>\n<parameter name=\"field2\" value=\"`$tmp.cellLocalId`\"/>\n\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2278.4168701171875,
+ "y": 2342.75,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f47c2242.987ea",
+ "type": "set",
+ "name": "set Temp Variables",
+ "xml": "<set>\n<parameter name=\"tmp.nearRTRICId\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.data[$id-is].nearRTRICId`\"/>",
+ "comments": "",
+ "x": 1869.1666259765625,
+ "y": 2027.5,
+ "z": "4d7c5b65.634a04",
+ "wires": []
+ },
+ {
+ "id": "3093a6b1.44582a",
+ "type": "set",
+ "name": "append configParam",
+ "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=\"`$tmp.cellLocalId`+'-maxNumberofConns'\" />",
+ "comments": "",
+ "x": 2323.9791259765625,
+ "y": 2271.625,
+ "z": "4d7c5b65.634a04",
+ "wires": []
+ },
+ {
+ "id": "a9da99d0.023b68",
+ "type": "execute",
+ "name": "append configParam",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='concat'>\n <parameter name=\"source\" value=\"`$tmp.cellLocalId`\" />\n <parameter name=\"target\" value=\"-maxNumberofConns\"/>\n <parameter name=\"outputPath\" value=\"tmp.cellLocalId\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2321.916748046875,
+ "y": 2235.75,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a837a263.556b8",
+ "type": "switchNode",
+ "name": "check nearrtric",
+ "xml": "<switch test='`$tmp.nearRTRICId == 11 `'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1297.0667724609375,
+ "y": 215,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "ee6e09df.17f748",
+ "44ef0006.28225"
+ ]
+ ]
+ },
+ {
+ "id": "ee6e09df.17f748",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1526.2669677734375,
+ "y": 34.000003814697266,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "29f7310a.05b4de"
+ ]
+ ]
+ },
+ {
+ "id": "44ef0006.28225",
+ "type": "outcome",
+ "name": "False",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1525.066650390625,
+ "y": 145,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "6a8e5244.2ed45c"
+ ]
+ ]
+ },
+ {
+ "id": "9071a476.518048",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1295.066650390625,
+ "y": 271,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "c8208c39.b463b"
+ ]
+ ]
+ },
+ {
+ "id": "c8208c39.b463b",
+ "type": "execute",
+ "name": "check policytype",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.policytype.url`\"/>\n<parameter name='format' value='json' />\n<parameter name='httpMethod' value='GET' />\n<parameter name='contentType' value='application/json' />\n<parameter name='responsePrefix' value='get-policytypes-responsse' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1550.666748046875,
+ "y": 276,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "1c68fa89.5794b5",
+ "67b1fe4a.998a"
+ ]
+ ]
+ },
+ {
+ "id": "1c68fa89.5794b5",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1756.6668701171875,
+ "y": 215,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "8d49bba.3039b48"
+ ]
+ ]
+ },
+ {
+ "id": "8d49bba.3039b48",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2050.6669921875,
+ "y": 212.56729125976562,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "4a65dabe.68fdc4",
+ "9831832b.09cf5",
+ "652eb8b4.5e5758",
+ "b608e3ec.3ad0a"
+ ]
+ ]
+ },
+ {
+ "id": "4a65dabe.68fdc4",
+ "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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"policy types length \"/>\n<parameter name=\"field2\" value=\"`$tmp.policytypelength`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2367.6669921875,
+ "y": 90.5672836303711,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "67b1fe4a.998a",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1754.6666259765625,
+ "y": 273.5673522949219,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "a99e6308.eb03b"
+ ]
+ ]
+ },
+ {
+ "id": "a99e6308.eb03b",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2049.6666259765625,
+ "y": 270.5673522949219,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "a4fee6d5.fd3a68"
+ ]
+ ]
+ },
+ {
+ "id": "a4fee6d5.fd3a68",
+ "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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"req error \"/>\n<parameter name=\"field2\" value=\"Failure\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2248.66650390625,
+ "y": 269.5673522949219,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9831832b.09cf5",
+ "type": "execute",
+ "name": "getpolicylength",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.policytypelength' />\n\t<parameter name='source' value=\"`'get-policytypes-responsse._length'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2392.3564453125,
+ "y": 38,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "652eb8b4.5e5758",
+ "type": "switchNode",
+ "name": "check the action",
+ "xml": "<switch test='`$tmp.policytypelength > 0`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2398.6669921875,
+ "y": 149,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "b13e9298.92709",
+ "4ace453e.713c1c"
+ ]
+ ]
+ },
+ {
+ "id": "b13e9298.92709",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2653.266845703125,
+ "y": 97,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "3e49e38c.34499c"
+ ]
+ ]
+ },
+ {
+ "id": "4ace453e.713c1c",
+ "type": "outcome",
+ "name": "False",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2657.266845703125,
+ "y": 147,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "183652da.4b65ed"
+ ]
+ ]
+ },
+ {
+ "id": "3e49e38c.34499c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2861.266845703125,
+ "y": 96,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "b477f524.5c3698"
+ ]
+ ]
+ },
+ {
+ "id": "183652da.4b65ed",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2860.26708984375,
+ "y": 148,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "a29b2a1e.131ca8",
+ "38c0245d.21204c"
+ ]
+ ]
+ },
+ {
+ "id": "b477f524.5c3698",
+ "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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"policy type already exists \"/>\n<parameter name=\"field2\" value=\"SUCCESSFULL\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3047.266845703125,
+ "y": 96,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a29b2a1e.131ca8",
+ "type": "execute",
+ "name": "create policytype",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/A1policytype.json'`\" />\n<parameter name=\"restapiUrl\" value=\"https://10.31.4.11:30226/events/A1-P\"/>\n<parameter name='format' value='json' />\n<parameter name='httpMethod' value='POST' />\n<parameter name='contentType' value='application/json' />\n<parameter name='responsePrefix' value='dmaap' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3087.26708984375,
+ "y": 193,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "ca1434a0.d4db48"
+ ]
+ ]
+ },
+ {
+ "id": "38c0245d.21204c",
+ "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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"creating new policy \"/>\n<parameter name=\"field2\" value=\"SUCCESSFULL\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3052.067138671875,
+ "y": 147,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ca1434a0.d4db48",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3273.07763671875,
+ "y": 192.20010375976562,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "5b25ef14.6ec01"
+ ]
+ ]
+ },
+ {
+ "id": "18d541d4.e97b9e",
+ "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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Create policytype \"/>\n<parameter name=\"field2\" value=\"Succesfull\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3623.666748046875,
+ "y": 191,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5b25ef14.6ec01",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3434.666748046875,
+ "y": 191,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "18d541d4.e97b9e"
+ ]
+ ]
+ },
+ {
+ "id": "b608e3ec.3ad0a",
+ "type": "execute",
+ "name": "create policyinstance ",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/A1policyinstance.json'`\" />\n<parameter name=\"restapiUrl\" value=\"https://10.31.4.11:30226/events/A1-P\"/>\n<parameter name='format' value='json' />\n<parameter name='httpMethod' value='POST' />\n<parameter name='contentType' value='application/json' />\n<parameter name='responsePrefix' value='dmaap-res' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2412.86669921875,
+ "y": 210,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "62b5f7bc.ce57e8"
+ ]
+ ]
+ },
+ {
+ "id": "7378693d.36ae88",
+ "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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Create policyinstance \"/>\n<parameter name=\"field2\" value=\"Succesfull\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3069.2666015625,
+ "y": 253,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cfd54615.7b8778",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2871.266357421875,
+ "y": 211,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "7378693d.36ae88"
+ ]
+ ]
+ },
+ {
+ "id": "62b5f7bc.ce57e8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2664.26611328125,
+ "y": 211.199951171875,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "cfd54615.7b8778"
+ ]
+ ]
+ },
+ {
+ "id": "29f7310a.05b4de",
+ "type": "set",
+ "name": "set Temp Variables",
+ "xml": "<set>\n<parameter name='tmp.policytype.url' value='`$prop.a1.policytype.url.nearrtric11`'/>\n<parameter name=\"tmp.policyinstance.url\" value=\"`$prop.a1.policyinstance.url.nearrtric11`\"/>\n",
+ "comments": "",
+ "x": 1774.4666748046875,
+ "y": 32.999996185302734,
+ "z": "4d7c5b65.634a04",
+ "wires": []
+ },
+ {
+ "id": "6a8e5244.2ed45c",
+ "type": "set",
+ "name": "set Temp Variables",
+ "xml": "<set>\n<parameter name='tmp.policytype.url' value='`$prop.a1.policytype.url.nearrtric22`'/>\n<parameter name=\"tmp.policyinstance.url\" value=\"`$prop.a1.policyinstance.url.nearrtric22`\"/>\n",
+ "comments": "",
+ "x": 1763.4666748046875,
+ "y": 144,
+ "z": "4d7c5b65.634a04",
+ "wires": []
+ },
+ {
+ "id": "e77514ee.b9e588",
+ "type": "comment",
+ "name": "A1-adaptor simulators",
+ "info": "Currently have configured to support 2 near-rt-ric simulators.\nNear-rt-ric simulators has to be run separately and corresponding ip can be configured in the properties file",
+ "comments": "",
+ "x": 804.6666564941406,
+ "y": 35.99999713897705,
+ "z": "4d7c5b65.634a04",
+ "wires": []
+ },
+ {
+ "id": "fdccd5c2.f62b28",
+ "type": "execute",
+ "name": "getAnchors URL",
+ "xml": "<set>\n\t<parameter name='tmp.getAnchors.URL' value=\"`$prop.restapi.cps.anchors.endpoint`\"/>\n\t",
+ "comments": "",
+ "outputs": 1,
+ "x": 1462.3333740234375,
+ "y": 787.3333778381348,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e432dc1.4df992",
+ "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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL to fetch the anchors\"/>\n<parameter name=\"field2\" value=\"`$tmp.getAnchors.URL`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1430.5833740234375,
+ "y": 830.0833787918091,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2376f7a2.cf75c8",
+ "type": "execute",
+ "name": "Get list of anchors from CPS",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.getAnchors.URL`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"restapiUser\" value=\"cpsuser\" />\n<parameter name=\"restapiPassword\" value=\"cpsr0cks!\"/>\n<parameter name=\"responsePrefix\" value=\"get-anchors-cps-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": 1498.3889541625977,
+ "y": 874.2499656677246,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "e2c43f8b.794dd",
+ "b0c9797.521a888"
+ ]
+ ]
+ },
+ {
+ "id": "5c0646e3.0b0dd8",
+ "type": "execute",
+ "name": "set anchors size",
+ "xml": "<set>\n\t<parameter name='tmp.anchors.length' value=\"`$get-anchors-cps-response._length`\"/>\n\t",
+ "comments": "",
+ "outputs": 1,
+ "x": 1457.737995147705,
+ "y": 921.1542634963989,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c6230172.e0fc3",
+ "type": "execute",
+ "name": "initialize nearRTRIC size",
+ "xml": "<set>\n\t<parameter name='tmp.RIC.length' value=\"0\"/>\n\t",
+ "comments": "",
+ "outputs": 1,
+ "x": 1481.1854248046875,
+ "y": 970.8210124969482,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ec44d6b8.c095e8",
+ "type": "for",
+ "name": "For anchorsList",
+ "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1453.1852645874023,
+ "y": 1015.8611345291138,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "540f1da.0b193e4"
+ ]
+ ]
+ },
+ {
+ "id": "2c66b2a5.586b9e",
+ "type": "for",
+ "name": "For anchorsList",
+ "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1453.2012100219727,
+ "y": 1063.179027557373,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "11aaa3ed.4a924c"
+ ]
+ ]
+ },
+ {
+ "id": "b0c9797.521a888",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1753.6947021484375,
+ "y": 833.8888549804688,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "3b9f2e5f.af4d02"
+ ]
+ ]
+ },
+ {
+ "id": "e2c43f8b.794dd",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1754.6947021484375,
+ "y": 873.0833129882812,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "7cc3fcae.700414"
+ ]
+ ]
+ },
+ {
+ "id": "540f1da.0b193e4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1678.574104309082,
+ "y": 1016.3888845443726,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "b2a6435.8b0e5c",
+ "6da28c56.8f5794"
+ ]
+ ]
+ },
+ {
+ "id": "11aaa3ed.4a924c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1673.889045715332,
+ "y": 1066.3332452774048,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "f7ee7f22.d5598",
+ "a941c0ab.620a"
+ ]
+ ]
+ },
+ {
+ "id": "3b9f2e5f.af4d02",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1909.3890380859375,
+ "y": 833.5001831054688,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "563dd411.ce4bec",
+ "87f2b4f1.95cd08"
+ ]
+ ]
+ },
+ {
+ "id": "7cc3fcae.700414",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1929.138916015625,
+ "y": 873.7499389648438,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "c7360c2e.2ad2",
+ "ddff613a.99f4"
+ ]
+ ]
+ },
+ {
+ "id": "6da28c56.8f5794",
+ "type": "execute",
+ "name": "read schemaSet",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.schemaset.name' />\n\t<parameter name='source' value=\"`'get-anchors-cps-response.['+$anc+'].schemaSetName'`\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1902.2378463745117,
+ "y": 963.2931804656982,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b2a6435.8b0e5c",
+ "type": "switchNode",
+ "name": "check schemaSetName",
+ "xml": "<switch test='`$tmp.schemaset.name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1925.7223815917969,
+ "y": 1015.3888854980469,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "7d5e20cf.b122f"
+ ]
+ ]
+ },
+ {
+ "id": "f7ee7f22.d5598",
+ "type": "execute",
+ "name": "read schemaSet",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.schemaset.name' />\n\t<parameter name='source' value=\"`'get-anchors-cps-response.['+$anc+'].schemaSetName'`\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1905.5495338439941,
+ "y": 1070.5123624801636,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a941c0ab.620a",
+ "type": "switchNode",
+ "name": "check schemaSetName",
+ "xml": "<switch test='`$tmp.schemaset.name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1926.5215377807617,
+ "y": 1143.7623653411865,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "beea823c.d83c8"
+ ]
+ ]
+ },
+ {
+ "id": "563dd411.ce4bec",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2125.1665649414062,
+ "y": 796.3332138061523,
+ "z": "4d7c5b65.634a04",
+ "wires": []
+ },
+ {
+ "id": "87f2b4f1.95cd08",
+ "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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Failed to fetch anchors from CPS\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2123.972412109375,
+ "y": 832.8610229492188,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c7360c2e.2ad2",
+ "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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained anchors from CPS\"/>\n<parameter name=\"field2\" value=\"`$get-anchors-cps-response._length`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2127.888427734375,
+ "y": 873.9998779296875,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ddff613a.99f4",
+ "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-closedLoop-context.log' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2144.4166259765625,
+ "y": 916.7498779296875,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7d5e20cf.b122f",
+ "type": "outcome",
+ "name": "if ran-inventory",
+ "xml": "<outcome value='ran-inventory'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2142.0278930664062,
+ "y": 1015.8611354827881,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "29a681d4.fadf1e"
+ ]
+ ]
+ },
+ {
+ "id": "beea823c.d83c8",
+ "type": "outcome",
+ "name": "if ran-inventory",
+ "xml": "<outcome value='ran-inventory'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2149.3269653320312,
+ "y": 1144.234531402588,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "9d9e9816.080208"
+ ]
+ ]
+ },
+ {
+ "id": "29a681d4.fadf1e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2327.3301391601562,
+ "y": 1016.1943836212158,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "f3425f7f.85797",
+ "d160bcca.e09da"
+ ]
+ ]
+ },
+ {
+ "id": "9d9e9816.080208",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2350.462715148926,
+ "y": 1144.456699371338,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "f8577db4.f2c6d",
+ "eeb6c5cb.590e98"
+ ]
+ ]
+ },
+ {
+ "id": "d160bcca.e09da",
+ "type": "execute",
+ "name": "set nearRTRIC size",
+ "xml": "<set>\n\t<parameter name='tmp.RIC.length' value=\"`$tmp.RIC.length+1`\"/>\n\t",
+ "comments": "",
+ "outputs": 1,
+ "x": 2563.301338195801,
+ "y": 962.6789206266403,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f3425f7f.85797",
+ "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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Applicable RIC length\"/>\n<parameter name=\"field2\" value=\"`$tmp.RIC.length`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2520.243724822998,
+ "y": 1014.9998874664307,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f8577db4.f2c6d",
+ "type": "execute",
+ "name": "read anchorName",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.anchor.name' />\n\t<parameter name='source' value=\"`'get-anchors-cps-response.['+$anc+'].name'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2578.444496154785,
+ "y": 1094.1110763549805,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "eeb6c5cb.590e98",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2591.3894805908203,
+ "y": 1142.8332448005676,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "bd769a90.99e7c8",
+ "75163575.78825c",
+ "f5f59c7b.34b9c",
+ "705651e1.fb1af",
+ "4a4a3fa0.89175",
+ "5bfa480.41ee8b8",
+ "8bbc2989.076ef8",
+ "a048785c.f71c98",
+ "e652ad9b.67808",
+ "a000499.2be4cb8",
+ "874b4b23.cea4d8",
+ "72160438.6565fc"
+ ]
+ ]
+ },
+ {
+ "id": "874b4b23.cea4d8",
+ "type": "execute",
+ "name": "read sliceProfileId from input",
+ "xml": "<set>\n<parameter name='tmp.sliceprofileid' value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2941.999813079834,
+ "y": 916.9998564720154,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "72160438.6565fc",
+ "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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sliceprofileid from input\"/>\n<parameter name=\"field2\" value=\"`$tmp.sliceprofileid`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2869.999813079834,
+ "y": 953.9998564720154,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bd769a90.99e7c8",
+ "type": "execute",
+ "name": "generate plmnid URL cps",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getPLMNID.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2923.639030456543,
+ "y": 986.9832997322083,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "75163575.78825c",
+ "type": "execute",
+ "name": "prepare tbdmt template",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.getPLMNID.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getPLMNID.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.get-plmnid-mcc`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2920.639030456543,
+ "y": 1025.5832362174988,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f5f59c7b.34b9c",
+ "type": "record",
+ "name": "record TBDMT RestAPI params",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to Get plmnid from sliceprofile\"/>\n<parameter name='field2' value=\"`$tmp.cps.getPLMNID.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2945.638999938965,
+ "y": 1068.7833499908447,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "705651e1.fb1af",
+ "type": "execute",
+ "name": "Get pLMNIdmcc from sliceprofileID",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.getPLMNID.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-get-plmnid.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"getplmnmccid-cps-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": 2954.6393280029297,
+ "y": 1111.7832746505737,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "d8528e68.284ff",
+ "bcb36ade.065ef8"
+ ]
+ ]
+ },
+ {
+ "id": "4a4a3fa0.89175",
+ "type": "execute",
+ "name": "generate plmnid URL cps",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getPLMNMNCID.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2917.639015197754,
+ "y": 1154.9833045005798,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5bfa480.41ee8b8",
+ "type": "execute",
+ "name": "prepare tbdmt template",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.getPLMNMNCID.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getPLMNMNCID.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.get-plmnid-mnc`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2918.4390258789062,
+ "y": 1195.583240032196,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8bbc2989.076ef8",
+ "type": "record",
+ "name": "record TBDMT RestAPI params",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to Get plmnid from sliceprofile\"/>\n<parameter name='field2' value=\"`$tmp.cps.getPLMNMNCID.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2941.439022064209,
+ "y": 1233.7833037376404,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a048785c.f71c98",
+ "type": "execute",
+ "name": "Get pLMNIdmnc from sliceprofileID",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.getPLMNMNCID.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-get-plmnid.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"getplmnmncid-cps-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": 2949.438804626465,
+ "y": 1274.783281326294,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "c5be1942.f9e138",
+ "22fb40b8.c923f"
+ ]
+ ]
+ },
+ {
+ "id": "e652ad9b.67808",
+ "type": "set",
+ "name": "set mcc & mnc Variables",
+ "xml": "<set>\n<parameter name='tmp.mcc' value='`$tmp.plmn.mcc`'/>\n<parameter name='tmp.mnc' value='`$tmp.plmn.mnc`'/>",
+ "comments": "",
+ "x": 2916.099937438965,
+ "y": 1319.9501123428345,
+ "z": "4d7c5b65.634a04",
+ "wires": []
+ },
+ {
+ "id": "a000499.2be4cb8",
+ "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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"mcc,mnc values...\"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mnc`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2867.9723320007324,
+ "y": 1363.7923183441162,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d8528e68.284ff",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3242.4163551330566,
+ "y": 1029.69424533844,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "377995a1.42065a"
+ ]
+ ]
+ },
+ {
+ "id": "bcb36ade.065ef8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3247.638359069824,
+ "y": 1110.5832443237305,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "f6a6ebc6.51c148"
+ ]
+ ]
+ },
+ {
+ "id": "c5be1942.f9e138",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3246.638359069824,
+ "y": 1344.5831680297852,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "5478652b.fa7ecc"
+ ]
+ ]
+ },
+ {
+ "id": "22fb40b8.c923f",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3246.639335632324,
+ "y": 1278.5831680297852,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "1422f96e.e42af7"
+ ]
+ ]
+ },
+ {
+ "id": "377995a1.42065a",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 3419.638687133789,
+ "y": 1030.5830121040344,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "5b267180.de1b2",
+ "8f18659e.f69b78",
+ "bc687d8e.5d461",
+ "53f6cef7.f7902"
+ ]
+ ]
+ },
+ {
+ "id": "f6a6ebc6.51c148",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3417.527359008789,
+ "y": 1109.4719982147217,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "85dbd4de.56dc68",
+ "b0138cc8.abd22"
+ ]
+ ]
+ },
+ {
+ "id": "5478652b.fa7ecc",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 3404.6383628845215,
+ "y": 1345.5830764770508,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "74526283.bfee3c",
+ "c4866c85.64adf",
+ "53f6cef7.f7902"
+ ]
+ ]
+ },
+ {
+ "id": "1422f96e.e42af7",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3413.860855102539,
+ "y": 1279.3608283996582,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "3a7ac81f.3363c8",
+ "411e5f61.ee056"
+ ]
+ ]
+ },
+ {
+ "id": "8f18659e.f69b78",
+ "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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"UNSuccessfully Obtained MCC info from CPS\"/>\n<parameter name=\"field2\" value=\"`$cps-get-plmnid.json`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3603.3328704833984,
+ "y": 950.6667141914368,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5b267180.de1b2",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 3603.1941986083984,
+ "y": 901.4720511436462,
+ "z": "4d7c5b65.634a04",
+ "wires": []
+ },
+ {
+ "id": "b0138cc8.abd22",
+ "type": "execute",
+ "name": "read nearRTRICId-PLMN",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.plmn.mcc' />\n\t<parameter name='source' value=\"`'getplmnmccid-cps-response.[0]'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3661.349956512451,
+ "y": 1052.4496097564697,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "85dbd4de.56dc68",
+ "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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained MCC info from CPS\"/>\n<parameter name=\"field2\" value=\"`$getplmnmccid-cps-response.httpResponse`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3614.1390228271484,
+ "y": 1111.8330745697021,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "74526283.bfee3c",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 3601.6380462646484,
+ "y": 1337.5831699371338,
+ "z": "4d7c5b65.634a04",
+ "wires": []
+ },
+ {
+ "id": "411e5f61.ee056",
+ "type": "execute",
+ "name": "read nearRTRICId-PLMN",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.plmn.mnc' />\n\t<parameter name='source' value=\"`'getplmnmncid-cps-response.[0]'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3654.4886322021484,
+ "y": 1228.6331329345703,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3a7ac81f.3363c8",
+ "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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained MNC info from Cps\"/>\n<parameter name=\"field2\" value=\"`$getplmnmncid-cps-response.httpResponse`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3598.6380462646484,
+ "y": 1276.083249092102,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bc687d8e.5d461",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 3621.9995346069336,
+ "y": 989.999885559082,
+ "z": "4d7c5b65.634a04",
+ "wires": []
+ },
+ {
+ "id": "c4866c85.64adf",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 3623.9993743896484,
+ "y": 1382.9998378753662,
+ "z": "4d7c5b65.634a04",
+ "wires": []
+ },
+ {
+ "id": "3e21d260.0305ae",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1448,
+ "y": 1299,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "26c54f86.bf74b",
+ "79f29ec2.b22c2"
+ ]
+ ]
+ },
+ {
+ "id": "26c54f86.bf74b",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1661.9998474121094,
+ "y": 1299.999755859375,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "3dd49a3.5a86666"
+ ]
+ ]
+ },
+ {
+ "id": "79f29ec2.b22c2",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1654.0000457763672,
+ "y": 1341.9998397827148,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "ab008fe8.c3e1c"
+ ]
+ ]
+ },
+ {
+ "id": "ab008fe8.c3e1c",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1827.9899635314941,
+ "y": 1341.9998397827148,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "197b8787.ab2868",
+ "1f06dbc0.549624"
+ ]
+ ]
+ },
+ {
+ "id": "3dd49a3.5a86666",
+ "type": "block",
+ "name": "URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1824.2015113830566,
+ "y": 1300.5989589691162,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "d9c4f2e2.58fc9"
+ ]
+ ]
+ },
+ {
+ "id": "d9c4f2e2.58fc9",
+ "type": "execute",
+ "name": "generate addnSSAIEntry.ToNearRTRIC URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addnSSAIEntry.ToNearRTRIC`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2121.0000190734863,
+ "y": 1301.0001640319824,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "197b8787.ab2868",
+ "type": "execute",
+ "name": "generate addnSSAIEntry.ToNearRTRIC URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addnSSAIEntry.ToNearRTRIC.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2122.534523010254,
+ "y": 1342.5992851257324,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1f06dbc0.549624",
+ "type": "execute",
+ "name": "Populate MOUNT NAME",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2063.5348510742188,
+ "y": 1383.5989618301392,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "99f61b3f.7c9258",
+ "type": "execute",
+ "name": "getAnchors URL",
+ "xml": "<set>\n\t<parameter name='tmp.getAnchors.URL' value=\"`$prop.restapi.cps.anchors.endpoint`\"/>\n\t",
+ "comments": "",
+ "outputs": 1,
+ "x": 1448.7500381469727,
+ "y": 1377.000002861023,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4fcdfd93.2b2e94",
+ "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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL to fetch the anchors\"/>\n<parameter name=\"field2\" value=\"`$tmp.getAnchors.URL`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1418.0000381469727,
+ "y": 1421.7500042915344,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8c7da0b4.ffdc8",
+ "type": "execute",
+ "name": "Get list of anchors from CPS",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.getAnchors.URL`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"restapiUser\" value=\"cpsuser\" />\n<parameter name=\"restapiPassword\" value=\"cpsr0cks!\"/>\n<parameter name=\"responsePrefix\" value=\"get-anchors-cps-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": 1486.8055419921875,
+ "y": 1465.916672706604,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "1c00cebc.15e071",
+ "655604d5.d3202c"
+ ]
+ ]
+ },
+ {
+ "id": "b50c2ced.c3143",
+ "type": "execute",
+ "name": "set anchors size",
+ "xml": "<set>\n\t<parameter name='tmp.anchors.length' value=\"`$get-anchors-cps-response._length`\"/>\n\t",
+ "comments": "",
+ "outputs": 1,
+ "x": 1451.1546630859375,
+ "y": 1591.820972442627,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8dd65b69.c1c0e8",
+ "type": "for",
+ "name": "For anchorsList",
+ "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1452.6019287109375,
+ "y": 1663.527681350708,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "63f61435.ddcfcc"
+ ]
+ ]
+ },
+ {
+ "id": "24ce1a1c.0c4dc6",
+ "type": "for",
+ "name": "For anchorsList",
+ "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1449.6177215576172,
+ "y": 1714.8457164764404,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "1e1f2ec4.b57821"
+ ]
+ ]
+ },
+ {
+ "id": "655604d5.d3202c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1704.1110534667969,
+ "y": 1465.555507659912,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "8d6349e1.873878"
+ ]
+ ]
+ },
+ {
+ "id": "1c00cebc.15e071",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1700.111213684082,
+ "y": 1549.7498455047607,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "2bd9b284.5d46ee"
+ ]
+ ]
+ },
+ {
+ "id": "63f61435.ddcfcc",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1672.9907722473145,
+ "y": 1664.0555124282837,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "71d4252d.e9918c",
+ "c4c1fd8.f3a05"
+ ]
+ ]
+ },
+ {
+ "id": "1e1f2ec4.b57821",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1671.3053894042969,
+ "y": 1714.0000133514404,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "13278ede.6bee51",
+ "78acf035.46288"
+ ]
+ ]
+ },
+ {
+ "id": "8d6349e1.873878",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1854.8055572509766,
+ "y": 1465.1666717529297,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "86eeee2b.9e923",
+ "ecf3f9cf.0fc3c8"
+ ]
+ ]
+ },
+ {
+ "id": "86eeee2b.9e923",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2014.5830688476562,
+ "y": 1464.9998426437378,
+ "z": "4d7c5b65.634a04",
+ "wires": []
+ },
+ {
+ "id": "ecf3f9cf.0fc3c8",
+ "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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Failed to fetch anchors from CPS\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2014.3890533447266,
+ "y": 1505.5276765823364,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2bd9b284.5d46ee",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1857.5553894042969,
+ "y": 1550.416675567627,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "c866198.4c0c1e8",
+ "eb35fb98.e94048"
+ ]
+ ]
+ },
+ {
+ "id": "c866198.4c0c1e8",
+ "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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained anchors from CPS\"/>\n<parameter name=\"field2\" value=\"`$get-anchors-cps-response._length`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2019.3052368164062,
+ "y": 1550.666675567627,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "eb35fb98.e94048",
+ "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-closedLoop-context.log' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2035.8337211608887,
+ "y": 1588.4166765213013,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c4c1fd8.f3a05",
+ "type": "execute",
+ "name": "read schemaSet",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.schemaset.name' />\n\t<parameter name='source' value=\"`'get-anchors-cps-response.['+$anc+'].schemaSetName'`\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1869.6543502807617,
+ "y": 1620.9596455097198,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "71d4252d.e9918c",
+ "type": "switchNode",
+ "name": "check schemaSetName",
+ "xml": "<switch test='`$tmp.schemaset.name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1895.1390533447266,
+ "y": 1664.055513381958,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "f465f427.c2b608"
+ ]
+ ]
+ },
+ {
+ "id": "13278ede.6bee51",
+ "type": "execute",
+ "name": "read schemaSet",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.schemaset.name' />\n\t<parameter name='source' value=\"`'get-anchors-cps-response.['+$anc+'].schemaSetName'`\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1874.9662017822266,
+ "y": 1714.179048538208,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "78acf035.46288",
+ "type": "switchNode",
+ "name": "check schemaSetName",
+ "xml": "<switch test='`$tmp.schemaset.name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1898.9382057189941,
+ "y": 1759.4290504455566,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "9f12f9e9.9452b8"
+ ]
+ ]
+ },
+ {
+ "id": "9f12f9e9.9452b8",
+ "type": "outcome",
+ "name": "if ran-network",
+ "xml": "<outcome value='ran-network'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2110.7438735961914,
+ "y": 1759.9012184143066,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "3ed1dd57.474582"
+ ]
+ ]
+ },
+ {
+ "id": "f465f427.c2b608",
+ "type": "outcome",
+ "name": "if ran-network",
+ "xml": "<outcome value='ran-network'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2112.4445571899414,
+ "y": 1663.5278425216675,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "61f76815.9ea948"
+ ]
+ ]
+ },
+ {
+ "id": "61f76815.9ea948",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2294.746810913086,
+ "y": 1662.8610124588013,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "2bfe4fd7.4500e",
+ "fe178d42.6417a"
+ ]
+ ]
+ },
+ {
+ "id": "3ed1dd57.474582",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2298.879623413086,
+ "y": 1760.1233863830566,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "5b36931e.63404c",
+ "47429c6f.cdaf04"
+ ]
+ ]
+ },
+ {
+ "id": "fe178d42.6417a",
+ "type": "execute",
+ "name": "set nearRTRIC size",
+ "xml": "<set>\n\t<parameter name='tmp.RIC.length' value=\"`$tmp.RIC.length+1`\"/>\n\t",
+ "comments": "",
+ "outputs": 1,
+ "x": 2506.718334197998,
+ "y": 1625.3457126617432,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2bfe4fd7.4500e",
+ "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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Applicable RIC length\"/>\n<parameter name=\"field2\" value=\"`$tmp.RIC.length`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2472.660717010498,
+ "y": 1662.6666774749756,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5b36931e.63404c",
+ "type": "execute",
+ "name": "read anchorName",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.anchor.name' />\n\t<parameter name='source' value=\"`'get-anchors-cps-response.['+$anc+'].name'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2507.861396789551,
+ "y": 1718.7778453826904,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "47429c6f.cdaf04",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2514.8057403564453,
+ "y": 1770.500015258789,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "8998c72c.4ff418",
+ "9d7758a7.bd51f8",
+ "9d39eb14.0fc3a8",
+ "c69db98d.df76b8",
+ "74d6c00.8c08c4",
+ "eac71052.ffbb4",
+ "755837fb.492b88",
+ "ee4970e3.bde7c",
+ "3f7e1749.9ebda8",
+ "93440679.5fd8e8"
+ ]
+ ]
+ },
+ {
+ "id": "8998c72c.4ff418",
+ "type": "execute",
+ "name": "generate dLThptPerSliceURL cps",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.patchdLThptPerSlice.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2839.750160217285,
+ "y": 1668.6666774749756,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9d7758a7.bd51f8",
+ "type": "execute",
+ "name": "prepare tbdmt template",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.patchdLThptPerSlice.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.patchdLThptPerSlice.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.patch-dLThptPerSlice`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2805.750160217285,
+ "y": 1704.266613960266,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9d39eb14.0fc3a8",
+ "type": "record",
+ "name": "record TBDMT RestAPI params",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to patch dLThptPerSlice\"/>\n<parameter name='field2' value=\"`$tmp.cps.patchdLThptPerSlice.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2831.75,
+ "y": 1740.4664840698242,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c69db98d.df76b8",
+ "type": "execute",
+ "name": "patch dLThptPerSlice",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.patchdLThptPerSlice.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-patch-dLThptPerSlice.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"patchdLThptPerSlice-cps-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": 2798.75,
+ "y": 1773.4664859771729,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "41285c67.33d5c4",
+ "b48fa3de.a329a"
+ ]
+ ]
+ },
+ {
+ "id": "b48fa3de.a329a",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3047.7493591308594,
+ "y": 1774.2662906646729,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "2251f3b0.ca9bac"
+ ]
+ ]
+ },
+ {
+ "id": "41285c67.33d5c4",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3053.5273513793945,
+ "y": 1696.3774547576904,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "3df4f6bd.dcdc8a"
+ ]
+ ]
+ },
+ {
+ "id": "2251f3b0.ca9bac",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3211.638683319092,
+ "y": 1775.155288696289,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "62c02278.218b8c"
+ ]
+ ]
+ },
+ {
+ "id": "3df4f6bd.dcdc8a",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 3181.7493629455566,
+ "y": 1697.2662897109985,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "f87039cf.b1f5c8",
+ "a17212ca.4c0c7",
+ "14cb93e3.154dbc",
+ "53f6cef7.f7902"
+ ]
+ ]
+ },
+ {
+ "id": "f87039cf.b1f5c8",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 3337.305030822754,
+ "y": 1656.1552848815918,
+ "z": "4d7c5b65.634a04",
+ "wires": []
+ },
+ {
+ "id": "a17212ca.4c0c7",
+ "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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Failed to fetch data from CPS\"/>\n<parameter name=\"field2\" value=\"`$cps-patch-dLThptPerSlice.json`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3334.4440269470215,
+ "y": 1615.3499445915222,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "62c02278.218b8c",
+ "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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully patched dLThptPerSlice\"/>\n<parameter name=\"field2\" value=\"`$patchdLThptPerSlice-cps-response.httpResponse`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3391.2500190734863,
+ "y": 1775.5162916183472,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "eac71052.ffbb4",
+ "type": "execute",
+ "name": "generate uLThptPerSliceURL cps",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.patchuLThptPerSlice.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2835.083656311035,
+ "y": 1810.6666812896729,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "755837fb.492b88",
+ "type": "execute",
+ "name": "prepare tbdmt template",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.patchuLThptPerSlice.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.patchuLThptPerSlice.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.patch-uLThptPerSlice`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2805.08349609375,
+ "y": 1846.2666187286377,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ee4970e3.bde7c",
+ "type": "record",
+ "name": "record TBDMT RestAPI params",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to patch uLThptPerSlice\"/>\n<parameter name='field2' value=\"`$tmp.cps.patchuLThptPerSlice.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2831.08349609375,
+ "y": 1884.4664897918701,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3f7e1749.9ebda8",
+ "type": "execute",
+ "name": "patch dLThptPerSlice",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.patchuLThptPerSlice.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-patch-uLThptPerSlice.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"patchuLThptPerSlice-cps-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": 2798.08349609375,
+ "y": 1921.4664916992188,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "434c383e.3ac1a8",
+ "628d0768.1183a8"
+ ]
+ ]
+ },
+ {
+ "id": "628d0768.1183a8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3059.0828552246094,
+ "y": 1972.2664184570312,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "6b324c96.7b9424"
+ ]
+ ]
+ },
+ {
+ "id": "434c383e.3ac1a8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3054.860849380493,
+ "y": 1920.3774604797363,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "ed31ef8a.b1ec1"
+ ]
+ ]
+ },
+ {
+ "id": "6b324c96.7b9424",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3234.972183227539,
+ "y": 1973.1557416915894,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "a870b460.fe9f68"
+ ]
+ ]
+ },
+ {
+ "id": "ed31ef8a.b1ec1",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 3200.0828590393066,
+ "y": 1918.2662944793701,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ [
+ "c8d7789d.e059f8",
+ "50f408ea.d42668",
+ "769aebc5.b0fdd4",
+ "53f6cef7.f7902"
+ ]
+ ]
+ },
+ {
+ "id": "c8d7789d.e059f8",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 3395.6382026672363,
+ "y": 1875.1552906036377,
+ "z": "4d7c5b65.634a04",
+ "wires": []
+ },
+ {
+ "id": "50f408ea.d42668",
+ "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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"UNSuccessfully Obtained MCC info from CPS\"/>\n<parameter name=\"field2\" value=\"`$cps-get-plmnid.json`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3392.7775268554688,
+ "y": 1834.3499507904053,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a870b460.fe9f68",
+ "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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully patched dLThptPerSlice\"/>\n<parameter name=\"field2\" value=\"`$patchdLThptPerSlice-cps-response.httpResponse`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3412.5835151672363,
+ "y": 1973.5164184570312,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "74d6c00.8c08c4",
+ "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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Inputs\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field5\" value=\"`$tmp.payload.sNSSAI`\"/>\n<parameter name=\"field6\" value=\"`$tmp.dLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"`$tmp.uLThptPerSlice`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2757.7506523132324,
+ "y": 1633.6666765213013,
+ "z": "4d7c5b65.634a04",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "93440679.5fd8e8",
+ "type": "set",
+ "name": "set Variables",
+ "xml": "<set>\n<parameter name='tmp.mcc' value='`$tmp.mcc`' />\n<parameter name='tmp.mnc' value='`$tmp.mnc`' />\n",
+ "comments": "",
+ "x": 2778.4168281555176,
+ "y": 1596.666675567627,
+ "z": "4d7c5b65.634a04",
+ "wires": []
+ },
+ {
+ "id": "769aebc5.b0fdd4",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 3420.0835189819336,
+ "y": 1915.6666851043701,
+ "z": "4d7c5b65.634a04",
+ "wires": []
+ },
+ {
+ "id": "14cb93e3.154dbc",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 3357.083351135254,
+ "y": 1695.66667842865,
+ "z": "4d7c5b65.634a04",
+ "wires": []
+ }
+]
diff --git a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_terminateRANSliceInstance-configDb.json b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_terminateRANSliceInstance-configDb.json
index b205949e..b199b7c2 100644
--- a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_terminateRANSliceInstance-configDb.json
+++ b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_terminateRANSliceInstance-configDb.json
@@ -1,20 +1,20 @@
[
{
- "id": "a90c0e95.e042f",
+ "id": "93c8c6ab.ac9b08",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 263.4375,
- "y": 125.9375,
- "z": "ebaeae22.b6553",
+ "x": 183.75002670288086,
+ "y": 64.75000667572021,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "f2691561.a4c038"
+ "5e3733c6.7e72fc"
]
]
},
{
- "id": "f2691561.a4c038",
+ "id": "5e3733c6.7e72fc",
"type": "service-logic",
"name": "ran-slice-api ${project.version}",
"module": "ran-slice-api",
@@ -22,8911 +22,8983 @@
"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": 318.4375228881836,
- "y": 212.93746852874756,
- "z": "ebaeae22.b6553",
+ "x": 238.75004959106445,
+ "y": 151.74997520446777,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "e7583978.92c5c8"
+ "92b5f0bf.02108"
]
]
},
{
- "id": "e7583978.92c5c8",
+ "id": "92b5f0bf.02108",
"type": "method",
"name": "method",
"xml": "<method rpc='terminateRANSliceInstance-configDB' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 252.4375,
- "y": 272.93743419647217,
- "z": "ebaeae22.b6553",
+ "x": 172.75002670288086,
+ "y": 211.74994087219238,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "1c035413.48e1fc"
+ "8ce82a81.483708"
]
]
},
{
- "id": "1c035413.48e1fc",
+ "id": "8ce82a81.483708",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 258.43749237060547,
- "y": 367.6874647140503,
- "z": "ebaeae22.b6553",
+ "x": 178.75001907348633,
+ "y": 306.4999713897705,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "1cab77d0.c42298",
- "c43dd250.94db4",
- "46dde341.91858c",
- "daa0d522.621208"
+ "ea63022.e923f",
+ "5adb579.3a840a8",
+ "a1001d58.671ed",
+ "f3aa7645.54fd68"
]
]
},
{
- "id": "1cab77d0.c42298",
+ "id": "ea63022.e923f",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 472.43749618530273,
- "y": 390.93749713897705,
- "z": "ebaeae22.b6553",
+ "x": 392.7500228881836,
+ "y": 329.75000381469727,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "be32bb7d.76ff28",
- "31084127.f2b19e",
- "1b1d0329.3460bd",
- "6b6444bf.cc689c",
- "e9e8672a.4ffce8",
- "c3268083.929e5",
- "e45e8d9d.3ca03",
- "5a5034fa.f6048c",
- "9973684f.61a908",
- "87f2f48a.1ba018",
- "91c2631e.f61f1",
- "8812033c.bd2d2",
- "d7b3b99c.eff728",
- "cef1f592.13bd68",
- "ccc1c368.9ab8d",
- "1947709a.a32c7f"
+ "b0531664.8a48a8",
+ "445ab7f6.1b4308",
+ "590d6f5a.b05c4",
+ "946d2d34.41ffc",
+ "a610fc7a.365d8",
+ "e9adc1b7.b6661",
+ "465c1614.7bbc58",
+ "a73b1411.eded98",
+ "da856e77.e9b46",
+ "7ec8c207.6e444c",
+ "9ff8ee77.ca278",
+ "f09be423.66d5e8",
+ "983b5fef.1889",
+ "5ad2c5b0.6adfcc",
+ "eb3273d5.0c125",
+ "8786264d.f72568"
]
]
},
{
- "id": "be32bb7d.76ff28",
+ "id": "b0531664.8a48a8",
"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": 856.6875,
- "y": 534.1875071525574,
- "z": "ebaeae22.b6553",
+ "x": 777.0000267028809,
+ "y": 473.0000138282776,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "31084127.f2b19e",
+ "id": "445ab7f6.1b4308",
"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/terminateRANSlice.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": 796.6875152587891,
- "y": 585.1875262260437,
- "z": "ebaeae22.b6553",
+ "x": 717.0000419616699,
+ "y": 524.0000329017639,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "1b1d0329.3460bd",
+ "id": "590d6f5a.b05c4",
"type": "execute",
"name": "Get nearRTRIC for TrackingArea",
"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": 786.6875915527344,
- "y": 637.1875567436218,
- "z": "ebaeae22.b6553",
+ "x": 707.0001182556152,
+ "y": 576.000063419342,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "f3e995b4.059bc8",
- "e5cef3a4.2dace"
+ "a20a057f.199cc8",
+ "3236c49d.ded61c"
]
]
},
{
- "id": "f3e995b4.059bc8",
+ "id": "a20a057f.199cc8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1085.5055961608887,
- "y": 655.0055804252625,
- "z": "ebaeae22.b6553",
+ "x": 1005.8181228637695,
+ "y": 593.8180871009827,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "53359b78.2fbdb4"
+ "4529537d.17608c"
]
]
},
{
- "id": "53359b78.2fbdb4",
+ "id": "4529537d.17608c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1255.5054931640625,
- "y": 656.0056958198547,
- "z": "ebaeae22.b6553",
+ "x": 1175.8180198669434,
+ "y": 594.818202495575,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "16e2796d.656d27",
- "21252cca.c4b344"
+ "99df78fe.5edb78",
+ "e5610473.492248"
]
]
},
{
- "id": "16e2796d.656d27",
+ "id": "99df78fe.5edb78",
"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/terminateRANSlice.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": 1484.5052604675293,
- "y": 556.0056757926941,
- "z": "ebaeae22.b6553",
+ "x": 1404.8177871704102,
+ "y": 494.8181824684143,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "21252cca.c4b344",
+ "id": "e5610473.492248",
"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-terminateRANSlice-configrsp-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1489.2834777832031,
- "y": 596.0056977272034,
- "z": "ebaeae22.b6553",
+ "x": 1409.596004486084,
+ "y": 534.8182044029236,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "e5cef3a4.2dace",
+ "id": "3236c49d.ded61c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1091.5055503845215,
- "y": 595.0056643486023,
- "z": "ebaeae22.b6553",
+ "x": 1011.8180770874023,
+ "y": 533.8181710243225,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "ae653ad5.6eaaa8"
+ "fbf6e659.46a338"
]
]
},
{
- "id": "ae653ad5.6eaaa8",
+ "id": "fbf6e659.46a338",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1371.5056266784668,
- "y": 501.0057182312012,
- "z": "ebaeae22.b6553",
+ "x": 1291.8181533813477,
+ "y": 439.8182249069214,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "42741214.7d891c",
- "d9eab965.75b128"
+ "427b1718.3426f8",
+ "c0f287b7.bef588"
]
]
},
{
- "id": "42741214.7d891c",
+ "id": "427b1718.3426f8",
"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": 1549.50541305542,
- "y": 455.1167449951172,
- "z": "ebaeae22.b6553",
+ "x": 1469.8179397583008,
+ "y": 393.9292516708374,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "c43dd250.94db4",
+ "id": "5adb579.3a840a8",
"type": "for",
"name": "foreach NearRTRIC",
"xml": "<for index='idy' start='0' end='`$getNFNSSIRIC-configdb-response._length`' >\n",
"comments": "",
"outputs": 1,
- "x": 453.6875,
- "y": 978.0056796073914,
- "z": "ebaeae22.b6553",
+ "x": 374.00002670288086,
+ "y": 916.8181862831116,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "c454de84.7666c",
- "f56cadf0.a7f33",
- "ddc14592.86d678",
- "45179136.10909"
+ "87985f81.1623a",
+ "da4616e9.c0e3f8",
+ "9c379e7.7b4066",
+ "bd7cd37d.e7c78"
]
]
},
{
- "id": "c454de84.7666c",
+ "id": "87985f81.1623a",
"type": "block",
"name": "Process NearRTRIC",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 774.0410614013672,
- "y": 1116.581473827362,
- "z": "ebaeae22.b6553",
+ "x": 694.353588104248,
+ "y": 1055.3939805030823,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "10a0f222.835cee",
- "369a5d6f.67b342",
- "872ed5d3.c7b9d8",
- "f00542e3.6176b",
- "43838e30.94806",
- "36f3ba6f.1562a6",
- "69cce720.bc2c98",
- "116fc832.377a78"
+ "94da562e.4b2178",
+ "91d2b827.07c2b8",
+ "a3e4bed0.de951",
+ "c66a79.61165588",
+ "4db951bb.39538",
+ "55880c97.30cfd4",
+ "b2681516.53cf08",
+ "275eb450.f7f7cc"
]
]
},
{
- "id": "10a0f222.835cee",
+ "id": "94da562e.4b2178",
"type": "execute",
"name": "read nearRTRICId-PLMN",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.RICPLMNEntries' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].pLMNInfoList_length'`\" />\n",
"comments": "",
"outputs": 1,
- "x": 1054.2330627441406,
- "y": 1114.4148683547974,
- "z": "ebaeae22.b6553",
+ "x": 974.5455894470215,
+ "y": 1053.2273750305176,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "7e464d55.e5d0c4",
+ "id": "be65e35a.9161",
"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'`\" />",
"comments": "",
"outputs": 1,
- "x": 1901.2335052490234,
- "y": 866.9150466918945,
- "z": "ebaeae22.b6553",
+ "x": 1821.5460319519043,
+ "y": 805.7275533676147,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "cbdf2c5.aa37bd",
+ "id": "a95a4308.226bc",
"type": "execute",
"name": "Update nearRT RIC Details in ConfigDB",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.configdb.getNearRTRICNSSAIRemoval.url`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-nearRTRIC-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": 1826.9504089355469,
- "y": 1049.419909477234,
- "z": "ebaeae22.b6553",
+ "x": 1747.2629356384277,
+ "y": 988.2324161529541,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "67dbf22a.d90d8c",
- "ce6e4a8b.19ae88"
+ "ea38d9fa.24ab48",
+ "3c55604a.aec7a"
]
]
},
{
- "id": "67dbf22a.d90d8c",
+ "id": "ea38d9fa.24ab48",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1882.5057220458984,
- "y": 1002.46022605896,
- "z": "ebaeae22.b6553",
+ "x": 1802.8182487487793,
+ "y": 941.2727327346802,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "6472141e.c3d09c"
+ "2c116cdf.bb9de4"
]
]
},
{
- "id": "6472141e.c3d09c",
+ "id": "2c116cdf.bb9de4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2018.5057830810547,
- "y": 964.4601955413818,
- "z": "ebaeae22.b6553",
+ "x": 1938.8183097839355,
+ "y": 903.272702217102,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "cacecfdf.05403",
- "41d4ce85.b87e2"
+ "b359b269.b041b",
+ "abf950db.f5147"
]
]
},
{
- "id": "41d4ce85.b87e2",
+ "id": "abf950db.f5147",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2167.505474090576,
- "y": 927.5711736679077,
- "z": "ebaeae22.b6553",
+ "x": 2087.818000793457,
+ "y": 866.3836803436279,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "cacecfdf.05403",
+ "id": "b359b269.b041b",
"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 nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2181.5054779052734,
- "y": 1002.4602422714233,
- "z": "ebaeae22.b6553",
+ "x": 2101.8180046081543,
+ "y": 941.2727489471436,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "ce6e4a8b.19ae88",
+ "id": "3c55604a.aec7a",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1863.3238067626953,
- "y": 1116.3692893981934,
- "z": "ebaeae22.b6553",
+ "x": 1783.6363334655762,
+ "y": 1055.1817960739136,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "3fdd0a77.bb3d76"
+ "ff2ed0e0.455bc"
]
]
},
{
- "id": "3fdd0a77.bb3d76",
+ "id": "ff2ed0e0.455bc",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2013.323715209961,
- "y": 1131.369426727295,
- "z": "ebaeae22.b6553",
+ "x": 1933.6362419128418,
+ "y": 1070.1819334030151,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "9bced0d5.60032"
+ "ce228a1a.e493d8"
]
]
},
{
- "id": "9bced0d5.60032",
+ "id": "ce228a1a.e493d8",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated NearRT RIC info in ConfigDB\"/>",
"comments": "",
"outputs": 1,
- "x": 2160.3236541748047,
- "y": 1159.3695030212402,
- "z": "ebaeae22.b6553",
+ "x": 2080.6361808776855,
+ "y": 1098.1820096969604,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "96ecd466.67ccf8",
+ "id": "60a95ea3.e9907",
"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": 1127.6875,
- "y": 1341.18750333786,
- "z": "ebaeae22.b6553",
+ "x": 1048.0000267028809,
+ "y": 1280.0000100135803,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "f56cadf0.a7f33",
+ "id": "da4616e9.c0e3f8",
"type": "block",
"name": "Process CUCP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 754.6875228881836,
- "y": 1254.1875567436218,
- "z": "ebaeae22.b6553",
+ "x": 675.0000495910645,
+ "y": 1193.000063419342,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "96ecd466.67ccf8",
- "5ed34cd.d50c0b4",
- "13d2cbc7.9282a4"
+ "60a95ea3.e9907",
+ "d81f1cc6.07f47",
+ "eb8639d3.d2df88"
]
]
},
{
- "id": "5ed34cd.d50c0b4",
+ "id": "d81f1cc6.07f47",
"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/terminateRANSlice.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": 1099.6875,
- "y": 1406.18750333786,
- "z": "ebaeae22.b6553",
+ "x": 1020.0000267028809,
+ "y": 1345.0000100135803,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "13d2cbc7.9282a4",
+ "id": "eb8639d3.d2df88",
"type": "for",
"name": "foreach CUCP",
"xml": "<for index='idz' start='0' end='`$tmp.CUCPList_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 1127.6875,
- "y": 1481.18750333786,
- "z": "ebaeae22.b6553",
+ "x": 1048.0000267028809,
+ "y": 1420.0000100135803,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "83787f2b.0b9df"
+ "4f35b8fa.09d278"
]
]
},
{
- "id": "83787f2b.0b9df",
+ "id": "4f35b8fa.09d278",
"type": "block",
"name": "block : process CUCP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1348.6875,
- "y": 1488.18750333786,
- "z": "ebaeae22.b6553",
+ "x": 1269.0000267028809,
+ "y": 1427.0000100135803,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "dfaf349e.2be0c8",
- "64d13a70.a7edf4",
- "29ddd1cc.2a8f6e",
- "c42a2bba.e13948"
+ "fd2e0ab3.3e8598",
+ "5b96e9d3.be6e68",
+ "3bca13b.99633ec",
+ "82dd3ba0.52ee58"
]
]
},
{
- "id": "dfaf349e.2be0c8",
+ "id": "fd2e0ab3.3e8598",
"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": 1656.6875762939453,
- "y": 1328.7874941825867,
- "z": "ebaeae22.b6553",
+ "x": 1577.0001029968262,
+ "y": 1267.6000008583069,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "64d13a70.a7edf4",
+ "id": "5b96e9d3.be6e68",
"type": "for",
"name": "for cellCUList",
"xml": "<for index='idcu' start='0' end='`$tmp.cellCUList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1703.6875,
- "y": 1485.18750333786,
- "z": "ebaeae22.b6553",
+ "x": 1624.0000267028809,
+ "y": 1424.0000100135803,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "8bb2986f.b511f8"
+ "a3d24db.088f4b"
]
]
},
{
- "id": "7482b1a0.8542f",
+ "id": "c15b7cd0.063e4",
"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": 2416.187774658203,
- "y": 1093.9375162124634,
- "z": "ebaeae22.b6553",
+ "x": 2336.500301361084,
+ "y": 1032.7500228881836,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "52dc0ffb.97a9b",
+ "id": "18a06b05.c2c625",
"type": "execute",
"name": "prepare mnc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteSNSSAIListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteSNSSAIListEntry.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
"comments": "",
"outputs": 1,
- "x": 2415.93758392334,
- "y": 1334.437520980835,
- "z": "ebaeae22.b6553",
+ "x": 2336.2501106262207,
+ "y": 1273.2500276565552,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "24575702.651c28",
+ "id": "352e05da.75cfca",
"type": "execute",
"name": "terminate sNNSAI ToNRCellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.deleteSNSSAIListEntry.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-cellCU-sNSSAI-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 2370.6875762939453,
- "y": 1478.1874732971191,
- "z": "ebaeae22.b6553",
+ "x": 2291.000102996826,
+ "y": 1416.9999799728394,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "f09d4dd1.7efed",
- "d91f69ae.e83cc8"
+ "bc10fa0d.1b24b8",
+ "815bb898.a40d58"
]
]
},
{
- "id": "b7b21f82.bb464",
+ "id": "489a30ca.dff78",
"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/terminateRANSliceModifyAllocate.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.sNSSAI`\"/>\n<parameter name=\"field8\" value=\"`$tmp.deleteSNSSAIListEntry.url`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 2419.68758392334,
- "y": 1426.687472820282,
- "z": "ebaeae22.b6553",
+ "x": 2340.0001106262207,
+ "y": 1365.4999794960022,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "af989079.4b89b",
+ "id": "f2e10d1e.b72c7",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2217.6875,
- "y": 1092.18750333786,
- "z": "ebaeae22.b6553",
+ "x": 2138.000026702881,
+ "y": 1031.0000100135803,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "7482b1a0.8542f",
- "52dc0ffb.97a9b",
- "b7b21f82.bb464",
- "24575702.651c28",
- "7009fb4d.529ba4",
- "fcd2c625.a01e78",
- "30a54779.cbd338",
- "e314a01d.e344a",
- "70140d9f.1cc4a4",
- "64708694.a7c328",
- "c5406f2a.c55ef",
- "413a8e67.fe981",
- "932ea61.aa5fe58",
- "f93f4f14.9703",
- "15ef0fcc.afb5f"
+ "c15b7cd0.063e4",
+ "18a06b05.c2c625",
+ "489a30ca.dff78",
+ "352e05da.75cfca",
+ "65d450aa.25182",
+ "d0793856.6301e8",
+ "4e8b59f6.fe4c78",
+ "9c6c5a3a.7e93b8",
+ "fe4e8f88.025cd",
+ "8d63e3ae.75b14",
+ "5ed3475d.8a00f8",
+ "5b20679c.add248",
+ "8d94ad5a.6cfb",
+ "5ce1574b.928c88",
+ "b18e66c2.465a88"
]
]
},
{
- "id": "f09d4dd1.7efed",
+ "id": "bc10fa0d.1b24b8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2615.6874389648438,
- "y": 1500.187569618225,
- "z": "ebaeae22.b6553",
+ "x": 2535.9999656677246,
+ "y": 1439.0000762939453,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "f87c014e.fb6ab"
+ "70fbc27c.a328ac"
]
]
},
{
- "id": "f87c014e.fb6ab",
+ "id": "70fbc27c.a328ac",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2798.6874389648438,
- "y": 1493.1875705718994,
- "z": "ebaeae22.b6553",
+ "x": 2718.9999656677246,
+ "y": 1432.0000772476196,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "f603c1fd.cf0e9"
+ "bdb2a8e2.f63b48"
]
]
},
{
- "id": "f603c1fd.cf0e9",
+ "id": "bdb2a8e2.f63b48",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellCU PLMNInfo List\"/>",
"comments": "",
"outputs": 1,
- "x": 3051.6874465942383,
- "y": 1490.1878623962402,
- "z": "ebaeae22.b6553",
+ "x": 2971.999973297119,
+ "y": 1429.0003690719604,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "d91f69ae.e83cc8",
+ "id": "815bb898.a40d58",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2597.68758392334,
- "y": 1448.1874713897705,
- "z": "ebaeae22.b6553",
+ "x": 2518.0001106262207,
+ "y": 1386.9999780654907,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "ba49cf2a.f097b"
+ "51e3f0da.c419f"
]
]
},
{
- "id": "ba49cf2a.f097b",
+ "id": "51e3f0da.c419f",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2740.6876373291016,
- "y": 1409.1875686645508,
- "z": "ebaeae22.b6553",
+ "x": 2661.0001640319824,
+ "y": 1348.000075340271,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "487df057.0e50b",
- "9e1532d8.a4d42",
- "d9eab965.75b128"
+ "afa596fe.8bc848",
+ "9eb4a8c2.46af28",
+ "c0f287b7.bef588"
]
]
},
{
- "id": "487df057.0e50b",
+ "id": "afa596fe.8bc848",
"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": 3000.6874389648438,
- "y": 1429.1876678466797,
- "z": "ebaeae22.b6553",
+ "x": 2920.9999656677246,
+ "y": 1368.0001745224,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "9e1532d8.a4d42",
+ "id": "9eb4a8c2.46af28",
"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": 2924.687442779541,
- "y": 1391.1875686645508,
- "z": "ebaeae22.b6553",
+ "x": 2844.999969482422,
+ "y": 1330.000075340271,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "7009fb4d.529ba4",
+ "id": "65d450aa.25182",
"type": "execute",
"name": "prepare idGNBCUCPFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteSNSSAIListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteSNSSAIListEntry.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2482.68758392334,
- "y": 1197.1876153945923,
- "z": "ebaeae22.b6553",
+ "x": 2403.0001106262207,
+ "y": 1136.0001220703125,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "fcd2c625.a01e78",
+ "id": "d0793856.6301e8",
"type": "execute",
"name": "prepare idNRCellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteSNSSAIListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteSNSSAIListEntry.url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2456.68758392334,
- "y": 1246.937518119812,
- "z": "ebaeae22.b6553",
+ "x": 2377.0001106262207,
+ "y": 1185.7500247955322,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "30a54779.cbd338",
+ "id": "4e8b59f6.fe4c78",
"type": "execute",
"name": "prepare mcc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteSNSSAIListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteSNSSAIListEntry.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n ",
"comments": "",
"outputs": 1,
- "x": 2424.4375801086426,
- "y": 1289.9375190734863,
- "z": "ebaeae22.b6553",
+ "x": 2344.7501068115234,
+ "y": 1228.7500257492065,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "29ddd1cc.2a8f6e",
+ "id": "3bca13b.99633ec",
"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/terminateRANSlice.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": 1706.6875457763672,
- "y": 1383.1874713897705,
- "z": "ebaeae22.b6553",
+ "x": 1627.000072479248,
+ "y": 1321.9999780654907,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "c42a2bba.e13948",
+ "id": "82dd3ba0.52ee58",
"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": 1713.6875,
- "y": 1441.18750333786,
- "z": "ebaeae22.b6553",
+ "x": 1634.0000267028809,
+ "y": 1380.0000100135803,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "e314a01d.e344a",
+ "id": "9c6c5a3a.7e93b8",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 2506.6878547668457,
- "y": 1039.1875201761723,
- "z": "ebaeae22.b6553",
+ "x": 2427.0003814697266,
+ "y": 978.0000268518925,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "b733d120.635e7",
- "cc187a10.f70238"
+ "7ff176c3.003eb8",
+ "13d5e68c.6b5fd9"
]
]
},
{
- "id": "b733d120.635e7",
+ "id": "7ff176c3.003eb8",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2741.6878547668457,
- "y": 1041.1873256266117,
- "z": "ebaeae22.b6553",
+ "x": 2662.0003814697266,
+ "y": 979.9998323023319,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "734a444f.66f44c"
+ "299b2194.e35e4e"
]
]
},
{
- "id": "734a444f.66f44c",
+ "id": "299b2194.e35e4e",
"type": "execute",
"name": "generate terminate sNSSAItEntry ToNRCellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.terminateSNSSAIEntry.ToNRCellCU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteSNSSAIListEntry.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3063.687770843506,
- "y": 1125.1875082552433,
- "z": "ebaeae22.b6553",
+ "x": 2984.0002975463867,
+ "y": 1064.0000149309635,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "cc187a10.f70238",
+ "id": "13d5e68c.6b5fd9",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2753.6878547668457,
- "y": 1110.1875216066837,
- "z": "ebaeae22.b6553",
+ "x": 2674.0003814697266,
+ "y": 1049.000028282404,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "6002efdc.63fee"
+ "af61bc5b.dab8f"
]
]
},
{
- "id": "70140d9f.1cc4a4",
+ "id": "fe4e8f88.025cd",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1995.6875,
- "y": 1906.18750333786,
- "z": "ebaeae22.b6553",
+ "x": 1916.0000267028809,
+ "y": 1845.0000100135803,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "a64e6c34.de3cd",
- "6cb20576.636dac",
- "3d94cfef.93f2c",
- "48f3d599.04515c",
- "e2ba76d1.4e0ff8",
- "5a716cfa.9a9164",
- "a1b2f08.1dbfb1",
- "4fe5cf2c.bee77",
- "79864ab2.293574"
+ "6af27d0f.67d374",
+ "c6b7f0a4.4fd8d",
+ "682a156.88732ec",
+ "db657a90.ce1e58",
+ "d82a00f2.64891",
+ "b2034cbb.834d2",
+ "8b9a58aa.434858",
+ "ac10fa96.3da608",
+ "82e47d4b.0d722"
]
]
},
{
- "id": "a64e6c34.de3cd",
+ "id": "6af27d0f.67d374",
"type": "set",
"name": "Calculate RRMPolicyRatio",
"xml": "<set>\n<parameter name='tmp.maxNumberOfConnsPercellCU' value='`$tmp.payload.maxNumberofConns / $tmp.cellCUList_length`' />\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellCU1' value='`$tmp.maxNumberOfConnsPercellCU * 100`' />\n<parameter name='tmp.rRMPolicyDedicatedRatio_SliceProfile' value='`$tmp.rRMPolicyDedicatedRatio.CellCU1 / $prop.nrcellcu.maxNumberOfConnsPerCell`' />",
"comments": "",
- "x": 2177.6875,
- "y": 1689.18750333786,
- "z": "ebaeae22.b6553",
+ "x": 2098.000026702881,
+ "y": 1628.0000100135803,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "6cb20576.636dac",
+ "id": "c6b7f0a4.4fd8d",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatio for this profile is - \"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio_SliceProfile`\"/>",
"comments": "",
"outputs": 1,
- "x": 2176.6875,
- "y": 1750.18750333786,
- "z": "ebaeae22.b6553",
+ "x": 2097.000026702881,
+ "y": 1689.0000100135803,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "3d94cfef.93f2c",
+ "id": "682a156.88732ec",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 2217.6875,
- "y": 1812.18750333786,
- "z": "ebaeae22.b6553",
+ "x": 2138.000026702881,
+ "y": 1751.0000100135803,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "4604b62e.fea398",
- "1b5cf3c3.5bec1c"
+ "312dade3.000a62",
+ "ea6a81f6.18102"
]
]
},
{
- "id": "4604b62e.fea398",
+ "id": "312dade3.000a62",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2395.6875,
- "y": 1779.187259197235,
- "z": "ebaeae22.b6553",
+ "x": 2316.000026702881,
+ "y": 1717.9997658729553,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "c2d18372.c0bd5"
+ "a21c5f2b.c4742"
]
]
},
{
- "id": "c2d18372.c0bd5",
+ "id": "a21c5f2b.c4742",
"type": "execute",
"name": "fetch RRMPolicyRatio NRCellCU - URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToNRCellCU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2673.6875,
- "y": 1771.18750333786,
- "z": "ebaeae22.b6553",
+ "x": 2594.000026702881,
+ "y": 1710.0000100135803,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "48f3d599.04515c",
+ "id": "db657a90.ce1e58",
"type": "execute",
"name": "prepare idGNBCUCPFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2252.6875,
- "y": 1884.18750333786,
- "z": "ebaeae22.b6553",
+ "x": 2173.000026702881,
+ "y": 1823.0000100135803,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "e2ba76d1.4e0ff8",
+ "id": "d82a00f2.64891",
"type": "execute",
"name": "prepare idNRCellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2217.6875,
- "y": 1936.18750333786,
- "z": "ebaeae22.b6553",
+ "x": 2138.000026702881,
+ "y": 1875.0000100135803,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "9beeaa63.b2c9b8",
+ "id": "2db29765.83db78",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2503.6875,
- "y": 2063.18750333786,
- "z": "ebaeae22.b6553",
+ "x": 2424.000026702881,
+ "y": 2002.0000100135803,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "99f4c3c1.a6533"
+ "5b2ff55e.13001c"
]
]
},
{
- "id": "99f4c3c1.a6533",
+ "id": "5b2ff55e.13001c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2667.6873779296875,
- "y": 2064.1876254081726,
- "z": "ebaeae22.b6553",
+ "x": 2587.9999046325684,
+ "y": 2003.0001320838928,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "b6b56d69.a7565",
- "d3f9ea79.692098"
+ "27d720a3.6d1c6",
+ "6d7e0aec.754ce4"
]
]
},
{
- "id": "b6b56d69.a7565",
+ "id": "27d720a3.6d1c6",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved - RRMPolicyRatio\"/>",
"comments": "",
"outputs": 1,
- "x": 2817.6873779296875,
- "y": 2059.187747478485,
- "z": "ebaeae22.b6553",
+ "x": 2737.9999046325684,
+ "y": 1998.0002541542053,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "c9453bcc.3fc098",
+ "id": "1b5f8cd0.336ef3",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2499.6875,
- "y": 1984.18750333786,
- "z": "ebaeae22.b6553",
+ "x": 2420.000026702881,
+ "y": 1923.0000100135803,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "1648d2d4.5b2e9d"
+ "4e4316e6.490678"
]
]
},
{
- "id": "1648d2d4.5b2e9d",
+ "id": "4e4316e6.490678",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2657.687744140625,
- "y": 1932.18750333786,
- "z": "ebaeae22.b6553",
+ "x": 2578.000270843506,
+ "y": 1871.0000100135803,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "939d8299.8c6a8",
- "b5167c61.d1c74",
- "d9eab965.75b128"
+ "4515bc20.cd0364",
+ "aa8c2f44.0a744",
+ "c0f287b7.bef588"
]
]
},
{
- "id": "939d8299.8c6a8",
+ "id": "4515bc20.cd0364",
"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 in Fetching RRMPolicyRatio - CellCU. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2828.6873779296875,
- "y": 1993.1875643730164,
- "z": "ebaeae22.b6553",
+ "x": 2748.9999046325684,
+ "y": 1932.0000710487366,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "b5167c61.d1c74",
+ "id": "aa8c2f44.0a744",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2823.6875,
- "y": 1898.18750333786,
- "z": "ebaeae22.b6553",
+ "x": 2744.000026702881,
+ "y": 1837.0000100135803,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "5a716cfa.9a9164",
+ "id": "b2034cbb.834d2",
"type": "execute",
"name": "fetch RRMPolicyRatio - NRCellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"get-rrmpolicyratio-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": 2252.6875,
- "y": 2011.18750333786,
- "z": "ebaeae22.b6553",
+ "x": 2173.000026702881,
+ "y": 1950.0000100135803,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "c9453bcc.3fc098",
- "9beeaa63.b2c9b8"
+ "1b5f8cd0.336ef3",
+ "2db29765.83db78"
]
]
},
{
- "id": "d3f9ea79.692098",
+ "id": "6d7e0aec.754ce4",
"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-terminateRANSlice-configrsp-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2840.6874656677246,
- "y": 2096.187442302704,
- "z": "ebaeae22.b6553",
+ "x": 2760.9999923706055,
+ "y": 2034.999948978424,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "a1b2f08.1dbfb1",
+ "id": "8b9a58aa.434858",
"type": "for",
"name": "for each rrmpolicyratio",
"xml": "<for index='idcu-rrm' start='0' end='`$tmp.rrmPolicyRatioList_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 2187.6875,
- "y": 2169.187732219696,
- "z": "ebaeae22.b6553",
+ "x": 2108.000026702881,
+ "y": 2108.0002388954163,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "c99d0118.fdeab"
+ "456970c6.8218b"
]
]
},
{
- "id": "4fe5cf2c.bee77",
+ "id": "ac10fa96.3da608",
"type": "execute",
"name": "read rrmpolicyratio list size",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyRatioList_length' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio_length'`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 2231.6875,
- "y": 2065.18750333786,
- "z": "ebaeae22.b6553",
+ "x": 2152.000026702881,
+ "y": 2004.0000100135803,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "c99d0118.fdeab",
+ "id": "456970c6.8218b",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2408.6875,
- "y": 2189.187732219696,
- "z": "ebaeae22.b6553",
+ "x": 2329.000026702881,
+ "y": 2128.0002388954163,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "e8ca06dd.7c4db8",
- "883d83fc.b533c",
- "2530f04c.6bd01",
- "3db08642.a8afea",
- "f83fd8b4.e3ecc8",
- "b00316f5.6168b8",
- "b603b7fc.c8b758",
- "3993811f.743d8e",
- "5c92ff79.783c1",
- "9d91f72a.0d4708",
- "55d66062.5882c",
- "84645e98.c2f74"
+ "62c53518.16d29c",
+ "81b2efc8.126e8",
+ "fa5ae22c.4501d",
+ "cd77d679.868df8",
+ "d89a9368.df799",
+ "d6ab4ec2.2d6ce",
+ "5b9b14ab.fa013c",
+ "4db04a0b.739104",
+ "8e9371c3.4ec44",
+ "c6c2b8a0.ee0478",
+ "180be1b7.396bae",
+ "25eb29f7.1e5436"
]
]
},
{
- "id": "e8ca06dd.7c4db8",
+ "id": "62c53518.16d29c",
"type": "set",
"name": "Calculate updated RRMPolicyRatio",
"xml": "<set>\n<parameter name='tmp.rrmPolicyDedicatedRatio_cellCU' value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm +'].attributes.rRMPolicyDedicatedRatio'`\" />\n<parameter name='tmp.rrmPolicyDedicatedRatio_CellCU_updated' value=\"`$tmp.rrmPolicyDedicatedRatio_cellCU + $tmp.rRMPolicyDedicatedRatio_SliceProfile`\" />",
"comments": "",
- "x": 2629.6873664855957,
- "y": 2106.187638759613,
- "z": "ebaeae22.b6553",
+ "x": 2549.9998931884766,
+ "y": 2045.0001454353333,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "79864ab2.293574",
+ "id": "82e47d4b.0d722",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatioList size\"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyRatioList_length`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2171.6875,
- "y": 2119.18750333786,
- "z": "ebaeae22.b6553",
+ "x": 2092.000026702881,
+ "y": 2058.0000100135803,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "c594eea9.ec4",
+ "id": "e5d00c0b.fc98b",
"type": "for",
"name": "foreach PLMNInfo",
"xml": "<for index='id-cuplmn' start='0' end='`$tmp.pLMNInfoList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 2692.7986221313477,
- "y": 621.409761428833,
- "z": "ebaeae22.b6553",
+ "x": 2613.1111488342285,
+ "y": 560.2222681045532,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "573d1a0e.8b2d24"
+ "eff97018.f72c4"
]
]
},
{
- "id": "8bb2986f.b511f8",
+ "id": "a3d24db.088f4b",
"type": "block",
"name": "block",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1919.6874771118164,
- "y": 1361.1874742507935,
- "z": "ebaeae22.b6553",
+ "x": 1840.0000038146973,
+ "y": 1299.9999809265137,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "a190b9fc.c0c8b8",
- "5dcf9d01.a4d394",
- "90e58116.3eff8"
+ "5351d078.8f6dc",
+ "43408965.b48848",
+ "3f52553.0618faa"
]
]
},
{
- "id": "ccce7706.037f68",
+ "id": "a5a62094.f1594",
"type": "switchNode",
"name": "is NSSAI exists",
"xml": "<switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>\n",
"comments": "",
"outputs": 1,
- "x": 2928.4649810791016,
- "y": 878.9652628898621,
- "z": "ebaeae22.b6553",
+ "x": 2848.7775077819824,
+ "y": 817.7777695655823,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "e2b8ff4b.a5ae5"
+ "ffc464a0.bea9a8"
]
]
},
{
- "id": "e2b8ff4b.a5ae5",
+ "id": "ffc464a0.bea9a8",
"type": "outcome",
"name": "True",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2590.6875,
- "y": 996.1875033378601,
- "z": "ebaeae22.b6553",
+ "x": 2511.000026702881,
+ "y": 935.0000100135803,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "af989079.4b89b"
+ "f2e10d1e.b72c7"
]
]
},
{
- "id": "64708694.a7c328",
+ "id": "8d63e3ae.75b14",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"NSSAI exists for cucp plmninfo \"/>\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2380.6875801086426,
- "y": 978.1875143051147,
- "z": "ebaeae22.b6553",
+ "x": 2301.0001068115234,
+ "y": 917.000020980835,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "d492a8a4.e09158",
+ "id": "7f07601b.c2b56",
"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/terminateRANSlice.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": 2967.5763092041016,
- "y": 814.4097437858582,
- "z": "ebaeae22.b6553",
+ "x": 2887.8888359069824,
+ "y": 753.2222504615784,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "7be87596.981f4c",
+ "id": "d8a2e455.b39aa8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2776.6876373291016,
- "y": 788.1875758171082,
- "z": "ebaeae22.b6553",
+ "x": 2697.0001640319824,
+ "y": 727.0000824928284,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "d492a8a4.e09158",
- "ccce7706.037f68",
- "6f1b7181.54dab"
+ "7f07601b.c2b56",
+ "a5a62094.f1594",
+ "2223610b.eb49de"
]
]
},
{
- "id": "6f1b7181.54dab",
+ "id": "2223610b.eb49de",
"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-cusnssai +'].sNSSAI'`\" />",
"comments": "",
"outputs": 1,
- "x": 3147.5761108398438,
- "y": 738.409791469574,
- "z": "ebaeae22.b6553",
+ "x": 3067.8886375427246,
+ "y": 677.2222981452942,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "ddc14592.86d678",
+ "id": "9c379e7.7b4066",
"type": "block",
"name": "Process CUUP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 708.6875,
- "y": 1551.18750333786,
- "z": "ebaeae22.b6553",
+ "x": 629.0000267028809,
+ "y": 1490.0000100135803,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "2829e736.beeb08",
- "5b04b35e.7dd14c",
- "74a60e9.c6cf9f"
+ "6d09128e.65360c",
+ "509ba069.53575",
+ "50e430db.9c559"
]
]
},
{
- "id": "2829e736.beeb08",
+ "id": "6d09128e.65360c",
"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": 1039.6875,
- "y": 1561.18750333786,
- "z": "ebaeae22.b6553",
+ "x": 960.0000267028809,
+ "y": 1500.0000100135803,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "5b04b35e.7dd14c",
+ "id": "509ba069.53575",
"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/terminateRANSlice.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": 1011.6875,
- "y": 1626.18750333786,
- "z": "ebaeae22.b6553",
+ "x": 932.0000267028809,
+ "y": 1565.0000100135803,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "74a60e9.c6cf9f",
+ "id": "50e430db.9c559",
"type": "for",
"name": "foreach CUUP",
"xml": "<for index='id-cuup' start='0' end='`$tmp.CUUPList_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 1039.6875,
- "y": 1701.18750333786,
- "z": "ebaeae22.b6553",
+ "x": 960.0000267028809,
+ "y": 1640.0000100135803,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "ee117364.d10c7"
+ "b944d572.bd46f8"
]
]
},
{
- "id": "ee117364.d10c7",
+ "id": "b944d572.bd46f8",
"type": "block",
"name": "block : process CUUP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 904.687629699707,
- "y": 2061.1877059936523,
- "z": "ebaeae22.b6553",
+ "x": 825.0001564025879,
+ "y": 2000.0002126693726,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "e128cc11.062d4",
- "4140f09d.b14fa",
- "50a5fbe2.4a8894",
- "98d78512.cc3588",
- "32b41ed1.5b0a72",
- "b1f498f.37b3768",
- "78f27451.146d3c",
- "bd02019e.21095",
- "dff313df.3e533",
- "e4d22244.6eb17",
- "d33a0049.8dc7d",
- "9c30133d.4530b",
- "a14d33dc.ecc0e"
+ "4111c752.219a38",
+ "4b4f4366.e90bac",
+ "5df290af.fa30b",
+ "2e82d671.4f9b0a",
+ "6f338a58.6012a4",
+ "d2712faf.78af4",
+ "6e3aa8ac.3f0858",
+ "26813336.6f52dc",
+ "a775ee69.d202f",
+ "66e5ea81.367404",
+ "2c8bea9c.9adae6",
+ "5cba549d.5707cc",
+ "10009cc1.5234f3"
]
]
},
{
- "id": "e128cc11.062d4",
+ "id": "4111c752.219a38",
"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": 1321.6875457763672,
- "y": 2114.187524795532,
- "z": "ebaeae22.b6553",
+ "x": 1242.000072479248,
+ "y": 2053.0000314712524,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "4140f09d.b14fa",
+ "id": "4b4f4366.e90bac",
"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/terminateRANSlice.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": 1305.6876411437988,
- "y": 2164.1875743865967,
- "z": "ebaeae22.b6553",
+ "x": 1226.0001678466797,
+ "y": 2103.000081062317,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "50a5fbe2.4a8894",
+ "id": "5df290af.fa30b",
"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": 1301.6875457763672,
- "y": 2218.1875762939453,
- "z": "ebaeae22.b6553",
+ "x": 1222.000072479248,
+ "y": 2157.0000829696655,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "98d78512.cc3588",
+ "id": "2e82d671.4f9b0a",
"type": "for",
"name": "foreach pLMNInfo",
"xml": "<for index='id-plmn' start='0' end='1'>\n",
"comments": "",
"outputs": 1,
- "x": 1145.6874923706055,
- "y": 2353.187728881836,
- "z": "ebaeae22.b6553",
+ "x": 1066.0000190734863,
+ "y": 2292.000235557556,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "97c7c0bf.d3ece"
+ "9f8321da.473a4"
]
]
},
{
- "id": "97c7c0bf.d3ece",
+ "id": "9f8321da.473a4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1267.6874923706055,
- "y": 2425.1877315044403,
- "z": "ebaeae22.b6553",
+ "x": 1188.0000190734863,
+ "y": 2364.0002381801605,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "5231a9c0.750278",
- "da7b04d4.333058",
- "1ef2cea6.4c88e1"
+ "ed3ef16.c81991",
+ "3a860630.11345a",
+ "634dbeef.3f987"
]
]
},
{
- "id": "724466fb.360588",
+ "id": "dcdb58db.d91448",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2395.687770843506,
- "y": 2933.187834739685,
- "z": "ebaeae22.b6553",
+ "x": 2316.0002975463867,
+ "y": 2872.0003414154053,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "858d80c0.971b3"
+ "1b5c3cb0.ed6c13"
]
]
},
{
- "id": "858d80c0.971b3",
+ "id": "1b5c3cb0.ed6c13",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2552.687774658203,
- "y": 2926.1876397132874,
- "z": "ebaeae22.b6553",
+ "x": 2473.000301361084,
+ "y": 2865.0001463890076,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "6799fea8.c4f",
- "b6022283.e17cd",
- "d9eab965.75b128"
+ "c70d0249.99e1c",
+ "f8e1387e.d39e68",
+ "c0f287b7.bef588"
]
]
},
{
- "id": "b6022283.e17cd",
+ "id": "f8e1387e.d39e68",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error removing CUUP PLMNInfoList. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2797.6877822875977,
- "y": 2927.18803024292,
- "z": "ebaeae22.b6553",
+ "x": 2718.0003089904785,
+ "y": 2866.00053691864,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "6799fea8.c4f",
+ "id": "c70d0249.99e1c",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error removing CUUP PLMNInfo. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2785.6877822875977,
- "y": 2962.1880311965942,
- "z": "ebaeae22.b6553",
+ "x": 2706.0003089904785,
+ "y": 2901.0005378723145,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "96f02935.cd91d8",
+ "id": "b7603111.60c99",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully removed - gNBCUUP PLMNInfo Entry\"/>",
"comments": "",
"outputs": 1,
- "x": 2775.68758392334,
- "y": 3010.1878356933594,
- "z": "ebaeae22.b6553",
+ "x": 2696.0001106262207,
+ "y": 2949.0003423690796,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "e4bf6a3c.3abfd8",
+ "id": "6762be2e.b8081",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2619.6875762939453,
- "y": 3003.187641143799,
- "z": "ebaeae22.b6553",
+ "x": 2540.000102996826,
+ "y": 2942.000147819519,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "96f02935.cd91d8"
+ "b7603111.60c99"
]
]
},
{
- "id": "774b6c0a.90e0c4",
+ "id": "92955885.9ce9e8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2459.6875762939453,
- "y": 3003.1878356933594,
- "z": "ebaeae22.b6553",
+ "x": 2380.000102996826,
+ "y": 2942.0003423690796,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "e4bf6a3c.3abfd8"
+ "6762be2e.b8081"
]
]
},
{
- "id": "59307f96.2f3",
+ "id": "ab3b60bd.eebe3",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 2141.687526702881,
- "y": 2724.1878805160522,
- "z": "ebaeae22.b6553",
+ "x": 2062.0000534057617,
+ "y": 2663.0003871917725,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "2800000d.ce097",
- "e1857121.88e6e"
+ "4825fae3.cf9644",
+ "a552068c.f48888"
]
]
},
{
- "id": "2800000d.ce097",
+ "id": "4825fae3.cf9644",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2461.687629699707,
- "y": 2774.187637835741,
- "z": "ebaeae22.b6553",
+ "x": 2382.000156402588,
+ "y": 2713.0001445114613,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "9795fcbc.8a3cd"
+ "ec498602.8fd068"
]
]
},
{
- "id": "e1857121.88e6e",
+ "id": "a552068c.f48888",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2494.687515258789,
- "y": 2873.187846660614,
- "z": "ebaeae22.b6553",
+ "x": 2415.00004196167,
+ "y": 2812.0003533363342,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "a6e97b6d.d0a8c8"
+ "181e9013.6fef4"
]
]
},
{
- "id": "9795fcbc.8a3cd",
+ "id": "ec498602.8fd068",
"type": "execute",
"name": "generate terminate PLMNInfoListEntry CUUP URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.terminateSNSSAIEntry.ToCUUP`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfo-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2826.687515258789,
- "y": 2786.187846660614,
- "z": "ebaeae22.b6553",
+ "x": 2747.00004196167,
+ "y": 2725.0003533363342,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "5babba5c.1a6e14",
+ "id": "e99d3b41.23a1b8",
"type": "execute",
"name": "prepare idGNBCUUPFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfo-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfo-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUUPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2157.687469482422,
- "y": 2828.187638282776,
- "z": "ebaeae22.b6553",
+ "x": 2077.9999961853027,
+ "y": 2767.000144958496,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "b1f498f.37b3768",
+ "id": "d2712faf.78af4",
"type": "set",
"name": "Calculate RRMPolicyRatio",
"xml": "<set>\n<parameter name='tmp.maxNumberOfDRBsPerNSSAI' value='`$tmp.payload.maxNumberofConns*4`' />\n<parameter name='tmp.maxNumberOfDRBsPerCUUP' value='`$tmp.maxNumberOfDRBsPerNSSAI /$tmp.CUUPList_length`' />\n<parameter name='tmp.rRMPolicyDedicatedRatio1' value='`$tmp.maxNumberOfDRBsPerCUUP*100`' />\n<parameter name='tmp.rRMPolicyDedicatedRatio-CUUP' value='`$tmp.rRMPolicyDedicatedRatio1/$prop.cuupfunction.maxNumberOfDRBsPerCUUP`' />",
"comments": "",
- "x": 1517.6876373291016,
- "y": 3203.187889099121,
- "z": "ebaeae22.b6553",
+ "x": 1438.0001640319824,
+ "y": 3142.0003957748413,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "78f27451.146d3c",
+ "id": "6e3aa8ac.3f0858",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatio for this profile is - \"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio-CUUP`\"/>",
"comments": "",
"outputs": 1,
- "x": 1475.6876411437988,
- "y": 3268.187889099121,
- "z": "ebaeae22.b6553",
+ "x": 1396.0001678466797,
+ "y": 3207.0003957748413,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "bd02019e.21095",
+ "id": "26813336.6f52dc",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 1541.6875457763672,
- "y": 3314.1876945495605,
- "z": "ebaeae22.b6553",
+ "x": 1462.000072479248,
+ "y": 3253.0002012252808,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "2974bbd9.dfe4c4",
- "8b5d8aec.0704c8"
+ "1217a0b6.46274f",
+ "e5401161.0094f"
]
]
},
{
- "id": "2974bbd9.dfe4c4",
+ "id": "1217a0b6.46274f",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1850.6874771118164,
- "y": 3270.1872539520264,
- "z": "ebaeae22.b6553",
+ "x": 1771.0000038146973,
+ "y": 3208.9997606277466,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "1908931b.e3be3d"
+ "81debb6b.0e8688"
]
]
},
{
- "id": "1908931b.e3be3d",
+ "id": "81debb6b.0e8688",
"type": "execute",
"name": "fetch RRMPolicyRatio CUUP - URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2109.687286376953,
- "y": 3272.187448978424,
- "z": "ebaeae22.b6553",
+ "x": 2029.999813079834,
+ "y": 3210.9999556541443,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "dff313df.3e533",
+ "id": "a775ee69.d202f",
"type": "execute",
"name": "prepare idGNBCUUPFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUUPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1588.6876430511475,
- "y": 3363.1878910064697,
- "z": "ebaeae22.b6553",
+ "x": 1509.0001697540283,
+ "y": 3302.00039768219,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "e4d22244.6eb17",
+ "id": "66e5ea81.367404",
"type": "execute",
"name": "fetch RRMPolicyRatio - CUUP",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio-CUUP.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"get-rrmpolicyratio-cuup-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": 1607.6876419782639,
- "y": 3411.187843322754,
- "z": "ebaeae22.b6553",
+ "x": 1528.0001686811447,
+ "y": 3350.000349998474,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "2c7fc62f.91546a",
- "d17aa200.b9d51"
+ "3ef407ff.89d378",
+ "3e68566e.ccb16a"
]
]
},
{
- "id": "2c7fc62f.91546a",
+ "id": "3ef407ff.89d378",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2013.6876754760742,
- "y": 3376.1876459121704,
- "z": "ebaeae22.b6553",
+ "x": 1934.000202178955,
+ "y": 3315.0001525878906,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "bc1e5ee9.ab9f5"
+ "26abd0fe.4d773"
]
]
},
{
- "id": "bc1e5ee9.ab9f5",
+ "id": "26abd0fe.4d773",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2187.687675476074,
- "y": 3387.1874504089355,
- "z": "ebaeae22.b6553",
+ "x": 2108.000202178955,
+ "y": 3325.9999570846558,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "83137895.1d2298",
- "755d59cb.03b4c8",
- "d9eab965.75b128"
+ "493718ea.9ee2c8",
+ "1b68da07.529966",
+ "c0f287b7.bef588"
]
]
},
{
- "id": "755d59cb.03b4c8",
+ "id": "1b68da07.529966",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2379.687484741211,
- "y": 3332.1874504089355,
- "z": "ebaeae22.b6553",
+ "x": 2300.000011444092,
+ "y": 3270.9999570846558,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "83137895.1d2298",
+ "id": "493718ea.9ee2c8",
"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 in fetching RRMPolicyRatio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2423.687484741211,
- "y": 3376.1874504089355,
- "z": "ebaeae22.b6553",
+ "x": 2344.000011444092,
+ "y": 3314.9999570846558,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "790cb11f.0cc9d",
+ "id": "99033197.20b15",
"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-instantiateRANSlice-configrsp-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2410.687484741211,
- "y": 3455.1878423690796,
- "z": "ebaeae22.b6553",
+ "x": 2331.000011444092,
+ "y": 3394.0003490448,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "f7cf341b.a931c8",
+ "id": "566de10d.5cd2b",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved - RRMPolicyRatio\"/>",
"comments": "",
"outputs": 1,
- "x": 2402.687484741211,
- "y": 3411.1878414154053,
- "z": "ebaeae22.b6553",
+ "x": 2323.000011444092,
+ "y": 3350.0003480911255,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "26f05951.4045b6",
+ "id": "5f003f21.7e0ff",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2193.6874809265137,
- "y": 3433.1878414154053,
- "z": "ebaeae22.b6553",
+ "x": 2114.0000076293945,
+ "y": 3372.0003480911255,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "f7cf341b.a931c8",
- "790cb11f.0cc9d"
+ "566de10d.5cd2b",
+ "99033197.20b15"
]
]
},
{
- "id": "d17aa200.b9d51",
+ "id": "3e68566e.ccb16a",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2012.6876754760742,
- "y": 3432.1876468658447,
- "z": "ebaeae22.b6553",
+ "x": 1933.000202178955,
+ "y": 3371.000153541565,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "26f05951.4045b6"
+ "5f003f21.7e0ff"
]
]
},
{
- "id": "d33a0049.8dc7d",
+ "id": "2c8bea9c.9adae6",
"type": "execute",
"name": "read rrmpolicyratio list size",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyRatioList_CUUP_length' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio_length'`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 1606.6876411437988,
- "y": 3458.1878929138184,
- "z": "ebaeae22.b6553",
+ "x": 1527.0001678466797,
+ "y": 3397.0003995895386,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "9c30133d.4530b",
+ "id": "5cba549d.5707cc",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CUUP - RRMPolicyRatioList size\"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyRatioList_CUUP_length`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1569.6876430511475,
- "y": 3507.1878929138184,
- "z": "ebaeae22.b6553",
+ "x": 1490.0001697540283,
+ "y": 3446.0003995895386,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "a14d33dc.ecc0e",
+ "id": "10009cc1.5234f3",
"type": "for",
"name": "for each rrmpolicyratio",
"xml": "<for index='idcuup-rrm' start='0' end='`$tmp.rrmPolicyRatioList_CUUP_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1625.3541469573975,
- "y": 3551.5210971832275,
- "z": "ebaeae22.b6553",
+ "x": 1545.6666736602783,
+ "y": 3490.3336038589478,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "5ac172d0.1dd7fc"
+ "db0b872f.87c6c8"
]
]
},
{
- "id": "5ac172d0.1dd7fc",
+ "id": "db0b872f.87c6c8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1951.3541793823242,
- "y": 3484.520984172821,
- "z": "ebaeae22.b6553",
+ "x": 1871.666706085205,
+ "y": 3423.3334908485413,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "30b23561.73b6ea",
- "fc5ee2ef.6b4a7",
- "472c2313.9348bc",
- "8abdbf18.6ed8d",
- "1adc9519.bac03b",
- "6a54fbf5.00de94",
- "73b2fe9c.a9488",
- "4dcc73d.1c7b28c",
- "369a13c3.9452dc",
- "d323c948.c872e8",
- "1b381c9.129f9e3"
+ "a52f7b91.8cd228",
+ "3666ef02.4b4a8",
+ "74a0f941.62e508",
+ "81819f26.9fd9",
+ "1b8ef39f.8e448c",
+ "9351527.6b341b",
+ "b145b498.341ac8",
+ "d12e73a4.3678c",
+ "9d1d6a57.a20bd8",
+ "67acd610.269598",
+ "e2621031.c5401"
]
]
},
{
- "id": "4a369ff.5a0706",
+ "id": "33b3e3f2.7e5fac",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2747.3540573120117,
- "y": 3718.5212321281433,
- "z": "ebaeae22.b6553",
+ "x": 2667.6665840148926,
+ "y": 3657.3337388038635,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "21fe4100.16ebb"
+ "d7145770.1594c8"
]
]
},
{
- "id": "21fe4100.16ebb",
+ "id": "d7145770.1594c8",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully removed - CUUP RRMpolicyRatio\"/>",
"comments": "",
"outputs": 1,
- "x": 2941.3542098999023,
- "y": 3748.5210490226746,
- "z": "ebaeae22.b6553",
+ "x": 2861.666736602783,
+ "y": 3687.333555698395,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "e879bb9a.6086b8",
+ "id": "4ff72f57.51dc2",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error removing CUUP RRMPolicyRatio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3007.354028701782,
- "y": 3805.520926475525,
- "z": "ebaeae22.b6553",
+ "x": 2927.666555404663,
+ "y": 3744.333433151245,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "4b8abb04.cebe74",
+ "id": "b80bfa42.199038",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error removing RRMPolicyRatio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3022.354148864746,
- "y": 3853.520926475525,
- "z": "ebaeae22.b6553",
+ "x": 2942.666675567627,
+ "y": 3792.333433151245,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "58ae7ff7.61ae8",
+ "id": "ed807f3.3a7a58",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2744.35457611084,
- "y": 3780.520865917206,
- "z": "ebaeae22.b6553",
+ "x": 2664.6671028137207,
+ "y": 3719.333372592926,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "4b8abb04.cebe74",
- "e879bb9a.6086b8"
+ "b80bfa42.199038",
+ "4ff72f57.51dc2"
]
]
},
{
- "id": "87135528.e81d58",
+ "id": "d767778.3e2cd88",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2527.3540382385254,
- "y": 3779.5206604003906,
- "z": "ebaeae22.b6553",
+ "x": 2447.6665649414062,
+ "y": 3718.333167076111,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "58ae7ff7.61ae8"
+ "ed807f3.3a7a58"
]
]
},
{
- "id": "45179136.10909",
+ "id": "bd7cd37d.e7c78",
"type": "block",
"name": "Process gNBDU",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1071.4376754760742,
- "y": 4188.938231945038,
- "z": "ebaeae22.b6553",
+ "x": 991.7502021789551,
+ "y": 4127.750738620758,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "b6ca18e9.e6b1a8",
- "7b655d11.f5f4b4",
- "c4565414.2e97e8"
+ "4f755dff.afce54",
+ "91323ac6.e66868",
+ "c394ac3b.e3b35"
]
]
},
{
- "id": "b6ca18e9.e6b1a8",
+ "id": "4f755dff.afce54",
"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": 1400.4376754760742,
- "y": 4219.938231945038,
- "z": "ebaeae22.b6553",
+ "x": 1320.750202178955,
+ "y": 4158.750738620758,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "7b655d11.f5f4b4",
+ "id": "91323ac6.e66868",
"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/terminateRANSlice.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": 1358.4376602172852,
- "y": 4280.938231945038,
- "z": "ebaeae22.b6553",
+ "x": 1278.750186920166,
+ "y": 4219.750738620758,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "c4565414.2e97e8",
+ "id": "c394ac3b.e3b35",
"type": "for",
"name": "foreach DU",
"xml": "<for index='id-du' start='0' end='`$tmp.DUList_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 1373.4376907348633,
- "y": 4346.937856674194,
- "z": "ebaeae22.b6553",
+ "x": 1293.7502174377441,
+ "y": 4285.750363349915,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "faeeec8b.c0855"
+ "381924d6.471d6c"
]
]
},
{
- "id": "faeeec8b.c0855",
+ "id": "381924d6.471d6c",
"type": "block",
"name": "block : process gNBDU",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1651.4376754760742,
- "y": 4351.93820142746,
- "z": "ebaeae22.b6553",
+ "x": 1571.750202178955,
+ "y": 4290.75070810318,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "de8049c0.935c28",
- "7679f8a4.b825d8",
- "ecb2fa88.a98c18",
- "fc721ccd.76355"
+ "46a5e77b.097ec8",
+ "edd67126.e7451",
+ "591365e5.68390c",
+ "9176a44b.d65f48"
]
]
},
{
- "id": "de8049c0.935c28",
+ "id": "46a5e77b.097ec8",
"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": 1930.4375,
- "y": 4347.93750333786,
- "z": "ebaeae22.b6553",
+ "x": 1850.7500267028809,
+ "y": 4286.75001001358,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "7679f8a4.b825d8",
+ "id": "edd67126.e7451",
"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/terminateRANSlice.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": 1903.4375,
- "y": 4398.93750333786,
- "z": "ebaeae22.b6553",
+ "x": 1823.7500267028809,
+ "y": 4337.75001001358,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "ecb2fa88.a98c18",
+ "id": "591365e5.68390c",
"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": 1912.4375,
- "y": 4457.937858581543,
- "z": "ebaeae22.b6553",
+ "x": 1832.7500267028809,
+ "y": 4396.750365257263,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "fc721ccd.76355",
+ "id": "9176a44b.d65f48",
"type": "for",
"name": "for cellDUList",
"xml": "<for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1949.4374771118164,
- "y": 4536.937761306763,
- "z": "ebaeae22.b6553",
+ "x": 1869.7500038146973,
+ "y": 4475.750267982483,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "14d15cb1.271d13"
+ "a1a5879c.15f338"
]
]
},
{
- "id": "99c06712.6751a8",
+ "id": "16da93be.67916c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2906.187587738037,
- "y": 4661.937761306763,
- "z": "ebaeae22.b6553",
+ "x": 2826.500114440918,
+ "y": 4600.750267982483,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "4876c4aa.60de1c",
- "42c91fc9.8de7e",
- "661c5ed7.d49b9",
- "bf039528.897c08",
- "e9e9083d.4e5b48",
- "4f481c33.f60cb4",
- "2a1b62d1.8bcbee",
- "db81d77c.8bbad8",
- "5bf180fe.edb5a",
- "59e6a992.2c8c78",
- "f4bc9bec.fbf0f8",
- "7738b0f5.4a5fa",
- "e022efd4.41405",
- "a06dcd3a.15454",
- "b48e2be9.cdc3e8"
+ "c525b92b.942978",
+ "f93d48eb.2f10d8",
+ "eb7d3405.a076c8",
+ "8bf05781.8b1f18",
+ "9c2cdba6.55f7a8",
+ "1085f20f.a265ce",
+ "e4d69326.193a2",
+ "60f333cf.5d9c9c",
+ "a999f378.09731",
+ "6a251d13.f9fdd4",
+ "9633209.dcfd5e",
+ "c514a958.44d878",
+ "9694fe18.72c34",
+ "23ff9b95.5a4fe4",
+ "470bcbe5.7addd4"
]
]
},
{
- "id": "db81d77c.8bbad8",
+ "id": "60f333cf.5d9c9c",
"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/terminateRANSlice.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": 3156.1875,
- "y": 4540.93750333786,
- "z": "ebaeae22.b6553",
+ "x": 3076.500026702881,
+ "y": 4479.75001001358,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "2a1b62d1.8bcbee",
+ "id": "e4d69326.193a2",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3184.1875,
- "y": 4608.93750333786,
- "z": "ebaeae22.b6553",
+ "x": 3104.500026702881,
+ "y": 4547.75001001358,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "f5039609.3db328",
- "7ff31b42.570d34"
+ "1e414f35.ab1a91",
+ "ded77a48.a2dea8"
]
]
},
{
- "id": "f5039609.3db328",
+ "id": "1e414f35.ab1a91",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3392.1875,
- "y": 4573.937259197235,
- "z": "ebaeae22.b6553",
+ "x": 3312.500026702881,
+ "y": 4512.749765872955,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "63517bd3.e01674"
+ "8e5e4c9e.01d4e"
]
]
},
{
- "id": "7ff31b42.570d34",
+ "id": "ded77a48.a2dea8",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3387.1875495910645,
- "y": 4642.937827587128,
- "z": "ebaeae22.b6553",
+ "x": 3307.5000762939453,
+ "y": 4581.750334262848,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "a7921fa0.9f749"
+ "c2228330.24d85"
]
]
},
{
- "id": "63517bd3.e01674",
+ "id": "8e5e4c9e.01d4e",
"type": "execute",
"name": "generate terminate PLMNInfoListEntry ToNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.terminateSNSSAIEntry.ToNRCellDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3712.1875,
- "y": 4588.93750333786,
- "z": "ebaeae22.b6553",
+ "x": 3632.500026702881,
+ "y": 4527.75001001358,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "4876c4aa.60de1c",
+ "id": "c525b92b.942978",
"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": 3188.187641143799,
- "y": 4647.938155174255,
- "z": "ebaeae22.b6553",
+ "x": 3108.5001678466797,
+ "y": 4586.750661849976,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "bf039528.897c08",
+ "id": "8bf05781.8b1f18",
"type": "execute",
"name": "prepare idGNBDUFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3236.187713623047,
- "y": 4761.9376854896545,
- "z": "ebaeae22.b6553",
+ "x": 3156.5002403259277,
+ "y": 4700.750192165375,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "e9e9083d.4e5b48",
+ "id": "9c2cdba6.55f7a8",
"type": "execute",
"name": "prepare idNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellDULocalId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3209.1878967285156,
- "y": 4816.937687397003,
- "z": "ebaeae22.b6553",
+ "x": 3129.5004234313965,
+ "y": 4755.750194072723,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "4f481c33.f60cb4",
+ "id": "1085f20f.a265ce",
"type": "execute",
"name": "prepare mcc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n ",
"comments": "",
"outputs": 1,
- "x": 3194.187698364258,
- "y": 4861.188186645508,
- "z": "ebaeae22.b6553",
+ "x": 3114.5002250671387,
+ "y": 4800.000693321228,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "42c91fc9.8de7e",
+ "id": "f93d48eb.2f10d8",
"type": "execute",
"name": "prepare mnc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
"comments": "",
"outputs": 1,
- "x": 3194.937942504883,
- "y": 4905.4377608299255,
- "z": "ebaeae22.b6553",
+ "x": 3115.2504692077637,
+ "y": 4844.250267505646,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "661c5ed7.d49b9",
+ "id": "eb7d3405.a076c8",
"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/terminateRANSlice.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.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.sNSSAI`\"/>\n<parameter name=\"field8\" value=\"`$tmp.deletePLMNInfoListEntry-cellDU.url`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3203.1874465942383,
- "y": 4993.9378662109375,
- "z": "ebaeae22.b6553",
+ "x": 3123.499973297119,
+ "y": 4932.750372886658,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "5bf180fe.edb5a",
+ "id": "a999f378.09731",
"type": "execute",
"name": "terminate PLMNInfoListEntry ToNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.deletePLMNInfoListEntry-cellDU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-cellDU-PLMNInfoList-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 3251.1874465942383,
- "y": 5033.187477111816,
- "z": "ebaeae22.b6553",
+ "x": 3171.499973297119,
+ "y": 4971.999983787537,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "65f4e24.f140a1c",
- "4c550ae4.253f44"
+ "8749d096.938d5",
+ "65dd2e4f.0db39"
]
]
},
{
- "id": "4c550ae4.253f44",
+ "id": "65dd2e4f.0db39",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3504.187454223633,
- "y": 4899.187475204468,
- "z": "ebaeae22.b6553",
+ "x": 3424.4999809265137,
+ "y": 4837.999981880188,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "24c0bcde.70f974"
+ "b5c17aae.f628b8"
]
]
},
{
- "id": "65f4e24.f140a1c",
+ "id": "8749d096.938d5",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3531.187454223633,
- "y": 5030.187477111816,
- "z": "ebaeae22.b6553",
+ "x": 3451.4999809265137,
+ "y": 4968.999983787537,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "547ac8ee.75dbd8"
+ "4764d6ec.916698"
]
]
},
{
- "id": "24c0bcde.70f974",
+ "id": "b5c17aae.f628b8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3668.187843322754,
- "y": 4873.187475204468,
- "z": "ebaeae22.b6553",
+ "x": 3588.5003700256348,
+ "y": 4811.999981880188,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "8fa2aa66.8f60f8",
- "1e8772f4.c624fd",
- "d9eab965.75b128"
+ "66aa1d4b.793ef4",
+ "853d60ce.e7678",
+ "c0f287b7.bef588"
]
]
},
{
- "id": "547ac8ee.75dbd8",
+ "id": "4764d6ec.916698",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3675.187454223633,
- "y": 5028.187477111816,
- "z": "ebaeae22.b6553",
+ "x": 3595.4999809265137,
+ "y": 4966.999983787537,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "e8d7bd30.f30ad"
+ "84a15eec.84767"
]
]
},
{
- "id": "e8d7bd30.f30ad",
+ "id": "84a15eec.84767",
"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/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully deleted - cellDU PLMNInfo List\"/>",
"comments": "",
"outputs": 1,
- "x": 3847.1870651245117,
- "y": 5007.187867164612,
- "z": "ebaeae22.b6553",
+ "x": 3767.4995918273926,
+ "y": 4946.000373840332,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "8fa2aa66.8f60f8",
+ "id": "66aa1d4b.793ef4",
"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 deleting NECellDU - PLMNInfo. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3850.187454223633,
- "y": 4934.187475204468,
- "z": "ebaeae22.b6553",
+ "x": 3770.4999809265137,
+ "y": 4872.999981880188,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "1e8772f4.c624fd",
+ "id": "853d60ce.e7678",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error deleting cellDU PLMNInfoList. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3849.1874561309814,
- "y": 4868.1874742507935,
- "z": "ebaeae22.b6553",
+ "x": 3769.4999828338623,
+ "y": 4806.999980926514,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "59e6a992.2c8c78",
+ "id": "6a251d13.f9fdd4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3054.4375,
- "y": 5354.18750333786,
- "z": "ebaeae22.b6553",
+ "x": 2974.750026702881,
+ "y": 5293.00001001358,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "f64fb362.66479",
- "cf3cfdf5.e5cb2",
- "e8fd5090.f3a4e",
- "7ed2e41.5134c1c",
- "da76b605.62d198",
- "e4c85af8.8dfc38",
- "fa51863.2832d78",
- "a5e81639.f8bbe8"
+ "efbb7801.572918",
+ "207d0bcf.e03724",
+ "b64355ce.b4ea68",
+ "518dff90.16477",
+ "8e4c7fc9.73c01",
+ "38db1a92.8a7516",
+ "9486f444.8f0db8",
+ "b0284523.fa8748"
]
]
},
{
- "id": "f64fb362.66479",
+ "id": "efbb7801.572918",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3278.4374465942383,
- "y": 5327.187479972839,
- "z": "ebaeae22.b6553",
+ "x": 3198.749973297119,
+ "y": 5265.99998664856,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "5a49cf0e.8cf95",
- "bed89f22.90bb7"
+ "b6f6d267.1af43",
+ "77c752af.9da1ac"
]
]
},
{
- "id": "5a49cf0e.8cf95",
+ "id": "b6f6d267.1af43",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3470.437644958496,
- "y": 5281.187870025635,
- "z": "ebaeae22.b6553",
+ "x": 3390.750171661377,
+ "y": 5220.000376701355,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "6fafac06.7a20b4"
+ "710be051.1bc19"
]
]
},
{
- "id": "6fafac06.7a20b4",
+ "id": "710be051.1bc19",
"type": "execute",
"name": "fetch RRMPolicyRatio NRCellDU - URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3800.4378509521484,
- "y": 5305.187870025635,
- "z": "ebaeae22.b6553",
+ "x": 3720.7503776550293,
+ "y": 5244.000376701355,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "cf3cfdf5.e5cb2",
+ "id": "207d0bcf.e03724",
"type": "execute",
"name": "prepare idGNBDUFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3303.4374465942383,
- "y": 5394.187480926514,
- "z": "ebaeae22.b6553",
+ "x": 3223.749973297119,
+ "y": 5332.999987602234,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "e8fd5090.f3a4e",
+ "id": "b64355ce.b4ea68",
"type": "execute",
"name": "prepare idNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellDULocalId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3279.4374465942383,
- "y": 5451.187481880188,
- "z": "ebaeae22.b6553",
+ "x": 3199.749973297119,
+ "y": 5389.999988555908,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "7ed2e41.5134c1c",
+ "id": "518dff90.16477",
"type": "execute",
"name": "fetch RRMPolicyRatio - NRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"get-rrmpolicyratio-du-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": 3314.4374465942383,
- "y": 5498.187482833862,
- "z": "ebaeae22.b6553",
+ "x": 3234.749973297119,
+ "y": 5436.9999895095825,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "7a6bbb2b.7cf924",
- "be999386.7fd6d"
+ "a955369d.8e8918",
+ "7908c304.27e3dc"
]
]
},
{
- "id": "7a6bbb2b.7cf924",
+ "id": "a955369d.8e8918",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3538.4374504089355,
- "y": 5484.187481880188,
- "z": "ebaeae22.b6553",
+ "x": 3458.7499771118164,
+ "y": 5422.999988555908,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "e99c0c5a.f2f13"
+ "48753731.08dff8"
]
]
},
{
- "id": "be999386.7fd6d",
+ "id": "7908c304.27e3dc",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3566.437454223633,
- "y": 5544.187482833862,
- "z": "ebaeae22.b6553",
+ "x": 3486.7499809265137,
+ "y": 5482.9999895095825,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "a7f01d46.71dd"
+ "d6156f9b.23264"
]
]
},
{
- "id": "e99c0c5a.f2f13",
+ "id": "48753731.08dff8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3702.437843322754,
- "y": 5468.187480926514,
- "z": "ebaeae22.b6553",
+ "x": 3622.7503700256348,
+ "y": 5406.999987602234,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "67662bdb.59fbb4",
- "639ad269.db313c",
- "d9eab965.75b128"
+ "9111cea6.a841b",
+ "8a783176.8143a",
+ "c0f287b7.bef588"
]
]
},
{
- "id": "639ad269.db313c",
+ "id": "8a783176.8143a",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3902.437847137451,
- "y": 5432.187480926514,
- "z": "ebaeae22.b6553",
+ "x": 3822.750373840332,
+ "y": 5370.999987602234,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "67662bdb.59fbb4",
+ "id": "9111cea6.a841b",
"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 in Fetching RRMPolicyRatio - CellDU. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3919.437454223633,
- "y": 5468.187482833862,
- "z": "ebaeae22.b6553",
+ "x": 3839.7499809265137,
+ "y": 5406.9999895095825,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "a7f01d46.71dd",
+ "id": "d6156f9b.23264",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3729.687843322754,
- "y": 5533.937482833862,
- "z": "ebaeae22.b6553",
+ "x": 3650.0003700256348,
+ "y": 5472.7499895095825,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "9a6fbcb6.5964d",
- "4287c2fe.ee73fc"
+ "94bbb9a7.e9ba98",
+ "fe76f579.b18d68"
]
]
},
{
- "id": "9a6fbcb6.5964d",
+ "id": "94bbb9a7.e9ba98",
"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/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved - RRMPolicyRatio\"/>",
"comments": "",
"outputs": 1,
- "x": 3897.937847137451,
- "y": 5513.937482833862,
- "z": "ebaeae22.b6553",
+ "x": 3818.250373840332,
+ "y": 5452.7499895095825,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "4287c2fe.ee73fc",
+ "id": "fe76f579.b18d68",
"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-instantiateRANSlice-configrsp-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 3912.4378509521484,
- "y": 5558.437482833862,
- "z": "ebaeae22.b6553",
+ "x": 3832.7503776550293,
+ "y": 5497.2499895095825,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "da76b605.62d198",
+ "id": "8e4c7fc9.73c01",
"type": "execute",
"name": "read rrmpolicyratio list size",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyRatioDUList_length' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio_length'`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 3286.4374465942383,
- "y": 5554.187482833862,
- "z": "ebaeae22.b6553",
+ "x": 3206.749973297119,
+ "y": 5492.9999895095825,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "e4c85af8.8dfc38",
+ "id": "38db1a92.8a7516",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatioList size\"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyRatioDUList_length`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3242.4374465942383,
- "y": 5596.187483787537,
- "z": "ebaeae22.b6553",
+ "x": 3162.749973297119,
+ "y": 5534.999990463257,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "fa51863.2832d78",
+ "id": "9486f444.8f0db8",
"type": "block",
"name": "rrmPolicyDedicatedRatio",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3857.437843322754,
- "y": 5257.187479019165,
- "z": "ebaeae22.b6553",
+ "x": 3777.7503700256348,
+ "y": 5195.999985694885,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "995ac317.70a57",
- "207ddb9b.3b8ac4",
- "c60b565b.06b788",
- "48c53d03.8d6a74",
- "bb6bf66b.904888",
- "13b6a5c1.1c77fa",
- "bdc2ae2a.81912",
- "84c80855.f3e148",
- "145a305b.8cbad",
- "dff1b89e.e79ff8",
- "32a211f2.e1578e"
+ "47c01f60.a3ca2",
+ "e6f416aa.058c48",
+ "67cbf397.c4ca9c",
+ "fc7a9a1e.734e48",
+ "494783a6.a4080c",
+ "2602bd27.59f962",
+ "d6af4d73.fdd96",
+ "c1429664.1cfa08",
+ "cbea2db8.4410a",
+ "bcc3b76d.194fe8",
+ "ec1b8f4.c17177"
]
]
},
{
- "id": "c60b565b.06b788",
+ "id": "67cbf397.c4ca9c",
"type": "set",
"name": "Calculate RRM Parms1",
"xml": "<set>\n<parameter name='tmp.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`' />\n",
"comments": "",
- "x": 4279.427307128906,
- "y": 4924.510256290436,
- "z": "ebaeae22.b6553",
+ "x": 4199.739833831787,
+ "y": 4863.322762966156,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "48c53d03.8d6a74",
+ "id": "fc7a9a1e.734e48",
"type": "set",
"name": "Calculate RRM Parms2",
"xml": "<set>\n<parameter name='tmp.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`' />\n",
"comments": "",
- "x": 4287.968566894531,
- "y": 4969.530275762081,
- "z": "ebaeae22.b6553",
+ "x": 4208.281093597412,
+ "y": 4908.342782437801,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "bb6bf66b.904888",
+ "id": "494783a6.a4080c",
"type": "set",
"name": "Calculate RRM Parms3",
"xml": "<set>\n<parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberOfConns`' />",
"comments": "",
- "x": 4277.968688964844,
- "y": 5024.530153691769,
- "z": "ebaeae22.b6553",
+ "x": 4198.281215667725,
+ "y": 4963.342660367489,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "13b6a5c1.1c77fa",
+ "id": "2602bd27.59f962",
"type": "set",
"name": "Calculate RRM Parms4",
"xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity1' value='`$tmp.uLThptPerSlice + $tmp.dLThptPerSlice`' />\n",
"comments": "",
- "x": 4277.968566894531,
- "y": 5075.530153751373,
- "z": "ebaeae22.b6553",
+ "x": 4198.281093597412,
+ "y": 5014.3426604270935,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "bdc2ae2a.81912",
+ "id": "d6af4d73.fdd96",
"type": "set",
"name": "Calculate RRM Parms5",
"xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity' value='`$tmp.nearRTRIC.trafficCapacity1 / 2`' />",
"comments": "",
- "x": 4265.968688964844,
- "y": 5135.530275762081,
- "z": "ebaeae22.b6553",
+ "x": 4186.281215667725,
+ "y": 5074.342782437801,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "84c80855.f3e148",
+ "id": "c1429664.1cfa08",
"type": "set",
"name": "Calculate RRM Parms6",
"xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacityBPS' value='`$tmp.nearRTRIC.trafficCapacity * 1000000`' />",
"comments": "",
- "x": 4303.968566894531,
- "y": 5185.530275762081,
- "z": "ebaeae22.b6553",
+ "x": 4224.281093597412,
+ "y": 5124.342782437801,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "145a305b.8cbad",
+ "id": "cbea2db8.4410a",
"type": "set",
"name": "Calculate RRM Parms7",
"xml": "<set>\n<parameter name='tmp.nrcelldu.totalPRBForSNSSAI' value='`$tmp.nearRTRIC.trafficCapacityBPS / 1008000`' />\n",
"comments": "",
- "x": 4290.968505859375,
- "y": 5255.530642032623,
- "z": "ebaeae22.b6553",
+ "x": 4211.281032562256,
+ "y": 5194.3431487083435,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "dff1b89e.e79ff8",
+ "id": "bcc3b76d.194fe8",
"type": "set",
"name": "calculation8",
"xml": "<set>\n<parameter name='tmp.nrcelldu.PRBPerImpactedCell' value='`$tmp.nrcelldu.totalPRBForSNSSAI / $tmp.cellDUList_length`' />\n",
"comments": "",
- "x": 4261.968505859375,
- "y": 5319.529665470123,
- "z": "ebaeae22.b6553",
+ "x": 4182.281032562256,
+ "y": 5258.3421721458435,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "32a211f2.e1578e",
+ "id": "ec1b8f4.c17177",
"type": "set",
"name": "calculation9",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU1' value='`$tmp.nrcelldu.PRBPerImpactedCell * 100`' />\n",
"comments": "",
- "x": 4249.969055175781,
- "y": 5370.529543399811,
- "z": "ebaeae22.b6553",
+ "x": 4170.281581878662,
+ "y": 5309.342050075531,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "207ddb9b.3b8ac4",
+ "id": "e6f416aa.058c48",
"type": "set",
"name": "calculation10",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rRMPolicyDedicatedRatio.CellDU1 / $prop.nrcelldu.TotalPRBsPerCell`' />\n",
"comments": "",
- "x": 4225.4273681640625,
- "y": 5436.510012149811,
- "z": "ebaeae22.b6553",
+ "x": 4145.739894866943,
+ "y": 5375.322518825531,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "995ac317.70a57",
+ "id": "47c01f60.a3ca2",
"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=\"rRMPolicyDedicatedRatio for CellDU \"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellDU`\"/>\n<parameter name=\"field3\" value=\"tmp.nearRTRIC.trafficCapacity1 \"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRIC.trafficCapacity1`\"/>\n<parameter name=\"field5\" value=\"tmp.nearRTRIC.trafficCapacity \"/>\n<parameter name=\"field6\" value=\"`$tmp.nearRTRIC.trafficCapacity`\"/>\n<parameter name=\"field7\" value=\"tmp.nearRTRIC.trafficCapacityBPS\"/>\n<parameter name=\"field8\" value=\"`$tmp.nearRTRIC.trafficCapacityBPS`\"/>\n<parameter name=\"field9\" value=\"tmp.nrcelldu.totalPRBForSNSSAI \"/>\n<parameter name=\"field10\" value=\"`$tmp.nrcelldu.totalPRBForSNSSAI`\"/>\n<parameter name=\"field11\" value=\"tmp.nrcelldu.PRBPerImpactedCell \"/>\n<parameter name=\"field12\" value=\"`$tmp.nrcelldu.PRBPerImpactedCell`\"/>\n<parameter name=\"field13\" value=\"tmp.rRMPolicyDedicatedRatio.CellDU1 \"/>\n<parameter name=\"field14\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellDU1`\"/>",
"comments": "",
"outputs": 1,
- "x": 4051.4372940063477,
- "y": 5448.631318569183,
- "z": "ebaeae22.b6553",
+ "x": 3971.7498207092285,
+ "y": 5387.443825244904,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "a5e81639.f8bbe8",
+ "id": "b0284523.fa8748",
"type": "for",
"name": "for each rrmpolicyratio",
"xml": "<for index='iddu-rrm' start='0' end='`$tmp.rrmPolicyRatioDUList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 3271.6875,
- "y": 5638.18750333786,
- "z": "ebaeae22.b6553",
+ "x": 3192.000026702881,
+ "y": 5577.00001001358,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "2dcccc23.ce4224"
+ "b461ac53.d8371"
]
]
},
{
- "id": "2dcccc23.ce4224",
+ "id": "b461ac53.d8371",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3482.687843322754,
- "y": 5640.187484741211,
- "z": "ebaeae22.b6553",
+ "x": 3403.0003700256348,
+ "y": 5578.999991416931,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "72e5450b.b316cc",
- "10cb47da.b128f8",
- "5b75ee42.4c9fd",
- "718ba68e.0f1438",
- "d6a7be5b.5ce92",
- "dc95e501.331b08",
- "c7ab9da7.d354c",
- "1a038cd2.e165b3",
- "2bd21642.45c75a",
- "1169539a.70ef1c",
- "aea8d928.785a68"
+ "17e4f21d.8070ee",
+ "a03a0880.605558",
+ "713445ab.812cec",
+ "cac444c4.064b08",
+ "e5c429e5.1486a8",
+ "7f543690.5b2d18",
+ "60c8106e.676e7",
+ "239fdd6d.56bf32",
+ "5f52df11.87729",
+ "f4be0b6f.df1188",
+ "f87b38a7.36f738"
]
]
},
{
- "id": "be52926d.2dc64",
+ "id": "91b09b2c.613008",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4086.687660217285,
- "y": 5860.437783718109,
- "z": "ebaeae22.b6553",
+ "x": 4007.000186920166,
+ "y": 5799.250290393829,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "3a992552.d3ccca"
+ "c415a7c3.c4ef38"
]
]
},
{
- "id": "3a992552.d3ccca",
+ "id": "c415a7c3.c4ef38",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4278.937728881836,
- "y": 5874.187783718109,
- "z": "ebaeae22.b6553",
+ "x": 4199.250255584717,
+ "y": 5813.000290393829,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "85fe7a02.e52028"
+ "404e122c.95ba2c"
]
]
},
{
- "id": "85fe7a02.e52028",
+ "id": "404e122c.95ba2c",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully removed - cellDU RRMpolicyRatio\"/>",
"comments": "",
"outputs": 1,
- "x": 4476.438095092773,
- "y": 5865.18754529953,
- "z": "ebaeae22.b6553",
+ "x": 4396.750621795654,
+ "y": 5804.00005197525,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "f8f6028f.290e9",
+ "id": "d14446aa.6e1ea8",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error removing cellDU RRMPolicyRatio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 4544.6875,
- "y": 5893.187274456024,
- "z": "ebaeae22.b6553",
+ "x": 4465.000026702881,
+ "y": 5831.999781131744,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "299706aa.14ea2a",
+ "id": "5aeb6d98.67f7d4",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error removing RRMPolicyRatio for NRCellDU. Aborting RPC executiopn'/>",
"comments": "",
- "x": 4549.6873779296875,
- "y": 5988.18733549118,
- "z": "ebaeae22.b6553",
+ "x": 4469.999904632568,
+ "y": 5926.999842166901,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "59ca9aa.f5edb64",
+ "id": "ded1bcab.1ed2e",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4304.687744140625,
- "y": 5942.187274456024,
- "z": "ebaeae22.b6553",
+ "x": 4225.000270843506,
+ "y": 5880.999781131744,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "299706aa.14ea2a",
- "f8f6028f.290e9",
- "d9eab965.75b128"
+ "5aeb6d98.67f7d4",
+ "d14446aa.6e1ea8",
+ "c0f287b7.bef588"
]
]
},
{
- "id": "6ed1e886.45d118",
+ "id": "c59cc283.87066",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4085.6875,
- "y": 5937.187274456024,
- "z": "ebaeae22.b6553",
+ "x": 4006.000026702881,
+ "y": 5875.999781131744,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "59ca9aa.f5edb64"
+ "ded1bcab.1ed2e"
]
]
},
{
- "id": "d9eab965.75b128",
+ "id": "c0f287b7.bef588",
"type": "block",
"name": "block : SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4629.171875,
- "y": 2842.1875059604645,
- "z": "ebaeae22.b6553",
+ "x": 4549.484401702881,
+ "y": 2781.0000126361847,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "5e9993d3.e6999c",
- "3648909.2c5b97",
- "bee855c6.6bdb68"
+ "cc6de14.446c62",
+ "8721a696.a410a8",
+ "e920dcc5.a6a24"
]
]
},
{
- "id": "5e9993d3.e6999c",
+ "id": "cc6de14.446c62",
"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=\"success\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$terminate-r-a-n-slice-input.common-header.request-id `\"/>\n<parameter name=\"tmp.action\" value=\"`$terminate-r-a-n-slice-instance-input.action`\"/>\n\n\n\n",
"comments": "",
- "x": 5291.1728515625,
- "y": 2634.0871641635895,
- "z": "ebaeae22.b6553",
+ "x": 5211.485378265381,
+ "y": 2572.8996708393097,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "3648909.2c5b97",
+ "id": "8721a696.a410a8",
"type": "record",
"name": "record configdb RestAPI parms",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/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": 5266.171737670898,
- "y": 2731.187841653824,
- "z": "ebaeae22.b6553",
+ "x": 5186.484264373779,
+ "y": 2670.000348329544,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "bee855c6.6bdb68",
+ "id": "e920dcc5.a6a24",
"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-terminate-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\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>",
"comments": "",
"outputs": 1,
- "x": 5181.17174911499,
- "y": 2828.1877195835114,
- "z": "ebaeae22.b6553",
+ "x": 5101.484275817871,
+ "y": 2767.0002262592316,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "f44bc093.9a39a",
- "d940a527.ece988"
+ "6376b41b.8c7c2c",
+ "d84358a4.52a738"
]
]
},
{
- "id": "f44bc093.9a39a",
+ "id": "6376b41b.8c7c2c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 5407.171757698059,
- "y": 2805.187688589096,
- "z": "ebaeae22.b6553",
+ "x": 5327.48428440094,
+ "y": 2744.0001952648163,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "226e8e4e.67c342"
+ "8fc5e168.0c24a"
]
]
},
{
- "id": "d940a527.ece988",
+ "id": "d84358a4.52a738",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 5397.171611785889,
- "y": 2913.187628030777,
- "z": "ebaeae22.b6553",
+ "x": 5317.4841384887695,
+ "y": 2852.000134706497,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "ddeb31e1.e29a9"
+ "e44b52bf.197c"
]
]
},
{
- "id": "ddeb31e1.e29a9",
+ "id": "e44b52bf.197c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 5547.171398162842,
- "y": 2932.1876890659332,
- "z": "ebaeae22.b6553",
+ "x": 5467.483924865723,
+ "y": 2871.0001957416534,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "f7eb38a.af154c8"
+ "a2c23705.e10948"
]
]
},
{
- "id": "226e8e4e.67c342",
+ "id": "8fc5e168.0c24a",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 5558.171627044678,
- "y": 2800.1878106594086,
- "z": "ebaeae22.b6553",
+ "x": 5478.484153747559,
+ "y": 2739.000317335129,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "e9cf122c.abd58"
+ "afc62388.e1854"
]
]
},
{
- "id": "e9cf122c.abd58",
+ "id": "afc62388.e1854",
"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": 5724.171306610107,
- "y": 2803.187628030777,
- "z": "ebaeae22.b6553",
+ "x": 5644.483833312988,
+ "y": 2742.000134706497,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "f7eb38a.af154c8",
+ "id": "a2c23705.e10948",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
"comments": "",
"outputs": 1,
- "x": 5711.171413421631,
- "y": 2938.187628030777,
- "z": "ebaeae22.b6553",
+ "x": 5631.483940124512,
+ "y": 2877.000134706497,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "46dde341.91858c",
+ "id": "a1001d58.671ed",
"type": "block",
"name": "SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 711.171875,
- "y": 4524.1875059604645,
- "z": "ebaeae22.b6553",
+ "x": 631.4844017028809,
+ "y": 4463.000012636185,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "948978c.0bfd788",
- "d81a7ab6.c21fa8",
- "8a1fb187.ef6b6",
- "6d106907.1c8c58"
+ "ceed616f.6660b",
+ "905d230d.ff003",
+ "d877e7b7.932058",
+ "90d8f191.d7314",
+ "9e346929.f8f368"
]
]
},
{
- "id": "8a1fb187.ef6b6",
+ "id": "d877e7b7.932058",
"type": "set",
"name": "set tmp variables for SO response",
- "xml": "<set>\n<parameter name=\"tmp.status\" value=\"success\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$terminate-r-a-n-slice-input.common-header.request-id `\"/>\n<parameter name=\"tmp.action\" value=\"`$tmp.action`\"/>\n\n\n",
+ "xml": "<set>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$terminate-r-a-n-slice-input.common-header.request-id `\"/>\n<parameter name=\"tmp.action\" value=\"`$tmp.action`\"/>\n\n\n",
"comments": "",
- "x": 991.1730194091797,
- "y": 4374.086990594864,
- "z": "ebaeae22.b6553",
+ "x": 926.4855804443359,
+ "y": 4256.899534702301,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "948978c.0bfd788",
+ "id": "ceed616f.6660b",
"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": 988.1718521118164,
- "y": 4528.187689065933,
- "z": "ebaeae22.b6553",
+ "x": 908.4843788146973,
+ "y": 4467.000195741653,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "d81a7ab6.c21fa8",
+ "id": "905d230d.ff003",
"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-termi-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": 857.1719512939453,
- "y": 4645.187393426895,
- "z": "ebaeae22.b6553",
+ "x": 777.4844779968262,
+ "y": 4583.999900102615,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "fc27dc5a.ee8c1",
- "46baf8c5.c7dd18"
+ "e11dc77f.7a36f8",
+ "491c1a71.707114"
]
]
},
{
- "id": "fc27dc5a.ee8c1",
+ "id": "e11dc77f.7a36f8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1022.1719512939453,
- "y": 4625.187392473221,
- "z": "ebaeae22.b6553",
+ "x": 942.4844779968262,
+ "y": 4563.999899148941,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "a2b991a8.d7e8d"
+ "ce30c1af.2ebc7"
]
]
},
{
- "id": "46baf8c5.c7dd18",
+ "id": "491c1a71.707114",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1014.1718444824219,
- "y": 4698.187342882156,
- "z": "ebaeae22.b6553",
+ "x": 934.4843711853027,
+ "y": 4636.999849557877,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "303e0316.16b79c"
+ "5052a1f1.55ff3"
]
]
},
{
- "id": "303e0316.16b79c",
+ "id": "5052a1f1.55ff3",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1160.171688079834,
- "y": 4703.187451601028,
- "z": "ebaeae22.b6553",
+ "x": 1080.4842147827148,
+ "y": 4641.999958276749,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "7923930d.d6f23c"
+ "d9df9d3a.4da25"
]
]
},
{
- "id": "a2b991a8.d7e8d",
+ "id": "ce30c1af.2ebc7",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1171.1718521118164,
- "y": 4621.187527894974,
- "z": "ebaeae22.b6553",
+ "x": 1091.4843788146973,
+ "y": 4560.000034570694,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "5d3277a0.0e2618",
- "97774367.35f48"
+ "8afcbe29.b2262",
+ "81b345a5.9eead8"
]
]
},
{
- "id": "5d3277a0.0e2618",
+ "id": "8afcbe29.b2262",
"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": 1318.1714706420898,
- "y": 4632.187269449234,
- "z": "ebaeae22.b6553",
+ "x": 1238.4839973449707,
+ "y": 4570.999776124954,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "7923930d.d6f23c",
+ "id": "d9df9d3a.4da25",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
"comments": "",
"outputs": 1,
- "x": 1321.1716079711914,
- "y": 4709.187343835831,
- "z": "ebaeae22.b6553",
+ "x": 1241.4841346740723,
+ "y": 4647.999850511551,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "97774367.35f48",
+ "id": "81b345a5.9eead8",
"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": 1305.6820793151855,
- "y": 4536.1767609119415,
- "z": "ebaeae22.b6553",
+ "x": 1225.9946060180664,
+ "y": 4474.989267587662,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "6d106907.1c8c58",
+ "id": "90d8f191.d7314",
"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": 1010.511474609375,
- "y": 4464.17284321785,
- "z": "ebaeae22.b6553",
+ "x": 930.8240013122559,
+ "y": 4402.98534989357,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "1b5cf3c3.5bec1c",
+ "id": "ea6a81f6.18102",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2412.6875,
- "y": 1839.18750333786,
- "z": "ebaeae22.b6553",
+ "x": 2333.000026702881,
+ "y": 1778.0000100135803,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "43576c6a.f443a4"
+ "589ea445.0133dc"
]
]
},
{
- "id": "43576c6a.f443a4",
+ "id": "589ea445.0133dc",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2605.677158355713,
- "y": 1839.1876254081726,
- "z": "ebaeae22.b6553",
+ "x": 2525.9896850585938,
+ "y": 1778.0001320838928,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "6bdd1868.417a98",
- "e63db19d.8965e"
+ "584b8bd6.27a284",
+ "daef7bb4.99b938"
]
]
},
{
- "id": "6bdd1868.417a98",
+ "id": "584b8bd6.27a284",
"type": "execute",
"name": "generate fetchRRMPolicyRatio.ToNRCellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToNRCellCU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2912.677345275879,
- "y": 1806.1877264976501,
- "z": "ebaeae22.b6553",
+ "x": 2832.9898719787598,
+ "y": 1745.0002331733704,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "e63db19d.8965e",
+ "id": "daef7bb4.99b938",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>",
"comments": "",
"outputs": 1,
- "x": 2856.677745819092,
- "y": 1859.1879200935364,
- "z": "ebaeae22.b6553",
+ "x": 2776.9902725219727,
+ "y": 1798.0004267692566,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "6002efdc.63fee",
+ "id": "af61bc5b.dab8f",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2840.1875,
- "y": 1223.18750333786,
- "z": "ebaeae22.b6553",
+ "x": 2760.500026702881,
+ "y": 1162.0000100135803,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "259d8d88.0bd5a2",
- "6c4081d5.92f8a"
+ "f2441d08.eace3",
+ "d94b1359.b291a"
]
]
},
{
- "id": "6c4081d5.92f8a",
+ "id": "d94b1359.b291a",
"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`\"/>",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteSNSSAIListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteSNSSAIListEntry.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>",
"comments": "",
"outputs": 1,
- "x": 3091.187931060791,
- "y": 1246.18763589859,
- "z": "ebaeae22.b6553",
+ "x": 3011.500457763672,
+ "y": 1185.0001425743103,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "259d8d88.0bd5a2",
+ "id": "f2441d08.eace3",
"type": "execute",
"name": "generate TERMINATEPLMNInfoList.ToNRCellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.terminateSNSSAIEntry.ToNRCellCU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteSNSSAIListEntry.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3147.187530517578,
- "y": 1193.1874423027039,
- "z": "ebaeae22.b6553",
+ "x": 3067.500057220459,
+ "y": 1131.999948978424,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "7b21dc12.ac3dd4",
+ "id": "fe6b85aa.cad0f8",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfo-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfo-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>",
"comments": "",
"outputs": 1,
- "x": 2917.687515258789,
- "y": 2888.187846660614,
- "z": "ebaeae22.b6553",
+ "x": 2838.00004196167,
+ "y": 2827.0003533363342,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "6b73666c.32be08",
+ "id": "ef311bc6.4dd978",
"type": "execute",
"name": "generate terminatePLMNInfoList.TogNBCUUP",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.terminateSNSSAIEntry.ToCUUP.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfo-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2991.687225341797,
- "y": 2837.1876006126404,
- "z": "ebaeae22.b6553",
+ "x": 2911.9997520446777,
+ "y": 2776.0001072883606,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "a6e97b6d.d0a8c8",
+ "id": "181e9013.6fef4",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2671.6871795654297,
- "y": 2875.1875920295715,
- "z": "ebaeae22.b6553",
+ "x": 2591.9997062683105,
+ "y": 2814.0000987052917,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "6b73666c.32be08",
- "7b21dc12.ac3dd4"
+ "ef311bc6.4dd978",
+ "fe6b85aa.cad0f8"
]
]
},
{
- "id": "b21bd8e.6c6b128",
+ "id": "afb1f0b1.8c4ff",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2182.6874809265137,
- "y": 3319.1874494552612,
- "z": "ebaeae22.b6553",
+ "x": 2103.0000076293945,
+ "y": 3257.9999561309814,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "278e960.5e79c6a",
- "fcec2deb.6e0ef"
+ "e5a314a4.32bcd8",
+ "b091c5f5.5577d8"
]
]
},
{
- "id": "278e960.5e79c6a",
+ "id": "e5a314a4.32bcd8",
"type": "execute",
"name": "fetch RRMPolicyRatio.TogNBCUUP",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2449.687484741211,
- "y": 3252.187448501587,
- "z": "ebaeae22.b6553",
+ "x": 2370.000011444092,
+ "y": 3190.999955177307,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "fcec2deb.6e0ef",
+ "id": "b091c5f5.5577d8",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>",
"comments": "",
"outputs": 1,
- "x": 2423.6876792907715,
- "y": 3291.187644958496,
- "z": "ebaeae22.b6553",
+ "x": 2344.0002059936523,
+ "y": 3230.0001516342163,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "8b5d8aec.0704c8",
+ "id": "e5401161.0094f",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1974.1874771118164,
- "y": 3325.1874504089355,
- "z": "ebaeae22.b6553",
+ "x": 1894.5000038146973,
+ "y": 3263.9999570846558,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "b21bd8e.6c6b128"
+ "afb1f0b1.8c4ff"
]
]
},
{
- "id": "a7921fa0.9f749",
+ "id": "c2228330.24d85",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3582.1875,
- "y": 4658.18750333786,
- "z": "ebaeae22.b6553",
+ "x": 3502.500026702881,
+ "y": 4597.00001001358,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "d213f3fd.e6ce",
- "fdecb110.dce2c"
+ "dc1075f7.09d7f8",
+ "fc5d83c4.e296e"
]
]
},
{
- "id": "d213f3fd.e6ce",
+ "id": "dc1075f7.09d7f8",
"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.terminateSNSSAIEntry.ToNRCellDU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3889.187530517578,
- "y": 4628.187442302704,
- "z": "ebaeae22.b6553",
+ "x": 3809.500057220459,
+ "y": 4566.999948978424,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "fdecb110.dce2c",
+ "id": "fc5d83c4.e296e",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3833.187931060791,
- "y": 4681.18763589859,
- "z": "ebaeae22.b6553",
+ "x": 3753.500457763672,
+ "y": 4620.00014257431,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "bed89f22.90bb7",
+ "id": "77c752af.9da1ac",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3472.9374504089355,
- "y": 5348.187479019165,
- "z": "ebaeae22.b6553",
+ "x": 3393.2499771118164,
+ "y": 5286.999985694885,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "4d4e101d.a6f12"
+ "c966de86.2f2d9"
]
]
},
{
- "id": "4d4e101d.a6f12",
+ "id": "c966de86.2f2d9",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3633.937843322754,
- "y": 5404.437089920044,
- "z": "ebaeae22.b6553",
+ "x": 3554.2503700256348,
+ "y": 5343.249596595764,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "996dd8d6.5cee88",
- "236f57ef.767ac8"
+ "a44c2436.37a2c8",
+ "315b6dd.7bdfe92"
]
]
},
{
- "id": "996dd8d6.5cee88",
+ "id": "a44c2436.37a2c8",
"type": "execute",
"name": "generate getRRMPolicyRatio.ToNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3883.9378509521484,
- "y": 5348.43708896637,
- "z": "ebaeae22.b6553",
+ "x": 3804.2503776550293,
+ "y": 5287.24959564209,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "236f57ef.767ac8",
+ "id": "315b6dd.7bdfe92",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3874.937843322754,
- "y": 5389.437480926514,
- "z": "ebaeae22.b6553",
+ "x": 3795.2503700256348,
+ "y": 5328.249987602234,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "1790ef5c.0ce9e1",
+ "id": "e93ab54.8640748",
"type": "comment",
"name": "terminateRANSliceInstance/instantiateRANSliceModifyDeallocate-ConfigDb",
"info": "",
"comments": "",
- "x": 934.9375286102295,
- "y": 113.43750333786011,
- "z": "ebaeae22.b6553",
+ "x": 855.2500553131104,
+ "y": 52.25001001358032,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "6b6444bf.cc689c",
+ "id": "946d2d34.41ffc",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RPC to handle terminateRANSlice.: \"/>\n<parameter name=\"field2\" value=\"`$terminate-r-a-n-slice-instance-input.action`\"/>\n<parameter name=\"field3\" value=\"`$terminate-r-a-n-slice-instance-input.common-header.timestamp`\"/>\n<parameter name=\"field4\" value=\"`$terminate-r-a-n-slice-instance-input.common-header.request-id`\"/>\n<parameter name=\"field5\" value=\"`$terminate-r-a-n-slice-instance-input.common-header.originator-id`\"/>\n<parameter name=\"field6\" value=\"RPC Payload String \"/>\n<parameter name=\"field7\" value=\"`$terminate-r-a-n-slice-instance-input.payload`\"/>",
"comments": "",
"outputs": 1,
- "x": 635.1875076293945,
- "y": 150.68749284744263,
- "z": "ebaeae22.b6553",
+ "x": 555.5000343322754,
+ "y": 89.49999952316284,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "e9e8672a.4ffce8",
+ "id": "a610fc7a.365d8",
"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 terminateRANSice RPC' />",
"comments": "",
- "x": 741.1872634887695,
- "y": 204.68750619888306,
- "z": "ebaeae22.b6553",
+ "x": 661.4997901916504,
+ "y": 143.50001287460327,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "c3268083.929e5",
+ "id": "e9adc1b7.b6661",
"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-terminateRANSlice-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 776.1872253417969,
- "y": 348.67704677581787,
- "z": "ebaeae22.b6553",
+ "x": 696.4997520446777,
+ "y": 287.4895534515381,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "e45e8d9d.3ca03",
+ "id": "465c1614.7bbc58",
"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": 796.1872100830078,
- "y": 389.6874122619629,
- "z": "ebaeae22.b6553",
+ "x": 716.4997367858887,
+ "y": 328.4999189376831,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "5a5034fa.f6048c",
+ "id": "a73b1411.eded98",
"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/terminateRANSlice.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": 807.1872787475586,
- "y": 459.43749380111694,
- "z": "ebaeae22.b6553",
+ "x": 727.4998054504395,
+ "y": 398.25000047683716,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "9973684f.61a908",
+ "id": "da856e77.e9b46",
"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=\"`$tmp.sliceprofileid`\"/>",
"comments": "",
"outputs": 1,
- "x": 731.6874923706055,
- "y": 678.1875286102295,
- "z": "ebaeae22.b6553",
+ "x": 652.0000190734863,
+ "y": 617.0000352859497,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "87f2f48a.1ba018",
+ "id": "7ec8c207.6e444c",
"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/terminateRANSlice.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": 692.6875305175781,
- "y": 709.9375600814819,
- "z": "ebaeae22.b6553",
+ "x": 613.000057220459,
+ "y": 648.7500667572021,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "91c2631e.f61f1",
+ "id": "9ff8ee77.ca278",
"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": 732.6875457763672,
- "y": 752.1875448226929,
- "z": "ebaeae22.b6553",
+ "x": 653.000072479248,
+ "y": 691.0000514984131,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "8812033c.bd2d2",
+ "id": "f09be423.66d5e8",
"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": 681.9375457763672,
- "y": 803.9375767707825,
- "z": "ebaeae22.b6553",
+ "x": 602.250072479248,
+ "y": 742.7500834465027,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "d7b3b99c.eff728",
+ "id": "983b5fef.1889",
"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/terminateRANSlice.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": 639.6810913085938,
- "y": 924.9310789108276,
- "z": "ebaeae22.b6553",
+ "x": 559.9936180114746,
+ "y": 863.7435855865479,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "a190b9fc.c0c8b8",
+ "id": "5351d078.8f6dc",
"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": 2222.2151947021484,
- "y": 620.6596846580505,
- "z": "ebaeae22.b6553",
+ "x": 2142.5277214050293,
+ "y": 559.4721913337708,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "883d83fc.b533c",
+ "id": "81b2efc8.126e8",
"type": "for",
"name": "for each rrmpolicyMember",
"xml": "<for index='idcu-rrm1' start='0' end='`$tmp.NRCellCURRMPolicyMembersLength`' >\n",
"comments": "",
"outputs": 1,
- "x": 2691.187267303467,
- "y": 2334.270649433136,
- "z": "ebaeae22.b6553",
+ "x": 2611.4997940063477,
+ "y": 2273.083156108856,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "fab8f7a6.30f9a8"
+ "3e3fe45d.81376c"
]
]
},
{
- "id": "fab8f7a6.30f9a8",
+ "id": "3e3fe45d.81376c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2920.854263305664,
- "y": 2334.381782054901,
- "z": "ebaeae22.b6553",
+ "x": 2841.166790008545,
+ "y": 2273.1942887306213,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "a3e3bba3.2a0948",
- "e147712.b959c9",
- "67a1af5a.8403e",
- "4b58de46.8f0cb",
- "39fd802a.cfd13"
+ "1a4ed74c.6cb759",
+ "d0d6de42.261b3",
+ "90035c3c.7d00c",
+ "728f3e65.42a96",
+ "e7ab6a0a.6746a8"
]
]
},
{
- "id": "a3e3bba3.2a0948",
+ "id": "1a4ed74c.6cb759",
"type": "switchNode",
"name": "if length > 0 ",
"xml": "<switch test='`$tmp.NRCellCURRMPolicyMembersLength > 0`'>\n\n \n",
"comments": "",
"outputs": 1,
- "x": 3060.021095275879,
- "y": 2247.520586490631,
- "z": "ebaeae22.b6553",
+ "x": 2980.3336219787598,
+ "y": 2186.3330931663513,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "7d615848.f71038",
- "8b3d29ae.783398"
+ "b902c93b.2ecd58",
+ "d88cfdf5.df806"
]
]
},
{
- "id": "7d615848.f71038",
+ "id": "b902c93b.2ecd58",
"type": "success",
"name": "success",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3211.687568664551,
- "y": 2222.0760684013367,
- "z": "ebaeae22.b6553",
+ "x": 3132.0000953674316,
+ "y": 2160.888575077057,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "b22084d9.91f048"
+ "69b84396.7e608c"
]
]
},
{
- "id": "b22084d9.91f048",
+ "id": "69b84396.7e608c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3378.3539695739746,
- "y": 2223.0764441490173,
- "z": "ebaeae22.b6553",
+ "x": 3298.6664962768555,
+ "y": 2161.8889508247375,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "f2c25c7b.150c6"
+ "a06034e2.154bd8"
]
]
},
{
- "id": "f2c25c7b.150c6",
+ "id": "a06034e2.154bd8",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3226.131851196289,
- "y": 2101.965179681778,
- "z": "ebaeae22.b6553",
+ "x": 3146.44437789917,
+ "y": 2040.7776863574982,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "84b22789.1d0c98",
- "2e58c6b1.22b3ea"
+ "64cc235a.c395ac",
+ "e823aa59.379ba8"
]
]
},
{
- "id": "84b22789.1d0c98",
+ "id": "64cc235a.c395ac",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3469.465591430664,
- "y": 2117.8538584709167,
- "z": "ebaeae22.b6553",
+ "x": 3389.778118133545,
+ "y": 2056.666365146637,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "bb8f6423.101158"
+ "f6f7c6f4.391ba8"
]
]
},
{
- "id": "2e58c6b1.22b3ea",
+ "id": "e823aa59.379ba8",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3460.3091011047363,
- "y": 2158.2981419563293,
- "z": "ebaeae22.b6553",
+ "x": 3380.621627807617,
+ "y": 2097.1106486320496,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "1290470f.7cce69"
+ "d303339b.db9d9"
]
]
},
{
- "id": "bb8f6423.101158",
+ "id": "f6f7c6f4.391ba8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3650.8540115356445,
- "y": 2119.1874585151672,
- "z": "ebaeae22.b6553",
+ "x": 3571.1665382385254,
+ "y": 2057.9999651908875,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "7fc729ae.30f4e8"
+ "49ff043.d18fcfc"
]
]
},
{
- "id": "1290470f.7cce69",
+ "id": "d303339b.db9d9",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3641.965087890625,
- "y": 2161.40949678421,
- "z": "ebaeae22.b6553",
+ "x": 3562.277614593506,
+ "y": 2100.2220034599304,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "b98dc9a9.fb95a8",
- "e5b17648.123918"
+ "d8a0141e.a0d7f8",
+ "faf0fe4d.a3f77"
]
]
},
{
- "id": "7fc729ae.30f4e8",
+ "id": "49ff043.d18fcfc",
"type": "execute",
"name": "delete RRMPolicyRatio NRCellCU - URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyRatio.ToNRCellCU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3936.131721496582,
- "y": 2116.4097361564636,
- "z": "ebaeae22.b6553",
+ "x": 3856.444248199463,
+ "y": 2055.222242832184,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "b98dc9a9.fb95a8",
+ "id": "d8a0141e.a0d7f8",
"type": "execute",
"name": "generate deleteRRMPolicyRatio.ToNRCellCU URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyRatio.ToNRCellCU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3947.2429809570312,
- "y": 2159.743097782135,
- "z": "ebaeae22.b6553",
+ "x": 3867.555507659912,
+ "y": 2098.555604457855,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "e5b17648.123918",
+ "id": "faf0fe4d.a3f77",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>",
"comments": "",
"outputs": 1,
- "x": 3871.6872024536133,
- "y": 2195.2985796928406,
- "z": "ebaeae22.b6553",
+ "x": 3791.999729156494,
+ "y": 2134.111086368561,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "8b3d29ae.783398",
+ "id": "d88cfdf5.df806",
"type": "failure",
"name": "failure",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3215.298553466797,
- "y": 2276.4096179008484,
- "z": "ebaeae22.b6553",
+ "x": 3135.6110801696777,
+ "y": 2215.2221245765686,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "84c3a3d5.1ad31"
+ "e090d385.f8f19"
]
]
},
{
- "id": "84c3a3d5.1ad31",
+ "id": "e090d385.f8f19",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3400.9656372070312,
- "y": 2264.7429366111755,
- "z": "ebaeae22.b6553",
+ "x": 3321.278163909912,
+ "y": 2203.5554432868958,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "e2e323da.5879d",
- "93b33beb.935e58"
+ "2a597e25.603f42",
+ "b41995.faee9668"
]
]
},
{
- "id": "e2e323da.5879d",
+ "id": "2a597e25.603f42",
"type": "set",
"name": "Read RRMPolicyMember-sNSSA",
"xml": "<set>\n<parameter name='tmp.RRMPolicyMember_sNSSAI' value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].attributes.rRMPolicyMemberList['+ $idcu-rrm1 +'].sNSSAI'`\" />",
"comments": "",
- "x": 3693.354606628418,
- "y": 2228.632249355316,
- "z": "ebaeae22.b6553",
+ "x": 3613.667133331299,
+ "y": 2167.4447560310364,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "93b33beb.935e58",
+ "id": "b41995.faee9668",
"type": "switchNode",
"name": "find matching RRMPolicyMember",
"xml": "<switch test='`$tmp.RRMPolicyMember_sNSSAI==$tmp.sNSSAI`'>\n",
"comments": "",
"outputs": 1,
- "x": 3692.2430419921875,
- "y": 2268.6317439079285,
- "z": "ebaeae22.b6553",
+ "x": 3612.5555686950684,
+ "y": 2207.4442505836487,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "74d00e0b.8b8d5"
+ "90fddd74.90618"
]
]
},
{
- "id": "74d00e0b.8b8d5",
+ "id": "90fddd74.90618",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3923.076385498047,
- "y": 2273.0761218070984,
- "z": "ebaeae22.b6553",
+ "x": 3843.3889122009277,
+ "y": 2211.8886284828186,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "8a4772da.be21b"
+ "47ea71b0.00102"
]
]
},
{
- "id": "8a4772da.be21b",
+ "id": "47ea71b0.00102",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4146.687225341797,
- "y": 2269.7428698539734,
- "z": "ebaeae22.b6553",
+ "x": 4066.9997520446777,
+ "y": 2208.5553765296936,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "141559d5.f09f76",
- "c052cba8.f28fb8",
- "3712bd87.ace5d2"
+ "3c7f4bd7.9499d4",
+ "1f1498ae.3cfaa7",
+ "aefe9811.715338"
]
]
},
{
- "id": "141559d5.f09f76",
+ "id": "3c7f4bd7.9499d4",
"type": "set",
"name": "Read RRMPolicyMember-id",
"xml": "<set>\n<parameter name='tmp.RRMPolicyMember_id' value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].attributes.rRMPolicyMemberList['+ $idcu-rrm1 +'].idx'`\" />",
"comments": "",
- "x": 4412.353958129883,
- "y": 2237.5207562446594,
- "z": "ebaeae22.b6553",
+ "x": 4332.666484832764,
+ "y": 2176.3332629203796,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "1ee93d.98fb46c3",
+ "id": "75c5f01d.2c295",
"type": "execute",
"name": "generate deleteRRMPolicyMember.ToNRCellCU URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyMember.ToNRCellCU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 4941.797874450684,
- "y": 2329.742955684662,
- "z": "ebaeae22.b6553",
+ "x": 4862.110401153564,
+ "y": 2268.555462360382,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "c052cba8.f28fb8",
+ "id": "1f1498ae.3cfaa7",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 4369.575965881348,
- "y": 2333.0764212608337,
- "z": "ebaeae22.b6553",
+ "x": 4289.8884925842285,
+ "y": 2271.888927936554,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "5582872c.4808c8",
- "676a7de6.0d8cb4"
+ "de560969.305358",
+ "213937c1.d653e8"
]
]
},
{
- "id": "5582872c.4808c8",
+ "id": "de560969.305358",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 4612.910026550293,
- "y": 2332.298445224762,
- "z": "ebaeae22.b6553",
+ "x": 4533.222553253174,
+ "y": 2271.110951900482,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "1ee93d.98fb46c3"
+ "75c5f01d.2c295"
]
]
},
{
- "id": "676a7de6.0d8cb4",
+ "id": "213937c1.d653e8",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 4603.753440856934,
- "y": 2383.8538393974304,
- "z": "ebaeae22.b6553",
+ "x": 4524.065967559814,
+ "y": 2322.6663460731506,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "3873489a.c26cc8"
+ "b874e69.6a24a18"
]
]
},
{
- "id": "4c053afe.8fad74",
+ "id": "d87ff04e.48e2c",
"type": "execute",
"name": "generate deleteRRMPolicyRatio.ToNRCellCU URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyMember.ToNRCellCU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 5070.965003967285,
- "y": 2375.2988810539246,
- "z": "ebaeae22.b6553",
+ "x": 4991.277530670166,
+ "y": 2314.111387729645,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "388b3828.9049f8",
+ "id": "e7c2743d.21dbc8",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>",
"comments": "",
"outputs": 1,
- "x": 4990.9647216796875,
- "y": 2434.1872973442078,
- "z": "ebaeae22.b6553",
+ "x": 4911.277248382568,
+ "y": 2372.999804019928,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "3873489a.c26cc8",
+ "id": "b874e69.6a24a18",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4770.687294006348,
- "y": 2381.4096732139587,
- "z": "ebaeae22.b6553",
+ "x": 4690.9998207092285,
+ "y": 2320.222179889679,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "4c053afe.8fad74",
- "388b3828.9049f8"
+ "d87ff04e.48e2c",
+ "e7c2743d.21dbc8"
]
]
},
{
- "id": "2530f04c.6bd01",
+ "id": "fa5ae22c.4501d",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Delete RRMPolicy URL - \"/>\n<parameter name=\"field2\" value=\"`$tmp.deleteRRMPolicyRatio.url`\"/>\n<parameter name=\"field3\" value=\"RRMPolicyRatio id\"/>\n<parameter name=\"field4\" value=\"`$tmp.RRMPolicyRatio_id`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2640.2984352111816,
- "y": 2390.576642513275,
- "z": "ebaeae22.b6553",
+ "x": 2560.6109619140625,
+ "y": 2329.3891491889954,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "3db08642.a8afea",
+ "id": "cd77d679.868df8",
"type": "execute",
"name": "Terminate NRCellCU - RRMPolicyRatio",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.deleteRRMPolicyRatio.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-cellCU-RRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 2735.0762329101562,
- "y": 2432.5764594078064,
- "z": "ebaeae22.b6553",
+ "x": 2655.388759613037,
+ "y": 2371.3889660835266,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "a48fcb78.7ad2a8",
- "eba8bd4d.ae305"
+ "e6f105a3.d16398",
+ "5e59cd17.104254"
]
]
},
{
- "id": "a48fcb78.7ad2a8",
+ "id": "e6f105a3.d16398",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3020.8263359069824,
- "y": 2478.3264288902283,
- "z": "ebaeae22.b6553",
+ "x": 2941.1388626098633,
+ "y": 2417.1389355659485,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "8144da31.767298"
+ "38f94627.c606ba"
]
]
},
{
- "id": "8144da31.767298",
+ "id": "38f94627.c606ba",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3224.3263931274414,
- "y": 2480.8264298439026,
- "z": "ebaeae22.b6553",
+ "x": 3144.6389198303223,
+ "y": 2419.638936519623,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "a6169108.150e8"
+ "3cd28dc6.787002"
]
]
},
{
- "id": "a6169108.150e8",
+ "id": "3cd28dc6.787002",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Deleted - cellCU RRMpolicyRatio/RRMPolicyMember\"/>",
"comments": "",
"outputs": 1,
- "x": 3451.8261528015137,
- "y": 2388.076641559601,
- "z": "ebaeae22.b6553",
+ "x": 3372.1386795043945,
+ "y": 2326.889148235321,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "ae1ae5c.5d0c218",
+ "id": "b1f5076c.0ba818",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Removing cellCU RRMPolicyRatio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3465.076141357422,
- "y": 2431.0763659477234,
- "z": "ebaeae22.b6553",
+ "x": 3385.3886680603027,
+ "y": 2369.8888726234436,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "52aff1fd.5e81c",
+ "id": "2d59c741.cebcd8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error removing NRCellDU - RRMPolicyRAtio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3470.0760192871094,
- "y": 2526.0764269828796,
- "z": "ebaeae22.b6553",
+ "x": 3390.3885459899902,
+ "y": 2464.8889336586,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "1fcb868f.ec1ea9",
+ "id": "f8372ec9.3f0a4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3221.326820373535,
- "y": 2532.576461315155,
- "z": "ebaeae22.b6553",
+ "x": 3141.639347076416,
+ "y": 2471.3889679908752,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "52aff1fd.5e81c",
- "ae1ae5c.5d0c218",
- "d9eab965.75b128"
+ "2d59c741.cebcd8",
+ "b1f5076c.0ba818",
+ "c0f287b7.bef588"
]
]
},
{
- "id": "eba8bd4d.ae305",
+ "id": "5e59cd17.104254",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3016.0763359069824,
- "y": 2517.576461315155,
- "z": "ebaeae22.b6553",
+ "x": 2936.3888626098633,
+ "y": 2456.3889679908752,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "1fcb868f.ec1ea9"
+ "f8372ec9.3f0a4"
]
]
},
{
- "id": "3712bd87.ace5d2",
+ "id": "aefe9811.715338",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyMember id - \"/>\n<parameter name=\"field2\" value=\"`$tmp.RRMPolicyMember_id`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 4364.013885498047,
- "y": 2285.4027819633484,
- "z": "ebaeae22.b6553",
+ "x": 4284.326412200928,
+ "y": 2224.2152886390686,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "c5406f2a.c55ef",
+ "id": "5ed3475d.8a00f8",
"type": "execute",
"name": "prepare sNSSAI",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteSNSSAIListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteSNSSAIListEntry.url\"/>\n <parameter name=\"target\" value=\"{sNssai}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.sNSSAI`\"/>",
"comments": "",
"outputs": 1,
- "x": 2429.576446533203,
- "y": 1379.590353012085,
- "z": "ebaeae22.b6553",
+ "x": 2349.888973236084,
+ "y": 1318.4028596878052,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "e147712.b959c9",
+ "id": "d0d6de42.261b3",
"type": "execute",
"name": "prepare idGNBCUCPFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3177.7640075683594,
- "y": 2326.6528429985046,
- "z": "ebaeae22.b6553",
+ "x": 3098.0765342712402,
+ "y": 2265.465349674225,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "67a1af5a.8403e",
+ "id": "90035c3c.7d00c",
"type": "execute",
"name": "prepare idNRCellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3150.263946533203,
- "y": 2359.902813434601,
- "z": "ebaeae22.b6553",
+ "x": 3070.576473236084,
+ "y": 2298.715320110321,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "4b58de46.8f0cb",
+ "id": "728f3e65.42a96",
"type": "execute",
"name": "prepare RRMPolicyRatio id",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.RRMPolicyRatio_id`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3173.701889038086,
- "y": 2394.4653449058533,
- "z": "ebaeae22.b6553",
+ "x": 3094.014415740967,
+ "y": 2333.2778515815735,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "39fd802a.cfd13",
+ "id": "e7ab6a0a.6746a8",
"type": "execute",
"name": "prepare RRMPolicyMember id",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idx}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.RRMPolicyMember_id`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3181.201446533203,
- "y": 2430.215314388275,
- "z": "ebaeae22.b6553",
+ "x": 3101.513973236084,
+ "y": 2369.0278210639954,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "413a8e67.fe981",
+ "id": "5b20679c.add248",
"type": "execute",
"name": "read NFType",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cucpNFType' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].nFType'`\" />",
"comments": "",
"outputs": 1,
- "x": 2432.451446533203,
- "y": 1144.2778491973877,
- "z": "ebaeae22.b6553",
+ "x": 2352.763973236084,
+ "y": 1083.090355873108,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "5bcea246.b7524c",
+ "id": "ab826e2e.66f96",
"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.configDBSNSSAI1' />\n <parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].pLMNInfoList['+ $id-plmn +'].sNSSAI['+ $id-snssai +'].sNSSAI'`\" />",
"comments": "",
"outputs": 1,
- "x": 1706.57666015625,
- "y": 2669.4101457595825,
- "z": "ebaeae22.b6553",
+ "x": 1626.8891868591309,
+ "y": 2608.2226524353027,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "b7e45f5a.6917c",
+ "id": "97ed4acf.0688b8",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI - getNFNSSIRIC-configdb-response\"/>\n<parameter name=\"field2\" value=\"`$tmp.configDBSNSSAI1`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from Request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 1560.5765838623047,
- "y": 2719.410243988037,
- "z": "ebaeae22.b6553",
+ "x": 1480.8891105651855,
+ "y": 2658.2227506637573,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "2daae783.d32e58",
+ "id": "c283a9fe.16a268",
"type": "switchNode",
"name": "is NSSAI exists",
"xml": "<switch test='`$tmp.configDBSNSSAI1 == $tmp.sNSSAI`'>\n",
"comments": "",
"outputs": 1,
- "x": 1567.4657440185547,
- "y": 2762.9651279449463,
- "z": "ebaeae22.b6553",
+ "x": 1487.7782707214355,
+ "y": 2701.7776346206665,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "e6da46f9.428bc8",
- "35de1ec3.4ba562"
+ "84a939a4.0b36e8",
+ "ed80a860.f655e8"
]
]
},
{
- "id": "e6da46f9.428bc8",
+ "id": "84a939a4.0b36e8",
"type": "outcome",
"name": "True",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1740.6875228881836,
- "y": 2717.187978744507,
- "z": "ebaeae22.b6553",
+ "x": 1661.0000495910645,
+ "y": 2656.000485420227,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "2d3ae9cb.3a4106"
+ "bb0dc9cb.1729c8"
]
]
},
{
- "id": "737ded70.a6d524",
+ "id": "a1b8adcf.82849",
"type": "execute",
"name": "prepare mcc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfo-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfo-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n ",
"comments": "",
"outputs": 1,
- "x": 2102.6874771118164,
- "y": 2868.187834739685,
- "z": "ebaeae22.b6553",
+ "x": 2023.0000038146973,
+ "y": 2807.0003414154053,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "61ca97e9.7922b8",
+ "id": "46344ec7.055bc",
"type": "execute",
"name": "prepare mnc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfo-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfo-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
"comments": "",
"outputs": 1,
- "x": 2108.1876678466797,
- "y": 2903.68803024292,
- "z": "ebaeae22.b6553",
+ "x": 2028.5001945495605,
+ "y": 2842.50053691864,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "725148c2.5a24e8",
+ "id": "e6417803.b59038",
"type": "execute",
"name": "prepare sNSSAI",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfo-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfo-CUUP.url\"/>\n <parameter name=\"target\" value=\"{sNssai}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.sNSSAI`\"/>",
"comments": "",
"outputs": 1,
- "x": 2096.8266372680664,
- "y": 2938.8403749465942,
- "z": "ebaeae22.b6553",
+ "x": 2017.1391639709473,
+ "y": 2877.6528816223145,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "34858c4f.082fd4",
+ "id": "f6e4d8ad.2c97f8",
"type": "execute",
"name": "terminate sNNSAI - CUUP",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.deletePLMNInfo-CUUP.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-CUUP-sNSSAI-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 2109.4376678466797,
- "y": 2977.1878356933594,
- "z": "ebaeae22.b6553",
+ "x": 2029.7501945495605,
+ "y": 2916.0003423690796,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "724466fb.360588",
- "774b6c0a.90e0c4"
+ "dcdb58db.d91448",
+ "92955885.9ce9e8"
]
]
},
{
- "id": "b465cde5.adee4",
+ "id": "9b529518.532908",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2532.3540382385254,
- "y": 3719.5214405059814,
- "z": "ebaeae22.b6553",
+ "x": 2452.6665649414062,
+ "y": 3658.3339471817017,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "4a369ff.5a0706"
+ "33b3e3f2.7e5fac"
]
]
},
{
- "id": "30b23561.73b6ea",
+ "id": "a52f7b91.8cd228",
"type": "for",
"name": "for each rrmpolicyMember",
"xml": "<for index='idcu-rrm2' start='0' end='`$tmp.CUUPRRMPolicyMembersLength`' >\n",
"comments": "",
"outputs": 1,
- "x": 2224.6597442626953,
- "y": 3655.965286254883,
- "z": "ebaeae22.b6553",
+ "x": 2144.972270965576,
+ "y": 3594.777792930603,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "a8af9a59.4791d8"
+ "e22207b8.ddca48"
]
]
},
{
- "id": "a8af9a59.4791d8",
+ "id": "e22207b8.ddca48",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2450.326400756836,
- "y": 3546.0765647888184,
- "z": "ebaeae22.b6553",
+ "x": 2370.638927459717,
+ "y": 3484.8890714645386,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "340f8358.f0b0fc",
- "c009a424.22b198",
- "b9f2ef2a.bd484",
- "321f9c98.97b6f4",
- "4a2f2e9.50a5bd"
+ "7de44c76.544374",
+ "202e41ad.b4ae4e",
+ "540bd3f9.ed23dc",
+ "e2adbf2d.2d813",
+ "f296a9c0.67f598"
]
]
},
{
- "id": "340f8358.f0b0fc",
+ "id": "7de44c76.544374",
"type": "switchNode",
"name": "if length > 0 ",
"xml": "<switch test='`$tmp.CUUPRRMPolicyMembersLength > 0`'>\n \n",
"comments": "",
"outputs": 1,
- "x": 2588.493392944336,
- "y": 3447.215386867523,
- "z": "ebaeae22.b6553",
+ "x": 2508.805919647217,
+ "y": 3386.0278935432434,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "c77330b7.df5ca",
- "bfa0db56.4f5f68"
+ "871c6432.2da398",
+ "79f17ca1.976844"
]
]
},
{
- "id": "c77330b7.df5ca",
+ "id": "871c6432.2da398",
"type": "success",
"name": "True",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2737.159999847412,
- "y": 3401.7704634666443,
- "z": "ebaeae22.b6553",
+ "x": 2657.472526550293,
+ "y": 3340.5829701423645,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "181d73d7.ab55ec"
+ "f525ac1f.c6cc5"
]
]
},
{
- "id": "181d73d7.ab55ec",
+ "id": "f525ac1f.c6cc5",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2896.8263511657715,
- "y": 3458.771047115326,
- "z": "ebaeae22.b6553",
+ "x": 2817.1388778686523,
+ "y": 3397.583553791046,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "aaf828eb.811048",
- "43b7ec54.493b44"
+ "408f9e66.2c4f3",
+ "2bb9def5.096042"
]
]
},
{
- "id": "aaf828eb.811048",
+ "id": "408f9e66.2c4f3",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 2944.6044311523438,
- "y": 3274.659915447235,
- "z": "ebaeae22.b6553",
+ "x": 2864.9169578552246,
+ "y": 3213.4724221229553,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "7267a381.92dc1c",
- "bb8f38c6.6630b8"
+ "c27f22ef.e8158",
+ "94a98c2d.1e3a4"
]
]
},
{
- "id": "7267a381.92dc1c",
+ "id": "c27f22ef.e8158",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2987.937973022461,
- "y": 3353.5484614372253,
- "z": "ebaeae22.b6553",
+ "x": 2908.250499725342,
+ "y": 3292.3609681129456,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "3192c1f1.c2ea0e"
+ "23c06ceb.0a1254"
]
]
},
{
- "id": "bb8f38c6.6630b8",
+ "id": "94a98c2d.1e3a4",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2978.781482696533,
- "y": 3393.992744922638,
- "z": "ebaeae22.b6553",
+ "x": 2899.094009399414,
+ "y": 3332.805251598358,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "cbdf4883.ba0a18"
+ "d624b0c2.c3f2c"
]
]
},
{
- "id": "3192c1f1.c2ea0e",
+ "id": "23c06ceb.0a1254",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3169.3263931274414,
- "y": 3354.882061481476,
- "z": "ebaeae22.b6553",
+ "x": 3089.6389198303223,
+ "y": 3293.694568157196,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "79c3442e.f1314c",
- "c3160e72.f4de1",
- "13b2e4de.93267b"
+ "d333e451.4d16c8",
+ "c72e9f4.202b46",
+ "82909f46.e8f3c"
]
]
},
{
- "id": "cbdf4883.ba0a18",
+ "id": "d624b0c2.c3f2c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3160.437469482422,
- "y": 3397.104099750519,
- "z": "ebaeae22.b6553",
+ "x": 3080.7499961853027,
+ "y": 3335.916606426239,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "4680649d.4bcc0c",
- "522735b0.1013fc"
+ "2d8febf0.862ff4",
+ "75d5bd01.83d384"
]
]
},
{
- "id": "c3160e72.f4de1",
+ "id": "c72e9f4.202b46",
"type": "execute",
"name": "delete RRMPolicyRatio CUUP- URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyRatio.ToCUUP`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3490.6040000915527,
- "y": 3254.104640483856,
- "z": "ebaeae22.b6553",
+ "x": 3410.9165267944336,
+ "y": 3192.9171471595764,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "4680649d.4bcc0c",
+ "id": "2d8febf0.862ff4",
"type": "execute",
"name": "generate deleteRRMPolicyRatio.ToNRCellCU URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyRatio.ToCUUP.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3465.715362548828,
- "y": 3395.4377007484436,
- "z": "ebaeae22.b6553",
+ "x": 3386.027889251709,
+ "y": 3334.250207424164,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "522735b0.1013fc",
+ "id": "75d5bd01.83d384",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>",
"comments": "",
"outputs": 1,
- "x": 3390.15958404541,
- "y": 3430.993182659149,
- "z": "ebaeae22.b6553",
+ "x": 3310.472110748291,
+ "y": 3369.8056893348694,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "bfa0db56.4f5f68",
+ "id": "79f17ca1.976844",
"type": "failure",
"name": "False",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2736.7711296081543,
- "y": 3492.104449748993,
- "z": "ebaeae22.b6553",
+ "x": 2657.083656311035,
+ "y": 3430.916956424713,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "27f75b95.b98fa4"
+ "8c42fb01.403658"
]
]
},
{
- "id": "27f75b95.b98fa4",
+ "id": "8c42fb01.403658",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2919.438018798828,
- "y": 3500.437539577484,
- "z": "ebaeae22.b6553",
+ "x": 2839.750545501709,
+ "y": 3439.2500462532043,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "9e7e9c0c.b4233",
- "e1c0570.1d201a8",
- "416fec2.5cb1114"
+ "aa2124bf.7b9298",
+ "bbea45c.af134b8",
+ "c6b8aadf.5cc738"
]
]
},
{
- "id": "9e7e9c0c.b4233",
+ "id": "aa2124bf.7b9298",
"type": "set",
"name": "Read RRMPolicyMember-sNSSAI",
"xml": "<set>\n<parameter name='tmp.CUUPRRMPolicyMember_sNSSAI' value=\"`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].attributes.rRMPolicyMemberList['+ $idcu-rrm2 +'].sNSSAI'`\" />",
"comments": "",
- "x": 3215.8269958496094,
- "y": 3498.3271050453186,
- "z": "ebaeae22.b6553",
+ "x": 3136.1395225524902,
+ "y": 3437.139611721039,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "e1c0570.1d201a8",
+ "id": "bbea45c.af134b8",
"type": "switchNode",
"name": "find matching RRMPolicyMember",
"xml": "<switch test='`$tmp.CUUPRRMPolicyMember_sNSSAI==$tmp.sNSSAI`'>\n",
"comments": "",
"outputs": 1,
- "x": 3210.7152786254883,
- "y": 3541.326714992523,
- "z": "ebaeae22.b6553",
+ "x": 3131.027805328369,
+ "y": 3480.1392216682434,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "20ab0b62.730954"
+ "4e663fe0.a579a"
]
]
},
{
- "id": "20ab0b62.730954",
+ "id": "4e663fe0.a579a",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3441.5487670898438,
- "y": 3508.770724773407,
- "z": "ebaeae22.b6553",
+ "x": 3361.8612937927246,
+ "y": 3447.583231449127,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "879a2b52.d2c9e8"
+ "f0cd276a.3a6ef8"
]
]
},
{
- "id": "879a2b52.d2c9e8",
+ "id": "f0cd276a.3a6ef8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3665.1596069335938,
- "y": 3505.437472820282,
- "z": "ebaeae22.b6553",
+ "x": 3585.4721336364746,
+ "y": 3444.249979496002,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "9a2cfc7a.a0f2e",
- "cbada25d.21168",
- "7ff74ec5.0336d"
+ "5cc365c5.7380cc",
+ "1355c079.16ddb",
+ "7383abbf.a7fa54"
]
]
},
{
- "id": "9a2cfc7a.a0f2e",
+ "id": "5cc365c5.7380cc",
"type": "set",
"name": "Read RRMPolicyMember-id",
"xml": "<set>\n<parameter name='tmp.CUUPRRMPolicyMember_id' value=\"`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].attributes.rRMPolicyMemberList['+ $idcu-rrm2 +'].idx'`\" />",
"comments": "",
- "x": 3930.8263397216797,
- "y": 3473.215359210968,
- "z": "ebaeae22.b6553",
+ "x": 3851.1388664245605,
+ "y": 3412.0278658866882,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "7ff74ec5.0336d",
+ "id": "7383abbf.a7fa54",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyMember id - \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUUPRRMPolicyMember_id`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3882.4862670898438,
- "y": 3521.097384929657,
- "z": "ebaeae22.b6553",
+ "x": 3802.7987937927246,
+ "y": 3459.909891605377,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "cbada25d.21168",
+ "id": "1355c079.16ddb",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3888.0483474731445,
- "y": 3568.7710242271423,
- "z": "ebaeae22.b6553",
+ "x": 3808.3608741760254,
+ "y": 3507.5835309028625,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "a925d63b.559b98",
- "dc91ff7c.56e2e"
+ "f556ef2b.0c121",
+ "47133742.d9c318"
]
]
},
{
- "id": "a925d63b.559b98",
+ "id": "f556ef2b.0c121",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 4131.38240814209,
- "y": 3567.9930481910706,
- "z": "ebaeae22.b6553",
+ "x": 4051.6949348449707,
+ "y": 3506.8055548667908,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "4f311c75.baee94"
+ "f8d2ee95.360ca"
]
]
},
{
- "id": "dc91ff7c.56e2e",
+ "id": "47133742.d9c318",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 4122.2258224487305,
- "y": 3619.548442363739,
- "z": "ebaeae22.b6553",
+ "x": 4042.5383491516113,
+ "y": 3558.3609490394592,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "b0f94e47.02cfc"
+ "1c24dd48.ae91b3"
]
]
},
{
- "id": "4f311c75.baee94",
+ "id": "f8d2ee95.360ca",
"type": "execute",
"name": "generate deleteRRMPolicyMember.CUUP URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyMember.ToCUUP`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 4460.2702560424805,
- "y": 3565.4375586509705,
- "z": "ebaeae22.b6553",
+ "x": 4380.582782745361,
+ "y": 3504.2500653266907,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "b0f94e47.02cfc",
+ "id": "1c24dd48.ae91b3",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4289.1596755981445,
- "y": 3617.1042761802673,
- "z": "ebaeae22.b6553",
+ "x": 4209.472202301025,
+ "y": 3555.9167828559875,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "3d385186.a3c09e",
- "ecc0c0c2.16731"
+ "7ec10534.efc82c",
+ "888551d5.38ec4"
]
]
},
{
- "id": "3d385186.a3c09e",
+ "id": "7ec10534.efc82c",
"type": "execute",
"name": "generate deleteRRMPolicyRatio.ToNRCellCU URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyMember.CUUP.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 4589.437385559082,
- "y": 3610.993484020233,
- "z": "ebaeae22.b6553",
+ "x": 4509.749912261963,
+ "y": 3549.8059906959534,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "ecc0c0c2.16731",
+ "id": "888551d5.38ec4",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>",
"comments": "",
"outputs": 1,
- "x": 4509.437103271484,
- "y": 3669.8819003105164,
- "z": "ebaeae22.b6553",
+ "x": 4429.749629974365,
+ "y": 3608.6944069862366,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "c009a424.22b198",
+ "id": "202e41ad.b4ae4e",
"type": "execute",
"name": "prepare idGNBCUUPFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUUPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2682.9376373291016,
- "y": 3564.4378447532654,
- "z": "ebaeae22.b6553",
+ "x": 2603.2501640319824,
+ "y": 3503.2503514289856,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "b9f2ef2a.bd484",
+ "id": "540bd3f9.ed23dc",
"type": "execute",
"name": "prepare RRMPolicyRatio id",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUUPRRMPolicyRatio_id`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2671.8755264282227,
- "y": 3597.2503452301025,
- "z": "ebaeae22.b6553",
+ "x": 2592.1880531311035,
+ "y": 3536.0628519058228,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "321f9c98.97b6f4",
+ "id": "e2adbf2d.2d813",
"type": "execute",
"name": "prepare RRMPolicyMember id",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idx}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUUPRRMPolicyMember_id`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2682.3751373291016,
- "y": 3634.000346183777,
- "z": "ebaeae22.b6553",
+ "x": 2602.6876640319824,
+ "y": 3572.812852859497,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "fc5ee2ef.6b4a7",
+ "id": "3666ef02.4b4a8",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Delete RRMPolicy URL - \"/>\n<parameter name=\"field2\" value=\"`$tmp.deleteRRMPolicyRatio-CUUP.url`\"/>\n<parameter name=\"field3\" value=\"RRMPolicyRatio id\"/>\n<parameter name=\"field4\" value=\"`$tmp.CUUPRRMPolicyRatio_id`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2170.471855163574,
- "y": 3700.3617725372314,
- "z": "ebaeae22.b6553",
+ "x": 2090.784381866455,
+ "y": 3639.1742792129517,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "472c2313.9348bc",
+ "id": "74a0f941.62e508",
"type": "execute",
"name": "Terminate NRCellCU - RRMPolicyRatio",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.deleteRRMPolicyRatio-CUUP.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-CUUP-RRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 2247.249786376953,
- "y": 3746.360990524292,
- "z": "ebaeae22.b6553",
+ "x": 2167.562313079834,
+ "y": 3685.173497200012,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "b465cde5.adee4",
- "87135528.e81d58"
+ "9b529518.532908",
+ "d767778.3e2cd88"
]
]
},
{
- "id": "6949e3a5.0db5fc",
+ "id": "78da3c74.bf3c54",
"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": 2298.875228881836,
- "y": 4269.062953948975,
- "z": "ebaeae22.b6553",
+ "x": 2219.187755584717,
+ "y": 4207.875460624695,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "dbdf09eb.99ddd8",
+ "id": "90780938.751c48",
"type": "for",
"name": "foreach PLMNInfo",
"xml": "<for index='id-duplmn' start='0' end='`$tmp.DUpLMNInfoList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 2342.2088165283203,
- "y": 4386.062955856323,
- "z": "ebaeae22.b6553",
+ "x": 2262.521343231201,
+ "y": 4324.8754625320435,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "10af1386.b63c4c"
+ "f8070aa2.2a4748"
]
]
},
{
- "id": "22c33f21.8854e",
+ "id": "75b04f3a.ae6bb",
"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-dusnssai +'].sNSSAI'`\" />",
"comments": "",
"outputs": 1,
- "x": 2963.73641204834,
- "y": 4384.312953948975,
- "z": "ebaeae22.b6553",
+ "x": 2884.0489387512207,
+ "y": 4323.125460624695,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "b769ac9d.3463f",
+ "id": "177047e6.5975e8",
"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/terminateRANSlice.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": 2883.4862670898438,
- "y": 4426.3125648498535,
- "z": "ebaeae22.b6553",
+ "x": 2803.7987937927246,
+ "y": 4365.125071525574,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "10f972a.498d38d",
+ "id": "1ddbe2ff.19da9d",
"type": "switchNode",
"name": "is NSSAI exists",
"xml": "<switch test='`$tmp.configDBSNSSAI-DU == $tmp.sNSSAI`'>\n",
"comments": "",
"outputs": 1,
- "x": 2881.6251335144043,
- "y": 4482.618034362793,
- "z": "ebaeae22.b6553",
+ "x": 2801.937660217285,
+ "y": 4421.430541038513,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "3cb5b6c.56ac74a"
+ "10cbe635.afc10a"
]
]
},
{
- "id": "3cb5b6c.56ac74a",
+ "id": "10cbe635.afc10a",
"type": "outcome",
"name": "True",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3035.097400665283,
- "y": 4486.090299606323,
- "z": "ebaeae22.b6553",
+ "x": 2955.409927368164,
+ "y": 4424.9028062820435,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "99c06712.6751a8"
+ "16da93be.67916c"
]
]
},
{
- "id": "f4bc9bec.fbf0f8",
+ "id": "9633209.dcfd5e",
"type": "execute",
"name": "prepare sNSSAI",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{sNssai}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.sNSSAI`\"/>",
"comments": "",
"outputs": 1,
- "x": 3210.625,
- "y": 4953.75000333786,
- "z": "ebaeae22.b6553",
+ "x": 3130.937526702881,
+ "y": 4892.56251001358,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "72e5450b.b316cc",
+ "id": "17e4f21d.8070ee",
"type": "for",
"name": "for each rrmpolicyMember",
"xml": "<for index='iddu-rrm2' start='0' end='`$tmp.DURRMPolicyMembersLength`' >\n",
"comments": "",
"outputs": 1,
- "x": 3801.9097213745117,
- "y": 5719.65301322937,
- "z": "ebaeae22.b6553",
+ "x": 3722.2222480773926,
+ "y": 5658.46551990509,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "aa632858.cb07e8"
+ "863e5f31.ece26"
]
]
},
{
- "id": "aa632858.cb07e8",
+ "id": "863e5f31.ece26",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4019.5765228271484,
- "y": 5718.76434135437,
- "z": "ebaeae22.b6553",
+ "x": 3939.8890495300293,
+ "y": 5657.57684803009,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "5ba82107.00985",
- "90c14a86.429318",
- "a91dad1c.51c07",
- "97415d5d.a40aa",
- "6b6a9eab.01792"
+ "fa486cd7.2ac9f",
+ "916ffadc.913d98",
+ "3c65a8c0.263638",
+ "e44d1092.a9dbe",
+ "4772fb9.bb80404"
]
]
},
{
- "id": "5ba82107.00985",
+ "id": "fa486cd7.2ac9f",
"type": "switchNode",
"name": "if length > 0 ",
"xml": "<switch test='`$tmp.DURRMPolicyMembersLength > 0`'>\n",
"comments": "",
"outputs": 1,
- "x": 4176.493637084961,
- "y": 5633.402871608734,
- "z": "ebaeae22.b6553",
+ "x": 4096.806163787842,
+ "y": 5572.215378284454,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "41cc4b60.cca944",
- "a14145e4.48bb38"
+ "922e61dd.1eaa1",
+ "a8a8747d.847bd8"
]
]
},
{
- "id": "41cc4b60.cca944",
+ "id": "922e61dd.1eaa1",
"type": "success",
"name": "success",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 4319.409893035889,
- "y": 5591.458087444305,
- "z": "ebaeae22.b6553",
+ "x": 4239.7224197387695,
+ "y": 5530.270594120026,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "f4cde5dd.5e3748"
+ "ff57572e.638508"
]
]
},
{
- "id": "f4cde5dd.5e3748",
+ "id": "ff57572e.638508",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4486.0763511657715,
- "y": 5591.458547115326,
- "z": "ebaeae22.b6553",
+ "x": 4406.388877868652,
+ "y": 5530.271053791046,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "d005f0ca.3803a"
+ "1128f4f9.92c01b"
]
]
},
{
- "id": "d005f0ca.3803a",
+ "id": "1128f4f9.92c01b",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 4333.854232788086,
- "y": 5470.347282648087,
- "z": "ebaeae22.b6553",
+ "x": 4254.166759490967,
+ "y": 5409.159789323807,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "4910eedc.68c24",
- "b1aa8051.cdfb3"
+ "26c8ab92.483644",
+ "37e37e00.ce91a2"
]
]
},
{
- "id": "4910eedc.68c24",
+ "id": "26c8ab92.483644",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 4577.187973022461,
- "y": 5486.235961437225,
- "z": "ebaeae22.b6553",
+ "x": 4497.500499725342,
+ "y": 5425.048468112946,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "57afc75e.d3fb78"
+ "ac64b57a.f26c28"
]
]
},
{
- "id": "b1aa8051.cdfb3",
+ "id": "37e37e00.ce91a2",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 4568.031482696533,
- "y": 5526.680244922638,
- "z": "ebaeae22.b6553",
+ "x": 4488.344009399414,
+ "y": 5465.492751598358,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "a1f6425a.c1e32"
+ "18a1c12e.79cb2f"
]
]
},
{
- "id": "57afc75e.d3fb78",
+ "id": "ac64b57a.f26c28",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4758.576393127441,
- "y": 5487.569561481476,
- "z": "ebaeae22.b6553",
+ "x": 4678.888919830322,
+ "y": 5426.382068157196,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "4b1d0085.0d838"
+ "bc8aa64e.5db708"
]
]
},
{
- "id": "4b1d0085.0d838",
+ "id": "bc8aa64e.5db708",
"type": "execute",
"name": "delete RRMPolicyRatio DU- URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyRatio.ToNRCellDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 5043.854103088379,
- "y": 5484.791839122772,
- "z": "ebaeae22.b6553",
+ "x": 4964.16662979126,
+ "y": 5423.604345798492,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "7d84393b.f8ba28",
+ "id": "f7dc21.3296b3e",
"type": "execute",
"name": "generate deleteRRMPolicyRatio.ToNRCellCU URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyRatio.ToNRCellDU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 5054.965362548828,
- "y": 5528.125200748444,
- "z": "ebaeae22.b6553",
+ "x": 4975.277889251709,
+ "y": 5466.937707424164,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "f143d18f.c4a2f",
+ "id": "8e9f6c66.35f0f",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-DU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>",
"comments": "",
"outputs": 1,
- "x": 4979.40958404541,
- "y": 5563.680682659149,
- "z": "ebaeae22.b6553",
+ "x": 4899.722110748291,
+ "y": 5502.493189334869,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "a1f6425a.c1e32",
+ "id": "18a1c12e.79cb2f",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4749.687469482422,
- "y": 5529.791599750519,
- "z": "ebaeae22.b6553",
+ "x": 4669.999996185303,
+ "y": 5468.604106426239,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "7d84393b.f8ba28",
- "f143d18f.c4a2f"
+ "f7dc21.3296b3e",
+ "8e9f6c66.35f0f"
]
]
},
{
- "id": "a14145e4.48bb38",
+ "id": "a8a8747d.847bd8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 4323.125,
- "y": 5663.12500333786,
- "z": "ebaeae22.b6553",
+ "x": 4243.437526702881,
+ "y": 5601.93751001358,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "8a4b4f16.6e466"
+ "ad5b583a.f80f28"
]
]
},
{
- "id": "8a4b4f16.6e466",
+ "id": "ad5b583a.f80f28",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4508.792083740234,
- "y": 5651.458322048187,
- "z": "ebaeae22.b6553",
+ "x": 4429.104610443115,
+ "y": 5590.2708287239075,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "e8e144b.f9881b8",
- "46fb5785.35a218"
+ "d1b4c7a8.be1da8",
+ "e0c09138.7da14"
]
]
},
{
- "id": "e8e144b.f9881b8",
+ "id": "d1b4c7a8.be1da8",
"type": "set",
"name": "Read RRMPolicyMember-sNSSA",
"xml": "<set>\n<parameter name='tmp.cellDURRMPolicyMember_sNSSAI' value=\"`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].attributes.rRMPolicyMemberList['+ $iddu-rrm2 +'].sNSSAI'`\" />",
"comments": "",
- "x": 4802.431457519531,
- "y": 5610.348062038422,
- "z": "ebaeae22.b6553",
+ "x": 4722.743984222412,
+ "y": 5549.160568714142,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "46fb5785.35a218",
+ "id": "e0c09138.7da14",
"type": "switchNode",
"name": "find matching RRMPolicyMember",
"xml": "<switch test='`$tmp.cellDURRMPolicyMember_sNSSAI==$tmp.sNSSAI`'>\n",
"comments": "",
"outputs": 1,
- "x": 4800.069488525391,
- "y": 5655.34712934494,
- "z": "ebaeae22.b6553",
+ "x": 4720.3820152282715,
+ "y": 5594.15963602066,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "9da871ac.1c842"
+ "99468150.cc58"
]
]
},
{
- "id": "9da871ac.1c842",
+ "id": "99468150.cc58",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 5030.90283203125,
- "y": 5659.79150724411,
- "z": "ebaeae22.b6553",
+ "x": 4951.215358734131,
+ "y": 5598.60401391983,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "4a73b522.f7894c"
+ "50086053.cc915"
]
]
},
{
- "id": "4a73b522.f7894c",
+ "id": "50086053.cc915",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 5254.513671875,
- "y": 5656.458255290985,
- "z": "ebaeae22.b6553",
+ "x": 5174.826198577881,
+ "y": 5595.270761966705,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "8ef2acb2.c314d",
- "952ad059.54f48",
- "37ad2fe7.20faf"
+ "dd3aa629.0b0c88",
+ "da5fe33c.a4727",
+ "995a0e29.37c3e"
]
]
},
{
- "id": "8ef2acb2.c314d",
+ "id": "dd3aa629.0b0c88",
"type": "set",
"name": "Read RRMPolicyMember-id",
"xml": "<set>\n<parameter name='tmp.CellDURRMPolicyMember_id' value=\"`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].attributes.rRMPolicyMemberList['+ $iddu-rrm2 +'].idx'`\" />",
"comments": "",
- "x": 5520.180404663086,
- "y": 5624.236141681671,
- "z": "ebaeae22.b6553",
+ "x": 5440.492931365967,
+ "y": 5563.048648357391,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "37ad2fe7.20faf",
+ "id": "995a0e29.37c3e",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyMember id - \"/>\n<parameter name=\"field2\" value=\"`$tmp.CellDURRMPolicyMember_id`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 5471.84033203125,
- "y": 5672.11816740036,
- "z": "ebaeae22.b6553",
+ "x": 5392.152858734131,
+ "y": 5610.93067407608,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "952ad059.54f48",
+ "id": "da5fe33c.a4727",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 5477.402412414551,
- "y": 5719.7918066978455,
- "z": "ebaeae22.b6553",
+ "x": 5397.714939117432,
+ "y": 5658.604313373566,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "13245964.34cb17",
- "6c37702.94b6f9"
+ "d0de7f27.e6888",
+ "ffae97ea.5e6e68"
]
]
},
{
- "id": "13245964.34cb17",
+ "id": "d0de7f27.e6888",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 5720.736473083496,
- "y": 5719.013830661774,
- "z": "ebaeae22.b6553",
+ "x": 5641.048999786377,
+ "y": 5657.826337337494,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "7338a4ce.4bc80c"
+ "3a46022b.33b4be"
]
]
},
{
- "id": "6c37702.94b6f9",
+ "id": "ffae97ea.5e6e68",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 5711.579887390137,
- "y": 5770.569224834442,
- "z": "ebaeae22.b6553",
+ "x": 5631.892414093018,
+ "y": 5709.381731510162,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "be1a0b98.05ab68"
+ "d3a38a2c.c35698"
]
]
},
{
- "id": "7338a4ce.4bc80c",
+ "id": "3a46022b.33b4be",
"type": "execute",
"name": "generate deleteRRMPolicyMember.ToNRCellDU URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyMember.ToNRCellDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 6049.624320983887,
- "y": 5716.458341121674,
- "z": "ebaeae22.b6553",
+ "x": 5969.936847686768,
+ "y": 5655.270847797394,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "be1a0b98.05ab68",
+ "id": "d3a38a2c.c35698",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 5878.513740539551,
- "y": 5768.1250586509705,
- "z": "ebaeae22.b6553",
+ "x": 5798.826267242432,
+ "y": 5706.937565326691,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "66091356.f1ac4c",
- "b4219ad8.b1ba78"
+ "dc5fdc9.323c12",
+ "f2bb2e59.c7b1e"
]
]
},
{
- "id": "66091356.f1ac4c",
+ "id": "dc5fdc9.323c12",
"type": "execute",
"name": "generate deleteRRMPolicyRatio.ToNRCellCU URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyMember.ToNRCellDU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 6178.791450500488,
- "y": 5762.014266490936,
- "z": "ebaeae22.b6553",
+ "x": 6099.103977203369,
+ "y": 5700.8267731666565,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "b4219ad8.b1ba78",
+ "id": "f2bb2e59.c7b1e",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-DU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>",
"comments": "",
"outputs": 1,
- "x": 6098.791168212891,
- "y": 5820.9026827812195,
- "z": "ebaeae22.b6553",
+ "x": 6019.1036949157715,
+ "y": 5759.71518945694,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "90c14a86.429318",
+ "id": "916ffadc.913d98",
"type": "execute",
"name": "prepare idGNBDUFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-DU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 4352.187644958496,
- "y": 5705.625769615173,
- "z": "ebaeae22.b6553",
+ "x": 4272.500171661377,
+ "y": 5644.438276290894,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "a91dad1c.51c07",
+ "id": "3c65a8c0.263638",
"type": "execute",
"name": "prepare idNRCellDu",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-DU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellDULocalId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 4324.68758392334,
- "y": 5738.8757400512695,
- "z": "ebaeae22.b6553",
+ "x": 4245.000110626221,
+ "y": 5677.68824672699,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "97415d5d.a40aa",
+ "id": "e44d1092.a9dbe",
"type": "execute",
"name": "prepare RRMPolicyRatio id",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-DU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n <parameter name=\"target\" value=\"{id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellDURRMPolicyRatio_id`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 4348.125526428223,
- "y": 5773.438271522522,
- "z": "ebaeae22.b6553",
+ "x": 4268.4380531311035,
+ "y": 5712.250778198242,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "6b6a9eab.01792",
+ "id": "4772fb9.bb80404",
"type": "execute",
"name": "prepare RRMPolicyMember id",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-DU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n <parameter name=\"target\" value=\"{idx}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellDURRMPolicyMember_sNSSAI`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 4355.62508392334,
- "y": 5809.188241004944,
- "z": "ebaeae22.b6553",
+ "x": 4275.937610626221,
+ "y": 5748.000747680664,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "10cb47da.b128f8",
+ "id": "a03a0880.605558",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Delete RRMPolicy URL - \"/>\n<parameter name=\"field2\" value=\"`$tmp.deleteRRMPolicyRatio-DU.url`\"/>\n<parameter name=\"field3\" value=\"RRMPolicyRatio id\"/>\n<parameter name=\"field4\" value=\"`$tmp.cellDURRMPolicyRatio_id`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3718.472689628601,
- "y": 5802.050332546234,
- "z": "ebaeae22.b6553",
+ "x": 3638.785216331482,
+ "y": 5740.862839221954,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "5b75ee42.4c9fd",
+ "id": "713445ab.812cec",
"type": "execute",
"name": "Terminate NRCellDU - RRMPolicyRatio",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.deleteRRMPolicyRatio-DU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-cellDU-RRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 3805.749954223633,
- "y": 5868.299891471863,
- "z": "ebaeae22.b6553",
+ "x": 3726.0624809265137,
+ "y": 5807.112398147583,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "be52926d.2dc64",
- "6ed1e886.45d118"
+ "91b09b2c.613008",
+ "c59cc283.87066"
]
]
},
{
- "id": "daa0d522.621208",
+ "id": "f3aa7645.54fd68",
"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": 360.5208339691162,
- "y": 1739.2708678245544,
- "z": "ebaeae22.b6553",
+ "x": 280.83336067199707,
+ "y": 1678.0833745002747,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "369a5d6f.67b342",
+ "id": "91d2b827.07c2b8",
"type": "for",
"name": "foreach PLMNInfo",
"xml": "<for index='id-ric' start='0' end='`$tmp.RICPLMNEntries`' >\n",
"comments": "",
"outputs": 1,
- "x": 1046.1875686645508,
- "y": 1230.9376211166382,
- "z": "ebaeae22.b6553",
+ "x": 966.5000953674316,
+ "y": 1169.7501277923584,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "4aeedd4e.5d5744"
+ "d06c24df.0f6a38"
]
]
},
{
- "id": "4aeedd4e.5d5744",
+ "id": "d06c24df.0f6a38",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1228.4375686645508,
- "y": 1222.9375138282776,
- "z": "ebaeae22.b6553",
+ "x": 1148.7500953674316,
+ "y": 1161.7500205039978,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "f53a91ee.2011e",
- "6ec056af.077178"
+ "706eb783.ac43a8",
+ "f755d29.443433"
]
]
},
{
- "id": "37766296.ce42ce",
+ "id": "9327cfd0.4200f",
"type": "switchNode",
"name": "is NSSAI exists",
"xml": "<switch test='`$tmp.ric.sNSSAI == $tmp.sNSSAI`'>\n",
"comments": "",
"outputs": 1,
- "x": 1688.437614440918,
- "y": 825.187575340271,
- "z": "ebaeae22.b6553",
+ "x": 1608.7501411437988,
+ "y": 764.0000820159912,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "559ae1c7.56826"
+ "95a43250.853b"
]
]
},
{
- "id": "59fff449.74eaac",
+ "id": "58822838.3b4318",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1731.937759399414,
- "y": 729.1875514984131,
- "z": "ebaeae22.b6553",
+ "x": 1652.250286102295,
+ "y": 668.0000581741333,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "31e261df.347bae",
- "7e464d55.e5d0c4",
- "cbdf2c5.aa37bd",
- "309b9347.33fcfc",
- "8ec393a7.b1e22",
- "1d4adbe3.1b4244",
- "1c0baf1f.e95181"
+ "1e4dbdcb.385fa2",
+ "be65e35a.9161",
+ "a95a4308.226bc",
+ "54c94159.d623f",
+ "8abc7c36.09b0a",
+ "47cad41d.640fbc",
+ "555bef31.04e77"
]
]
},
{
- "id": "872ed5d3.c7b9d8",
+ "id": "a3e4bed0.de951",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PLMNInfo List before removal\"/>\n<parameter name=\"field2\" value=\"`$tmp.RICPLMNEntries`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1031.1875648498535,
- "y": 1182.4375591278076,
- "z": "ebaeae22.b6553",
+ "x": 951.5000915527344,
+ "y": 1121.2500658035278,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "31e261df.347bae",
+ "id": "1e4dbdcb.385fa2",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI\"/>\n<parameter name=\"field2\" value=\"`$tmp.ric.sNSSAIremoved`\" />\n<parameter name=\"field3\" value=\"nearRTRICId\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\" />\n<parameter name=\"field5\" value=\"endpoint URL\"/>\n<parameter name=\"field6\" value=\"`$tmp.configdb.getNearRTRICNSSAIRemoval.url`\" />\n",
"comments": "",
"outputs": 1,
- "x": 1809.8921966552734,
- "y": 967.9603490829468,
- "z": "ebaeae22.b6553",
+ "x": 1730.2047233581543,
+ "y": 906.772855758667,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "559ae1c7.56826",
+ "id": "95a43250.853b",
"type": "outcome",
"name": "True",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1657.4375762939453,
- "y": 783.4375514984131,
- "z": "ebaeae22.b6553",
+ "x": 1577.7501029968262,
+ "y": 722.2500581741333,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "59fff449.74eaac"
+ "58822838.3b4318"
]
]
},
{
- "id": "88d443d9.d10f9",
+ "id": "649f27df.893bf8",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"plmninfolistlength in true \"/>\n<parameter name=\"field2\" value=\"`$tmp.pLMNInfoList_length`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 2643.837490081787,
- "y": 564.1374959945679,
- "z": "ebaeae22.b6553",
+ "x": 2564.150016784668,
+ "y": 502.9500026702881,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "5dcf9d01.a4d394",
+ "id": "43408965.b48848",
"type": "switchNode",
"name": "check the action",
"xml": "<switch test='`$tmp.pLMNInfoList_length > 0`'>\n",
"comments": "",
"outputs": 1,
- "x": 2200.037582397461,
- "y": 840.737560749054,
- "z": "ebaeae22.b6553",
+ "x": 2120.350109100342,
+ "y": 779.5500674247742,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "43a6372e.376098",
- "9adc3309.d04fd"
+ "4c56f4d7.c63c2c",
+ "d07403be.f47f2"
]
]
},
{
- "id": "43a6372e.376098",
+ "id": "4c56f4d7.c63c2c",
"type": "outcome",
"name": "True",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2335.0373573303223,
- "y": 711.7375245094299,
- "z": "ebaeae22.b6553",
+ "x": 2255.349884033203,
+ "y": 650.5500311851501,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "d0151373.d66cd"
+ "edd1595a.d06fd8"
]
]
},
{
- "id": "9adc3309.d04fd",
+ "id": "d07403be.f47f2",
"type": "outcome",
"name": "False",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2354.037384033203,
- "y": 762.7375469207764,
- "z": "ebaeae22.b6553",
+ "x": 2274.349910736084,
+ "y": 701.5500535964966,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "ca176dd2.665f1"
+ "47212e74.cd06"
]
]
},
{
- "id": "f31a5454.cd5f78",
+ "id": "90fa5a1a.20cc48",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"plmninfolistlength in false \"/>\n<parameter name=\"field2\" value=\"`$tmp.pLMNInfoList_length`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 2528.837875366211,
- "y": 841.5376257896423,
- "z": "ebaeae22.b6553",
+ "x": 2449.150402069092,
+ "y": 780.3501324653625,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "d0151373.d66cd",
+ "id": "edd1595a.d06fd8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2505.037437438965,
- "y": 703.9375739097595,
- "z": "ebaeae22.b6553",
+ "x": 2425.3499641418457,
+ "y": 642.7500805854797,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "88d443d9.d10f9",
- "c594eea9.ec4"
+ "649f27df.893bf8",
+ "e5d00c0b.fc98b"
]
]
},
{
- "id": "ca176dd2.665f1",
+ "id": "47212e74.cd06",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2490.037551879883,
- "y": 751.9375491142273,
- "z": "ebaeae22.b6553",
+ "x": 2410.3500785827637,
+ "y": 690.7500557899475,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "f31a5454.cd5f78"
+ "90fa5a1a.20cc48"
]
]
},
{
- "id": "90e58116.3eff8",
+ "id": "3f52553.0618faa",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList_length'`\"/>\n<parameter name=\"field2\" value=\"`$tmp.pLMNInfoList_length`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 2200.037368774414,
- "y": 674.4376158714294,
- "z": "ebaeae22.b6553",
+ "x": 2120.349895477295,
+ "y": 613.2501225471497,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "32b41ed1.5b0a72",
+ "id": "6f338a58.6012a4",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"cuup_plmninfolength \"/>\n<parameter name=\"field2\" value=\"`$tmp.pLMNInfoList`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 1273.2375411987305,
- "y": 2271.8374786376953,
- "z": "ebaeae22.b6553",
+ "x": 1193.5500679016113,
+ "y": 2210.6499853134155,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "f83fd8b4.e3ecc8",
+ "id": "d89a9368.df799",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyMembersList size\"/>\n<parameter name=\"field2\" value=\"`$tmp.NRCellCURRMPolicyMembersLength`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2647.437484741211,
- "y": 2296.4374351501465,
- "z": "ebaeae22.b6553",
+ "x": 2567.750011444092,
+ "y": 2235.2499418258667,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "b00316f5.6168b8",
+ "id": "d6ab4ec2.2d6ce",
"type": "execute",
"name": "Read RRMPolicy Member List Length",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.NRCellCURRMPolicyMembersLength' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].attributes.rRMPolicyMemberList_length'`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 2697.437629699707,
- "y": 2183.6374340057373,
- "z": "ebaeae22.b6553",
+ "x": 2617.750156402588,
+ "y": 2122.4499406814575,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "b603b7fc.c8b758",
+ "id": "5b9b14ab.fa013c",
"type": "execute",
"name": "RRMPolicyRatio id",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.RRMPolicyRatio_id' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].id'`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 2641.837631225586,
- "y": 2141.6374320983887,
- "z": "ebaeae22.b6553",
+ "x": 2562.150157928467,
+ "y": 2080.449938774109,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "cef1f592.13bd68",
+ "id": "5ad2c5b0.6adfcc",
"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": 673.9375305175781,
- "y": 852.1875467300415,
- "z": "ebaeae22.b6553",
+ "x": 594.250057220459,
+ "y": 791.0000534057617,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "ccc1c368.9ab8d",
+ "id": "eb3273d5.0c125",
"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": 703.14208984375,
- "y": 886.732988357544,
- "z": "ebaeae22.b6553",
+ "x": 623.4546165466309,
+ "y": 825.5454950332642,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "f53a91ee.2011e",
+ "id": "706eb783.ac43a8",
"type": "execute",
"name": "read sNSSAIList Length",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.ric.sNSSAILength' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].pLMNInfoList['+$id-ric+'].sNSSAI_length'`\" />\n",
"comments": "",
"outputs": 1,
- "x": 1438.9377899169922,
- "y": 1211.9375476837158,
- "z": "ebaeae22.b6553",
+ "x": 1359.250316619873,
+ "y": 1150.750054359436,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "6ec056af.077178",
+ "id": "f755d29.443433",
"type": "for",
"name": "foreach sNSSAI",
"xml": "<for index='id-ric-snssai' start='0' end='`$tmp.ric.sNSSAILength`' >\n",
"comments": "",
"outputs": 1,
- "x": 1425.9377899169922,
- "y": 1253.9375476837158,
- "z": "ebaeae22.b6553",
+ "x": 1346.250316619873,
+ "y": 1192.750054359436,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "1abad703.660069"
+ "6f803a21.c85dc4"
]
]
},
{
- "id": "1abad703.660069",
+ "id": "6f803a21.c85dc4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1616.9377899169922,
- "y": 1245.9375476837158,
- "z": "ebaeae22.b6553",
+ "x": 1537.250316619873,
+ "y": 1184.750054359436,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "891341fb.4ae19",
- "37766296.ce42ce"
+ "97dc71ee.ba709",
+ "9327cfd0.4200f"
]
]
},
{
- "id": "891341fb.4ae19",
+ "id": "97dc71ee.ba709",
"type": "execute",
"name": "read sNSSAI",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.ric.sNSSAI' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].pLMNInfoList['+$id-ric+'].sNSSAI['+$id-ric-snssai+'].sNSSAI'`\" />\n",
"comments": "",
"outputs": 1,
- "x": 1607.1877746582031,
- "y": 1155.9375505447388,
- "z": "ebaeae22.b6553",
+ "x": 1527.500301361084,
+ "y": 1094.750057220459,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "309b9347.33fcfc",
+ "id": "54c94159.d623f",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Matching sNSSAI found in config DB\"/>\n<parameter name=\"field2\" value=\"`$tmp.ric.sNSSAI`\"/>\n<parameter name=\"field3\" value=\"sNSSAI List length before removal\"/>\n<parameter name=\"field4\" value=\"`$tmp.ric.sNSSAILength`\"/>",
"comments": "",
"outputs": 1,
- "x": 1876.1876068115234,
- "y": 700.1875057220459,
- "z": "ebaeae22.b6553",
+ "x": 1796.5001335144043,
+ "y": 639.0000123977661,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "3ff6970d.bc3c58",
+ "id": "53556321.2d0eac",
"type": "execute",
"name": "set list prefix",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setPropertiesForRoot'>\n\n\t<parameter name='root' value=\"`'getNFNSSIRIC-configdb-response.['+idy+'].pLMNInfoList['+id-ric+'].sNSSAI'`\" />\n",
"comments": "",
"outputs": 1,
- "x": 1933.9375,
- "y": 645.1875042915344,
- "z": "ebaeae22.b6553",
+ "x": 1854.2500267028809,
+ "y": 584.0000109672546,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "629578dc.8e60d8",
+ "id": "c3236189.bb5cf",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].pLMNInfoList['+$id-ric+'].sNSSAI['+$id-ric-snssai+'].sNSSAI'`\" value=\"\" />\n",
"comments": "",
- "x": 1908.687515258789,
- "y": 787.9376735687256,
- "z": "ebaeae22.b6553",
+ "x": 1829.00004196167,
+ "y": 726.7501802444458,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "8ec393a7.b1e22",
+ "id": "8abc7c36.09b0a",
"type": "execute",
"name": "read sNSSAI",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.ric.sNSSAIremoved' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].pLMNInfoList['+$id-ric+'].sNSSAI['+$id-ric-snssai+'].sNSSAI'`\" />\n",
"comments": "",
"outputs": 1,
- "x": 1891.687484741211,
- "y": 832.9374923706055,
- "z": "ebaeae22.b6553",
+ "x": 1812.0000114440918,
+ "y": 771.7499990463257,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "1d4adbe3.1b4244",
+ "id": "47cad41d.640fbc",
"type": "execute",
"name": "generate removesNSSAIFromRIC URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.configdb.url + $prop.restapi.configdb.removenSSAINearRTRIC`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getNearRTRICNSSAIRemoval.url\"/>\n <parameter name=\"target\" value=\"{nearRTRICId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 1956.6874771118164,
- "y": 904.1876149177551,
- "z": "ebaeae22.b6553",
+ "x": 1877.0000038146973,
+ "y": 843.0001215934753,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "1c0baf1f.e95181",
+ "id": "555bef31.04e77",
"type": "execute",
"name": "prepare sNSSAI",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.configdb.getNearRTRICNSSAIRemoval.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getNearRTRICNSSAIRemoval.url\"/>\n <parameter name=\"target\" value=\"{sNSSAI}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.ric.sNSSAIremoved`\"/>",
"comments": "",
"outputs": 1,
- "x": 1883.6875076293945,
- "y": 940.6875548362732,
- "z": "ebaeae22.b6553",
+ "x": 1804.0000343322754,
+ "y": 879.5000615119934,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "8abdbf18.6ed8d",
+ "id": "81819f26.9fd9",
"type": "execute",
"name": "Read RRMPolicy Member List Length",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUUPRRMPolicyMembersLength' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].attributes.rRMPolicyMemberList_length'`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 2187.4377517700195,
- "y": 3566.137454032898,
- "z": "ebaeae22.b6553",
+ "x": 2107.7502784729004,
+ "y": 3504.949960708618,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "1adc9519.bac03b",
+ "id": "1b8ef39f.8e448c",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CUUP - RRMPolicyMembersList size\"/>\n<parameter name=\"field2\" value=\"`$tmp.CUUPRRMPolicyMembersLength`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2172.437675476074,
- "y": 3614.1375522613525,
- "z": "ebaeae22.b6553",
+ "x": 2092.750202178955,
+ "y": 3552.9500589370728,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "6a54fbf5.00de94",
+ "id": "9351527.6b341b",
"type": "execute",
"name": "RRMPolicyRatio id",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUUPRRMPolicyRatio_id' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].id'`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 2176.237434387207,
- "y": 3525.1374530792236,
- "z": "ebaeae22.b6553",
+ "x": 2096.549961090088,
+ "y": 3463.949959754944,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "4a2f2e9.50a5bd",
+ "id": "f296a9c0.67f598",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Delete RRMPolicy URL first - \"/>\n<parameter name=\"field2\" value=\"`$tmp.deleteRRMPolicyRatio-CUUP.url`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2619.4376335144043,
- "y": 3528.837453842163,
- "z": "ebaeae22.b6553",
+ "x": 2539.750160217285,
+ "y": 3467.6499605178833,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "79c3442e.f1314c",
+ "id": "d333e451.4d16c8",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"before setting url\" />\n<parameter name=\"field2\" value=\"ransimnot mounted\" />\n\n",
"comments": "",
"outputs": 1,
- "x": 3334.637496948242,
- "y": 3201.237599849701,
- "z": "ebaeae22.b6553",
+ "x": 3254.950023651123,
+ "y": 3140.050106525421,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "13b2e4de.93267b",
+ "id": "82909f46.e8f3c",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Delete RRMPolicy URL after setting - \"/>\n<parameter name=\"field2\" value=\"`$tmp.deleteRRMPolicyRatio-CUUP.url`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3367.637451171875,
- "y": 3314.237552165985,
- "z": "ebaeae22.b6553",
+ "x": 3287.949977874756,
+ "y": 3253.0500588417053,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "43b7ec54.493b44",
+ "id": "2bb9def5.096042",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Success\" />\n<parameter name=\"field2\" value=\"Tocheck if ransim mounted\" />\n\n",
"comments": "",
"outputs": 1,
- "x": 2908.03759765625,
- "y": 3224.03760099411,
- "z": "ebaeae22.b6553",
+ "x": 2828.350124359131,
+ "y": 3162.8501076698303,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "416fec2.5cb1114",
+ "id": "c6b8aadf.5cc738",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Failure\" />\n<parameter name=\"field2\" value=\"Tocheck if ransim mounted\" />\n\n",
"comments": "",
"outputs": 1,
- "x": 3123.43754196167,
- "y": 3452.0376505851746,
- "z": "ebaeae22.b6553",
+ "x": 3043.750068664551,
+ "y": 3390.850157260895,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "9f7088ed.00c778",
+ "id": "3a7ac3af.bd079c",
"type": "execute",
"name": "generate terminate PLMNInfoListEntry CUUP URL for configdb",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.removenSSAICUUP`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfo-CUUP.configdb.url\"/>\n <parameter name=\"target\" value=\"{gnbCUUPId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2120.437530517578,
- "y": 3031.7375440597534,
- "z": "ebaeae22.b6553",
+ "x": 2040.750057220459,
+ "y": 2970.5500507354736,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "eeb0bceb.be5de",
+ "id": "e2de363c.556408",
"type": "execute",
"name": "prepare sNSSAI",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfo-CUUP.configdb.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfo-CUUP.configdb.url\"/>\n <parameter name=\"target\" value=\"{sNSSAI}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.sNSSAI`\"/>",
"comments": "",
"outputs": 1,
- "x": 1963.4375228881836,
- "y": 3071.137740135193,
- "z": "ebaeae22.b6553",
+ "x": 1883.7500495910645,
+ "y": 3009.950246810913,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "ee45f73f.1db1c8",
+ "id": "4ab0c124.de00f",
"type": "execute",
"name": "Update nearRT RIC Details in ConfigDB",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.deletePLMNInfo-CUUP.configdb.url`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-CUUP-plmninfo-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": 2026.437515258789,
- "y": 3119.7375450134277,
- "z": "ebaeae22.b6553",
+ "x": 1946.75004196167,
+ "y": 3058.550051689148,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "53056ca8.8d48f4",
- "fb3f7c.76f96088"
+ "6643cd9c.f49974",
+ "aa2ae30e.09c8c"
]
]
},
{
- "id": "53056ca8.8d48f4",
+ "id": "6643cd9c.f49974",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2284.8375282287598,
- "y": 3078.137544631958,
- "z": "ebaeae22.b6553",
+ "x": 2205.1500549316406,
+ "y": 3016.950051307678,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "75a9484d.38bb88"
+ "f99e606b.f4b36"
]
]
},
{
- "id": "fb3f7c.76f96088",
+ "id": "aa2ae30e.09c8c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2311.8375244140625,
- "y": 3156.1375455856323,
- "z": "ebaeae22.b6553",
+ "x": 2232.1500511169434,
+ "y": 3094.9500522613525,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "5ef08c57.e69314"
+ "c1285725.78d2e8"
]
]
},
{
- "id": "75a9484d.38bb88",
+ "id": "f99e606b.f4b36",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2479.837532043457,
- "y": 3071.137544631958,
- "z": "ebaeae22.b6553",
+ "x": 2400.150058746338,
+ "y": 3009.950051307678,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "e24c20f3.8d7a2",
- "6f9e558a.a70fcc"
+ "23f0229a.22b31e",
+ "a7c8f95d.4e65e8"
]
]
},
{
- "id": "5ef08c57.e69314",
+ "id": "c1285725.78d2e8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2485.837532043457,
- "y": 3149.137544631958,
- "z": "ebaeae22.b6553",
+ "x": 2406.150058746338,
+ "y": 3087.950051307678,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "f465dbbe.83ae58"
+ "c89bbde0.9291c"
]
]
},
{
- "id": "f465dbbe.83ae58",
+ "id": "c89bbde0.9291c",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully removed - gNBCUUP PLMNInfo Entry from configdb\"/>",
"comments": "",
"outputs": 1,
- "x": 2664.8375358581543,
- "y": 3168.1375455856323,
- "z": "ebaeae22.b6553",
+ "x": 2585.150062561035,
+ "y": 3106.9500522613525,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "6f9e558a.a70fcc",
+ "id": "a7c8f95d.4e65e8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error removing CUUP PLMNInfo. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2711.0375366210938,
- "y": 3095.137544631958,
- "z": "ebaeae22.b6553",
+ "x": 2631.3500633239746,
+ "y": 3033.950051307678,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "e24c20f3.8d7a2",
+ "id": "23f0229a.22b31e",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error removing CUUP PLMNInfoList. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2712.0375366210938,
- "y": 3057.1375436782837,
- "z": "ebaeae22.b6553",
+ "x": 2632.3500633239746,
+ "y": 2995.950050354004,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "5231a9c0.750278",
+ "id": "ed3ef16.c81991",
"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.sNssaiListLength' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].pLMNInfoList['+ $id-plmn +'].sNSSAI_length'`\" />",
"comments": "",
"outputs": 1,
- "x": 1433.4374923706055,
- "y": 2338.537338256836,
- "z": "ebaeae22.b6553",
+ "x": 1353.7500190734863,
+ "y": 2277.349844932556,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "da7b04d4.333058",
+ "id": "3a860630.11345a",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"cuup_plmninfolength_nssailength \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNssaiListLength`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 1430.4375686645508,
- "y": 2391.737533569336,
- "z": "ebaeae22.b6553",
+ "x": 1350.7500953674316,
+ "y": 2330.550040245056,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "affc984f.bce5c8",
+ "id": "fbc2df9f.32962",
"type": "for",
"name": "foreach snssai",
"xml": "<for index='id-snssai' start='0' end='`$tmp.sNssaiListLength`'>\n",
"comments": "",
"outputs": 1,
- "x": 1618.4375915527344,
- "y": 2553.3379287719727,
- "z": "ebaeae22.b6553",
+ "x": 1538.7501182556152,
+ "y": 2492.150435447693,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "e3bbcd2c.951ae"
+ "efde185d.4564c8"
]
]
},
{
- "id": "e3bbcd2c.951ae",
+ "id": "efde185d.4564c8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1364.4375915527344,
- "y": 2638.337978363037,
- "z": "ebaeae22.b6553",
+ "x": 1284.7501182556152,
+ "y": 2577.1504850387573,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "5bcea246.b7524c",
- "b7e45f5a.6917c",
- "2daae783.d32e58"
+ "ab826e2e.66f96",
+ "97ed4acf.0688b8",
+ "c283a9fe.16a268"
]
]
},
{
- "id": "1ef2cea6.4c88e1",
+ "id": "634dbeef.3f987",
"type": "switchNode",
"name": "check the action",
"xml": "<switch test='`$tmp.sNssaiListLength > 0`'>\n",
"comments": "",
"outputs": 1,
- "x": 1366.4374923706055,
- "y": 2482.137928009033,
- "z": "ebaeae22.b6553",
+ "x": 1286.7500190734863,
+ "y": 2420.9504346847534,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "8128b8f9.4262e8",
- "c016f2bf.d97f6"
+ "71defdfb.285b34",
+ "d004ab85.5fbed8"
]
]
},
{
- "id": "8128b8f9.4262e8",
+ "id": "71defdfb.285b34",
"type": "outcome",
"name": "True",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1540.4374961853027,
- "y": 2428.3375358581543,
- "z": "ebaeae22.b6553",
+ "x": 1460.7500228881836,
+ "y": 2367.1500425338745,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "6d72c059.2be2a"
+ "f25686a7.26a978"
]
]
},
{
- "id": "c016f2bf.d97f6",
+ "id": "d004ab85.5fbed8",
"type": "outcome",
"name": "False",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1535.237497329712,
- "y": 2497.537341117859,
- "z": "ebaeae22.b6553",
+ "x": 1455.5500240325928,
+ "y": 2436.349847793579,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "8dda4e41.ee79c"
+ "46e780ca.24927"
]
]
},
{
- "id": "6d72c059.2be2a",
+ "id": "f25686a7.26a978",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1638.4374980926514,
- "y": 2358.9375343322754,
- "z": "ebaeae22.b6553",
+ "x": 1558.7500247955322,
+ "y": 2297.7500410079956,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "affc984f.bce5c8",
- "79a41c8c.2d1cd4"
+ "fbc2df9f.32962",
+ "66fce431.9f88bc"
]
]
},
{
- "id": "8dda4e41.ee79c",
+ "id": "46e780ca.24927",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1680.4375953674316,
- "y": 2498.937536239624,
- "z": "ebaeae22.b6553",
+ "x": 1600.7501220703125,
+ "y": 2437.7500429153442,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "b1ad2ca2.59f86"
+ "38981919.19f256"
]
]
},
{
- "id": "b1ad2ca2.59f86",
+ "id": "38981919.19f256",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"plmninfolistnssailength in false \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNssaiListLength`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 1758.037498474121,
- "y": 2444.1375370025635,
- "z": "ebaeae22.b6553",
+ "x": 1678.350025177002,
+ "y": 2382.9500436782837,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "79a41c8c.2d1cd4",
+ "id": "66fce431.9f88bc",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"plmninfolistnssailength in true \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNssaiListLength`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 1785.837574005127,
- "y": 2338.137533187866,
- "z": "ebaeae22.b6553",
+ "x": 1706.1501007080078,
+ "y": 2276.9500398635864,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "2d3ae9cb.3a4106",
+ "id": "bb0dc9cb.1729c8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1914.6375274658203,
- "y": 2715.3377838134766,
- "z": "ebaeae22.b6553",
+ "x": 1834.9500541687012,
+ "y": 2654.150290489197,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "59307f96.2f3",
- "5babba5c.1a6e14",
- "737ded70.a6d524",
- "61ca97e9.7922b8",
- "725148c2.5a24e8",
- "34858c4f.082fd4",
- "9f7088ed.00c778",
- "eeb0bceb.be5de",
- "ee45f73f.1db1c8",
- "e97edf20.6bf1b"
+ "ab3b60bd.eebe3",
+ "e99d3b41.23a1b8",
+ "a1b8adcf.82849",
+ "46344ec7.055bc",
+ "e6417803.b59038",
+ "f6e4d8ad.2c97f8",
+ "3a7ac3af.bd079c",
+ "e2de363c.556408",
+ "4ab0c124.de00f",
+ "5cac79e6.309138"
]
]
},
{
- "id": "35de1ec3.4ba562",
+ "id": "ed80a860.f655e8",
"type": "outcome",
"name": "False",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1732.4375,
- "y": 2768.737540245056,
- "z": "ebaeae22.b6553",
+ "x": 1652.7500267028809,
+ "y": 2707.5500469207764,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "ad96196b.382e18"
+ "76fdaa4.bdb1054"
]
]
},
{
- "id": "ad96196b.382e18",
+ "id": "76fdaa4.bdb1054",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1882.4375,
- "y": 2767.737539291382,
- "z": "ebaeae22.b6553",
+ "x": 1802.7500267028809,
+ "y": 2706.550045967102,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "d4c24299.3f503"
+ "a9056a88.2bd4f8"
]
]
},
{
- "id": "d4c24299.3f503",
+ "id": "a9056a88.2bd4f8",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"nssaimatch in false \"/>\n<parameter name=\"field2\" value=\"`nssai deletion does not takes place`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 1875.4375038146973,
- "y": 2833.737539291382,
- "z": "ebaeae22.b6553",
+ "x": 1795.7500305175781,
+ "y": 2772.550045967102,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "e97edf20.6bf1b",
+ "id": "5cac79e6.309138",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"nssaimatch in True \"/>\n<parameter name=\"field2\" value=\"`Proceeding for nssai deletion`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 2085.437526702881,
- "y": 2677.7375869750977,
- "z": "ebaeae22.b6553",
+ "x": 2005.7500534057617,
+ "y": 2616.550093650818,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "73b2fe9c.a9488",
+ "id": "b145b498.341ac8",
"type": "execute",
"name": "Read RRMPolicyResourcetype",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUUPRRMPolicyMembersResourceType' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].attributes.resourceType'`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 2214.637481689453,
- "y": 3795.3374576568604,
- "z": "ebaeae22.b6553",
+ "x": 2134.950008392334,
+ "y": 3734.1499643325806,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "4dcc73d.1c7b28c",
+ "id": "d12e73a4.3678c",
"type": "execute",
"name": "generate terminate rrmpolicy CUUP URL for configdb",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.removenSSAICUUPRRMPOLICY`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicy-CUUP.configdb.url\"/>\n <parameter name=\"target\" value=\"{gnbCUUPId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2276.037628173828,
- "y": 3836.3374576568604,
- "z": "ebaeae22.b6553",
+ "x": 2196.350154876709,
+ "y": 3775.1499643325806,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "d323c948.c872e8",
+ "id": "67acd610.269598",
"type": "execute",
"name": "prepare sNSSAI",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicy-CUUP.configdb.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicy-CUUP.configdb.url\"/>\n <parameter name=\"target\" value=\"{sNSSAI}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.sNSSAI`\"/>",
"comments": "",
"outputs": 1,
- "x": 2150.0375061035156,
- "y": 3927.3374586105347,
- "z": "ebaeae22.b6553",
+ "x": 2070.3500328063965,
+ "y": 3866.149965286255,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "369a13c3.9452dc",
+ "id": "9d1d6a57.a20bd8",
"type": "execute",
"name": "prepare resourcetype",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicy-CUUP.configdb.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicy-CUUP.configdb.url\"/>\n <parameter name=\"target\" value=\"{resourcetype}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUUPRRMPolicyMembersResourceType`\"/>",
"comments": "",
"outputs": 1,
- "x": 2149.0374755859375,
- "y": 3886.33740234375,
- "z": "ebaeae22.b6553",
+ "x": 2069.3500022888184,
+ "y": 3825.14990901947,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "1b381c9.129f9e3",
+ "id": "e2621031.c5401",
"type": "execute",
"name": "Update nearRT RIC Details in ConfigDB",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.deleteRRMPolicy-CUUP.configdb.url`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-CUUP-rrmpolicy-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": 2204.037628173828,
- "y": 3985.3374605178833,
- "z": "ebaeae22.b6553",
+ "x": 2124.350154876709,
+ "y": 3924.1499671936035,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "dd5f41d5.10315",
- "bcaf30c0.ca8e"
+ "61a27a3e.58dd34",
+ "33683762.1cd0e8"
]
]
},
{
- "id": "dd5f41d5.10315",
+ "id": "61a27a3e.58dd34",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2450.03759765625,
- "y": 3926.33740234375,
- "z": "ebaeae22.b6553",
+ "x": 2370.350124359131,
+ "y": 3865.14990901947,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "8b8a41d5.6875e"
+ "3a804cd1.59d174"
]
]
},
{
- "id": "bcaf30c0.ca8e",
+ "id": "33683762.1cd0e8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2457.037628173828,
- "y": 3998.5376567840576,
- "z": "ebaeae22.b6553",
+ "x": 2377.350154876709,
+ "y": 3937.350163459778,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "72920feb.4aa3f"
+ "c0a35ebc.74228"
]
]
},
{
- "id": "8b8a41d5.6875e",
+ "id": "3a804cd1.59d174",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2619.03759765625,
- "y": 3925.33740234375,
- "z": "ebaeae22.b6553",
+ "x": 2539.350124359131,
+ "y": 3864.14990901947,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "3e5e8219.4ec15e",
- "b992551d.b4ed18"
+ "acdd2348.c59a",
+ "32645077.e5fa2"
]
]
},
{
- "id": "b992551d.b4ed18",
+ "id": "32645077.e5fa2",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error removing CUUP PLMNInfo. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2808.0376358032227,
- "y": 3928.337459564209,
- "z": "ebaeae22.b6553",
+ "x": 2728.3501625061035,
+ "y": 3867.149966239929,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "3e5e8219.4ec15e",
+ "id": "acdd2348.c59a",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error removing CUUP PLMNInfoList. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2799.03759765625,
- "y": 3878.3374013900757,
- "z": "ebaeae22.b6553",
+ "x": 2719.350124359131,
+ "y": 3817.149908065796,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "72920feb.4aa3f",
+ "id": "c0a35ebc.74228",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully removed - gNBCUUP rrmpolicy Entry from configdb\"/>",
"comments": "",
"outputs": 1,
- "x": 2700.03759765625,
- "y": 4010.33740234375,
- "z": "ebaeae22.b6553",
+ "x": 2620.350124359131,
+ "y": 3949.14990901947,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "14d15cb1.271d13",
+ "id": "a1a5879c.15f338",
"type": "block",
"name": "block : gNBDU",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2117.637477874756,
- "y": 4344.1377601623535,
- "z": "ebaeae22.b6553",
+ "x": 2037.9500045776367,
+ "y": 4282.950266838074,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "6949e3a5.0db5fc",
- "dbdf09eb.99ddd8",
- "4d2b3857.838518",
- "40734233.d1a12c"
+ "78da3c74.bf3c54",
+ "90780938.751c48",
+ "72854cd.56522b4",
+ "6e383f91.fd46c"
]
]
},
{
- "id": "4d2b3857.838518",
+ "id": "72854cd.56522b4",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Iterating \"/>\n<parameter name=\"field2\" value=\"`CellDU`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 2236.6375312805176,
- "y": 4215.137561798096,
- "z": "ebaeae22.b6553",
+ "x": 2156.9500579833984,
+ "y": 4153.950068473816,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "40734233.d1a12c",
+ "id": "6e383f91.fd46c",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"plmninfolengthcelldu \"/>\n<parameter name=\"field2\" value=\"`$tmp.DUpLMNInfoList_length`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 2301.6375312805176,
- "y": 4342.137563705444,
- "z": "ebaeae22.b6553",
+ "x": 2221.9500579833984,
+ "y": 4280.950070381165,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "7738b0f5.4a5fa",
+ "id": "c514a958.44d878",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"LocalId \"/>\n<parameter name=\"field2\" value=\"`$tmp.cellDULocalId`\"/>\n\n\n",
"comments": "",
"outputs": 1,
- "x": 3192.83740234375,
- "y": 4708.1376953125,
- "z": "ebaeae22.b6553",
+ "x": 3113.149929046631,
+ "y": 4646.95020198822,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "718ba68e.0f1438",
+ "id": "cac444c4.064b08",
"type": "execute",
"name": "RRMPolicyRatio id",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDURRMPolicyRatio_id' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].id'`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 3715.637451171875,
- "y": 5582.1373863220215,
- "z": "ebaeae22.b6553",
+ "x": 3635.949977874756,
+ "y": 5520.949892997742,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "8ab5ad18.82ba9",
+ "id": "dd7d43a5.7dd68",
"type": "set",
"name": "RRMPolicyRatio id",
"xml": "<set>\n<parameter name='tmp.cellDURRMPolicyRatio_id' value=\"`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].id'`\" />",
"comments": "",
- "x": 4084.6878509521484,
- "y": 5573.687873840332,
- "z": "ebaeae22.b6553",
+ "x": 4005.0003776550293,
+ "y": 5512.500380516052,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "d6a7be5b.5ce92",
+ "id": "e5c429e5.1486a8",
"type": "execute",
"name": "Read RRMPolicy Member List Length",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.DURRMPolicyMembersLength' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].attributes.rRMPolicyMemberList_length'`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 3778.437454223633,
- "y": 5623.1373863220215,
- "z": "ebaeae22.b6553",
+ "x": 3698.7499809265137,
+ "y": 5561.949892997742,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "dc95e501.331b08",
+ "id": "7f543690.5b2d18",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPOLICYmemberslength\"/>\n<parameter name=\"field2\" value=\"`$tmp.DURRMPolicyMembersLength`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 3806.2374572753906,
- "y": 5670.737777709961,
- "z": "ebaeae22.b6553",
+ "x": 3726.5499839782715,
+ "y": 5609.550284385681,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "e022efd4.41405",
+ "id": "9694fe18.72c34",
"type": "execute",
"name": "generate terminate plmn GNBDU URL for configdb",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.removenSSAINRCellDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteplmninfo-GNBDU.configdb.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellDULocalId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3243.83740234375,
- "y": 5074.33740234375,
- "z": "ebaeae22.b6553",
+ "x": 3164.149929046631,
+ "y": 5013.14990901947,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "a06dcd3a.15454",
+ "id": "23ff9b95.5a4fe4",
"type": "execute",
"name": "prepare sNSSAI",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteplmninfo-GNBDU.configdb.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteplmninfo-GNBDU.configdb.url\"/>\n <parameter name=\"target\" value=\"{sNSSAI}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.sNSSAI`\"/>",
"comments": "",
"outputs": 1,
- "x": 3138.8375930786133,
- "y": 5136.337575912476,
- "z": "ebaeae22.b6553",
+ "x": 3059.150119781494,
+ "y": 5075.150082588196,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "b48e2be9.cdc3e8",
+ "id": "470bcbe5.7addd4",
"type": "execute",
"name": "Update nearRT RIC Details in ConfigDB",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.deleteplmninfo-GNBDU.configdb.url`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-GNBDU-plmninfo-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": 3175.8377838134766,
- "y": 5189.337575912476,
- "z": "ebaeae22.b6553",
+ "x": 3096.1503105163574,
+ "y": 5128.150082588196,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "3205fa4e.9a2786",
- "114be930.6fab97"
+ "37554ea8.0b0422",
+ "3f48949e.ed0b5c"
]
]
},
{
- "id": "3205fa4e.9a2786",
+ "id": "37554ea8.0b0422",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3417.837371826172,
- "y": 5164.33734703064,
- "z": "ebaeae22.b6553",
+ "x": 3338.1498985290527,
+ "y": 5103.14985370636,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "7305e2a1.24badc"
+ "f625c7fc.7a0db8"
]
]
},
{
- "id": "114be930.6fab97",
+ "id": "3f48949e.ed0b5c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3424.83740234375,
- "y": 5236.537601470947,
- "z": "ebaeae22.b6553",
+ "x": 3345.149929046631,
+ "y": 5175.3501081466675,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "b5559c9d.8cdeb"
+ "f56aa841.06b508"
]
]
},
{
- "id": "7305e2a1.24badc",
+ "id": "f625c7fc.7a0db8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3586.837371826172,
- "y": 5163.33734703064,
- "z": "ebaeae22.b6553",
+ "x": 3507.1498985290527,
+ "y": 5102.14985370636,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "a1338b12.40e6d8",
- "5ac77071.b7ce1"
+ "a3468846.bf4f38",
+ "7652457f.0892dc"
]
]
},
{
- "id": "5ac77071.b7ce1",
+ "id": "7652457f.0892dc",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error removing CUUP PLMNInfo. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3775.8374099731445,
- "y": 5166.337404251099,
- "z": "ebaeae22.b6553",
+ "x": 3696.1499366760254,
+ "y": 5105.149910926819,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "a1338b12.40e6d8",
+ "id": "a3468846.bf4f38",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error removing CUUP PLMNInfoList. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3766.837371826172,
- "y": 5116.337346076965,
- "z": "ebaeae22.b6553",
+ "x": 3687.1498985290527,
+ "y": 5055.149852752686,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "b5559c9d.8cdeb",
+ "id": "f56aa841.06b508",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully removed - gNBDU pmmninfo Entry from configdb\"/>",
"comments": "",
"outputs": 1,
- "x": 3647.8376502990723,
- "y": 5222.3376750946045,
- "z": "ebaeae22.b6553",
+ "x": 3568.150177001953,
+ "y": 5161.150181770325,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "c7ab9da7.d354c",
+ "id": "60c8106e.676e7",
"type": "execute",
"name": "Read RRMPolicyResourcetype",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.DURRMPolicyMembersResourceType' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].attributes.resourceType'`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 3677.837646484375,
- "y": 5956.537684440613,
- "z": "ebaeae22.b6553",
+ "x": 3598.150173187256,
+ "y": 5895.350191116333,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "1a038cd2.e165b3",
+ "id": "239fdd6d.56bf32",
"type": "execute",
"name": "generate terminate rrmpolicy CUUP URL for configdb",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.removenSSAICUUPRRMPOLICY`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicy-CUUP.configdb.url\"/>\n <parameter name=\"target\" value=\"{gnbCUUPId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellDULocalId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3736.237648010254,
- "y": 5999.537684440613,
- "z": "ebaeae22.b6553",
+ "x": 3656.5501747131348,
+ "y": 5938.350191116333,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "1169539a.70ef1c",
+ "id": "f4be0b6f.df1188",
"type": "execute",
"name": "prepare sNSSAI",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicy-CUUP.configdb.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicy-CUUP.configdb.url\"/>\n <parameter name=\"target\" value=\"{sNSSAI}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.sNSSAI`\"/>",
"comments": "",
"outputs": 1,
- "x": 3631.237648010254,
- "y": 6084.537685394287,
- "z": "ebaeae22.b6553",
+ "x": 3551.5501747131348,
+ "y": 6023.350192070007,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "2bd21642.45c75a",
+ "id": "5f52df11.87729",
"type": "execute",
"name": "prepare resourcetype",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicy-CUUP.configdb.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicy-CUUP.configdb.url\"/>\n <parameter name=\"target\" value=\"{resourcetype}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.DURRMPolicyMembersResourceType`\"/>",
"comments": "",
"outputs": 1,
- "x": 3641.237648010254,
- "y": 6039.537685394287,
- "z": "ebaeae22.b6553",
+ "x": 3561.5501747131348,
+ "y": 5978.350192070007,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "aea8d928.785a68",
+ "id": "f87b38a7.36f738",
"type": "execute",
"name": "Update nearRT RIC Details in ConfigDB",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.deleteRRMPolicy-CUUP.configdb.url`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-DU-rrmpolicy-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": 3692.237648010254,
- "y": 6127.537686824799,
- "z": "ebaeae22.b6553",
+ "x": 3612.5501747131348,
+ "y": 6066.350193500519,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "90b6642c.091d38",
- "495a4cef.408334"
+ "41eb0fce.438c9",
+ "b41a641b.6004e8"
]
]
},
{
- "id": "90b6642c.091d38",
+ "id": "41eb0fce.438c9",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3947.237651824951,
- "y": 6085.537685394287,
- "z": "ebaeae22.b6553",
+ "x": 3867.550178527832,
+ "y": 6024.350192070007,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "a21302f8.5c7aa"
+ "6a9d693f.6e5308"
]
]
},
{
- "id": "495a4cef.408334",
+ "id": "b41a641b.6004e8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3960.237651824951,
- "y": 6133.738078117371,
- "z": "ebaeae22.b6553",
+ "x": 3880.550178527832,
+ "y": 6072.550584793091,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "ab225681.2bb7c8"
+ "224da7fa.733d58"
]
]
},
{
- "id": "a21302f8.5c7aa",
+ "id": "6a9d693f.6e5308",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4108.237655639648,
- "y": 6092.537685394287,
- "z": "ebaeae22.b6553",
+ "x": 4028.5501823425293,
+ "y": 6031.350192070007,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "ab225681.2bb7c8",
+ "id": "224da7fa.733d58",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully removed - gNBDU rrmpolicy Entry from configdb\"/>",
"comments": "",
"outputs": 1,
- "x": 4117.237655639648,
- "y": 6134.537687301636,
- "z": "ebaeae22.b6553",
+ "x": 4037.5501823425293,
+ "y": 6073.350193977356,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "3993811f.743d8e",
+ "id": "4db04a0b.739104",
"type": "execute",
"name": "Read RRMPolicyResourcetype",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CURRMPolicyMembersResourceType' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].attributes.resourceType'`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 2668.637451171875,
- "y": 2504.53759765625,
- "z": "ebaeae22.b6553",
+ "x": 2588.949977874756,
+ "y": 2443.35010433197,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "5c92ff79.783c1",
+ "id": "8e9371c3.4ec44",
"type": "execute",
"name": "generate terminate rrmpolicy CUUP URL for configdb",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.removenSSAICUUPRRMPOLICY`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicy-CUUP.configdb.url\"/>\n <parameter name=\"target\" value=\"{gnbCUUPId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2727.037452697754,
- "y": 2547.53759765625,
- "z": "ebaeae22.b6553",
+ "x": 2647.3499794006348,
+ "y": 2486.35010433197,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "55d66062.5882c",
+ "id": "180be1b7.396bae",
"type": "execute",
"name": "prepare sNSSAI",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicy-CUUP.configdb.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicy-CUUP.configdb.url\"/>\n <parameter name=\"target\" value=\"{sNSSAI}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.sNSSAI`\"/>",
"comments": "",
"outputs": 1,
- "x": 2622.037452697754,
- "y": 2632.5375986099243,
- "z": "ebaeae22.b6553",
+ "x": 2542.3499794006348,
+ "y": 2571.3501052856445,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "9d91f72a.0d4708",
+ "id": "c6c2b8a0.ee0478",
"type": "execute",
"name": "prepare resourcetype",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicy-CUUP.configdb.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicy-CUUP.configdb.url\"/>\n <parameter name=\"target\" value=\"{resourcetype}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CURRMPolicyMembersResourceType`\"/>",
"comments": "",
"outputs": 1,
- "x": 2632.037452697754,
- "y": 2587.5375986099243,
- "z": "ebaeae22.b6553",
+ "x": 2552.3499794006348,
+ "y": 2526.3501052856445,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "84645e98.c2f74",
+ "id": "25eb29f7.1e5436",
"type": "execute",
"name": "Update nearRT RIC Details in ConfigDB",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.deleteRRMPolicy-CUUP.configdb.url`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-CU-rrmpolicy-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": 2683.037452697754,
- "y": 2675.537600040436,
- "z": "ebaeae22.b6553",
+ "x": 2603.3499794006348,
+ "y": 2614.350106716156,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "a83df563.e86218",
- "ca98c1cd.b85fa"
+ "63548b01.978304",
+ "240288c6.561058"
]
]
},
{
- "id": "a83df563.e86218",
+ "id": "63548b01.978304",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2938.037456512451,
- "y": 2633.5375986099243,
- "z": "ebaeae22.b6553",
+ "x": 2858.349983215332,
+ "y": 2572.3501052856445,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "432e8243.d3e08c"
+ "556bca25.2668b4"
]
]
},
{
- "id": "ca98c1cd.b85fa",
+ "id": "240288c6.561058",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2951.037456512451,
- "y": 2681.737991333008,
- "z": "ebaeae22.b6553",
+ "x": 2871.349983215332,
+ "y": 2620.550498008728,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "7a45bde8.6d2f84"
+ "7402300b.62926"
]
]
},
{
- "id": "432e8243.d3e08c",
+ "id": "556bca25.2668b4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3099.0374603271484,
- "y": 2640.5375986099243,
- "z": "ebaeae22.b6553",
+ "x": 3019.3499870300293,
+ "y": 2579.3501052856445,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "7a45bde8.6d2f84",
+ "id": "7402300b.62926",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully removed - gNBCU rrmpolicy Entry from configdb\"/>",
"comments": "",
"outputs": 1,
- "x": 3108.0374603271484,
- "y": 2682.537600517273,
- "z": "ebaeae22.b6553",
+ "x": 3028.3499870300293,
+ "y": 2621.350107192993,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "932ea61.aa5fe58",
+ "id": "8d94ad5a.6cfb",
"type": "execute",
"name": "generate terminate PLMNInfoListEntry CellCU URL for configdb",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.removenSSAINRCellCU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfo-CellCU.configdb.url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2426.237548828125,
- "y": 1535.5374755859375,
- "z": "ebaeae22.b6553",
+ "x": 2346.550075531006,
+ "y": 1474.3499822616577,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "f93f4f14.9703",
+ "id": "5ce1574b.928c88",
"type": "execute",
"name": "prepare sNSSAI",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfo-CellCU.configdb.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfo-CellCU.configdb.url\"/>\n <parameter name=\"target\" value=\"{sNSSAI}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.sNSSAI`\"/>",
"comments": "",
"outputs": 1,
- "x": 2269.2375411987305,
- "y": 1574.937671661377,
- "z": "ebaeae22.b6553",
+ "x": 2189.5500679016113,
+ "y": 1513.7501783370972,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "15ef0fcc.afb5f",
+ "id": "b18e66c2.465a88",
"type": "execute",
"name": "Update nearRT RIC Details in ConfigDB",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.deletePLMNInfo-CellCU.configdb.url`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-CELLCU-plmninfo-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": 2332.237533569336,
- "y": 1623.5374765396118,
- "z": "ebaeae22.b6553",
+ "x": 2252.550060272217,
+ "y": 1562.349983215332,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "d965486b.919868",
- "f01fd079.3bc38"
+ "556c0d70.b128b4",
+ "6205130e.6c109c"
]
]
},
{
- "id": "d965486b.919868",
+ "id": "556c0d70.b128b4",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2590.6375465393066,
- "y": 1581.937476158142,
- "z": "ebaeae22.b6553",
+ "x": 2510.9500732421875,
+ "y": 1520.7499828338623,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "beb55d2f.e0ee1"
+ "8a6e937a.84bec"
]
]
},
{
- "id": "f01fd079.3bc38",
+ "id": "6205130e.6c109c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2617.6375427246094,
- "y": 1659.9374771118164,
- "z": "ebaeae22.b6553",
+ "x": 2537.9500694274902,
+ "y": 1598.7499837875366,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "8dc6a8d.e4a4d58"
+ "c258a254.a453c"
]
]
},
{
- "id": "beb55d2f.e0ee1",
+ "id": "8a6e937a.84bec",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2785.637550354004,
- "y": 1574.937476158142,
- "z": "ebaeae22.b6553",
+ "x": 2705.9500770568848,
+ "y": 1513.7499828338623,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "91bdcf6d.3455",
- "43f1c05e.c1206"
+ "48938770.287898",
+ "e185fe7b.05dff"
]
]
},
{
- "id": "8dc6a8d.e4a4d58",
+ "id": "c258a254.a453c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2791.637550354004,
- "y": 1652.937476158142,
- "z": "ebaeae22.b6553",
+ "x": 2711.9500770568848,
+ "y": 1591.7499828338623,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "642f15a5.28c34c"
+ "1eae80ae.127ccf"
]
]
},
{
- "id": "642f15a5.28c34c",
+ "id": "1eae80ae.127ccf",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully removed - CEllCU PLMNInfo Entry from configdb\"/>",
"comments": "",
"outputs": 1,
- "x": 2970.637554168701,
- "y": 1671.9374771118164,
- "z": "ebaeae22.b6553",
+ "x": 2890.950080871582,
+ "y": 1610.7499837875366,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "43f1c05e.c1206",
+ "id": "e185fe7b.05dff",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error removing CUUP PLMNInfo. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3016.8375549316406,
- "y": 1598.937476158142,
- "z": "ebaeae22.b6553",
+ "x": 2937.1500816345215,
+ "y": 1537.7499828338623,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "91bdcf6d.3455",
+ "id": "48938770.287898",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error removing CUUP PLMNInfoList. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3017.8375549316406,
- "y": 1560.9374752044678,
- "z": "ebaeae22.b6553",
+ "x": 2938.1500816345215,
+ "y": 1499.749981880188,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "10af1386.b63c4c",
+ "id": "f8070aa2.2a4748",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2463.8374366760254,
- "y": 4157.937560081482,
- "z": "ebaeae22.b6553",
+ "x": 2384.1499633789062,
+ "y": 4096.750066757202,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "69991bd1.ad7644",
- "1b5d50c5.bb6acf",
- "64ffc425.66c43c"
+ "7cc13b99.2f1b04",
+ "c989cc9a.d5f5e",
+ "2c83dac6.535836"
]
]
},
{
- "id": "69991bd1.ad7644",
+ "id": "7cc13b99.2f1b04",
"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.sNssaiListLengthDU' />\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": 2714.58740234375,
- "y": 4090.2871067523956,
- "z": "ebaeae22.b6553",
+ "x": 2634.899929046631,
+ "y": 4029.099613428116,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "1b5d50c5.bb6acf",
+ "id": "c989cc9a.d5f5e",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"DU_plmninfolength_nssailength \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNssaiListLengthDU`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 2711.5875358581543,
- "y": 4140.487560272217,
- "z": "ebaeae22.b6553",
+ "x": 2631.900062561035,
+ "y": 4079.300066947937,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "b1ef2786.a4bcb8",
+ "id": "c82460fb.11767",
"type": "for",
"name": "foreach snssai",
"xml": "<for index='id-dusnssai' start='0' end='`$tmp.sNssaiListLengthDU`'>\n",
"comments": "",
"outputs": 1,
- "x": 2899.587501525879,
- "y": 4305.087697267532,
- "z": "ebaeae22.b6553",
+ "x": 2819.9000282287598,
+ "y": 4243.900203943253,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "c7753adb.c6bc98"
+ "8618730f.e5a6a"
]
]
},
{
- "id": "c7753adb.c6bc98",
+ "id": "8618730f.e5a6a",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2645.587501525879,
- "y": 4390.087746858597,
- "z": "ebaeae22.b6553",
+ "x": 2565.9000282287598,
+ "y": 4328.900253534317,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "22c33f21.8854e",
- "b769ac9d.3463f",
- "10f972a.498d38d"
+ "75b04f3a.ae6bb",
+ "177047e6.5975e8",
+ "1ddbe2ff.19da9d"
]
]
},
{
- "id": "64ffc425.66c43c",
+ "id": "2c83dac6.535836",
"type": "switchNode",
"name": "check the action",
"xml": "<switch test='`$tmp.sNssaiListLengthDU > 0`'>\n",
"comments": "",
"outputs": 1,
- "x": 2647.58740234375,
- "y": 4233.887696504593,
- "z": "ebaeae22.b6553",
+ "x": 2567.899929046631,
+ "y": 4172.700203180313,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "613ea586.06d69c",
- "8b4fc91d.9204b8"
+ "1ba2d563.56b0fb",
+ "a4a14527.5c00d8"
]
]
},
{
- "id": "613ea586.06d69c",
+ "id": "1ba2d563.56b0fb",
"type": "outcome",
"name": "True",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2821.5874061584473,
- "y": 4180.087304353714,
- "z": "ebaeae22.b6553",
+ "x": 2741.899932861328,
+ "y": 4118.899811029434,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "8ef920c9.81797"
+ "7755214a.a825"
]
]
},
{
- "id": "8b4fc91d.9204b8",
+ "id": "a4a14527.5c00d8",
"type": "outcome",
"name": "False",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2816.3874073028564,
- "y": 4249.287109613419,
- "z": "ebaeae22.b6553",
+ "x": 2736.6999340057373,
+ "y": 4188.099616289139,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "8026d70b.a05168"
+ "38521cde.264f34"
]
]
},
{
- "id": "8ef920c9.81797",
+ "id": "7755214a.a825",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2919.587408065796,
- "y": 4110.687302827835,
- "z": "ebaeae22.b6553",
+ "x": 2839.8999347686768,
+ "y": 4049.4998095035553,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "b1ef2786.a4bcb8",
- "67104ba4.6e0704"
+ "c82460fb.11767",
+ "e876e1b7.c8b58"
]
]
},
{
- "id": "8026d70b.a05168",
+ "id": "38521cde.264f34",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2961.587505340576,
- "y": 4250.687304735184,
- "z": "ebaeae22.b6553",
+ "x": 2881.900032043457,
+ "y": 4189.499811410904,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "36dc4c70.d09da4"
+ "bfc728a.ead4ad8"
]
]
},
{
- "id": "36dc4c70.d09da4",
+ "id": "bfc728a.ead4ad8",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"plmninfolistnssailength in false in DU \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNssaiListLengthDU`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 3039.1874084472656,
- "y": 4195.887305498123,
- "z": "ebaeae22.b6553",
+ "x": 2959.4999351501465,
+ "y": 4134.699812173843,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "67104ba4.6e0704",
+ "id": "e876e1b7.c8b58",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"plmninfolistnssailength in true in DU \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNssaiListLengthDU`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 3066.9874839782715,
- "y": 4089.887301683426,
- "z": "ebaeae22.b6553",
+ "x": 2987.3000106811523,
+ "y": 4028.699808359146,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "573d1a0e.8b2d24",
+ "id": "eff97018.f72c4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2745.637451171875,
- "y": 468.3374938964844,
- "z": "ebaeae22.b6553",
+ "x": 2665.949977874756,
+ "y": 407.1500005722046,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "a923ff32.74493",
- "804da0fd.26282",
- "a1676d4d.58ef1"
+ "34162c67.ff6634",
+ "d5b9b7.743aa648",
+ "f575132e.ef7d4"
]
]
},
{
- "id": "a923ff32.74493",
+ "id": "34162c67.ff6634",
"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.sNssaiListLengthCU' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList['+ $id-cuplmn +'].sNSSAI_length'`\" />",
"comments": "",
"outputs": 1,
- "x": 2996.3874168395996,
- "y": 400.68704056739807,
- "z": "ebaeae22.b6553",
+ "x": 2916.6999435424805,
+ "y": 339.4995472431183,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "804da0fd.26282",
+ "id": "d5b9b7.743aa648",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CU_plmninfolength_nssailength \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNssaiListLengthCU`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 2993.387550354004,
- "y": 450.88749408721924,
- "z": "ebaeae22.b6553",
+ "x": 2913.7000770568848,
+ "y": 389.70000076293945,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "8757e55c.ec0418",
+ "id": "62d2e2ac.c0074c",
"type": "for",
"name": "foreach snssai",
"xml": "<for index='id-cusnssai' start='0' end='`$tmp.sNssaiListLengthCU`'>\n",
"comments": "",
"outputs": 1,
- "x": 3181.3875160217285,
- "y": 615.4876310825348,
- "z": "ebaeae22.b6553",
+ "x": 3101.7000427246094,
+ "y": 554.300137758255,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "7be87596.981f4c"
+ "d8a2e455.b39aa8"
]
]
},
{
- "id": "a1676d4d.58ef1",
+ "id": "f575132e.ef7d4",
"type": "switchNode",
"name": "check the action",
"xml": "<switch test='`$tmp.sNssaiListLengthCU > 0`'>\n",
"comments": "",
"outputs": 1,
- "x": 2929.3874168395996,
- "y": 544.2876303195953,
- "z": "ebaeae22.b6553",
+ "x": 2849.6999435424805,
+ "y": 483.10013699531555,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "d38a3beb.a1b758",
- "40629a65.df8864"
+ "233d72c.26a6a8e",
+ "a17478ac.c41998"
]
]
},
{
- "id": "d38a3beb.a1b758",
+ "id": "233d72c.26a6a8e",
"type": "outcome",
"name": "True",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3103.387420654297,
- "y": 490.48723816871643,
- "z": "ebaeae22.b6553",
+ "x": 3023.6999473571777,
+ "y": 429.29974484443665,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "e5ebf4ec.204d08"
+ "94959870.103728"
]
]
},
{
- "id": "40629a65.df8864",
+ "id": "a17478ac.c41998",
"type": "outcome",
"name": "False",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3099.1875915527344,
- "y": 540.6870613098145,
- "z": "ebaeae22.b6553",
+ "x": 3019.5001182556152,
+ "y": 479.49956798553467,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "cdf7b6d1.2f1d88"
+ "cfaa6df4.c7855"
]
]
},
{
- "id": "e5ebf4ec.204d08",
+ "id": "94959870.103728",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3201.3874225616455,
- "y": 421.0872366428375,
- "z": "ebaeae22.b6553",
+ "x": 3121.6999492645264,
+ "y": 359.89974331855774,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "8757e55c.ec0418",
- "34e41531.a8223a"
+ "62d2e2ac.c0074c",
+ "189b8ade.0e4ff5"
]
]
},
{
- "id": "cdf7b6d1.2f1d88",
+ "id": "cfaa6df4.c7855",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3252.387596130371,
- "y": 553.0872564315796,
- "z": "ebaeae22.b6553",
+ "x": 3172.700122833252,
+ "y": 491.8997631072998,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "617d7693.60c3a8"
+ "b9a2a9c5.814138"
]
]
},
{
- "id": "617d7693.60c3a8",
+ "id": "b9a2a9c5.814138",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"plmninfolistnssailength in false in CU \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNssaiListLengthCU`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 3428.9874000549316,
- "y": 550.2872314453125,
- "z": "ebaeae22.b6553",
+ "x": 3349.2999267578125,
+ "y": 489.0997381210327,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "34e41531.a8223a",
+ "id": "189b8ade.0e4ff5",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"plmninfolistnssailength in true in CU \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNssaiListLengthCU`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 3348.787498474121,
- "y": 400.28723549842834,
- "z": "ebaeae22.b6553",
+ "x": 3269.100025177002,
+ "y": 339.09974217414856,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "1947709a.a32c7f",
+ "id": "8786264d.f72568",
"type": "switchNode",
"name": "check the action for terminate",
"xml": "<switch test='`$terminate-r-a-n-slice-instance-input.action == deallocate`'>\n",
"comments": "",
"outputs": 1,
- "x": 764.4375,
- "y": 275.4375033378601,
- "z": "ebaeae22.b6553",
+ "x": 684.7500267028809,
+ "y": 214.25001001358032,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "20bab81b.12dc08",
- "64d76cba.f09a24"
+ "89d4082e.0a0218",
+ "26470c51.040364"
]
]
},
{
- "id": "20bab81b.12dc08",
+ "id": "89d4082e.0a0218",
"type": "outcome",
"name": "True",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 974.4375,
- "y": 194.4375033378601,
- "z": "ebaeae22.b6553",
+ "x": 894.7500267028809,
+ "y": 133.25001001358032,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "11e2e13c.d69eef"
+ "168eca41.160d76"
]
]
},
{
- "id": "64d76cba.f09a24",
+ "id": "26470c51.040364",
"type": "outcome",
"name": "False",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 993.4374885559082,
- "y": 348.43752670288086,
- "z": "ebaeae22.b6553",
+ "x": 913.7500152587891,
+ "y": 287.2500333786011,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "e6f1ca3f.bec7c8"
+ "ae03c950.f722b8"
]
]
},
{
- "id": "e8c18b59.703a18",
+ "id": "10df937f.88a1ed",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"modify deallocate called\" />\n\n",
"comments": "",
"outputs": 1,
- "x": 1324.2382507324219,
- "y": 314.2376022338867,
- "z": "ebaeae22.b6553",
+ "x": 1244.5507774353027,
+ "y": 253.05010890960693,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "11e2e13c.d69eef",
+ "id": "168eca41.160d76",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1144.4375801086426,
- "y": 186.6375527381897,
- "z": "ebaeae22.b6553",
+ "x": 1064.7501068115234,
+ "y": 125.45005941390991,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "955658c4.f4ba88",
- "5fe22931.cadb68"
+ "9570a45c.668598",
+ "bf8b1125.be22"
]
]
},
{
- "id": "e6f1ca3f.bec7c8",
+ "id": "ae03c950.f722b8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1154.4376831054688,
- "y": 348.637526512146,
- "z": "ebaeae22.b6553",
+ "x": 1074.7502098083496,
+ "y": 287.4500331878662,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "e8c18b59.703a18",
- "37e77f96.5487d"
+ "10df937f.88a1ed",
+ "e03d5ce7.33f0b"
]
]
},
{
- "id": "955658c4.f4ba88",
+ "id": "9570a45c.668598",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"deallocate called\" />\n\n",
"comments": "",
"outputs": 1,
- "x": 1315.2374687194824,
- "y": 120.43750667572021,
- "z": "ebaeae22.b6553",
+ "x": 1235.5499954223633,
+ "y": 59.25001335144043,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "90d577c7.54e418",
+ "id": "f0e62997.39cbd8",
"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-terminateRANSlice-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 3407.237548828125,
- "y": 213.43750190734863,
- "z": "ebaeae22.b6553",
+ "x": 3327.550075531006,
+ "y": 152.25000858306885,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "2e472e58.59c032",
+ "id": "4b356c3.4720994",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Payload for terminateRANSlice.: \"/>\n<parameter name=\"field2\" value=\"`$tmp.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": 3425.987445831299,
- "y": 257.93750190734863,
- "z": "ebaeae22.b6553",
+ "x": 3346.2999725341797,
+ "y": 196.75000858306885,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "f071889d.d6ab08",
+ "id": "824100ec.a5ca2",
"type": "switchNode",
"name": "check action",
"xml": "<switch test='`$tmp.action`'>",
"comments": "",
"outputs": 1,
- "x": 3426.737747192383,
- "y": 144.6875,
- "z": "ebaeae22.b6553",
+ "x": 3347.0502738952637,
+ "y": 83.50000667572021,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "f8be8e4d.17d0b",
- "565617bd.8073e8"
+ "f96584ff.35bd88",
+ "79a5130e.41904c"
]
]
},
{
- "id": "f8be8e4d.17d0b",
+ "id": "f96584ff.35bd88",
"type": "success",
"name": "deallocate",
"xml": "<outcome value='deallocate'>\n",
"comments": "",
"outputs": 1,
- "x": 3613.737548828125,
- "y": 155.43752574920654,
- "z": "ebaeae22.b6553",
+ "x": 3534.050075531006,
+ "y": 94.25003242492676,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "861a8692.fc1d28"
+ "362c5ca8.7b8ec4"
]
]
},
{
- "id": "7083b8f1.28f138",
+ "id": "61d72fb.6d790d",
"type": "execute",
"name": "read sNSSAI from sliceProfile",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.sNSSAI' />\n\t<parameter name='source' value=\"`$payloadJson.input.sliceProfile.sNSSAI`\" />\n",
"comments": "",
"outputs": 1,
- "x": 4024.7377548217773,
- "y": 229.43750286102295,
- "z": "ebaeae22.b6553",
+ "x": 3945.050281524658,
+ "y": 168.25000953674316,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "565617bd.8073e8",
+ "id": "79a5130e.41904c",
"type": "failure",
"name": "modify-deallocate",
"xml": "<outcome value='modify-deallocate'>\n",
"comments": "",
"outputs": 1,
- "x": 3608.737548828125,
- "y": 253.43750190734863,
- "z": "ebaeae22.b6553",
+ "x": 3529.050075531006,
+ "y": 192.25000858306885,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "67fd599e.c27368"
+ "3a8eaeee.402ff2"
]
]
},
{
- "id": "990ded80.1794a",
+ "id": "1c51a0c8.b7ac3f",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI: \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNSSAI`\"/>\n\n\n",
"comments": "",
"outputs": 1,
- "x": 3985.9875526428223,
- "y": 183.43750190734863,
- "z": "ebaeae22.b6553",
+ "x": 3906.300079345703,
+ "y": 122.25000858306885,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "861a8692.fc1d28",
+ "id": "362c5ca8.7b8ec4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3785.987548828125,
- "y": 155.43750190734863,
- "z": "ebaeae22.b6553",
+ "x": 3706.300075531006,
+ "y": 94.25000858306885,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "990ded80.1794a",
- "fe102fc2.1086d"
+ "1c51a0c8.b7ac3f",
+ "9b5f5562.aa1908"
]
]
},
{
- "id": "fe102fc2.1086d",
+ "id": "9b5f5562.aa1908",
"type": "set",
"name": "read sNSSAI from input",
"xml": "<set>\n<parameter name='tmp.sNSSAI' value=\"`$payloadJson.input.sNSSAI`\"/>",
"comments": "",
- "x": 3987.9875564575195,
- "y": 134.43750095367432,
- "z": "ebaeae22.b6553",
+ "x": 3908.3000831604004,
+ "y": 73.25000762939453,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "56f81a5e.8e2644",
+ "id": "d76c82f4.684ed",
"type": "set",
"name": "read action from input",
"xml": "<set>\n<parameter name='tmp.action' value=\"`$terminate-r-a-n-slice-instance-input.action`\"/>",
"comments": "",
- "x": 3445.487548828125,
- "y": 97.9375,
- "z": "ebaeae22.b6553",
+ "x": 3365.800075531006,
+ "y": 36.750006675720215,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "67fd599e.c27368",
+ "id": "3a8eaeee.402ff2",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3802.537551879883,
- "y": 249.93750190734863,
- "z": "ebaeae22.b6553",
+ "x": 3722.8500785827637,
+ "y": 188.75000858306885,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "7083b8f1.28f138",
- "bcef911c.18a4f"
+ "61d72fb.6d790d",
+ "d5e3f470.2d7928"
]
]
},
{
- "id": "bcef911c.18a4f",
+ "id": "d5e3f470.2d7928",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"modify-deallocate-sNSSAI: \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNSSAI`\"/>\n\n\n",
"comments": "",
"outputs": 1,
- "x": 4044.53755569458,
- "y": 297.93750381469727,
- "z": "ebaeae22.b6553",
+ "x": 3964.850082397461,
+ "y": 236.75001049041748,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "38352dc7.16dc92",
+ "id": "152165f5.83706a",
"type": "execute",
"name": "execute jsonStringToCtx",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='jsonStringToCtx'>\n\t<parameter name='source' value='terminate-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": 2838.637451171875,
- "y": 184.9375,
- "z": "ebaeae22.b6553",
+ "x": 2758.949977874756,
+ "y": 123.75000667572021,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "8990b61b.0b0088"
+ "44d18308.e2144c"
]
]
},
{
- "id": "8990b61b.0b0088",
+ "id": "44d18308.e2144c",
"type": "other",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3039.8872604370117,
- "y": 174.1875,
- "z": "ebaeae22.b6553",
+ "x": 2960.1997871398926,
+ "y": 113.00000667572021,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "ed361eb9.3a85"
+ "d766810d.5537b"
]
]
},
{
- "id": "ed361eb9.3a85",
+ "id": "d766810d.5537b",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3205.8873596191406,
- "y": 168.1875,
- "z": "ebaeae22.b6553",
+ "x": 3126.1998863220215,
+ "y": 107.00000667572021,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "56f81a5e.8e2644",
- "f071889d.d6ab08",
- "90d577c7.54e418",
- "2e472e58.59c032"
+ "d76c82f4.684ed",
+ "824100ec.a5ca2",
+ "f0e62997.39cbd8",
+ "4b356c3.4720994"
]
]
},
{
- "id": "37e77f96.5487d",
+ "id": "e03d5ce7.33f0b",
"type": "execute",
"name": "execute jsonStringToCtx",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='jsonStringToCtx'>\n\t<parameter name='source' value='instantiate-r-a-n-slice-input.payload' />\n\t<parameter name='outputPath' value='payloadJson' />\n\t<parameter name='isEscaped' value='false' />",
"comments": "",
"outputs": 1,
- "x": 1437.6376647949219,
- "y": 394.93750381469727,
- "z": "ebaeae22.b6553",
+ "x": 1357.9501914978027,
+ "y": 333.7500104904175,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "cc56bc9f.7eac4"
+ "360a2a03.6dcec6"
]
]
},
{
- "id": "cc56bc9f.7eac4",
+ "id": "360a2a03.6dcec6",
"type": "other",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1698.6374740600586,
- "y": 342.9375,
- "z": "ebaeae22.b6553",
+ "x": 1618.9500007629395,
+ "y": 281.7500066757202,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "764f671c.876488"
+ "403adf2c.db4ad"
]
]
},
{
- "id": "764f671c.876488",
+ "id": "403adf2c.db4ad",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1869.6374740600586,
- "y": 343.9375009536743,
- "z": "ebaeae22.b6553",
+ "x": 1789.9500007629395,
+ "y": 282.75000762939453,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "3dd1774.8546a88",
- "68e6883b.809ea8",
- "e0cf5b18.091458",
- "27b84f5f.fbf86",
- "1c7a43a6.b054ec",
- "25c758dc.47c528"
+ "1ccd32d6.df2cad",
+ "32a7ac0.b847f54",
+ "b962eb4d.51f6b8",
+ "94573a5c.ab9608",
+ "d470767d.5e4878",
+ "acca6f92.25047"
]
]
},
{
- "id": "3dd1774.8546a88",
+ "id": "1ccd32d6.df2cad",
"type": "set",
"name": "read action from input",
"xml": "<set>\n<parameter name='tmp.action' value=\"`$instantiate-r-a-n-slice-input.action`\"/>",
"comments": "",
- "x": 2089.6375732421875,
- "y": 325.93750381469727,
- "z": "ebaeae22.b6553",
+ "x": 2009.9500999450684,
+ "y": 264.7500104904175,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "68e6883b.809ea8",
+ "id": "32a7ac0.b847f54",
"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-terminateRANSlice-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2059.637481689453,
- "y": 362.9375,
- "z": "ebaeae22.b6553",
+ "x": 1979.950008392334,
+ "y": 301.7500066757202,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "e0cf5b18.091458",
+ "id": "b962eb4d.51f6b8",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Payload for modifyallocateRANSlice.: \"/>\n<parameter name=\"field2\" value=\"`$payloadJson.input.RANNFNSSIId`\"/>\n<parameter name=\"field3\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"field4\" value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\"/>\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2058.3872833251953,
- "y": 409.4375009536743,
- "z": "ebaeae22.b6553",
+ "x": 1978.6998100280762,
+ "y": 348.25000762939453,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "27b84f5f.fbf86",
+ "id": "94573a5c.ab9608",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"modify-deallocate-sNSSAI: \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNSSAI`\"/>\n<parameter name=\"field3\" value=\"`$tmp.sliceprofileid`\"/>\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2049.837577819824,
- "y": 543.4375076293945,
- "z": "ebaeae22.b6553",
+ "x": 1970.150104522705,
+ "y": 482.25001430511475,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "5fe22931.cadb68",
+ "id": "bf8b1125.be22",
"type": "execute",
"name": "execute jsonStringToCtx",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='jsonStringToCtx'>\n\t<parameter name='source' value='terminate-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": 1533.2375679016113,
- "y": 197.9375,
- "z": "ebaeae22.b6553",
+ "x": 1453.5500946044922,
+ "y": 136.75000667572021,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "10044cd1.ac28b3"
+ "65a8129d.82b02c"
]
]
},
{
- "id": "10044cd1.ac28b3",
+ "id": "65a8129d.82b02c",
"type": "other",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1735.2375259399414,
- "y": 123.93749809265137,
- "z": "ebaeae22.b6553",
+ "x": 1655.5500526428223,
+ "y": 62.75000476837158,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "788d066f.5dfbe8"
+ "d5a8fa1f.418058"
]
]
},
{
- "id": "788d066f.5dfbe8",
+ "id": "d5a8fa1f.418058",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1906.2375259399414,
- "y": 124.93749904632568,
- "z": "ebaeae22.b6553",
+ "x": 1826.5500526428223,
+ "y": 63.7500057220459,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "9ccdf5e8.ec4818",
- "e5d59003.444d7",
- "4e34a66f.0bc9b8",
- "540bf901.fd12f8",
- "9a97ba63.531c18",
- "a46ae73c.0b5638"
+ "d631facc.8c62f8",
+ "1f316a3a.31a4b6",
+ "b790e4fd.689028",
+ "b052ccbb.43477",
+ "5abb93e4.d9d71c",
+ "903cf5d1.7d6398"
]
]
},
{
- "id": "9ccdf5e8.ec4818",
+ "id": "d631facc.8c62f8",
"type": "set",
"name": "read action from input",
"xml": "<set>\n<parameter name='tmp.action' value=\"`$terminate-r-a-n-slice-instance-input.action`\"/>",
"comments": "",
- "x": 2126.2375259399414,
- "y": 101.93749809265137,
- "z": "ebaeae22.b6553",
+ "x": 2046.5500526428223,
+ "y": 40.75000476837158,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "e5d59003.444d7",
+ "id": "1f316a3a.31a4b6",
"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-terminateRANSlice-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2096.237533569336,
- "y": 143.93749809265137,
- "z": "ebaeae22.b6553",
+ "x": 2016.5500602722168,
+ "y": 82.75000476837158,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "4e34a66f.0bc9b8",
+ "id": "b790e4fd.689028",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Payload for terminateRANSlice.: \"/>\n<parameter name=\"field2\" value=\"`$tmp.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": 2089.237548828125,
- "y": 180.9375,
- "z": "ebaeae22.b6553",
+ "x": 2009.5500755310059,
+ "y": 119.75000667572021,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "9a97ba63.531c18",
+ "id": "5abb93e4.d9d71c",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"DEallocate sNSSAI: \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNSSAI`\"/>\n<parameter name=\"field3\" value=\"`$tmp.sliceprofileid`\"/>\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2091.237579345703,
- "y": 288.93750381469727,
- "z": "ebaeae22.b6553",
+ "x": 2011.550106048584,
+ "y": 227.75001049041748,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "540bf901.fd12f8",
+ "id": "b052ccbb.43477",
"type": "set",
"name": "read sNSSAI from input",
"xml": "<set>\n<parameter name='tmp.sNSSAI' value=\"`$payloadJson.input.sNSSAI`\"/>",
"comments": "",
- "x": 2156.237579345703,
- "y": 218.93750190734863,
- "z": "ebaeae22.b6553",
+ "x": 2076.550106048584,
+ "y": 157.75000858306885,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "1c7a43a6.b054ec",
+ "id": "d470767d.5e4878",
"type": "set",
"name": "read sNSSAI from input sliceprofile",
"xml": "<set>\n<parameter name='tmp.sNSSAI' value=\"`$payloadJson.input.sliceProfile.sNSSAI`\"/>",
"comments": "",
- "x": 2114.8375244140625,
- "y": 453.9375,
- "z": "ebaeae22.b6553",
+ "x": 2035.1500511169434,
+ "y": 392.7500066757202,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "25c758dc.47c528",
+ "id": "acca6f92.25047",
"type": "set",
"name": "read SpId from input sliceprofile",
"xml": "<set>\n<parameter name='tmp.sliceprofileid' value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\"/>",
"comments": "",
- "x": 2142.237548828125,
- "y": 498.9375,
- "z": "ebaeae22.b6553",
+ "x": 2062.550075531006,
+ "y": 437.7500066757202,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "a46ae73c.0b5638",
+ "id": "903cf5d1.7d6398",
"type": "set",
"name": "read SpId from input ",
"xml": "<set>\n<parameter name='tmp.sliceprofileid' value=\"`$payloadJson.input.sliceProfileId`\"/>",
"comments": "",
- "x": 2180.237579345703,
- "y": 252.93750190734863,
- "z": "ebaeae22.b6553",
+ "x": 2100.550106048584,
+ "y": 191.75000858306885,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "f00542e3.6176b",
+ "id": "c66a79.61165588",
"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'`\" />",
"comments": "",
"outputs": 1,
- "x": 985.0000305175781,
- "y": 777.312497138977,
- "z": "ebaeae22.b6553",
+ "x": 905.312557220459,
+ "y": 716.1250038146973,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "43838e30.94806",
+ "id": "4db951bb.39538",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 967.8125305175781,
- "y": 830.124997138977,
- "z": "ebaeae22.b6553",
+ "x": 888.125057220459,
+ "y": 768.9375038146973,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "3ac31f13.5050f",
- "cfb5a16e.1a645"
+ "25b2c4d2.7600ac",
+ "8a43bfc5.05f98"
]
]
},
{
- "id": "3ac31f13.5050f",
+ "id": "25b2c4d2.7600ac",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1185.3125610351562,
- "y": 745.8748302459717,
- "z": "ebaeae22.b6553",
+ "x": 1105.625087738037,
+ "y": 684.6873369216919,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "1ddcf59c.fe909a"
+ "63520766.4f2d28"
]
]
},
{
- "id": "cfb5a16e.1a645",
+ "id": "8a43bfc5.05f98",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1174.8125305175781,
- "y": 787.3750009536743,
- "z": "ebaeae22.b6553",
+ "x": 1095.125057220459,
+ "y": 726.1875076293945,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "1c670bd3.073734"
+ "5bc8efe9.17bd5"
]
]
},
{
- "id": "1c670bd3.073734",
+ "id": "5bc8efe9.17bd5",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1323.8121948242188,
- "y": 800.3751063346863,
- "z": "ebaeae22.b6553",
+ "x": 1244.1247215270996,
+ "y": 739.1876130104065,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "70e17ce3.442364",
- "893f1bc8.7c0948"
+ "71b47e92.eb601",
+ "48df6cb5.2958e4"
]
]
},
{
- "id": "1ddcf59c.fe909a",
+ "id": "63520766.4f2d28",
"type": "execute",
"name": "generate remove sliceProfile url",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.nearrtric.removeSliceProfile`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteSliceProfileEntry.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1456.0624618530273,
- "y": 743.6250009536743,
- "z": "ebaeae22.b6553",
+ "x": 1376.3749885559082,
+ "y": 682.4375076293945,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "70e17ce3.442364",
+ "id": "71b47e92.eb601",
"type": "execute",
"name": "generate sliceprofile removal",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.nearrtric.removeSliceProfile.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteSliceProfileEntry.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 1222.0621871948242,
- "y": 865.37495470047,
- "z": "ebaeae22.b6553",
+ "x": 1142.374713897705,
+ "y": 804.1874613761902,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "893f1bc8.7c0948",
+ "id": "48df6cb5.2958e4",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteSliceProfileEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteSliceProfileEntry.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 1144.812644958496,
- "y": 905.8751392364502,
- "z": "ebaeae22.b6553",
+ "x": 1065.125171661377,
+ "y": 844.6876459121704,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "69cce720.bc2c98",
+ "id": "b2681516.53cf08",
"type": "execute",
"name": "Remove Slice Profile",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.deleteSliceProfileEntry.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-slice-profile-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\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1145.312644958496,
- "y": 1060.1250162124634,
- "z": "ebaeae22.b6553",
+ "x": 1065.625171661377,
+ "y": 998.9375228881836,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "dc4caa79.a20138",
- "17c17345.6b085d"
+ "5c521606.8079d8",
+ "30d0ba3a.cf6c56"
]
]
},
{
- "id": "dc4caa79.a20138",
+ "id": "5c521606.8079d8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1346.5625305175781,
- "y": 928.874997138977,
- "z": "ebaeae22.b6553",
+ "x": 1266.875057220459,
+ "y": 867.6875038146973,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "56ed2f3b.6a3a5"
+ "18b2eae9.482e45"
]
]
},
{
- "id": "17c17345.6b085d",
+ "id": "30d0ba3a.cf6c56",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1329.8806686401367,
- "y": 1001.5340905189514,
- "z": "ebaeae22.b6553",
+ "x": 1250.1931953430176,
+ "y": 940.3465971946716,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "3f380394.90a03c"
+ "5ad9143b.2f319c"
]
]
},
{
- "id": "56ed2f3b.6a3a5",
+ "id": "18b2eae9.482e45",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1513.4375305175781,
- "y": 910.124997138977,
- "z": "ebaeae22.b6553",
+ "x": 1433.750057220459,
+ "y": 848.9375038146973,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "c83206fa.541238",
- "e3d15146.168a2"
+ "38e0e92.f090316",
+ "53c6cef7.f54d5"
]
]
},
{
- "id": "e3d15146.168a2",
+ "id": "53c6cef7.f54d5",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 1662.4372215270996,
- "y": 873.2359752655029,
- "z": "ebaeae22.b6553",
+ "x": 1582.7497482299805,
+ "y": 812.0484819412231,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "c83206fa.541238",
+ "id": "38e0e92.f090316",
"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 nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 1676.4372253417969,
- "y": 948.1250438690186,
- "z": "ebaeae22.b6553",
+ "x": 1596.7497520446777,
+ "y": 886.9375505447388,
+ "z": "2f11fe3b.9702a2",
"wires": []
},
{
- "id": "3eed922a.deb30e",
+ "id": "44123c29.719694",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully REmoved Slice Profile\"/>",
"comments": "",
"outputs": 1,
- "x": 1590.9375610351562,
- "y": 1070.1250200271606,
- "z": "ebaeae22.b6553",
+ "x": 1511.250087738037,
+ "y": 1008.9375267028809,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "3f380394.90a03c",
+ "id": "5ad9143b.2f319c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1511.4375228881836,
- "y": 1015.8749116659164,
- "z": "ebaeae22.b6553",
+ "x": 1431.7500495910645,
+ "y": 954.6874183416367,
+ "z": "2f11fe3b.9702a2",
"wires": [
[
- "3eed922a.deb30e"
+ "44123c29.719694"
]
]
},
{
- "id": "36f3ba6f.1562a6",
+ "id": "55880c97.30cfd4",
"type": "execute",
"name": "prepare slice profile id",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteSliceProfileEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteSliceProfileEntry.url\"/>\n <parameter name=\"target\" value=\"{sliceProfileId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.sliceprofileid`\"/>",
"comments": "",
"outputs": 1,
- "x": 1066.8750343322754,
- "y": 966.3750171661377,
- "z": "ebaeae22.b6553",
+ "x": 987.1875610351562,
+ "y": 905.1875238418579,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
},
{
- "id": "116fc832.377a78",
+ "id": "275eb450.f7f7cc",
"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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sliceprofileid\"/>\n<parameter name=\"field2\" value=\"`$tmp.sliceprofileid`\" />\n<parameter name=\"field3\" value=\"nearRTRICId\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\" />\n<parameter name=\"field5\" value=\"endpoint URL\"/>\n<parameter name=\"field6\" value=\"`$tmp.deleteSliceProfileEntry.url`\" />\n",
"comments": "",
"outputs": 1,
- "x": 1046.5625305175781,
- "y": 1015.124997138977,
- "z": "ebaeae22.b6553",
+ "x": 966.875057220459,
+ "y": 953.9375038146973,
+ "z": "2f11fe3b.9702a2",
"wires": [
[]
]
+ },
+ {
+ "id": "9e346929.f8f368",
+ "type": "switchNode",
+ "name": "check status",
+ "xml": "<switch test='`$error-code`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 861.25,
+ "y": 4356.75,
+ "z": "2f11fe3b.9702a2",
+ "wires": [
+ [
+ "246ef00.204e21",
+ "ed852d79.6b12a"
+ ]
+ ]
+ },
+ {
+ "id": "246ef00.204e21",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='200'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1044.2499809265137,
+ "y": 4313.75006711483,
+ "z": "2f11fe3b.9702a2",
+ "wires": [
+ [
+ "deb1b685.a84d18"
+ ]
+ ]
+ },
+ {
+ "id": "deb1b685.a84d18",
+ "type": "set",
+ "name": "status",
+ "xml": "<set>\n<parameter name=\"tmp.status\" value=\"success\"/>",
+ "comments": "",
+ "x": 1220.2499809265137,
+ "y": 4316.750219702721,
+ "z": "2f11fe3b.9702a2",
+ "wires": []
+ },
+ {
+ "id": "8f98f8a7.500428",
+ "type": "set",
+ "name": "failure status",
+ "xml": "<set>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>",
+ "comments": "",
+ "x": 1221.2499656677246,
+ "y": 4360.7499450445175,
+ "z": "2f11fe3b.9702a2",
+ "wires": []
+ },
+ {
+ "id": "ed852d79.6b12a",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1060.2499656677246,
+ "y": 4365.7499450445175,
+ "z": "2f11fe3b.9702a2",
+ "wires": [
+ [
+ "8f98f8a7.500428"
+ ]
+ ]
}
] \ No newline at end of file
diff --git a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSlice.xml b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSlice.xml
index f133d18f..1af8ce37 100644
--- a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSlice.xml
+++ b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSlice.xml
@@ -395,6 +395,22 @@
</call>
</block>
</outcome>
+ <outcome value='reconfigure'>
+ <block atomic="true">
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Calling instantiateRANSliceReconfigure-cps "/>
+ </record>
+ <call module='ran-slice-api' rpc='instantiateRANSliceReconfigure-cps' mode='sync' >
+ <outcome value='failure'>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y' />
+ </return>
+ </outcome>
+ </call>
+ </block>
+ </outcome>
</switch>
</block>
</outcome>
@@ -406,4 +422,4 @@
</return>
</block>
</method>
-</service-logic> \ No newline at end of file
+</service-logic>
diff --git a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceReconfigure-cps.xml b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceReconfigure-cps.xml
new file mode 100644
index 00000000..98cf08dc
--- /dev/null
+++ b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceReconfigure-cps.xml
@@ -0,0 +1,1554 @@
+<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='instantiateRANSliceReconfigure-cps' mode='sync'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Reached instantiateRANSliceReconfigure "/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >
+ <parameter name='source' value='`$instantiate-r-a-n-slice-input.payload`' />
+ <parameter name='target' value='dLThptPerSlice' />
+ <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/closedLoop.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="PAYLOAD contains dLThptPerSlice...Closed loop "/>
+ </record>
+ <block atomic="true">
+ <set>
+ <parameter name='tmp.payload.numberUpdates' value='`$payloadJson.input.additionalproperties.resourceConfig.data_length`'/>
+ <parameter name="tmp.sliceProfileId" value="`$payloadJson.input.sliceProfile.sliceProfileId`"/>
+ <parameter name='tmp.payload.sNSSAI' value='`$payloadJson.input.sliceProfile.sNSSAI`'/>
+ </set>
+ <for index='id1' start='0' end="`$tmp.payload.numberUpdates`" >
+ <set>
+ <parameter name="tmp.dLThptPerSlice" value="`$payloadJson.input.additionalproperties.resourceConfig.data[$id1].dLThptPerSlice`"/>
+ <parameter name="tmp.uLThptPerSlice" value="`$payloadJson.input.additionalproperties.resourceConfig.data[$id1].uLThptPerSlice`"/>
+ <parameter name="tmp.nearRTRICId" value="`$payloadJson.input.additionalproperties.resourceConfig.data[$id1].nearRTRICId`"/>
+ </set>
+ <switch test='`$tmp.nearRTRICId == 11 `'>
+ <outcome value='true'>
+ <set>
+ <parameter name='tmp.policytype.url' value='`$prop.a1.policytype.url.nearrtric11`'/>
+ <parameter name="tmp.policyinstance.url" value="`$prop.a1.policyinstance.url.nearrtric11`"/>
+ </set>
+ </outcome>
+ <outcome value='false'>
+ <set>
+ <parameter name='tmp.policytype.url' value='`$prop.a1.policytype.url.nearrtric22`'/>
+ <parameter name="tmp.policyinstance.url" value="`$prop.a1.policyinstance.url.nearrtric22`"/>
+ </set>
+ </outcome>
+ </switch>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$tmp.policytype.url`"/>
+ <parameter name='format' value='json' />
+ <parameter name='httpMethod' value='GET' />
+ <parameter name='contentType' value='application/json' />
+ <parameter name='responsePrefix' value='get-policytypes-responsse' />
+ <outcome value='success'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.policytypelength' />
+ <parameter name='source' value="`'get-policytypes-responsse._length'`" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/closedLoop.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="policy types length "/>
+ <parameter name="field2" value="`$tmp.policytypelength`"/>
+ </record>
+ <switch test='`$tmp.policytypelength > 0`'>
+ <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/closedLoop.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="policy type already exists "/>
+ <parameter name="field2" value="SUCCESSFULL"/>
+ </record>
+ </block>
+ </outcome>
+ <outcome value='false'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/closedLoop.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="creating new policy "/>
+ <parameter name="field2" value="SUCCESSFULL"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/A1policytype.json'`" />
+ <parameter name="restapiUrl" value="https://10.31.4.11:30226/events/A1-P"/>
+ <parameter name='format' value='json' />
+ <parameter name='httpMethod' value='POST' />
+ <parameter name='contentType' value='application/json' />
+ <parameter name='responsePrefix' value='dmaap' />
+ <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/closedLoop.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Create policytype "/>
+ <parameter name="field2" value="Succesfull"/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/A1policyinstance.json'`" />
+ <parameter name="restapiUrl" value="https://10.31.4.11:30226/events/A1-P"/>
+ <parameter name='format' value='json' />
+ <parameter name='httpMethod' value='POST' />
+ <parameter name='contentType' value='application/json' />
+ <parameter name='responsePrefix' value='dmaap-res' />
+ <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/closedLoop.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Create policyinstance "/>
+ <parameter name="field2" value="Succesfull"/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </outcome>
+ <outcome value='failure'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/closedLoop.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="req error "/>
+ <parameter name="field2" value="Failure"/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ <block atomic='true'>
+ <switch test='`$prop.ransim-mounted`'>
+ <outcome value='false'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.addSliceProfile.ToNearRTRIC`"/>
+ <parameter name="outputPath" value="tmp.restapi.addSliceProfile.ToNearRTRIC.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.restapi.addSliceProfile.ToNearRTRIC.url`"/>
+ <parameter name="outputPath" value="tmp.restapi.addSliceProfile.ToNearRTRIC.url"/>
+ <parameter name="target" value="{sliceProfileId}"/>
+ <parameter name="replacement" value="`$tmp.sliceProfileId`"/>
+ </execute>
+ </block>
+ </outcome>
+ <outcome value='true'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.addSliceProfile.ToNearRTRIC.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.restapi.addSliceProfile.ToNearRTRIC.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.restapi.addSliceProfile.ToNearRTRIC.url`"/>
+ <parameter name="outputPath" value="tmp.restapi.addSliceProfile.ToNearRTRIC.url"/>
+ <parameter name="target" value="{sliceProfileId}"/>
+ <parameter name="replacement" value="`$tmp.sliceProfileId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`"/>
+ <parameter name="outputPath" value="tmp.restapi.addSliceProfile.ToNearRTRIC.url"/>
+ <parameter name="target" value="{mountName}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/closedLoop.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Patch SliceProfile ToNearRTRIC url for closed loop:"/>
+ <parameter name="field2" value="`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`"/>
+ </record>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/closedLoop.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Setting variables for PATCH SliceProfile ToNearRTRIC - closed loop"/>
+ <parameter name="field2" value="`$prop.controller.url + $tmp.restapi.addSliceProfile.ToNearRTRIC.url`"/>
+ <parameter name="field3" value="`$tmp.dLThptPerSlice`"/>
+ <parameter name="field4" value="`$tmp.uLThptPerSlice`"/>
+ <parameter name="field5" value="`$tmp.nearRTRICId`"/>
+ <parameter name="field6" value="`$tmp.sliceProfileId`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-closed-loop-nearRTRIC-patch.json'`" />
+ <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.restapi.addSliceProfile.ToNearRTRIC.url`"/>
+ <parameter name="restapiUser" value="`$prop.controller.user`" />
+ <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+ <parameter name="httpMethod" value="PATCH"/>
+ <parameter name="responsePrefix" value="nearRTRIC-slice-patch-response"/>
+ <parameter name='contentType' value='application/yang.patch+json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='application/yang.patch-status+json' />
+ <outcome value='failure'>
+ <block>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error Patching slice profile parms for close loop. Exiting close loop operation'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error Patching slice profile parms for close loop. Exiting close loop operation'/>
+ </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="`$instantiateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$instantiateRANSlice-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`" />
+ <parameter name='field7' value="`$tmp.CUCPList`" />
+ <parameter name='field8' value="`$tmp.CUUPList`" />
+ <parameter name='field9' value="`$tmp.DUList`" />
+ </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-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <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/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </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/closedLoop.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully PATCHED NearRTRIC for close loop operation"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+ <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-closedloop-nearRTRIC-context.log' />
+ </execute>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ <block atomic='true'>
+ <set>
+ <parameter name='tmp.getAnchors.URL' value="`$prop.restapi.cps.anchors.endpoint`"/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/closedLoop.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL to fetch the anchors"/>
+ <parameter name="field2" value="`$tmp.getAnchors.URL`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$tmp.getAnchors.URL`"/>
+ <parameter name="httpMethod" value="GET"/>
+ <parameter name="restapiUser" value="cpsuser" />
+ <parameter name="restapiPassword" value="cpsr0cks!"/>
+ <parameter name="responsePrefix" value="get-anchors-cps-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 CPS. Aborting RPC executiopn'/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/closedLoop.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Failed to fetch anchors from CPS"/>
+ </record>
+ </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/closedLoop.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Obtained anchors from CPS"/>
+ <parameter name="field2" value="`$get-anchors-cps-response._length`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+ <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-closedLoop-context.log' />
+ </execute>
+ </block>
+ </outcome>
+ </execute>
+ <set>
+ <parameter name='tmp.anchors.length' value="`$get-anchors-cps-response._length`"/>
+ </set>
+ <set>
+ <parameter name='tmp.RIC.length' value="0"/>
+ </set>
+ <for index='anc' start='0' end='`$tmp.anchors.length`'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.schemaset.name' />
+ <parameter name='source' value="`'get-anchors-cps-response.['+$anc+'].schemaSetName'`" />
+ </execute>
+ <switch test='`$tmp.schemaset.name`'>
+ <outcome value='ran-inventory'>
+ <block atomic='true'>
+ <set>
+ <parameter name='tmp.RIC.length' value="`$tmp.RIC.length+1`"/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/closedLoop.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Applicable RIC length"/>
+ <parameter name="field2" value="`$tmp.RIC.length`"/>
+ </record>
+ </block>
+ </outcome>
+ </switch>
+ </block>
+ </for>
+ <for index='anc' start='0' end='`$tmp.anchors.length`'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.schemaset.name' />
+ <parameter name='source' value="`'get-anchors-cps-response.['+$anc+'].schemaSetName'`" />
+ </execute>
+ <switch test='`$tmp.schemaset.name`'>
+ <outcome value='ran-inventory'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.anchor.name' />
+ <parameter name='source' value="`'get-anchors-cps-response.['+$anc+'].name'`" />
+ </execute>
+ <block atomic='true'>
+ <set>
+ <parameter name='tmp.sliceprofileid' value="`$payloadJson.input.sliceProfile.sliceProfileId`" />
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/closedLoop.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="sliceprofileid from input"/>
+ <parameter name="field2" value="`$tmp.sliceprofileid`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/>
+ <parameter name="outputPath" value="tmp.cps.getPLMNID.url"/>
+ <parameter name="target" value="{schemaSet}"/>
+ <parameter name="replacement" value="`$tmp.schemaset.name`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.cps.getPLMNID.url`"/>
+ <parameter name="outputPath" value="tmp.cps.getPLMNID.url"/>
+ <parameter name="target" value="{templateId}"/>
+ <parameter name="replacement" value="`$prop.tbdmt.template.get-plmnid-mcc`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/closedLoop.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for CPS TDBMT to Get plmnid from sliceprofile"/>
+ <parameter name='field2' value="`$tmp.cps.getPLMNID.url`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$tmp.cps.getPLMNID.url`"/>
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-get-plmnid.json'`" />
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="getplmnmccid-cps-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 CPS. Aborting RPC executiopn'/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/closedLoop.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="UNSuccessfully Obtained MCC info from CPS"/>
+ <parameter name="field2" value="`$cps-get-plmnid.json`"/>
+ </record>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error Getting Info from ConfigDB. 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="`$instantiateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$instantiateRANSlice-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`" />
+ <parameter name='field7' value="`$tmp.CUCPList`" />
+ <parameter name='field8' value="`$tmp.CUUPList`" />
+ <parameter name='field9' value="`$tmp.DUList`" />
+ </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-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <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/so-callback-response.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'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.plmn.mcc' />
+ <parameter name='source' value="`'getplmnmccid-cps-response.[0]'`" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/closedLoop.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Obtained MCC info from CPS"/>
+ <parameter name="field2" value="`$getplmnmccid-cps-response.httpResponse`"/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/>
+ <parameter name="outputPath" value="tmp.cps.getPLMNMNCID.url"/>
+ <parameter name="target" value="{schemaSet}"/>
+ <parameter name="replacement" value="`$tmp.schemaset.name`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.cps.getPLMNMNCID.url`"/>
+ <parameter name="outputPath" value="tmp.cps.getPLMNMNCID.url"/>
+ <parameter name="target" value="{templateId}"/>
+ <parameter name="replacement" value="`$prop.tbdmt.template.get-plmnid-mnc`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/closedLoop.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for CPS TDBMT to Get plmnid from sliceprofile"/>
+ <parameter name='field2' value="`$tmp.cps.getPLMNMNCID.url`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$tmp.cps.getPLMNMNCID.url`"/>
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-get-plmnid.json'`" />
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="getplmnmncid-cps-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='success'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.plmn.mnc' />
+ <parameter name='source' value="`'getplmnmncid-cps-response.[0]'`" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/closedLoop.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Obtained MNC info from Cps"/>
+ <parameter name="field2" value="`$getplmnmncid-cps-response.httpResponse`"/>
+ </record>
+ </block>
+ </outcome>
+ <outcome value='failure'>
+ <block>
+ <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="`$instantiateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$instantiateRANSlice-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`" />
+ <parameter name='field7' value="`$tmp.CUCPList`" />
+ <parameter name='field8' value="`$tmp.CUUPList`" />
+ <parameter name='field9' value="`$tmp.DUList`" />
+ </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-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <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/so-callback-response.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 Getting Info from CPS. 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 Getting Info from ConfigDB. Aborting RPC executiopn'/>
+ </return>
+ </block>
+ </outcome>
+ </execute>
+ <set>
+ <parameter name='tmp.mcc' value='`$tmp.plmn.mcc`'/>
+ <parameter name='tmp.mnc' value='`$tmp.plmn.mnc`'/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/closedLoop.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="mcc,mnc values..."/>
+ <parameter name="field2" value="`$tmp.mcc`"/>
+ <parameter name="field3" value="`$tmp.mnc`"/>
+ </record>
+ </block>
+ </block>
+ </outcome>
+ </switch>
+ </block>
+ </for>
+ </block>
+ <block atomic="true">
+ <switch test='`$prop.ransim-mounted`'>
+ <outcome value='false'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.addnSSAIEntry.ToNearRTRIC`"/>
+ <parameter name="outputPath" value="tmp.restapi.addnSSAIEntry.ToNearRTRIC.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ </block>
+ </outcome>
+ <outcome value='true'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.addnSSAIEntry.ToNearRTRIC.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.restapi.addnSSAIEntry.ToNearRTRIC.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.restapi.addnSSAIEntry.ToNearRTRIC.url`"/>
+ <parameter name="outputPath" value="tmp.restapi.addnSSAIEntry.ToNearRTRIC.url"/>
+ <parameter name="target" value="{mountName}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ <set>
+ <parameter name='tmp.getAnchors.URL' value="`$prop.restapi.cps.anchors.endpoint`"/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/closedLoop.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL to fetch the anchors"/>
+ <parameter name="field2" value="`$tmp.getAnchors.URL`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$tmp.getAnchors.URL`"/>
+ <parameter name="httpMethod" value="GET"/>
+ <parameter name="restapiUser" value="cpsuser" />
+ <parameter name="restapiPassword" value="cpsr0cks!"/>
+ <parameter name="responsePrefix" value="get-anchors-cps-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 CPS. Aborting RPC executiopn'/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/closedLoop.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Failed to fetch anchors from CPS"/>
+ </record>
+ </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/closedLoop.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Obtained anchors from CPS"/>
+ <parameter name="field2" value="`$get-anchors-cps-response._length`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+ <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-closedLoop-context.log' />
+ </execute>
+ </block>
+ </outcome>
+ </execute>
+ <set>
+ <parameter name='tmp.anchors.length' value="`$get-anchors-cps-response._length`"/>
+ </set>
+ <for index='anc' start='0' end='`$tmp.anchors.length`'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.schemaset.name' />
+ <parameter name='source' value="`'get-anchors-cps-response.['+$anc+'].schemaSetName'`" />
+ </execute>
+ <switch test='`$tmp.schemaset.name`'>
+ <outcome value='ran-network'>
+ <block atomic='true'>
+ <set>
+ <parameter name='tmp.RIC.length' value="`$tmp.RIC.length+1`"/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/closedLoop.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Applicable RIC length"/>
+ <parameter name="field2" value="`$tmp.RIC.length`"/>
+ </record>
+ </block>
+ </outcome>
+ </switch>
+ </block>
+ </for>
+ <for index='anc' start='0' end='`$tmp.anchors.length`'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.schemaset.name' />
+ <parameter name='source' value="`'get-anchors-cps-response.['+$anc+'].schemaSetName'`" />
+ </execute>
+ <switch test='`$tmp.schemaset.name`'>
+ <outcome value='ran-network'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.anchor.name' />
+ <parameter name='source' value="`'get-anchors-cps-response.['+$anc+'].name'`" />
+ </execute>
+ <block atomic='true'>
+ <set>
+ <parameter name='tmp.mcc' value='`$tmp.mcc`' />
+ <parameter name='tmp.mnc' value='`$tmp.mnc`' />
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/closedLoop.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Inputs"/>
+ <parameter name="field2" value="`$tmp.nearRTRICId`"/>
+ <parameter name="field3" value="`$tmp.mcc`"/>
+ <parameter name="field4" value="`$tmp.mnc`"/>
+ <parameter name="field5" value="`$tmp.payload.sNSSAI`"/>
+ <parameter name="field6" value="`$tmp.dLThptPerSlice`"/>
+ <parameter name="field7" value="`$tmp.uLThptPerSlice`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/>
+ <parameter name="outputPath" value="tmp.cps.patchdLThptPerSlice.url"/>
+ <parameter name="target" value="{schemaSet}"/>
+ <parameter name="replacement" value="`$tmp.schemaset.name`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.cps.patchdLThptPerSlice.url`"/>
+ <parameter name="outputPath" value="tmp.cps.patchdLThptPerSlice.url"/>
+ <parameter name="target" value="{templateId}"/>
+ <parameter name="replacement" value="`$prop.tbdmt.template.patch-dLThptPerSlice`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/closedLoop.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for CPS TDBMT to patch dLThptPerSlice"/>
+ <parameter name='field2' value="`$tmp.cps.patchdLThptPerSlice.url`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$tmp.cps.patchdLThptPerSlice.url`"/>
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-patch-dLThptPerSlice.json'`" />
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="patchdLThptPerSlice-cps-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>
+ <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="`$instantiateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$instantiateRANSlice-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`" />
+ <parameter name='field7' value="`$tmp.CUCPList`" />
+ <parameter name='field8' value="`$tmp.CUUPList`" />
+ <parameter name='field9' value="`$tmp.DUList`" />
+ </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-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <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/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/closedLoop.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Failed to fetch data from CPS"/>
+ <parameter name="field2" value="`$cps-patch-dLThptPerSlice.json`"/>
+ </record>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error Getting Info from CPS. 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 Getting Info from ConfigDB. 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/closedLoop.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully patched dLThptPerSlice"/>
+ <parameter name="field2" value="`$patchdLThptPerSlice-cps-response.httpResponse`"/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/>
+ <parameter name="outputPath" value="tmp.cps.patchuLThptPerSlice.url"/>
+ <parameter name="target" value="{schemaSet}"/>
+ <parameter name="replacement" value="`$tmp.schemaset.name`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.cps.patchuLThptPerSlice.url`"/>
+ <parameter name="outputPath" value="tmp.cps.patchuLThptPerSlice.url"/>
+ <parameter name="target" value="{templateId}"/>
+ <parameter name="replacement" value="`$prop.tbdmt.template.patch-uLThptPerSlice`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/closedLoop.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for CPS TDBMT to patch uLThptPerSlice"/>
+ <parameter name='field2' value="`$tmp.cps.patchuLThptPerSlice.url`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$tmp.cps.patchuLThptPerSlice.url`"/>
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-patch-uLThptPerSlice.json'`" />
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="patchuLThptPerSlice-cps-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>
+ <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="`$instantiateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$instantiateRANSlice-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`" />
+ <parameter name='field7' value="`$tmp.CUCPList`" />
+ <parameter name='field8' value="`$tmp.CUUPList`" />
+ <parameter name='field9' value="`$tmp.DUList`" />
+ </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-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <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/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/closedLoop.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="UNSuccessfully Obtained MCC info from CPS"/>
+ <parameter name="field2" value="`$cps-get-plmnid.json`"/>
+ </record>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error Getting Info from CPS. 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 Getting Info from ConfigDB. 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/closedLoop.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully patched dLThptPerSlice"/>
+ <parameter name="field2" value="`$patchdLThptPerSlice-cps-response.httpResponse`"/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </block>
+ </outcome>
+ </switch>
+ </block>
+ </for>
+ </block>
+ </for>
+ </block>
+ </block>
+ </outcome>
+ <outcome value='false'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >
+ <parameter name='source' value='`$instantiate-r-a-n-slice-input.payload`' />
+ <parameter name='target' value='maxNumberofConns' />
+ <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/intelligentSlicing.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="PAYLOAD contains maxNumberofConns...Inntelligent Slicing "/>
+ </record>
+ <set>
+ <parameter name='tmp.payload.dataPoints' value='`$payloadJson.input.additionalproperties.resourceConfig.data_length`'/>
+ <parameter name="tmp.payload.sNSSAI" value="`$payloadJson.input.additionalproperties.resourceConfig.snssai`"/>
+ <parameter name="tmp.sliceProfileId" value="`$payloadJson.input.sliceProfile.sliceProfileId`"/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/intelligentSlicing.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Data length "/>
+ <parameter name="field2" value="`$tmp.payload.dataPoints`"/>
+ </record>
+ <block atomic="true">
+ <block atomic='true'>
+ <set>
+ <parameter name='tmp.getAnchors.URL' value="`$prop.restapi.cps.anchors.endpoint`"/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/closedLoop.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL to fetch the anchors"/>
+ <parameter name="field2" value="`$tmp.getAnchors.URL`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$tmp.getAnchors.URL`"/>
+ <parameter name="httpMethod" value="GET"/>
+ <parameter name="restapiUser" value="cpsuser" />
+ <parameter name="restapiPassword" value="cpsr0cks!"/>
+ <parameter name="responsePrefix" value="get-anchors-cps-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 CPS. Aborting RPC executiopn'/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/closedLoop.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Failed to fetch anchors from CPS"/>
+ </record>
+ </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/closedLoop.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Obtained anchors from CPS"/>
+ <parameter name="field2" value="`$get-anchors-cps-response._length`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+ <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-closedLoop-context.log' />
+ </execute>
+ </block>
+ </outcome>
+ </execute>
+ <set>
+ <parameter name='tmp.anchors.length' value="`$get-anchors-cps-response._length`"/>
+ </set>
+ <set>
+ <parameter name='tmp.RIC.length' value="0"/>
+ </set>
+ <for index='anc' start='0' end='`$tmp.anchors.length`'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.schemaset.name' />
+ <parameter name='source' value="`'get-anchors-cps-response.['+$anc+'].schemaSetName'`" />
+ </execute>
+ <switch test='`$tmp.schemaset.name`'>
+ <outcome value='ran-inventory'>
+ <block atomic='true'>
+ <set>
+ <parameter name='tmp.RIC.length' value="`$tmp.RIC.length+1`"/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/closedLoop.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Applicable RIC length"/>
+ <parameter name="field2" value="`$tmp.RIC.length`"/>
+ </record>
+ </block>
+ </outcome>
+ </switch>
+ </block>
+ </for>
+ <for index='anc' start='0' end='`$tmp.anchors.length`'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.schemaset.name' />
+ <parameter name='source' value="`'get-anchors-cps-response.['+$anc+'].schemaSetName'`" />
+ </execute>
+ <switch test='`$tmp.schemaset.name`'>
+ <outcome value='ran-inventory'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.anchor.name' />
+ <parameter name='source' value="`'get-anchors-cps-response.['+$anc+'].name'`" />
+ </execute>
+ <block atomic='true'>
+ <set>
+ <parameter name='tmp.sliceprofileid' value="`$payloadJson.input.sliceProfile.sliceProfileId`" />
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/closedLoop.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="sliceprofileid from input"/>
+ <parameter name="field2" value="`$tmp.sliceprofileid`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/>
+ <parameter name="outputPath" value="tmp.cps.getPLMNID.url"/>
+ <parameter name="target" value="{schemaSet}"/>
+ <parameter name="replacement" value="`$tmp.schemaset.name`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.cps.getPLMNID.url`"/>
+ <parameter name="outputPath" value="tmp.cps.getPLMNID.url"/>
+ <parameter name="target" value="{templateId}"/>
+ <parameter name="replacement" value="`$prop.tbdmt.template.get-plmnid-mcc`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/closedLoop.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for CPS TDBMT to Get plmnid from sliceprofile"/>
+ <parameter name='field2' value="`$tmp.cps.getPLMNID.url`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$tmp.cps.getPLMNID.url`"/>
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-get-plmnid.json'`" />
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="getplmnmccid-cps-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 CPS. Aborting RPC executiopn'/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/closedLoop.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="UNSuccessfully Obtained MCC info from CPS"/>
+ <parameter name="field2" value="`$cps-get-plmnid.json`"/>
+ </record>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error Getting Info from ConfigDB. 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="`$instantiateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$instantiateRANSlice-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`" />
+ <parameter name='field7' value="`$tmp.CUCPList`" />
+ <parameter name='field8' value="`$tmp.CUUPList`" />
+ <parameter name='field9' value="`$tmp.DUList`" />
+ </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-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <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/so-callback-response.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'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.plmn.mcc' />
+ <parameter name='source' value="`'getplmnmccid-cps-response.[0]'`" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/closedLoop.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Obtained MCC info from CPS"/>
+ <parameter name="field2" value="`$getplmnmccid-cps-response.httpResponse`"/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/>
+ <parameter name="outputPath" value="tmp.cps.getPLMNMNCID.url"/>
+ <parameter name="target" value="{schemaSet}"/>
+ <parameter name="replacement" value="`$tmp.schemaset.name`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.cps.getPLMNMNCID.url`"/>
+ <parameter name="outputPath" value="tmp.cps.getPLMNMNCID.url"/>
+ <parameter name="target" value="{templateId}"/>
+ <parameter name="replacement" value="`$prop.tbdmt.template.get-plmnid-mnc`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/closedLoop.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for CPS TDBMT to Get plmnid from sliceprofile"/>
+ <parameter name='field2' value="`$tmp.cps.getPLMNMNCID.url`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$tmp.cps.getPLMNMNCID.url`"/>
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-get-plmnid.json'`" />
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="getplmnmncid-cps-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='success'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.plmn.mnc' />
+ <parameter name='source' value="`'getplmnmncid-cps-response.[0]'`" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/closedLoop.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Obtained MNC info from Cps"/>
+ <parameter name="field2" value="`$getplmnmncid-cps-response.httpResponse`"/>
+ </record>
+ </block>
+ </outcome>
+ <outcome value='failure'>
+ <block>
+ <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="`$instantiateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$instantiateRANSlice-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`" />
+ <parameter name='field7' value="`$tmp.CUCPList`" />
+ <parameter name='field8' value="`$tmp.CUUPList`" />
+ <parameter name='field9' value="`$tmp.DUList`" />
+ </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-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <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/so-callback-response.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 Getting Info from CPS. 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 Getting Info from ConfigDB. Aborting RPC executiopn'/>
+ </return>
+ </block>
+ </outcome>
+ </execute>
+ <set>
+ <parameter name='tmp.mcc' value='`$tmp.plmn.mcc`'/>
+ <parameter name='tmp.mnc' value='`$tmp.plmn.mnc`'/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/closedLoop.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="mcc,mnc values..."/>
+ <parameter name="field2" value="`$tmp.mcc`"/>
+ <parameter name="field3" value="`$tmp.mnc`"/>
+ </record>
+ </block>
+ </block>
+ </outcome>
+ </switch>
+ </block>
+ </for>
+ </block>
+ <for index='id-is' start='0' end="`$tmp.payload.dataPoints`" >
+ <block atomic="true">
+ <set>
+ <parameter name="tmp.nearRTRICId" value="`$payloadJson.input.additionalproperties.resourceConfig.data[$id-is].nearRTRICId`"/>
+ </set>
+ <switch test='`$prop.ransim-mounted`'>
+ <outcome value='false'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.addnSSAIEntry.ToNearRTRIC`"/>
+ <parameter name="outputPath" value="tmp.restapi.addnSSAIEntry.ToNearRTRIC.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ </block>
+ </outcome>
+ <outcome value='true'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.addnSSAIEntry.ToNearRTRIC.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.restapi.addnSSAIEntry.ToNearRTRIC.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.restapi.addnSSAIEntry.ToNearRTRIC.url`"/>
+ <parameter name="outputPath" value="tmp.restapi.addnSSAIEntry.ToNearRTRIC.url"/>
+ <parameter name="target" value="{mountName}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`"/>
+ <parameter name="outputPath" value="tmp.restapi.addnSSAIEntry.ToNearRTRIC.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.restapi.addnSSAIEntry.ToNearRTRIC.url`"/>
+ <parameter name="outputPath" value="tmp.restapi.addnSSAIEntry.ToNearRTRIC.url"/>
+ <parameter name="target" value="{mnc}"/>
+ <parameter name="replacement" value="`$tmp.mnc`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.CUCellListEntries' />
+ <parameter name='source' value="`'payloadJson.input.additionalproperties.resourceConfig.data['+$id-is+'].cellCUList_length'`" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/intelligentSlicing.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="CUCEll List length "/>
+ <parameter name="field2" value="`$tmp.CUCellListEntries`"/>
+ </record>
+ <for index='id2' start='0' end="`$tmp.CUCellListEntries`" >
+ <block atomic="true">
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.cellLocalId' />
+ <parameter name='source' value="`'payloadJson.input.additionalproperties.resourceConfig.data['+$id-is+'].cellCUList['+$id2+'].cellLocalId'`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='concat'>
+ <parameter name="source" value="`$tmp.cellLocalId`" />
+ <parameter name="target" value="-maxNumberofConns"/>
+ <parameter name="outputPath" value="tmp.cellLocalId" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.predictedMaxNumberofConns' />
+ <parameter name='source' value="`'payloadJson.input.additionalproperties.resourceConfig.data['+$id-is+'].cellCUList['+$id2+'].configData.predictedMaxNumberofConns'`" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/intelligentSlicing.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="cellLocalId"/>
+ <parameter name="field2" value="`$tmp.cellLocalId`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-closed-loop-nearRTRIC-config-patch.json'`" />
+ <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`"/>
+ <parameter name="restapiUser" value="`$prop.controller.user`" />
+ <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+ <parameter name="httpMethod" value="PATCH"/>
+ <parameter name="responsePrefix" value="patch-nearRTRIC-config-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='success'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/closedLoop.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully patched NearRTRIC configuration"/>
+ </record>
+ </block>
+ </outcome>
+ <outcome value='failure'>
+ <block>
+ <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="`$instantiateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$instantiateRANSlice-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`" />
+ <parameter name='field7' value="`$tmp.CUCPList`" />
+ <parameter name='field8' value="`$tmp.CUUPList`" />
+ <parameter name='field9' value="`$tmp.DUList`" />
+ </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-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <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/so-callback-response.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 Getting Info from ConfigDB. 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 Getting Info from ConfigDB. Aborting RPC executiopn'/>
+ </return>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </for>
+ </block>
+ </for>
+ </block>
+ </block>
+ </outcome>
+ </execute>
+ </outcome>
+ </execute>
+ <block atomic='true'>
+ <set>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$instantiate-r-a-n-slice-input.common-header.request-id `"/>
+ <parameter name="tmp.action" value="`$instantiate-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`" />
+ <parameter name='field7' value="`$tmp.CUCPList`" />
+ <parameter name='field8' value="`$tmp.CUUPList`" />
+ <parameter name='field9' value="`$tmp.DUList`" />
+ </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-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/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ <return status='success'>
+ <parameter name="ack-final" value="N" />
+ <parameter name="error-code" value="200" />
+ <parameter name="error-message" value="SUCCESSFUL Execution" />
+ </return>
+ </block>
+ </method>
+</service-logic>
diff --git a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_terminateRANSliceInstance-configDb.xml b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_terminateRANSliceInstance-configDb.xml
index 272285fe..3b5dc056 100644
--- a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_terminateRANSliceInstance-configDb.xml
+++ b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_terminateRANSliceInstance-configDb.xml
@@ -559,8 +559,8 @@
<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="source" value="`$tmp.deleteSNSSAIListEntry.url`"/>
+ <parameter name="outputPath" value="tmp.deleteSNSSAIListEntry.url"/>
<parameter name="target" value="{mountName}"/>
<parameter name="replacement" value="`$tmp.CUCPName`"/>
</execute>
@@ -2615,11 +2615,22 @@
</return>
<block atomic='true'>
<set>
- <parameter name="tmp.status" value="success"/>
<parameter name="tmp.reason" value="`$error-message`"/>
<parameter name="tmp.requestID" value="`$terminate-r-a-n-slice-input.common-header.request-id `"/>
<parameter name="tmp.action" value="`$tmp.action`"/>
</set>
+ <switch test='`$error-code`'>
+ <outcome value='200'>
+ <set>
+ <parameter name="tmp.status" value="success"/>
+ </set>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ </set>
+ </outcome>
+ </switch>
<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"/>
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-patch-dLThptPerSlice.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-patch-dLThptPerSlice.json
new file mode 100644
index 00000000..07bc0fac
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-patch-dLThptPerSlice.json
@@ -0,0 +1,16 @@
+{
+ "inputParameters":{
+ "idNearRTRIC":${tmp.nearRTRICId},
+ "mcc":${tmp.mcc},
+ "mnc":${tmp.mnc},
+ "sNssai":${tmp.payload.sNSSAI}
+ },
+"payload": {
+"configData": [
+{
+"configParameter":"dLThptPerSlice",
+"configValue":${tmp.dLThptPerSlice}
+}
+]
+}
+}
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-patch-uLThptPerSlice.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-patch-uLThptPerSlice.json
new file mode 100644
index 00000000..ae1ab6cd
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-patch-uLThptPerSlice.json
@@ -0,0 +1,16 @@
+{
+ "inputParameters":{
+ "idNearRTRIC":${tmp.nearRTRICId},
+ "mcc":${tmp.mcc},
+ "mnc":${tmp.mnc},
+ "sNssai":${tmp.payload.sNSSAI}
+ },
+"payload": {
+"configData": [
+{
+"configParameter":"uLThptPerSlice",
+"configValue":${tmp.uLThptPerSlice}
+}
+]
+}
+}