aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-delete.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-delete.json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-delete.json540
1 files changed, 270 insertions, 270 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-delete.json b/platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-delete.json
index 6690c0c9..58ab642f 100644
--- a/platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-delete.json
+++ b/platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-delete.json
@@ -1,20 +1,20 @@
[
{
- "id": "bf5e551e.2a4d68",
+ "id": "2b0ca809.8b9448",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 150,
- "y": 61,
+ "x": 190,
+ "y": 84,
"z": "e001b214.9c4f88",
"wires": [
[
- "536d861a.099138"
+ "d6cca48a.4b98c"
]
]
},
{
- "id": "536d861a.099138",
+ "id": "d6cca48a.4b98c",
"type": "service-logic",
"name": "GENERIC-RESOURCE-API ${project.version}",
"module": "GENERIC-RESOURCE-API",
@@ -22,987 +22,987 @@
"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='GENERIC-RESOURCE-API' version='${project.version}'>",
"outputs": 1,
- "x": 281.2856903076172,
- "y": 110.23810863494873,
+ "x": 321.2856903076172,
+ "y": 133.23810863494873,
"z": "e001b214.9c4f88",
"wires": [
[
- "6541c50d.7a4ee4"
+ "d504a218.d5b0f"
]
]
},
{
- "id": "6541c50d.7a4ee4",
+ "id": "d504a218.d5b0f",
"type": "method",
"name": "method tsli-vnf-topology-operation-trans-slice-delete",
"xml": "<method rpc='tsli-vnf-topology-operation-trans-slice-delete' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 284.4286193847656,
- "y": 195.00003242492676,
+ "x": 324.4286193847656,
+ "y": 218.00003242492676,
"z": "e001b214.9c4f88",
"wires": [
[
- "b890e0d.be3caa"
+ "6927f12e.f495a8"
]
]
},
{
- "id": "b890e0d.be3caa",
+ "id": "6927f12e.f495a8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 434.238037109375,
- "y": 324.6666564941406,
+ "x": 474.238037109375,
+ "y": 347.6666564941406,
"z": "e001b214.9c4f88",
"wires": [
[
- "2c42b5ac.a1886a",
- "a9ded91f.36ccb8",
- "783cf92b.26682"
+ "a03a6652.95082",
+ "5448151c.b0ab3c",
+ "926eb1f8.ec5de8"
]
]
},
{
- "id": "2c42b5ac.a1886a",
+ "id": "a03a6652.95082",
"type": "returnSuccess",
"name": "return success",
"xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",
"comments": "",
- "x": 730.5716552734375,
- "y": 601.59716796875,
+ "x": 770.5716552734375,
+ "y": 624.59716796875,
"z": "e001b214.9c4f88",
"wires": []
},
{
- "id": "231b56c7.bc5152",
+ "id": "de37ea5b.6e73f8",
"type": "comment",
"name": "new for TransportSlicing",
"info": "",
"comments": "",
- "x": 762,
- "y": 276,
+ "x": 802,
+ "y": 299,
"z": "e001b214.9c4f88",
"wires": []
},
{
- "id": "a9ded91f.36ccb8",
+ "id": "5448151c.b0ab3c",
"type": "save",
"name": "get service-instance from aai",
"xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"service-instance\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.service-instance-id-->\n<!-- AND customer.global-customer-id = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.subscription-service-type'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.service-instance\">-->\n \n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"service-instance\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.service-instance\">\n\n\n<!--vnf-topology-operation-input.service-information.service-instance-id-->",
"comments": "",
"outputs": 1,
- "x": 782,
- "y": 372,
+ "x": 822,
+ "y": 395,
"z": "e001b214.9c4f88",
"wires": [
[
- "ebd2852a.6b8948",
- "6eeb6239.832acc",
- "accd90f7.832538"
+ "84d63f33.5d595",
+ "bc6def6f.91b498",
+ "9f25bb22.1bcb28"
]
]
},
{
- "id": "ebd2852a.6b8948",
+ "id": "84d63f33.5d595",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1001,
- "y": 310,
+ "x": 1041,
+ "y": 333,
"z": "e001b214.9c4f88",
"wires": [
[
- "cd7dc6c0.b4fb9"
+ "454b8601.544a2"
]
]
},
{
- "id": "6eeb6239.832acc",
+ "id": "bc6def6f.91b498",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1010.490966796875,
- "y": 352.57403564453125,
+ "x": 1050.490966796875,
+ "y": 375.57403564453125,
"z": "e001b214.9c4f88",
"wires": [
[
- "63941e02.5fb4"
+ "6ae2b2ea.c01e64"
]
]
},
{
- "id": "accd90f7.832538",
+ "id": "9f25bb22.1bcb28",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 999,
- "y": 399,
+ "x": 1039,
+ "y": 422,
"z": "e001b214.9c4f88",
"wires": [
[
- "331acfad.087d3"
+ "5abda4b4.ada70c"
]
]
},
{
- "id": "63941e02.5fb4",
+ "id": "6ae2b2ea.c01e64",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",
"comments": "",
- "x": 1164.0623779296875,
- "y": 355.8597717285156,
+ "x": 1204.0623779296875,
+ "y": 378.8597717285156,
"z": "e001b214.9c4f88",
"wires": []
},
{
- "id": "331acfad.087d3",
+ "id": "5abda4b4.ada70c",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 1168,
- "y": 400,
+ "x": 1208,
+ "y": 423,
"z": "e001b214.9c4f88",
"wires": []
},
{
- "id": "cd7dc6c0.b4fb9",
+ "id": "454b8601.544a2",
"type": "for",
"name": "for each relationship",
"xml": "<for index='rel-index' start='0' end='`$tmp.aai.service-instance.relationship-list.relationship_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1198,
- "y": 306,
+ "x": 1238,
+ "y": 329,
"z": "e001b214.9c4f88",
"wires": [
[
- "71a5e1a5.fba1e8"
+ "126fb5a4.b7562a"
]
]
},
{
- "id": "71a5e1a5.fba1e8",
+ "id": "126fb5a4.b7562a",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.service-instance.relationship-list.relationship[$rel-index].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 1421.33349609375,
- "y": 305.99993896484375,
+ "x": 1461.33349609375,
+ "y": 328.99993896484375,
"z": "e001b214.9c4f88",
"wires": [
[
- "45ab176d.29b28"
+ "ceb59f97.b5ebc"
]
]
},
{
- "id": "45ab176d.29b28",
+ "id": "ceb59f97.b5ebc",
"type": "outcome",
"name": "connectivity",
"xml": "<outcome value='connectivity'>\n",
"comments": "",
"outputs": 1,
- "x": 1622.0001335144043,
- "y": 307.00002098083496,
+ "x": 1662.0001335144043,
+ "y": 330.00002098083496,
"z": "e001b214.9c4f88",
"wires": [
[
- "8b30afaa.f156f"
+ "7a55fd6d.840e7c"
]
]
},
{
- "id": "783cf92b.26682",
+ "id": "926eb1f8.ec5de8",
"type": "execute",
"name": "execute properties",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />",
"comments": "",
"outputs": 1,
- "x": 748,
- "y": 320,
+ "x": 788,
+ "y": 343,
"z": "e001b214.9c4f88",
"wires": [
[]
]
},
{
- "id": "8b30afaa.f156f",
+ "id": "7a55fd6d.840e7c",
"type": "save",
"name": "get connectivity from aai",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"connectivity\"\n\t key=\"connectivity.connectivity-id = $tmp.aai.service-instance.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.connectivity\" >\n",
"comments": "",
"outputs": 1,
- "x": 1860,
- "y": 309,
+ "x": 1900,
+ "y": 332,
"z": "e001b214.9c4f88",
"wires": [
[
- "a8a15026.50a8d",
- "c9ce2298.2cf6b",
- "be682b6.40831d8"
+ "ffc75917.89fb6",
+ "cc16da88.4c197",
+ "59e9aa76.56f554"
]
]
},
{
- "id": "a8a15026.50a8d",
+ "id": "ffc75917.89fb6",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2068,
- "y": 273,
+ "x": 2108,
+ "y": 296,
"z": "e001b214.9c4f88",
"wires": [
[
- "d739426f.d36bb8"
+ "f17f297f.55ca2"
]
]
},
{
- "id": "c9ce2298.2cf6b",
+ "id": "cc16da88.4c197",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 2068.490966796875,
- "y": 318.57403564453125,
+ "x": 2108.490966796875,
+ "y": 341.57403564453125,
"z": "e001b214.9c4f88",
"wires": [
[
- "21e5c859.ccd51"
+ "43ce3007.4fa548"
]
]
},
{
- "id": "be682b6.40831d8",
+ "id": "59e9aa76.56f554",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2066,
- "y": 362,
+ "x": 2106,
+ "y": 385,
"z": "e001b214.9c4f88",
"wires": [
[
- "fbd36b9c.f4a15"
+ "24973dde.e7929a"
]
]
},
{
- "id": "21e5c859.ccd51",
+ "id": "43ce3007.4fa548",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",
"comments": "",
- "x": 2231.0623779296875,
- "y": 318.8597717285156,
+ "x": 2271.0623779296875,
+ "y": 341.8597717285156,
"z": "e001b214.9c4f88",
"wires": []
},
{
- "id": "fbd36b9c.f4a15",
+ "id": "24973dde.e7929a",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 2235,
- "y": 363,
+ "x": 2275,
+ "y": 386,
"z": "e001b214.9c4f88",
"wires": []
},
{
- "id": "a46cc38.98dbb4",
+ "id": "e4afb06c.970a38",
"type": "save",
"name": "get vpn-binding from aai",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t key=\"vpn-binding.vpn-id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-binding\" >\n",
"comments": "",
"outputs": 1,
- "x": 2541,
- "y": 362,
+ "x": 2581,
+ "y": 385,
"z": "e001b214.9c4f88",
"wires": [
[
- "9e895711.9515a",
- "45b51772.60fd7",
- "90f1dd00.339a68"
+ "70a3d3e9.7bf864",
+ "4cd17047.fe16a",
+ "c79d571c.0d07f8"
]
]
},
{
- "id": "41605fb3.ac785",
+ "id": "8e239cd5.1b82f8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2925,
- "y": 362,
+ "x": 2965,
+ "y": 385,
"z": "e001b214.9c4f88",
"wires": [
[
- "315634a1.892b34",
- "34cfba69.4d51e6",
- "58dd3cb5.26ee4c",
- "e4194069.37887",
- "e5415b2a.1b069",
- "af105f82.f24",
- "bfb53be2.1d7798"
+ "4fff45e1.354a6c",
+ "7b5f3a76.40dbac",
+ "daa0af8a.c7da5",
+ "1aa21051.71e3e8",
+ "3724be1f.92f8ea",
+ "f7cc948a.349f48",
+ "41f2a122.089c2"
]
]
},
{
- "id": "9e895711.9515a",
+ "id": "70a3d3e9.7bf864",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2752,
- "y": 364,
+ "x": 2792,
+ "y": 387,
"z": "e001b214.9c4f88",
"wires": [
[
- "41605fb3.ac785"
+ "8e239cd5.1b82f8"
]
]
},
{
- "id": "45b51772.60fd7",
+ "id": "4cd17047.fe16a",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 2752.490966796875,
- "y": 409.57403564453125,
+ "x": 2792.490966796875,
+ "y": 432.57403564453125,
"z": "e001b214.9c4f88",
"wires": [
[
- "80ebbe87.b5f13"
+ "cc11f54d.5be868"
]
]
},
{
- "id": "90f1dd00.339a68",
+ "id": "c79d571c.0d07f8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2750,
- "y": 453,
+ "x": 2790,
+ "y": 476,
"z": "e001b214.9c4f88",
"wires": [
[
- "928e602f.f7958"
+ "24a1d14c.bade0e"
]
]
},
{
- "id": "928e602f.f7958",
+ "id": "24a1d14c.bade0e",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 2917,
- "y": 452,
+ "x": 2957,
+ "y": 475,
"z": "e001b214.9c4f88",
"wires": []
},
{
- "id": "80ebbe87.b5f13",
+ "id": "cc11f54d.5be868",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",
"comments": "",
- "x": 2915.0623779296875,
- "y": 409.8597717285156,
+ "x": 2955.0623779296875,
+ "y": 432.8597717285156,
"z": "e001b214.9c4f88",
"wires": []
},
{
- "id": "d739426f.d36bb8",
+ "id": "f17f297f.55ca2",
"type": "for",
"name": "for each relationship",
"xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >\n\n",
"comments": "",
"outputs": 1,
- "x": 2269,
- "y": 268,
+ "x": 2309,
+ "y": 291,
"z": "e001b214.9c4f88",
"wires": [
[
- "953eda1a.4d542"
+ "9cf4adfb.1d5c9"
]
]
},
{
- "id": "953eda1a.4d542",
+ "id": "9cf4adfb.1d5c9",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 2474,
- "y": 268,
+ "x": 2514,
+ "y": 291,
"z": "e001b214.9c4f88",
"wires": [
[
- "75a62157.0a968"
+ "6e0c0661.962a2"
]
]
},
{
- "id": "75a62157.0a968",
+ "id": "6e0c0661.962a2",
"type": "outcome",
"name": "vpn-binding",
"xml": "<outcome value='vpn-binding'>\n",
"comments": "",
"outputs": 1,
- "x": 2640,
- "y": 268,
+ "x": 2680,
+ "y": 291,
"z": "e001b214.9c4f88",
"wires": [
[
- "d166d1d9.165cd8"
+ "cbe3f419.c9636"
]
]
},
{
- "id": "d166d1d9.165cd8",
+ "id": "cbe3f419.c9636",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2803,
- "y": 268,
+ "x": 2843,
+ "y": 291,
"z": "e001b214.9c4f88",
"wires": [
[
- "a46cc38.98dbb4"
+ "e4afb06c.970a38"
]
]
},
{
- "id": "315634a1.892b34",
+ "id": "4fff45e1.354a6c",
"type": "set",
"name": "set pnf-name",
"xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n $tmp.aai.vpn-binding.access-provider-id + '-clientId-' +\n $tmp.aai.vpn-binding.access-client-id + '-topologyId-' +\n $tmp.aai.vpn-binding.access-topology-id + '-nodeId-' +\n $tmp.aai.vpn-binding.src-access-node-id`\" />\n",
"comments": "",
- "x": 3140,
- "y": 72,
+ "x": 3180,
+ "y": 95,
"z": "e001b214.9c4f88",
"wires": []
},
{
- "id": "34cfba69.4d51e6",
+ "id": "7b5f3a76.40dbac",
"type": "get-resource",
"name": "get-resource src pnf",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.domain.pnf-name\"\n pfx='tmp.aai.source-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",
"comments": "",
"outputs": 1,
- "x": 3166,
- "y": 189,
+ "x": 3206,
+ "y": 212,
"z": "e001b214.9c4f88",
"wires": [
[
- "b3f1fbc8.de108",
- "b343cfff.aa8d4",
- "284e02e7.51cff6"
+ "38e8f6ad.20b942",
+ "30508f3.2b24cf",
+ "db6a4b33.6458e"
]
]
},
{
- "id": "b3f1fbc8.de108",
+ "id": "38e8f6ad.20b942",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3361.5001220703125,
- "y": 141,
+ "x": 3401.5001220703125,
+ "y": 164,
"z": "e001b214.9c4f88",
"wires": [
[
- "81f23c52.9a8b3"
+ "740719b1.df8a7"
]
]
},
{
- "id": "b343cfff.aa8d4",
+ "id": "30508f3.2b24cf",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3353.5001220703125,
- "y": 196,
+ "x": 3393.5001220703125,
+ "y": 219,
"z": "e001b214.9c4f88",
"wires": [
[
- "f8c3b27d.bb7ca8"
+ "dcbcbf80.f3d53"
]
]
},
{
- "id": "81f23c52.9a8b3",
+ "id": "740719b1.df8a7",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3505.8824462890625,
- "y": 140.65567016601562,
+ "x": 3545.8824462890625,
+ "y": 163.65567016601562,
"z": "e001b214.9c4f88",
"wires": [
[
- "cf4fab4f.ff26f8"
+ "1c636e54.f15ca2"
]
]
},
{
- "id": "cf4fab4f.ff26f8",
+ "id": "1c636e54.f15ca2",
"type": "for",
"name": "for each relationship",
"xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 3690,
- "y": 139,
+ "x": 3730,
+ "y": 162,
"z": "e001b214.9c4f88",
"wires": [
[
- "e5bf62b8.3c949"
+ "5fbdc63d.dd85c8"
]
]
},
{
- "id": "e5bf62b8.3c949",
+ "id": "5fbdc63d.dd85c8",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 3885,
- "y": 139,
+ "x": 3925,
+ "y": 162,
"z": "e001b214.9c4f88",
"wires": [
[
- "8f16d6f1.620958"
+ "ea1a11a0.595418"
]
]
},
{
- "id": "284e02e7.51cff6",
+ "id": "db6a4b33.6458e",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 3358.5001220703125,
- "y": 253,
+ "x": 3398.5001220703125,
+ "y": 276,
"z": "e001b214.9c4f88",
"wires": [
[
- "a632f8eb.4977a"
+ "1b105dc6.7eab4a"
]
]
},
{
- "id": "a632f8eb.4977a",
+ "id": "1b105dc6.7eab4a",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",
"comments": "",
- "x": 3510.5001220703125,
- "y": 254,
+ "x": 3550.5001220703125,
+ "y": 277,
"z": "e001b214.9c4f88",
"wires": []
},
{
- "id": "f8c3b27d.bb7ca8",
+ "id": "dcbcbf80.f3d53",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",
"comments": "",
- "x": 3521.5001220703125,
- "y": 197,
+ "x": 3561.5001220703125,
+ "y": 220,
"z": "e001b214.9c4f88",
"wires": []
},
{
- "id": "c808ab3d.c57d7",
+ "id": "96600252.0c8c48",
"type": "execute",
"name": "get esr-thirdparty-sdnc",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domain.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >",
"comments": "",
"outputs": 1,
- "x": 4473,
- "y": 156,
+ "x": 4513,
+ "y": 179,
"z": "e001b214.9c4f88",
"wires": [
[
- "2713e757.2f3d8",
- "638dc84.73ac0b8",
- "4816e676.e50758"
+ "a696df4c.ceae58",
+ "fe810a19.c34a78",
+ "bbf2a8b1.f6a27"
]
]
},
{
- "id": "c8c24e1.d1c68b",
+ "id": "792a96dd.b5714",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4267,
- "y": 143,
+ "x": 4307,
+ "y": 166,
"z": "e001b214.9c4f88",
"wires": [
[
- "e331349b.029ff",
- "c808ab3d.c57d7",
- "3516a6c6.78d90a"
+ "ae074209.8ac108",
+ "96600252.0c8c48",
+ "17402644.74336a"
]
]
},
{
- "id": "e331349b.029ff",
+ "id": "ae074209.8ac108",
"type": "set",
"name": "set esr-thirdparty-sdnc domain id",
"xml": "<set>\n<parameter name='tmp.domain.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",
"comments": "",
- "x": 4503,
- "y": 104,
+ "x": 4543,
+ "y": 127,
"z": "e001b214.9c4f88",
"wires": []
},
{
- "id": "2713e757.2f3d8",
+ "id": "a696df4c.ceae58",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4683,
- "y": 147,
+ "x": 4723,
+ "y": 170,
"z": "e001b214.9c4f88",
"wires": [
[
- "f914c736.a35ec"
+ "b9171802.93433"
]
]
},
{
- "id": "638dc84.73ac0b8",
+ "id": "fe810a19.c34a78",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 4675,
- "y": 202,
+ "x": 4715,
+ "y": 225,
"z": "e001b214.9c4f88",
"wires": [
[
- "ff1a96b1.1ab44"
+ "4798e972.a0e21"
]
]
},
{
- "id": "4816e676.e50758",
+ "id": "bbf2a8b1.f6a27",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 4680,
- "y": 259,
+ "x": 4720,
+ "y": 282,
"z": "e001b214.9c4f88",
"wires": [
[
- "81b24b13.ecc93"
+ "c94f16ac.1ba968"
]
]
},
{
- "id": "81b24b13.ecc93",
+ "id": "c94f16ac.1ba968",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",
"comments": "",
- "x": 4832,
- "y": 260,
+ "x": 4872,
+ "y": 283,
"z": "e001b214.9c4f88",
"wires": []
},
{
- "id": "ff1a96b1.1ab44",
+ "id": "4798e972.a0e21",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",
"comments": "",
- "x": 4843,
- "y": 205,
+ "x": 4883,
+ "y": 228,
"z": "e001b214.9c4f88",
"wires": []
},
{
- "id": "f914c736.a35ec",
+ "id": "b9171802.93433",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4827.38232421875,
- "y": 144.65567016601562,
+ "x": 4867.38232421875,
+ "y": 167.65567016601562,
"z": "e001b214.9c4f88",
"wires": [
[
- "3dce9a6f.ca54ee"
+ "300135e0.73329a"
]
]
},
{
- "id": "8f16d6f1.620958",
+ "id": "ea1a11a0.595418",
"type": "outcome",
"name": "esr-thirdparty-sdnc",
"xml": "<outcome value='esr-thirdparty-sdnc'>\n",
"comments": "",
"outputs": 1,
- "x": 4088,
- "y": 143,
+ "x": 4128,
+ "y": 166,
"z": "e001b214.9c4f88",
"wires": [
[
- "c8c24e1.d1c68b"
+ "792a96dd.b5714"
]
]
},
{
- "id": "3dce9a6f.ca54ee",
+ "id": "300135e0.73329a",
"type": "set",
"name": "set controller domain data",
"xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",
"comments": "",
- "x": 5042,
- "y": 141,
+ "x": 5082,
+ "y": 164,
"z": "e001b214.9c4f88",
"wires": []
},
{
- "id": "3516a6c6.78d90a",
+ "id": "17402644.74336a",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 4423,
- "y": 220,
+ "x": 4463,
+ "y": 243,
"z": "e001b214.9c4f88",
"wires": []
},
{
- "id": "af105f82.f24",
+ "id": "f7cc948a.349f48",
"type": "execute",
"name": "execute RestApiCallNode Delete transport slice without token",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.transport-slice-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/operations/ietf-optical-slice:deallocate-optical-slice'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />\n",
"comments": "",
"outputs": 1,
- "x": 3290,
- "y": 487,
+ "x": 3330,
+ "y": 510,
"z": "e001b214.9c4f88",
"wires": [
[
- "58523c50.a8358c",
- "666e388c.437238"
+ "c1188623.deee1",
+ "470e64d.379031c"
]
]
},
{
- "id": "58523c50.a8358c",
+ "id": "c1188623.deee1",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3633.5,
- "y": 482,
+ "x": 3673.5,
+ "y": 505,
"z": "e001b214.9c4f88",
"wires": [
[
- "3480dc80.ce39a4"
+ "d4cf9dc2.d5afd8"
]
]
},
{
- "id": "666e388c.437238",
+ "id": "470e64d.379031c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3637.5,
- "y": 522,
+ "x": 3677.5,
+ "y": 545,
"z": "e001b214.9c4f88",
"wires": [
[
- "f77842b2.9897b"
+ "3364bc79.06d9e4"
]
]
},
{
- "id": "f77842b2.9897b",
+ "id": "3364bc79.06d9e4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3795,
- "y": 522,
+ "x": 3835,
+ "y": 545,
"z": "e001b214.9c4f88",
"wires": [
[]
]
},
{
- "id": "3480dc80.ce39a4",
+ "id": "d4cf9dc2.d5afd8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing deallocate transport slice rest api\" />\n",
"comments": "",
- "x": 3791.5,
- "y": 482,
+ "x": 3831.5,
+ "y": 505,
"z": "e001b214.9c4f88",
"wires": []
},
{
- "id": "58dd3cb5.26ee4c",
+ "id": "daa0af8a.c7da5",
"type": "set",
"name": "set attachment_param for TN NSSSI deleteion in PNC",
"xml": "<set>\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n",
"comments": "",
- "x": 3266,
- "y": 362,
+ "x": 3306,
+ "y": 385,
"z": "e001b214.9c4f88",
"wires": []
},
{
- "id": "e4194069.37887",
+ "id": "1aa21051.71e3e8",
"type": "save",
"name": "delete connectivity resource in AAI",
"xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $tmp.aai.connectivity.connectivity-id'>\n",
"comments": "",
"outputs": 1,
- "x": 3196,
- "y": 797,
+ "x": 3236,
+ "y": 820,
"z": "e001b214.9c4f88",
"wires": [
[]
]
},
{
- "id": "e5415b2a.1b069",
+ "id": "3724be1f.92f8ea",
"type": "save",
"name": "delete vpn-binding resource in AAI",
"xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.aai.vpn-binding.vpn-id' >\n",
"comments": "",
"outputs": 1,
- "x": 3192,
- "y": 841,
+ "x": 3232,
+ "y": 864,
"z": "e001b214.9c4f88",
"wires": [
[]
]
},
{
- "id": "bfb53be2.1d7798",
+ "id": "41f2a122.089c2",
"type": "execute",
"name": "execute RestApiCallNode domain UNI deColoring",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-coloring-uni-port.templatefile`\" />-->\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-network:networks/network=networkId-providerId-' + $tmp.aai.connectivity.access-provider-id + '-clientId-' + $tmp.aai.connectivity.access-client-id + '-topologyId-' + $tmp.aai.connectivity.access-topology-id + '/node=' + $tmp.aai.connectivity.access-node-id + '/ietf-network-topology:termination-point=' + $tmp.aai.connectivity.access-ltp-id + '/ietf-te-topology:te/ietf-optical-slice:slice-id-list=' + $slice-instance-id `\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />\n",
"comments": "",
"outputs": 1,
- "x": 3253,
- "y": 660,
+ "x": 3293,
+ "y": 683,
"z": "e001b214.9c4f88",
"wires": [
[
- "9751ec98.3e8be8",
- "4652cbec.507204"
+ "293d42c2.e74426",
+ "f9376496.43cea8"
]
]
},
{
- "id": "4652cbec.507204",
+ "id": "f9376496.43cea8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3519,
- "y": 640,
+ "x": 3559,
+ "y": 663,
"z": "e001b214.9c4f88",
"wires": [
[
- "45199d8e.7e5fdc"
+ "7b775591.92e164"
]
]
},
{
- "id": "9751ec98.3e8be8",
+ "id": "293d42c2.e74426",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3520.000213623047,
- "y": 690.9999094009399,
+ "x": 3560.000213623047,
+ "y": 713.9999094009399,
"z": "e001b214.9c4f88",
"wires": [
[
- "ebd36513.cafc88"
+ "f17d1b1f.2fc66"
]
]
},
{
- "id": "45199d8e.7e5fdc",
+ "id": "7b775591.92e164",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing decoloring UNI rest api\" />\n",
"comments": "",
- "x": 3659.0002479553223,
- "y": 640.0000009536743,
+ "x": 3699.0002479553223,
+ "y": 663.0000009536743,
"z": "e001b214.9c4f88",
"wires": []
},
{
- "id": "ebd36513.cafc88",
+ "id": "f17d1b1f.2fc66",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3665.02725982666,
- "y": 688.7453947067261,
+ "x": 3705.02725982666,
+ "y": 711.7453947067261,
"z": "e001b214.9c4f88",
"wires": [
[]