aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/p2p_eline/GENERIC-RESOURCE-API_p2p-vnf-topology-operation-p2p-delete.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/p2p_eline/GENERIC-RESOURCE-API_p2p-vnf-topology-operation-p2p-delete.json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/p2p_eline/GENERIC-RESOURCE-API_p2p-vnf-topology-operation-p2p-delete.json815
1 files changed, 366 insertions, 449 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/p2p_eline/GENERIC-RESOURCE-API_p2p-vnf-topology-operation-p2p-delete.json b/platform-logic/generic-resource-api/src/main/json/p2p_eline/GENERIC-RESOURCE-API_p2p-vnf-topology-operation-p2p-delete.json
index 10db6b40..4c24b917 100644
--- a/platform-logic/generic-resource-api/src/main/json/p2p_eline/GENERIC-RESOURCE-API_p2p-vnf-topology-operation-p2p-delete.json
+++ b/platform-logic/generic-resource-api/src/main/json/p2p_eline/GENERIC-RESOURCE-API_p2p-vnf-topology-operation-p2p-delete.json
@@ -1,20 +1,38 @@
[
{
- "id": "9559f36c.7d99",
+ "id": "1f49a1e2.d37fce",
+ "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": 1823.566650390625,
+ "y": 439.99998474121094,
+ "z": "d636c085.d73a1",
+ "wires": [
+ [
+ "1fcd10a0.78eacf",
+ "af997914.ad5bb",
+ "df414e18.a198"
+ ]
+ ]
+ },
+ {
+ "id": "bf5bb76d.137da8",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 210.3333282470703,
- "y": 176.33334350585938,
- "z": "9455099.1e285f8",
+ "x": 113.566650390625,
+ "y": 191.99998474121094,
+ "z": "d636c085.d73a1",
"wires": [
[
- "589aff20.58fdd8"
+ "b3126319.e564d"
]
]
},
{
- "id": "589aff20.58fdd8",
+ "id": "b3126319.e564d",
"type": "service-logic",
"name": "GENERIC-RESOURCE-API ${project.version}",
"module": "GENERIC-RESOURCE-API",
@@ -22,1034 +40,933 @@
"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": 341.6190185546875,
- "y": 225.5714521408081,
- "z": "9455099.1e285f8",
+ "x": 244.8523406982422,
+ "y": 241.23809337615967,
+ "z": "d636c085.d73a1",
"wires": [
[
- "7be85682.4a664"
+ "21b7d070.b838c"
]
]
},
{
- "id": "7be85682.4a664",
+ "id": "21b7d070.b838c",
"type": "method",
"name": "method p2p-vnf-topology-operation-p2p-delete",
"xml": "<method rpc='p2p-vnf-topology-operation-p2p-delete' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 344.76194763183594,
- "y": 310.33337593078613,
- "z": "9455099.1e285f8",
+ "x": 247.99526977539062,
+ "y": 326.0000171661377,
+ "z": "d636c085.d73a1",
"wires": [
[
- "75b89bd3.b7035c"
+ "25a34ff7.c51178"
]
]
},
{
- "id": "75b89bd3.b7035c",
+ "id": "25a34ff7.c51178",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 494.5713653564453,
- "y": 440,
- "z": "9455099.1e285f8",
+ "x": 397.8046875,
+ "y": 455.66664123535156,
+ "z": "d636c085.d73a1",
"wires": [
[
- "b92c8346.1030c",
- "d4055fd6.d46db",
- "6a8d6043.e67918"
+ "bc193176.895b3",
+ "9155a503.b6cfd",
+ "73cdc1fc.bb1028"
]
]
},
{
- "id": "b92c8346.1030c",
+ "id": "bc193176.895b3",
"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": 790.9049835205078,
- "y": 716.9305114746094,
- "z": "9455099.1e285f8",
- "wires": []
- },
- {
- "id": "ee6a8ea4.1c7198",
- "type": "comment",
- "name": "new for TransportSlicing",
- "info": "",
- "comments": "",
- "x": 822.3333282470703,
- "y": 391.3333435058594,
- "z": "9455099.1e285f8",
+ "x": 694.1383056640625,
+ "y": 732.5971527099609,
+ "z": "d636c085.d73a1",
"wires": []
},
{
- "id": "d4055fd6.d46db",
+ "id": "9155a503.b6cfd",
"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": 842.3333282470703,
- "y": 487.3333435058594,
- "z": "9455099.1e285f8",
+ "x": 745.566650390625,
+ "y": 502.99998474121094,
+ "z": "d636c085.d73a1",
"wires": [
[
- "381d7bc0.f1068c",
- "4a8a0c1b.ab698c",
- "31b9c3f9.83b5cc"
+ "943d66a1.464c58",
+ "67ba5020.7d7dc8",
+ "6580f4fc.25d5b4"
]
]
},
{
- "id": "381d7bc0.f1068c",
+ "id": "943d66a1.464c58",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1061.3333282470703,
- "y": 425.3333435058594,
- "z": "9455099.1e285f8",
+ "x": 964.566650390625,
+ "y": 440.99998474121094,
+ "z": "d636c085.d73a1",
"wires": [
[
- "78172321.e32f04"
+ "7c9fba64.f3390c"
]
]
},
{
- "id": "4a8a0c1b.ab698c",
+ "id": "67ba5020.7d7dc8",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1070.8242950439453,
- "y": 467.9073791503906,
- "z": "9455099.1e285f8",
+ "x": 974.0576171875,
+ "y": 483.5740203857422,
+ "z": "d636c085.d73a1",
"wires": [
[
- "fb661f4a.a35e88"
+ "cebe0efe.964978"
]
]
},
{
- "id": "31b9c3f9.83b5cc",
+ "id": "6580f4fc.25d5b4",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1059.3333282470703,
- "y": 514.3333435058594,
- "z": "9455099.1e285f8",
+ "x": 962.566650390625,
+ "y": 529.9999847412109,
+ "z": "d636c085.d73a1",
"wires": [
[
- "c596dceb.f440c8"
+ "cd9120ae.e9db68"
]
]
},
{
- "id": "fb661f4a.a35e88",
+ "id": "cebe0efe.964978",
"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": 1224.3957061767578,
- "y": 471.193115234375,
- "z": "9455099.1e285f8",
+ "x": 1127.6290283203125,
+ "y": 486.85975646972656,
+ "z": "d636c085.d73a1",
"wires": []
},
{
- "id": "c596dceb.f440c8",
+ "id": "cd9120ae.e9db68",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 1228.3333282470703,
- "y": 515.3333435058594,
- "z": "9455099.1e285f8",
+ "x": 1131.566650390625,
+ "y": 530.9999847412109,
+ "z": "d636c085.d73a1",
"wires": []
},
{
- "id": "78172321.e32f04",
+ "id": "7c9fba64.f3390c",
"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": 1258.3333282470703,
- "y": 421.3333435058594,
- "z": "9455099.1e285f8",
+ "x": 1161.566650390625,
+ "y": 436.99998474121094,
+ "z": "d636c085.d73a1",
"wires": [
[
- "2b97696b.7fb036"
+ "57fd8c7c.534adc"
]
]
},
{
- "id": "2b97696b.7fb036",
+ "id": "57fd8c7c.534adc",
"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": 1481.6668243408203,
- "y": 421.3332824707031,
- "z": "9455099.1e285f8",
+ "x": 1384.900146484375,
+ "y": 436.9999237060547,
+ "z": "d636c085.d73a1",
"wires": [
[
- "42c2b0bd.f47dd"
+ "a44a2c9.e47245"
]
]
},
{
- "id": "42c2b0bd.f47dd",
+ "id": "a44a2c9.e47245",
"type": "outcome",
"name": "connectivity",
"xml": "<outcome value='connectivity'>\n",
"comments": "",
"outputs": 1,
- "x": 1682.3334617614746,
- "y": 422.33336448669434,
- "z": "9455099.1e285f8",
+ "x": 1585.5667839050293,
+ "y": 438.0000057220459,
+ "z": "d636c085.d73a1",
"wires": [
[
- "2d4b22d.3ad5fde"
+ "1f49a1e2.d37fce"
]
]
},
{
- "id": "6a8d6043.e67918",
+ "id": "73cdc1fc.bb1028",
"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": 808.3333282470703,
- "y": 435.3333435058594,
- "z": "9455099.1e285f8",
+ "x": 711.566650390625,
+ "y": 450.99998474121094,
+ "z": "d636c085.d73a1",
"wires": [
[]
]
},
{
- "id": "2d4b22d.3ad5fde",
- "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": 1920.3333282470703,
- "y": 424.3333435058594,
- "z": "9455099.1e285f8",
- "wires": [
- [
- "767f3312.da0fc4",
- "6e6e816a.046da8",
- "7240a2d3.cdb52c"
- ]
- ]
- },
- {
- "id": "767f3312.da0fc4",
+ "id": "1fcd10a0.78eacf",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2128.3333282470703,
- "y": 388.3333435058594,
- "z": "9455099.1e285f8",
+ "x": 2031.566650390625,
+ "y": 403.99998474121094,
+ "z": "d636c085.d73a1",
"wires": [
[
- "9782a1c0.c96908"
+ "f10666fd.9fb61"
]
]
},
{
- "id": "6e6e816a.046da8",
+ "id": "af997914.ad5bb",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 2128.8242950439453,
- "y": 433.9073791503906,
- "z": "9455099.1e285f8",
+ "x": 2032.0576171875,
+ "y": 449.5740203857422,
+ "z": "d636c085.d73a1",
"wires": [
[
- "2e176049.379ac8"
+ "621b676d.f2f748"
]
]
},
{
- "id": "7240a2d3.cdb52c",
+ "id": "df414e18.a198",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2126.3333282470703,
- "y": 477.3333435058594,
- "z": "9455099.1e285f8",
+ "x": 2029.566650390625,
+ "y": 492.99998474121094,
+ "z": "d636c085.d73a1",
"wires": [
[
- "33c68883.4e4dd8"
+ "2ffd86d2.d8ed3a"
]
]
},
{
- "id": "2e176049.379ac8",
+ "id": "621b676d.f2f748",
"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": 2291.395706176758,
- "y": 434.193115234375,
- "z": "9455099.1e285f8",
+ "x": 2194.6290283203125,
+ "y": 449.85975646972656,
+ "z": "d636c085.d73a1",
"wires": []
},
{
- "id": "33c68883.4e4dd8",
+ "id": "2ffd86d2.d8ed3a",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 2295.3333282470703,
- "y": 478.3333435058594,
- "z": "9455099.1e285f8",
+ "x": 2198.566650390625,
+ "y": 493.99998474121094,
+ "z": "d636c085.d73a1",
"wires": []
},
{
- "id": "2a05bc5b.b08dc4",
+ "id": "943d4b65.0e3ed8",
"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": 2601.3333282470703,
- "y": 477.3333435058594,
- "z": "9455099.1e285f8",
+ "x": 2504.566650390625,
+ "y": 492.99998474121094,
+ "z": "d636c085.d73a1",
"wires": [
[
- "efe59340.81f6b",
- "9ec2589f.db3418",
- "4f5683a7.464474"
+ "e86769c3.1f7ba8",
+ "52744dfb.375364",
+ "9acb7ba.125dc08"
]
]
},
{
- "id": "37afe5ee.53cc62",
+ "id": "daba1f0.a622ce",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2985.3333282470703,
- "y": 477.3333435058594,
- "z": "9455099.1e285f8",
+ "x": 2888.566650390625,
+ "y": 492.99998474121094,
+ "z": "d636c085.d73a1",
"wires": [
[
- "e3b2dd80.eef1a8",
- "a9ed431c.c281c",
- "d4052d30.ad8718",
- "fddd2ea9.355138",
- "9f2982f0.62eef8",
- "3eed71af.4521b6"
+ "5e452d03.7532ac",
+ "d53b6e96.aa8aa",
+ "518fe175.a505a8",
+ "df0df658.a887a",
+ "1a0c1f4d.51b981",
+ "67de0813.c55918"
]
]
},
{
- "id": "efe59340.81f6b",
+ "id": "e86769c3.1f7ba8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2812.3333282470703,
- "y": 479.3333435058594,
- "z": "9455099.1e285f8",
+ "x": 2715.566650390625,
+ "y": 494.99998474121094,
+ "z": "d636c085.d73a1",
"wires": [
[
- "37afe5ee.53cc62"
+ "daba1f0.a622ce"
]
]
},
{
- "id": "9ec2589f.db3418",
+ "id": "52744dfb.375364",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 2812.8242950439453,
- "y": 524.9073791503906,
- "z": "9455099.1e285f8",
+ "x": 2716.0576171875,
+ "y": 540.5740203857422,
+ "z": "d636c085.d73a1",
"wires": [
[
- "597b7a11.444784"
+ "cdeba8e7.bdb358"
]
]
},
{
- "id": "4f5683a7.464474",
+ "id": "9acb7ba.125dc08",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2810.3333282470703,
- "y": 568.3333435058594,
- "z": "9455099.1e285f8",
+ "x": 2713.566650390625,
+ "y": 583.9999847412109,
+ "z": "d636c085.d73a1",
"wires": [
[
- "7e03ef7b.cd722"
+ "ba8b118c.cfdf4"
]
]
},
{
- "id": "7e03ef7b.cd722",
+ "id": "ba8b118c.cfdf4",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 2977.3333282470703,
- "y": 567.3333435058594,
- "z": "9455099.1e285f8",
+ "x": 2880.566650390625,
+ "y": 582.9999847412109,
+ "z": "d636c085.d73a1",
"wires": []
},
{
- "id": "597b7a11.444784",
+ "id": "cdeba8e7.bdb358",
"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": 2975.395706176758,
- "y": 525.193115234375,
- "z": "9455099.1e285f8",
+ "x": 2878.6290283203125,
+ "y": 540.8597564697266,
+ "z": "d636c085.d73a1",
"wires": []
},
{
- "id": "9782a1c0.c96908",
+ "id": "f10666fd.9fb61",
"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": 2329.3333282470703,
- "y": 383.3333435058594,
- "z": "9455099.1e285f8",
+ "x": 2232.566650390625,
+ "y": 398.99998474121094,
+ "z": "d636c085.d73a1",
"wires": [
[
- "650cd08b.3ade4"
+ "ad67608d.23d4e"
]
]
},
{
- "id": "650cd08b.3ade4",
+ "id": "ad67608d.23d4e",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 2534.3333282470703,
- "y": 383.3333435058594,
- "z": "9455099.1e285f8",
+ "x": 2437.566650390625,
+ "y": 398.99998474121094,
+ "z": "d636c085.d73a1",
"wires": [
[
- "aa3600cc.a7aae8"
+ "3a1dfd90.21e892"
]
]
},
{
- "id": "aa3600cc.a7aae8",
+ "id": "3a1dfd90.21e892",
"type": "outcome",
"name": "vpn-binding",
"xml": "<outcome value='vpn-binding'>\n",
"comments": "",
"outputs": 1,
- "x": 2700.3333282470703,
- "y": 383.3333435058594,
- "z": "9455099.1e285f8",
+ "x": 2603.566650390625,
+ "y": 398.99998474121094,
+ "z": "d636c085.d73a1",
"wires": [
[
- "fb75e488.be7c5"
+ "d3885a9d.410b8"
]
]
},
{
- "id": "fb75e488.be7c5",
+ "id": "d3885a9d.410b8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2863.3333282470703,
- "y": 383.3333435058594,
- "z": "9455099.1e285f8",
+ "x": 2766.566650390625,
+ "y": 398.99998474121094,
+ "z": "d636c085.d73a1",
"wires": [
[
- "2a05bc5b.b08dc4"
+ "943d4b65.0e3ed8"
]
]
},
{
- "id": "e3b2dd80.eef1a8",
+ "id": "5e452d03.7532ac",
"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": 3200.3333282470703,
- "y": 187.33334350585938,
- "z": "9455099.1e285f8",
+ "x": 3103.566650390625,
+ "y": 202.99998474121094,
+ "z": "d636c085.d73a1",
"wires": []
},
{
- "id": "a9ed431c.c281c",
+ "id": "d53b6e96.aa8aa",
"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": 3226.3333282470703,
- "y": 304.3333435058594,
- "z": "9455099.1e285f8",
+ "x": 3129.566650390625,
+ "y": 319.99998474121094,
+ "z": "d636c085.d73a1",
"wires": [
[
- "886463ef.2aa938",
- "42b42c71.803e4c",
- "a6449502.70e2c8"
+ "f7dcf778.7bdca8",
+ "b91a9a3e.7f6078",
+ "2aa7aeb.8d97cd2"
]
]
},
{
- "id": "886463ef.2aa938",
+ "id": "f7dcf778.7bdca8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3421.833450317383,
- "y": 256.3333435058594,
- "z": "9455099.1e285f8",
+ "x": 3325.0667724609375,
+ "y": 271.99998474121094,
+ "z": "d636c085.d73a1",
"wires": [
[
- "c18c6719.20bd2"
+ "859282ad.13c2f8"
]
]
},
{
- "id": "42b42c71.803e4c",
+ "id": "b91a9a3e.7f6078",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3413.833450317383,
- "y": 311.3333435058594,
- "z": "9455099.1e285f8",
+ "x": 3317.0667724609375,
+ "y": 326.99998474121094,
+ "z": "d636c085.d73a1",
"wires": [
[
- "30a99a18.cda186"
+ "6f10df6c.e42f08"
]
]
},
{
- "id": "c18c6719.20bd2",
+ "id": "859282ad.13c2f8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3566.215774536133,
- "y": 255.989013671875,
- "z": "9455099.1e285f8",
+ "x": 3469.4490966796875,
+ "y": 271.65565490722656,
+ "z": "d636c085.d73a1",
"wires": [
[
- "c69e4003.7eb5b8"
+ "a786a7ab.e92098"
]
]
},
{
- "id": "c69e4003.7eb5b8",
+ "id": "a786a7ab.e92098",
"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": 3750.3333282470703,
- "y": 254.33334350585938,
- "z": "9455099.1e285f8",
+ "x": 3653.566650390625,
+ "y": 269.99998474121094,
+ "z": "d636c085.d73a1",
"wires": [
[
- "690e98ca.6414f8"
+ "7f3accce.b227c4"
]
]
},
{
- "id": "690e98ca.6414f8",
+ "id": "7f3accce.b227c4",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 3945.3333282470703,
- "y": 254.33334350585938,
- "z": "9455099.1e285f8",
+ "x": 3848.566650390625,
+ "y": 269.99998474121094,
+ "z": "d636c085.d73a1",
"wires": [
[
- "2770cf70.6b8d58"
+ "19e0629f.42ef95"
]
]
},
{
- "id": "a6449502.70e2c8",
+ "id": "2aa7aeb.8d97cd2",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 3418.833450317383,
- "y": 368.3333435058594,
- "z": "9455099.1e285f8",
+ "x": 3322.0667724609375,
+ "y": 383.99998474121094,
+ "z": "d636c085.d73a1",
"wires": [
[
- "6503d576.73a654"
+ "1ba67878.91583"
]
]
},
{
- "id": "6503d576.73a654",
+ "id": "1ba67878.91583",
"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": 3570.833450317383,
- "y": 369.3333435058594,
- "z": "9455099.1e285f8",
+ "x": 3474.0667724609375,
+ "y": 384.99998474121094,
+ "z": "d636c085.d73a1",
"wires": []
},
{
- "id": "30a99a18.cda186",
+ "id": "6f10df6c.e42f08",
"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": 3581.833450317383,
- "y": 312.3333435058594,
- "z": "9455099.1e285f8",
+ "x": 3485.0667724609375,
+ "y": 327.99998474121094,
+ "z": "d636c085.d73a1",
"wires": []
},
{
- "id": "9068d2cf.278dc8",
+ "id": "15438b5f.4f2f6d",
"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": 4533.33332824707,
- "y": 271.3333435058594,
- "z": "9455099.1e285f8",
+ "x": 4436.566650390625,
+ "y": 286.99998474121094,
+ "z": "d636c085.d73a1",
"wires": [
[
- "1fca2290.06e8dd",
- "c7116ee2.229ee",
- "d17cbdef.3c1178"
+ "297b9c32.2d4884",
+ "7eedc05d.0fcd8",
+ "3b0dcd14.e168c2"
]
]
},
{
- "id": "7354c66b.f20a",
+ "id": "e30d1b98.1b734",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4327.33332824707,
- "y": 258.3333435058594,
- "z": "9455099.1e285f8",
+ "x": 4230.566650390625,
+ "y": 273.99998474121094,
+ "z": "d636c085.d73a1",
"wires": [
[
- "3bcdb5b2.4a3a62",
- "9068d2cf.278dc8",
- "99f73767.79f228"
+ "58f742d9.00369c",
+ "15438b5f.4f2f6d",
+ "fad5fc58.bb076"
]
]
},
{
- "id": "3bcdb5b2.4a3a62",
+ "id": "58f742d9.00369c",
"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": 4563.33332824707,
- "y": 219.33334350585938,
- "z": "9455099.1e285f8",
+ "x": 4466.566650390625,
+ "y": 234.99998474121094,
+ "z": "d636c085.d73a1",
"wires": []
},
{
- "id": "1fca2290.06e8dd",
+ "id": "297b9c32.2d4884",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4743.33332824707,
- "y": 262.3333435058594,
- "z": "9455099.1e285f8",
+ "x": 4646.566650390625,
+ "y": 277.99998474121094,
+ "z": "d636c085.d73a1",
"wires": [
[
- "243ff6d9.66256a"
+ "c10ae523.198538"
]
]
},
{
- "id": "c7116ee2.229ee",
+ "id": "7eedc05d.0fcd8",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 4735.33332824707,
- "y": 317.3333435058594,
- "z": "9455099.1e285f8",
+ "x": 4638.566650390625,
+ "y": 332.99998474121094,
+ "z": "d636c085.d73a1",
"wires": [
[
- "bfdc168b.3ce728"
+ "dce2b694.d3656"
]
]
},
{
- "id": "d17cbdef.3c1178",
+ "id": "3b0dcd14.e168c2",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 4740.33332824707,
- "y": 374.3333435058594,
- "z": "9455099.1e285f8",
+ "x": 4643.566650390625,
+ "y": 389.99998474121094,
+ "z": "d636c085.d73a1",
"wires": [
[
- "77929148.a8a1"
+ "8ca6611c.54635"
]
]
},
{
- "id": "77929148.a8a1",
+ "id": "8ca6611c.54635",
"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": 4892.33332824707,
- "y": 375.3333435058594,
- "z": "9455099.1e285f8",
+ "x": 4795.566650390625,
+ "y": 390.99998474121094,
+ "z": "d636c085.d73a1",
"wires": []
},
{
- "id": "bfdc168b.3ce728",
+ "id": "dce2b694.d3656",
"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": 4903.33332824707,
- "y": 320.3333435058594,
- "z": "9455099.1e285f8",
+ "x": 4806.566650390625,
+ "y": 335.99998474121094,
+ "z": "d636c085.d73a1",
"wires": []
},
{
- "id": "243ff6d9.66256a",
+ "id": "c10ae523.198538",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4887.71565246582,
- "y": 259.989013671875,
- "z": "9455099.1e285f8",
+ "x": 4790.948974609375,
+ "y": 275.65565490722656,
+ "z": "d636c085.d73a1",
"wires": [
[
- "ea25b28e.9d40c"
+ "e4f0bb63.5bbd98"
]
]
},
{
- "id": "2770cf70.6b8d58",
+ "id": "19e0629f.42ef95",
"type": "outcome",
"name": "esr-thirdparty-sdnc",
"xml": "<outcome value='esr-thirdparty-sdnc'>\n",
"comments": "",
"outputs": 1,
- "x": 4148.33332824707,
- "y": 258.3333435058594,
- "z": "9455099.1e285f8",
+ "x": 4051.566650390625,
+ "y": 273.99998474121094,
+ "z": "d636c085.d73a1",
"wires": [
[
- "7354c66b.f20a"
+ "e30d1b98.1b734"
]
]
},
{
- "id": "ea25b28e.9d40c",
+ "id": "e4f0bb63.5bbd98",
"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": 5102.33332824707,
- "y": 256.3333435058594,
- "z": "9455099.1e285f8",
+ "x": 5005.566650390625,
+ "y": 271.99998474121094,
+ "z": "d636c085.d73a1",
"wires": []
},
{
- "id": "99f73767.79f228",
+ "id": "fad5fc58.bb076",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 4483.33332824707,
- "y": 335.3333435058594,
- "z": "9455099.1e285f8",
- "wires": []
- },
- {
- "id": "774630ef.e09c58",
- "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": 3350.3333282470703,
- "y": 602.3333435058594,
- "z": "9455099.1e285f8",
- "wires": [
- [
- "8a18cee3.35ffe",
- "99cc1156.473278"
- ]
- ]
- },
- {
- "id": "8a18cee3.35ffe",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3693.8333282470703,
- "y": 597.3333435058594,
- "z": "9455099.1e285f8",
- "wires": [
- [
- "a2ed508f.5c119"
- ]
- ]
- },
- {
- "id": "99cc1156.473278",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3697.8333282470703,
- "y": 637.3333435058594,
- "z": "9455099.1e285f8",
- "wires": [
- [
- "912161a0.cf7bf"
- ]
- ]
- },
- {
- "id": "912161a0.cf7bf",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3855.3333282470703,
- "y": 637.3333435058594,
- "z": "9455099.1e285f8",
- "wires": [
- []
- ]
- },
- {
- "id": "a2ed508f.5c119",
- "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": 3851.8333282470703,
- "y": 597.3333435058594,
- "z": "9455099.1e285f8",
+ "x": 4386.566650390625,
+ "y": 350.99998474121094,
+ "z": "d636c085.d73a1",
"wires": []
},
{
- "id": "3eed71af.4521b6",
+ "id": "67de0813.c55918",
"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": 3326.3333282470703,
- "y": 477.3333435058594,
- "z": "9455099.1e285f8",
+ "x": 3229.566650390625,
+ "y": 492.99998474121094,
+ "z": "d636c085.d73a1",
"wires": []
},
{
- "id": "d4052d30.ad8718",
+ "id": "518fe175.a505a8",
"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": 3256.3333282470703,
- "y": 912.3333435058594,
- "z": "9455099.1e285f8",
+ "x": 3169.5667724609375,
+ "y": 1148.9999237060547,
+ "z": "d636c085.d73a1",
"wires": [
[]
]
},
{
- "id": "fddd2ea9.355138",
+ "id": "df0df658.a887a",
"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": 3252.3333282470703,
- "y": 956.3333435058594,
- "z": "9455099.1e285f8",
+ "x": 3165.5667724609375,
+ "y": 1192.9999237060547,
+ "z": "d636c085.d73a1",
"wires": [
[]
]
},
{
- "id": "81312607.6bb828",
- "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",
+ "id": "1a0c1f4d.51b981",
+ "type": "switchNode",
+ "name": "switch connectivity has ethernet service",
+ "xml": "<switch test='`$tmp.aai.connectivity.etht-svc-name`'>\n",
"comments": "",
"outputs": 1,
- "x": 3836.3333282470703,
- "y": 776.3333435058594,
- "z": "9455099.1e285f8",
+ "x": 3188.566650390625,
+ "y": 808.9999847412109,
+ "z": "d636c085.d73a1",
"wires": [
[
- "cd905ee1.eaa9b8",
- "3271c447.28d454"
+ "e3688e85.c3b",
+ "622706a9.cb2ed8"
]
]
},
{
- "id": "3271c447.28d454",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
+ "id": "622706a9.cb2ed8",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 4102.33332824707,
- "y": 756.3333435058594,
- "z": "9455099.1e285f8",
+ "x": 3426.566650390625,
+ "y": 791.9999847412109,
+ "z": "d636c085.d73a1",
"wires": [
[
- "e043f0ae.c34d08"
+ "ab255dec.d38548"
]
]
},
{
- "id": "cd905ee1.eaa9b8",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
+ "id": "e3688e85.c3b",
+ "type": "outcome",
+ "name": "Null",
+ "xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 4103.333541870117,
- "y": 807.3332529067993,
- "z": "9455099.1e285f8",
+ "x": 3438.566650390625,
+ "y": 858.9999847412109,
+ "z": "d636c085.d73a1",
"wires": [
- [
- "a5def9d3.538c"
- ]
+ []
]
},
{
- "id": "e043f0ae.c34d08",
- "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",
+ "id": "ab255dec.d38548",
+ "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.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": "",
- "x": 4242.333576202393,
- "y": 756.3333444595337,
- "z": "9455099.1e285f8",
- "wires": []
+ "outputs": 1,
+ "x": 3801.900146484375,
+ "y": 781.6000213623047,
+ "z": "d636c085.d73a1",
+ "wires": [
+ [
+ "63e51e3.aa5156",
+ "5038fd41.e83c2c"
+ ]
+ ]
},
{
- "id": "a5def9d3.538c",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
+ "id": "63e51e3.aa5156",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4248.3605880737305,
- "y": 805.0787382125854,
- "z": "9455099.1e285f8",
+ "x": 4145.666748046875,
+ "y": 756.6000213623047,
+ "z": "d636c085.d73a1",
"wires": [
[]
]
},
{
- "id": "9f2982f0.62eef8",
- "type": "switchNode",
- "name": "switch connectivity has ethernet service",
- "xml": "<switch test='`$tmp.aai.connectivity.etht-svc-name`'>\n",
+ "id": "5038fd41.e83c2c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3285.3333282470703,
- "y": 793.3333435058594,
- "z": "9455099.1e285f8",
+ "x": 4146.666961669922,
+ "y": 807.5999307632446,
+ "z": "d636c085.d73a1",
"wires": [
[
- "e2b757bb.931bf8",
- "73b037b.7f08a48"
+ "3bc9737b.ab47c4"
]
]
},
{
- "id": "73b037b.7f08a48",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
+ "id": "3bc9737b.ab47c4",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3523.3333282470703,
- "y": 776.3333435058594,
- "z": "9455099.1e285f8",
+ "x": 4291.694007873535,
+ "y": 805.3454160690308,
+ "z": "d636c085.d73a1",
"wires": [
[
- "81312607.6bb828"
+ "cda2227f.a4536"
]
]
},
{
- "id": "e2b757bb.931bf8",
- "type": "outcome",
- "name": "Null",
- "xml": "<outcome value=''>\n",
+ "id": "cda2227f.a4536",
+ "type": "execute",
+ "name": "execute Terminate Periodic Pull Connection",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfdiscovery.PeriodicDiscoveryNode' method='deleteSubscription' >\n<parameter name=\"subscriberId\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url`\" />\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.cll-terminate-notification.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/operations/ietf-subscribed-notifications:delete-subscription'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"dirPath\" value=\"/opt/sdnc/restconfapi/yang/notification\" />\n<parameter name=\"format\" value=\"json\" />\n<parameter name=\"httpMethod\" value=\"post\" />\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=x-ik2ps4ikvzupbx0486ft1ebzs7rt85futh9ho6eofy3wjsap7wqktemlqm4bbsmnar3vrtbyrzukbv5itd6m1cftldpjarnyle3sdcqq9hftc4lebz464b5ffxmlbvg9\" />-->\n<parameter name=\"module\" value=\"GENERIC-RESOURCE-API\" />\n<parameter name=\"rpc\" value=\"p2p-vnf-topology-operation-p2p-callbackdg-notification\" />\n<parameter name=\"version\" value=\"`$project.version`\" />\n<parameter name=\"mode\" value=\"sync\" />\n<parameter name=\"responsePrefix\" value=\"restapi-result\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3535.3333282470703,
- "y": 843.3333435058594,
- "z": "9455099.1e285f8",
+ "x": 4563.933837890625,
+ "y": 812.566650390625,
+ "z": "d636c085.d73a1",
"wires": [
[]
]