aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-deactivate.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-deactivate.json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-deactivate.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-deactivate.json b/platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-deactivate.json
index 56845844..ff94831f 100644
--- a/platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-deactivate.json
+++ b/platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-deactivate.json
@@ -1,20 +1,20 @@
[
{
- "id": "5242e55f.2660bc",
+ "id": "9eb0ec9b.ca633",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 165,
- "y": 89,
+ "x": 136,
+ "y": 74,
"z": "b39eb7ec.28f1a8",
"wires": [
[
- "a94d71b7.2c2048"
+ "a6f9d5f0.04d6"
]
]
},
{
- "id": "a94d71b7.2c2048",
+ "id": "a6f9d5f0.04d6",
"type": "service-logic",
"name": "GENERIC-RESOURCE-API ${project.version}",
"module": "GENERIC-RESOURCE-API",
@@ -22,976 +22,976 @@
"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": 296.2856903076172,
- "y": 138.23810863494873,
+ "x": 267.2856903076172,
+ "y": 123.23810863494873,
"z": "b39eb7ec.28f1a8",
"wires": [
[
- "aa153b53.66c418"
+ "3b0030c5.3e837"
]
]
},
{
- "id": "aa153b53.66c418",
+ "id": "3b0030c5.3e837",
"type": "method",
"name": "method tsli-vnf-topology-operation-trans-slice-deactivate",
"xml": "<method rpc='tsli-vnf-topology-operation-trans-slice-deactivate' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 299.4286193847656,
- "y": 223.00003242492676,
+ "x": 270.4286193847656,
+ "y": 208.00003242492676,
"z": "b39eb7ec.28f1a8",
"wires": [
[
- "76657765.41a798"
+ "4b63b8a8.77bb4"
]
]
},
{
- "id": "76657765.41a798",
+ "id": "4b63b8a8.77bb4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 449.238037109375,
- "y": 352.6666564941406,
+ "x": 420.238037109375,
+ "y": 337.6666564941406,
"z": "b39eb7ec.28f1a8",
"wires": [
[
- "72f9366e.3a99d8",
- "680f29c8.59cd3",
- "fc546f71.cb3e18"
+ "33834047.03c2f8",
+ "eaadc174.02e71",
+ "ce0777fc.b60f2"
]
]
},
{
- "id": "72f9366e.3a99d8",
+ "id": "33834047.03c2f8",
"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": 723.5716552734375,
- "y": 619.59716796875,
+ "x": 694.5716552734375,
+ "y": 604.59716796875,
"z": "b39eb7ec.28f1a8",
"wires": []
},
{
- "id": "af064a7b.44da3",
+ "id": "39c1d7dd.5e2018",
"type": "comment",
"name": "new for TransportSlicing",
"info": "",
"comments": "",
- "x": 755,
- "y": 294,
+ "x": 726,
+ "y": 279,
"z": "b39eb7ec.28f1a8",
"wires": []
},
{
- "id": "680f29c8.59cd3",
+ "id": "eaadc174.02e71",
"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<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": 775,
- "y": 390,
+ "x": 746,
+ "y": 375,
"z": "b39eb7ec.28f1a8",
"wires": [
[
- "ea580b2d.a2b9d",
- "677c974e.f259e8",
- "13083344.02e945"
+ "def73660.f1599",
+ "7ca16f67.a19498",
+ "6d28513b.423be8"
]
]
},
{
- "id": "ea580b2d.a2b9d",
+ "id": "def73660.f1599",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 994,
- "y": 328,
+ "x": 965,
+ "y": 313,
"z": "b39eb7ec.28f1a8",
"wires": [
[
- "a02387a9.ce5868"
+ "5c5bc497.c1130c"
]
]
},
{
- "id": "677c974e.f259e8",
+ "id": "7ca16f67.a19498",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1003.490966796875,
- "y": 370.57403564453125,
+ "x": 974.490966796875,
+ "y": 355.57403564453125,
"z": "b39eb7ec.28f1a8",
"wires": [
[
- "620a8e19.7969b8"
+ "3202281d.474eb8"
]
]
},
{
- "id": "13083344.02e945",
+ "id": "6d28513b.423be8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 992,
- "y": 417,
+ "x": 963,
+ "y": 402,
"z": "b39eb7ec.28f1a8",
"wires": [
[
- "ee25c1ac.70f318"
+ "a1d5aff9.d75b68"
]
]
},
{
- "id": "620a8e19.7969b8",
+ "id": "3202281d.474eb8",
"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": 1157.0623779296875,
- "y": 373.8597717285156,
+ "x": 1128.0623779296875,
+ "y": 358.8597717285156,
"z": "b39eb7ec.28f1a8",
"wires": []
},
{
- "id": "ee25c1ac.70f318",
+ "id": "a1d5aff9.d75b68",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 1161,
- "y": 418,
+ "x": 1132,
+ "y": 403,
"z": "b39eb7ec.28f1a8",
"wires": []
},
{
- "id": "a02387a9.ce5868",
+ "id": "5c5bc497.c1130c",
"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": 1191,
- "y": 324,
+ "x": 1162,
+ "y": 309,
"z": "b39eb7ec.28f1a8",
"wires": [
[
- "17bf0063.d6585"
+ "b3c4b504.2321f"
]
]
},
{
- "id": "17bf0063.d6585",
+ "id": "b3c4b504.2321f",
"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": 1414.33349609375,
- "y": 323.99993896484375,
+ "x": 1385.33349609375,
+ "y": 308.99993896484375,
"z": "b39eb7ec.28f1a8",
"wires": [
[
- "c3612b80.a84938"
+ "2c61dbe.2d462a4"
]
]
},
{
- "id": "c3612b80.a84938",
+ "id": "2c61dbe.2d462a4",
"type": "outcome",
"name": "connectivity",
"xml": "<outcome value='connectivity'>\n",
"comments": "",
"outputs": 1,
- "x": 1615.0001335144043,
- "y": 325.00002098083496,
+ "x": 1586.0001335144043,
+ "y": 310.00002098083496,
"z": "b39eb7ec.28f1a8",
"wires": [
[
- "7884e617.49647"
+ "8cb99e8e.6d2cc"
]
]
},
{
- "id": "fc546f71.cb3e18",
+ "id": "ce0777fc.b60f2",
"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": 741,
- "y": 338,
+ "x": 712,
+ "y": 323,
"z": "b39eb7ec.28f1a8",
"wires": [
[]
]
},
{
- "id": "7884e617.49647",
+ "id": "8cb99e8e.6d2cc",
"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": 1853,
- "y": 327,
+ "x": 1824,
+ "y": 312,
"z": "b39eb7ec.28f1a8",
"wires": [
[
- "d6ce182b.31b988",
- "aa98166f.4a5d48",
- "6c3ef06d.2c8af8"
+ "e48909d7.1167",
+ "9d9cf2b9.138cc",
+ "c57bdede.c607a8"
]
]
},
{
- "id": "d6ce182b.31b988",
+ "id": "e48909d7.1167",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2061,
- "y": 291,
+ "x": 2032,
+ "y": 276,
"z": "b39eb7ec.28f1a8",
"wires": [
[
- "f5ad0f9a.63e04"
+ "7447d3b7.3d9674"
]
]
},
{
- "id": "aa98166f.4a5d48",
+ "id": "9d9cf2b9.138cc",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 2061.490966796875,
- "y": 336.57403564453125,
+ "x": 2032.490966796875,
+ "y": 321.57403564453125,
"z": "b39eb7ec.28f1a8",
"wires": [
[
- "8c465bb9.ef2cc8"
+ "c3f91382.355d78"
]
]
},
{
- "id": "6c3ef06d.2c8af8",
+ "id": "c57bdede.c607a8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2059,
- "y": 380,
+ "x": 2030,
+ "y": 365,
"z": "b39eb7ec.28f1a8",
"wires": [
[
- "63631469.f6833c"
+ "8f45128e.10469"
]
]
},
{
- "id": "8c465bb9.ef2cc8",
+ "id": "c3f91382.355d78",
"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": 2224.0623779296875,
- "y": 336.8597717285156,
+ "x": 2195.0623779296875,
+ "y": 321.8597717285156,
"z": "b39eb7ec.28f1a8",
"wires": []
},
{
- "id": "63631469.f6833c",
+ "id": "8f45128e.10469",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 2228,
- "y": 381,
+ "x": 2199,
+ "y": 366,
"z": "b39eb7ec.28f1a8",
"wires": []
},
{
- "id": "b3f0264f.4b3ab",
+ "id": "eaa455f.69afea8",
"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": 2534,
- "y": 380,
+ "x": 2505,
+ "y": 365,
"z": "b39eb7ec.28f1a8",
"wires": [
[
- "b834bb7a.d792e",
- "1e7aae42.a3c8e2",
- "2a5354ed.3760dc"
+ "754a3f5.4e5d3c",
+ "563654a8.f8269c",
+ "49966192.933e3"
]
]
},
{
- "id": "86694c65.1bab48",
+ "id": "44a58adf.5965ac",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2918,
- "y": 380,
+ "x": 2889,
+ "y": 365,
"z": "b39eb7ec.28f1a8",
"wires": [
[
- "a6c81dc0.f9e978",
- "23f1ef20.aa22c8",
- "d80ddf6.5239ba",
- "a14e9d29.27087"
+ "c9dc240e.1f5cf8",
+ "2f80a99a.2436ee",
+ "eb52e479.fabdf8",
+ "e64ba97a.ab16f8"
]
]
},
{
- "id": "b834bb7a.d792e",
+ "id": "754a3f5.4e5d3c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2745,
- "y": 382,
+ "x": 2716,
+ "y": 367,
"z": "b39eb7ec.28f1a8",
"wires": [
[
- "86694c65.1bab48"
+ "44a58adf.5965ac"
]
]
},
{
- "id": "1e7aae42.a3c8e2",
+ "id": "563654a8.f8269c",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 2745.490966796875,
- "y": 427.57403564453125,
+ "x": 2716.490966796875,
+ "y": 412.57403564453125,
"z": "b39eb7ec.28f1a8",
"wires": [
[
- "6a176f0f.10d98"
+ "8ffd54c7.1ceb58"
]
]
},
{
- "id": "2a5354ed.3760dc",
+ "id": "49966192.933e3",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2743,
- "y": 471,
+ "x": 2714,
+ "y": 456,
"z": "b39eb7ec.28f1a8",
"wires": [
[
- "2cad2870.f6f2f"
+ "1dfb3bfc.f80f24"
]
]
},
{
- "id": "2cad2870.f6f2f",
+ "id": "1dfb3bfc.f80f24",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 2910,
- "y": 470,
+ "x": 2881,
+ "y": 455,
"z": "b39eb7ec.28f1a8",
"wires": []
},
{
- "id": "6a176f0f.10d98",
+ "id": "8ffd54c7.1ceb58",
"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": 2908.0623779296875,
- "y": 427.8597717285156,
+ "x": 2879.0623779296875,
+ "y": 412.8597717285156,
"z": "b39eb7ec.28f1a8",
"wires": []
},
{
- "id": "f5ad0f9a.63e04",
+ "id": "7447d3b7.3d9674",
"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": 2262,
- "y": 286,
+ "x": 2233,
+ "y": 271,
"z": "b39eb7ec.28f1a8",
"wires": [
[
- "1569ccc.fe523b3"
+ "80b48506.a5c978"
]
]
},
{
- "id": "1569ccc.fe523b3",
+ "id": "80b48506.a5c978",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 2467,
- "y": 286,
+ "x": 2438,
+ "y": 271,
"z": "b39eb7ec.28f1a8",
"wires": [
[
- "419949a6.57988"
+ "36fdb5a2.702cb2"
]
]
},
{
- "id": "419949a6.57988",
+ "id": "36fdb5a2.702cb2",
"type": "outcome",
"name": "vpn-binding",
"xml": "<outcome value='vpn-binding'>\n",
"comments": "",
"outputs": 1,
- "x": 2633,
- "y": 286,
+ "x": 2604,
+ "y": 271,
"z": "b39eb7ec.28f1a8",
"wires": [
[
- "da248b6f.863148"
+ "32e2ef12.2d28f8"
]
]
},
{
- "id": "da248b6f.863148",
+ "id": "32e2ef12.2d28f8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2796,
- "y": 286,
+ "x": 2767,
+ "y": 271,
"z": "b39eb7ec.28f1a8",
"wires": [
[
- "b3f0264f.4b3ab"
+ "eaa455f.69afea8"
]
]
},
{
- "id": "a6c81dc0.f9e978",
+ "id": "c9dc240e.1f5cf8",
"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": 3133,
- "y": 90,
+ "x": 3104,
+ "y": 75,
"z": "b39eb7ec.28f1a8",
"wires": []
},
{
- "id": "23f1ef20.aa22c8",
+ "id": "2f80a99a.2436ee",
"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": 3159,
- "y": 207,
+ "x": 3130,
+ "y": 192,
"z": "b39eb7ec.28f1a8",
"wires": [
[
- "de4bc6aa.088c5",
- "2b53e15d.dd21ae",
- "ae35d78c.86b8"
+ "5dad328f.715b34",
+ "e3a6748e.a712d",
+ "e35e866f.df6d4"
]
]
},
{
- "id": "de4bc6aa.088c5",
+ "id": "5dad328f.715b34",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3354.5001220703125,
- "y": 159,
+ "x": 3325.5001220703125,
+ "y": 144,
"z": "b39eb7ec.28f1a8",
"wires": [
[
- "9db55161.c57488"
+ "4d0c253f.a81e74"
]
]
},
{
- "id": "2b53e15d.dd21ae",
+ "id": "e3a6748e.a712d",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3346.5001220703125,
- "y": 214,
+ "x": 3317.5001220703125,
+ "y": 199,
"z": "b39eb7ec.28f1a8",
"wires": [
[
- "577df12f.4d35a8"
+ "b2cddf9.b286da"
]
]
},
{
- "id": "9db55161.c57488",
+ "id": "4d0c253f.a81e74",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3498.8824462890625,
- "y": 158.65567016601562,
+ "x": 3469.8824462890625,
+ "y": 143.65567016601562,
"z": "b39eb7ec.28f1a8",
"wires": [
[
- "5d329fe.f531fe"
+ "1f908e24.7ffb6a"
]
]
},
{
- "id": "5d329fe.f531fe",
+ "id": "1f908e24.7ffb6a",
"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": 3683,
- "y": 157,
+ "x": 3654,
+ "y": 142,
"z": "b39eb7ec.28f1a8",
"wires": [
[
- "b71d5fcd.e9cea"
+ "731e3134.cae0e8"
]
]
},
{
- "id": "b71d5fcd.e9cea",
+ "id": "731e3134.cae0e8",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 3878,
- "y": 157,
+ "x": 3849,
+ "y": 142,
"z": "b39eb7ec.28f1a8",
"wires": [
[
- "e408bf35.72655"
+ "924b0e47.33623"
]
]
},
{
- "id": "ae35d78c.86b8",
+ "id": "e35e866f.df6d4",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 3351.5001220703125,
- "y": 271,
+ "x": 3322.5001220703125,
+ "y": 256,
"z": "b39eb7ec.28f1a8",
"wires": [
[
- "ee316bbc.ab53b8"
+ "96d892fb.bdb65"
]
]
},
{
- "id": "ee316bbc.ab53b8",
+ "id": "96d892fb.bdb65",
"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": 3503.5001220703125,
- "y": 272,
+ "x": 3474.5001220703125,
+ "y": 257,
"z": "b39eb7ec.28f1a8",
"wires": []
},
{
- "id": "577df12f.4d35a8",
+ "id": "b2cddf9.b286da",
"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": 3514.5001220703125,
- "y": 215,
+ "x": 3485.5001220703125,
+ "y": 200,
"z": "b39eb7ec.28f1a8",
"wires": []
},
{
- "id": "c9c3e28f.63609",
+ "id": "f5b1ba3f.53f16",
"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": 4466,
- "y": 174,
+ "x": 4437,
+ "y": 159,
"z": "b39eb7ec.28f1a8",
"wires": [
[
- "3dd076cd.5c231a",
- "c9f64ae8.35669",
- "7381c16f.b370e"
+ "24a03be4.6f22dc",
+ "9afded7b.e0fd88",
+ "473aa7de.af209"
]
]
},
{
- "id": "e8fac782.8b4fb",
+ "id": "e5beadfa.65d4b",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4260,
- "y": 161,
+ "x": 4231,
+ "y": 146,
"z": "b39eb7ec.28f1a8",
"wires": [
[
- "66c06218.223abc",
- "c9c3e28f.63609",
- "8fb6a8ce.c9f538"
+ "c8e5909.1b608f",
+ "f5b1ba3f.53f16",
+ "f37bd9fd.aaa8a8"
]
]
},
{
- "id": "66c06218.223abc",
+ "id": "c8e5909.1b608f",
"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": 4496,
- "y": 122,
+ "x": 4467,
+ "y": 107,
"z": "b39eb7ec.28f1a8",
"wires": []
},
{
- "id": "3dd076cd.5c231a",
+ "id": "24a03be4.6f22dc",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4676,
- "y": 165,
+ "x": 4647,
+ "y": 150,
"z": "b39eb7ec.28f1a8",
"wires": [
[
- "ffc56656.084b18"
+ "d0a9d6e9.c56f4"
]
]
},
{
- "id": "c9f64ae8.35669",
+ "id": "9afded7b.e0fd88",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 4668,
- "y": 220,
+ "x": 4639,
+ "y": 205,
"z": "b39eb7ec.28f1a8",
"wires": [
[
- "df0df27a.a48ca"
+ "27cca76b.e2c508"
]
]
},
{
- "id": "7381c16f.b370e",
+ "id": "473aa7de.af209",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 4673,
- "y": 277,
+ "x": 4644,
+ "y": 262,
"z": "b39eb7ec.28f1a8",
"wires": [
[
- "1cc1a486.bc1f73"
+ "61a0060a.f22c2"
]
]
},
{
- "id": "1cc1a486.bc1f73",
+ "id": "61a0060a.f22c2",
"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": 4825,
- "y": 278,
+ "x": 4796,
+ "y": 263,
"z": "b39eb7ec.28f1a8",
"wires": []
},
{
- "id": "df0df27a.a48ca",
+ "id": "27cca76b.e2c508",
"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": 4836,
- "y": 223,
+ "x": 4807,
+ "y": 208,
"z": "b39eb7ec.28f1a8",
"wires": []
},
{
- "id": "ffc56656.084b18",
+ "id": "d0a9d6e9.c56f4",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4820.38232421875,
- "y": 162.65567016601562,
+ "x": 4791.38232421875,
+ "y": 147.65567016601562,
"z": "b39eb7ec.28f1a8",
"wires": [
[
- "f9ba3b0e.b3dbd8"
+ "67daf343.f6ee2c"
]
]
},
{
- "id": "e408bf35.72655",
+ "id": "924b0e47.33623",
"type": "outcome",
"name": "esr-thirdparty-sdnc",
"xml": "<outcome value='esr-thirdparty-sdnc'>\n",
"comments": "",
"outputs": 1,
- "x": 4081,
- "y": 161,
+ "x": 4052,
+ "y": 146,
"z": "b39eb7ec.28f1a8",
"wires": [
[
- "e8fac782.8b4fb"
+ "e5beadfa.65d4b"
]
]
},
{
- "id": "f9ba3b0e.b3dbd8",
+ "id": "67daf343.f6ee2c",
"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": 5035,
- "y": 159,
+ "x": 5006,
+ "y": 144,
"z": "b39eb7ec.28f1a8",
"wires": []
},
{
- "id": "8fb6a8ce.c9f538",
+ "id": "f37bd9fd.aaa8a8",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 4416,
- "y": 238,
+ "x": 4387,
+ "y": 223,
"z": "b39eb7ec.28f1a8",
"wires": []
},
{
- "id": "d80ddf6.5239ba",
+ "id": "eb52e479.fabdf8",
"type": "execute",
"name": "execute RestApiCallNode Delete ethernet Service without token",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.aai.connectivity.connectivity-id`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />-->\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='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\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",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.aai.connectivity.etht-svc-name`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />-->\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='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\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": "",
"outputs": 1,
- "x": 3289,
- "y": 602,
+ "x": 3260,
+ "y": 587,
"z": "b39eb7ec.28f1a8",
"wires": [
[
- "56ef2c2f.bde334",
- "20356ae6.118a76"
+ "f7e1f7cd.472128",
+ "cd5ebb71.771178"
]
]
},
{
- "id": "56ef2c2f.bde334",
+ "id": "f7e1f7cd.472128",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3635.5,
- "y": 595,
+ "x": 3606.5,
+ "y": 580,
"z": "b39eb7ec.28f1a8",
"wires": [
[
- "45e55581.afe784"
+ "e8c999cc.b2fcc"
]
]
},
{
- "id": "20356ae6.118a76",
+ "id": "cd5ebb71.771178",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3639.5,
- "y": 635,
+ "x": 3610.5,
+ "y": 620,
"z": "b39eb7ec.28f1a8",
"wires": [
[
- "b4e6443a.f1c248"
+ "fe0f592f.73096"
]
]
},
{
- "id": "b4e6443a.f1c248",
+ "id": "fe0f592f.73096",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3797,
- "y": 635,
+ "x": 3768,
+ "y": 620,
"z": "b39eb7ec.28f1a8",
"wires": [
[
- "f2316450.62431",
- "6c3e1e17.47ccd8"
+ "a35fbdc3.ba44d8",
+ "25ddb449.839c14"
]
]
},
{
- "id": "45e55581.afe784",
+ "id": "e8c999cc.b2fcc",
"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 delete ethernet service rest api\" />\n",
"comments": "",
- "x": 3793.5,
- "y": 595,
+ "x": 3764.5,
+ "y": 580,
"z": "b39eb7ec.28f1a8",
"wires": []
},
{
- "id": "f2316450.62431",
+ "id": "a35fbdc3.ba44d8",
"type": "save",
- "name": "update vpn-binding A resource (aka. OTN domainA) in AAI",
- "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.aai.vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-binding.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-binding.vpn-id`' />\n\n<parameter name='operational-status' value='Deactivated' />\n",
+ "name": "update vpn-binding resource (aka. OTN domainA) in AAI",
+ "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.aai.vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-binding.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-binding.vpn-name`' />\n\n<parameter name='operational-status' value='Deactivated' />\n",
"comments": "",
"outputs": 1,
- "x": 4125.5,
- "y": 635,
+ "x": 4096.5,
+ "y": 620,
"z": "b39eb7ec.28f1a8",
"wires": [
[]
]
},
{
- "id": "6c3e1e17.47ccd8",
+ "id": "25ddb449.839c14",
"type": "save",
"name": "update connectivity resource in AAI",
"xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $tmp.aai.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Deactivated' />\n",
"comments": "",
"outputs": 1,
- "x": 4052.5,
- "y": 681,
+ "x": 4023.5,
+ "y": 666,
"z": "b39eb7ec.28f1a8",
"wires": [
[]
]
},
{
- "id": "a14e9d29.27087",
+ "id": "e64ba97a.ab16f8",
"type": "execute",
"name": "execute RestApiCallNode Delete OTN tunnel with token",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-otn-src-domain-creation.templatefile`\" />-->\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-te:te/tunnels/tunnel=' + $tmp.aai.vpn-binding.vpn-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`\" />",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-otn-src-domain-creation.templatefile`\" />-->\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-te:te/tunnels/tunnel=' + $tmp.aai.vpn-binding.vpn-name`\" />\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`\" />",
"comments": "",
"outputs": 1,
- "x": 3262,
- "y": 474,
+ "x": 3233,
+ "y": 459,
"z": "b39eb7ec.28f1a8",
"wires": [
[
- "692cf34e.ccecdc",
- "64e95b5b.03211c"
+ "e39876fb.5fed98",
+ "bba7f7ba.20df2"
]
]
},
{
- "id": "692cf34e.ccecdc",
+ "id": "e39876fb.5fed98",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3594.5,
- "y": 444,
+ "x": 3565.5,
+ "y": 429,
"z": "b39eb7ec.28f1a8",
"wires": [
[
- "8f4d555e.2bf24"
+ "577f2ccc.95a23c"
]
]
},
{
- "id": "64e95b5b.03211c",
+ "id": "bba7f7ba.20df2",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3599.5,
- "y": 509,
+ "x": 3570.5,
+ "y": 494,
"z": "b39eb7ec.28f1a8",
"wires": [
[
- "deb2a97d.a041c8"
+ "f956764e.d59e5"
]
]
},
{
- "id": "8f4d555e.2bf24",
+ "id": "577f2ccc.95a23c",
"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 delete OTN tunnel rest api\" />\n",
"comments": "",
- "x": 3770.5,
- "y": 444,
+ "x": 3741.5,
+ "y": 429,
"z": "b39eb7ec.28f1a8",
"wires": []
},
{
- "id": "deb2a97d.a041c8",
+ "id": "f956764e.d59e5",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3766,
- "y": 509,
+ "x": 3737,
+ "y": 494,
"z": "b39eb7ec.28f1a8",
"wires": [
[]