[\r
{\r
- "id": "fed3eb51.781ac8",\r
+ "id": "35adbdc5.188712",\r
"type": "dgstart",\r
"name": "DGSTART",\r
"outputs": 1,\r
- "x": 131,\r
- "y": 81,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 151,\r
+ "y": 71,\r
+ "z": "429f9ba7.310ba4",\r
"wires": [\r
[\r
- "d2a4ea36.881b68"\r
+ "4297efa6.c41f88"\r
]\r
]\r
},\r
{\r
- "id": "d2a4ea36.881b68",\r
+ "id": "4297efa6.c41f88",\r
"type": "service-logic",\r
"name": "GENERIC-RESOURCE-API ${project.version}",\r
"module": "GENERIC-RESOURCE-API",\r
"comments": "",\r
"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}'>",\r
"outputs": 1,\r
- "x": 262.2856903076172,\r
- "y": 130.23810863494873,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 282.2856903076172,\r
+ "y": 120.23810863494873,\r
+ "z": "429f9ba7.310ba4",\r
"wires": [\r
[\r
- "7b1236d6.83c2c"\r
+ "2ad96203.21cf3e"\r
]\r
]\r
},\r
{\r
- "id": "7b1236d6.83c2c",\r
+ "id": "2ad96203.21cf3e",\r
"type": "method",\r
"name": "method tsli-vnf-topology-operation-trans-slice-deactivate",\r
"xml": "<method rpc='tsli-vnf-topology-operation-trans-slice-deactivate' mode='sync'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 265.4286193847656,\r
- "y": 215.00003242492676,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 285.4286193847656,\r
+ "y": 205.00003242492676,\r
+ "z": "429f9ba7.310ba4",\r
"wires": [\r
[\r
- "8228a949.234f38"\r
+ "c5e49e9b.1b684"\r
]\r
]\r
},\r
{\r
- "id": "8228a949.234f38",\r
+ "id": "c5e49e9b.1b684",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 415.238037109375,\r
- "y": 344.6666564941406,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 435.238037109375,\r
+ "y": 334.6666564941406,\r
+ "z": "429f9ba7.310ba4",\r
"wires": [\r
[\r
- "341b32a3.25428e",\r
- "1a6e5da0.98eb02",\r
- "e5c8285b.2b695"\r
+ "10e90581.65923a",\r
+ "8d427e09.40c998",\r
+ "2dc96b18.12e1c4"\r
]\r
]\r
},\r
{\r
- "id": "341b32a3.25428e",\r
+ "id": "10e90581.65923a",\r
"type": "returnSuccess",\r
"name": "return success",\r
"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",\r
"comments": "",\r
- "x": 689.5716552734375,\r
- "y": 611.59716796875,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 709.5716552734375,\r
+ "y": 601.59716796875,\r
+ "z": "429f9ba7.310ba4",\r
"wires": []\r
},\r
{\r
- "id": "f743b3f1.72f9f",\r
+ "id": "dce41eb4.903f08",\r
"type": "comment",\r
"name": "new for TransportSlicing",\r
"info": "",\r
"comments": "",\r
- "x": 721,\r
- "y": 286,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 741,\r
+ "y": 276,\r
+ "z": "429f9ba7.310ba4",\r
"wires": []\r
},\r
{\r
- "id": "1a6e5da0.98eb02",\r
+ "id": "8d427e09.40c998",\r
"type": "save",\r
"name": "get service-instance from aai",\r
"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-->",\r
"comments": "",\r
"outputs": 1,\r
- "x": 741,\r
- "y": 382,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 761,\r
+ "y": 372,\r
+ "z": "429f9ba7.310ba4",\r
"wires": [\r
[\r
- "2976ce78.f07a42",\r
- "de3912b8.6d67e",\r
- "77b5fc18.2082a4"\r
+ "97ab3694.d0f87",\r
+ "60789fd.ed86ae",\r
+ "353d8e4b.1a199a"\r
]\r
]\r
},\r
{\r
- "id": "2976ce78.f07a42",\r
+ "id": "97ab3694.d0f87",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 960,\r
- "y": 320,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 980,\r
+ "y": 310,\r
+ "z": "429f9ba7.310ba4",\r
"wires": [\r
[\r
- "7ee13e19.7c1348"\r
+ "8832c029.be5808"\r
]\r
]\r
},\r
{\r
- "id": "de3912b8.6d67e",\r
+ "id": "60789fd.ed86ae",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 969.490966796875,\r
- "y": 362.57403564453125,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 989.490966796875,\r
+ "y": 352.57403564453125,\r
+ "z": "429f9ba7.310ba4",\r
"wires": [\r
[\r
- "4a305009.90c32"\r
+ "2dd666f1.60f502"\r
]\r
]\r
},\r
{\r
- "id": "77b5fc18.2082a4",\r
+ "id": "353d8e4b.1a199a",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 958,\r
- "y": 409,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 978,\r
+ "y": 399,\r
+ "z": "429f9ba7.310ba4",\r
"wires": [\r
[\r
- "cd4775e4.2da96"\r
+ "2d743c83.0345fc"\r
]\r
]\r
},\r
{\r
- "id": "4a305009.90c32",\r
+ "id": "2dd666f1.60f502",\r
"type": "returnFailure",\r
"name": "return failure",\r
"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",\r
"comments": "",\r
- "x": 1123.0623779296875,\r
- "y": 365.8597717285156,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 1143.0623779296875,\r
+ "y": 355.8597717285156,\r
+ "z": "429f9ba7.310ba4",\r
"wires": []\r
},\r
{\r
- "id": "cd4775e4.2da96",\r
+ "id": "2d743c83.0345fc",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
"comments": "",\r
- "x": 1127,\r
- "y": 410,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 1147,\r
+ "y": 400,\r
+ "z": "429f9ba7.310ba4",\r
"wires": []\r
},\r
{\r
- "id": "7ee13e19.7c1348",\r
+ "id": "8832c029.be5808",\r
"type": "for",\r
"name": "for each relationship",\r
"xml": "<for index='rel-index' start='0' end='`$tmp.aai.service-instance.relationship-list.relationship_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1157,\r
- "y": 316,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 1177,\r
+ "y": 306,\r
+ "z": "429f9ba7.310ba4",\r
"wires": [\r
[\r
- "bc03982b.15ba78"\r
+ "16acb367.7a1ddd"\r
]\r
]\r
},\r
{\r
- "id": "bc03982b.15ba78",\r
+ "id": "16acb367.7a1ddd",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.aai.service-instance.relationship-list.relationship[$rel-index].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1380.33349609375,\r
- "y": 315.99993896484375,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 1400.33349609375,\r
+ "y": 305.99993896484375,\r
+ "z": "429f9ba7.310ba4",\r
"wires": [\r
[\r
- "aca4b74a.cb3118"\r
+ "a7a6102a.ba70f"\r
]\r
]\r
},\r
{\r
- "id": "aca4b74a.cb3118",\r
+ "id": "a7a6102a.ba70f",\r
"type": "outcome",\r
"name": "connectivity",\r
"xml": "<outcome value='connectivity'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1581.0001335144043,\r
- "y": 317.00002098083496,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 1601.0001335144043,\r
+ "y": 307.00002098083496,\r
+ "z": "429f9ba7.310ba4",\r
"wires": [\r
[\r
- "2544f612.eeddca"\r
+ "792a8c98.1e353c"\r
]\r
]\r
},\r
{\r
- "id": "e5c8285b.2b695",\r
+ "id": "2dc96b18.12e1c4",\r
"type": "execute",\r
"name": "execute properties",\r
"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' />",\r
"comments": "",\r
"outputs": 1,\r
- "x": 707,\r
- "y": 330,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 727,\r
+ "y": 320,\r
+ "z": "429f9ba7.310ba4",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "2544f612.eeddca",\r
+ "id": "792a8c98.1e353c",\r
"type": "save",\r
"name": "get connectivity from aai",\r
"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",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1819,\r
- "y": 319,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 1839,\r
+ "y": 309,\r
+ "z": "429f9ba7.310ba4",\r
"wires": [\r
[\r
- "75c7fde8.1d4a84",\r
- "563ee44e.bd096c",\r
- "bc425b5.1b1fba8"\r
+ "e0088aed.90cab8",\r
+ "1c511732.20d971",\r
+ "948f74b1.a9b47"\r
]\r
]\r
},\r
{\r
- "id": "75c7fde8.1d4a84",\r
+ "id": "e0088aed.90cab8",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2027,\r
- "y": 283,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 2047,\r
+ "y": 273,\r
+ "z": "429f9ba7.310ba4",\r
"wires": [\r
[\r
- "e6a3b8f2.9e7b38"\r
+ "a90c3215.92b4f8"\r
]\r
]\r
},\r
{\r
- "id": "563ee44e.bd096c",\r
+ "id": "1c511732.20d971",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2027.490966796875,\r
- "y": 328.57403564453125,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 2047.490966796875,\r
+ "y": 318.57403564453125,\r
+ "z": "429f9ba7.310ba4",\r
"wires": [\r
[\r
- "ad15182e.154a8"\r
+ "4591cc1.5281eb4"\r
]\r
]\r
},\r
{\r
- "id": "bc425b5.1b1fba8",\r
+ "id": "948f74b1.a9b47",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2025,\r
- "y": 372,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 2045,\r
+ "y": 362,\r
+ "z": "429f9ba7.310ba4",\r
"wires": [\r
[\r
- "8719a717.3cd9f8"\r
+ "1ba65af4.0c86f5"\r
]\r
]\r
},\r
{\r
- "id": "ad15182e.154a8",\r
+ "id": "4591cc1.5281eb4",\r
"type": "returnFailure",\r
"name": "return failure",\r
"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",\r
"comments": "",\r
- "x": 2190.0623779296875,\r
- "y": 328.8597717285156,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 2210.0623779296875,\r
+ "y": 318.8597717285156,\r
+ "z": "429f9ba7.310ba4",\r
"wires": []\r
},\r
{\r
- "id": "8719a717.3cd9f8",\r
+ "id": "1ba65af4.0c86f5",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
"comments": "",\r
- "x": 2194,\r
- "y": 373,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 2214,\r
+ "y": 363,\r
+ "z": "429f9ba7.310ba4",\r
"wires": []\r
},\r
{\r
- "id": "c776a79f.7f2db",\r
+ "id": "782d486c.7b38a",\r
"type": "save",\r
"name": "get vpn-binding from aai",\r
"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",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2500,\r
- "y": 372,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 2520,\r
+ "y": 362,\r
+ "z": "429f9ba7.310ba4",\r
"wires": [\r
[\r
- "b403a898.9fbc18",\r
- "5d1a47a8.0dfe7",\r
- "f3733135.d8a078"\r
+ "15707889.fb5fe7",\r
+ "3ccb184b.88e97",\r
+ "5e6c2e34.e2f08"\r
]\r
]\r
},\r
{\r
- "id": "c765be65.0f488",\r
+ "id": "d4d2edf0.a9661",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 2884,\r
- "y": 372,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 2904,\r
+ "y": 362,\r
+ "z": "429f9ba7.310ba4",\r
"wires": [\r
[\r
- "e9922fb9.764098",\r
- "eef29d57.4c4228",\r
- "952ea8f1.7bda",\r
- "14a01812.a7d138"\r
+ "c5e1a2b5.98a7e",\r
+ "2ecd6ddc.b6312a",\r
+ "ac181d39.64071",\r
+ "31912d21.99f9da"\r
]\r
]\r
},\r
{\r
- "id": "b403a898.9fbc18",\r
+ "id": "15707889.fb5fe7",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2711,\r
- "y": 374,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 2731,\r
+ "y": 364,\r
+ "z": "429f9ba7.310ba4",\r
"wires": [\r
[\r
- "c765be65.0f488"\r
+ "d4d2edf0.a9661"\r
]\r
]\r
},\r
{\r
- "id": "5d1a47a8.0dfe7",\r
+ "id": "3ccb184b.88e97",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2711.490966796875,\r
- "y": 419.57403564453125,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 2731.490966796875,\r
+ "y": 409.57403564453125,\r
+ "z": "429f9ba7.310ba4",\r
"wires": [\r
[\r
- "1295f1fa.69cac6"\r
+ "3858d983.a7895e"\r
]\r
]\r
},\r
{\r
- "id": "f3733135.d8a078",\r
+ "id": "5e6c2e34.e2f08",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2709,\r
- "y": 463,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 2729,\r
+ "y": 453,\r
+ "z": "429f9ba7.310ba4",\r
"wires": [\r
[\r
- "6ac7a77b.f5232"\r
+ "399a5685.b9c2da"\r
]\r
]\r
},\r
{\r
- "id": "6ac7a77b.f5232",\r
+ "id": "399a5685.b9c2da",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
"comments": "",\r
- "x": 2876,\r
- "y": 462,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 2896,\r
+ "y": 452,\r
+ "z": "429f9ba7.310ba4",\r
"wires": []\r
},\r
{\r
- "id": "1295f1fa.69cac6",\r
+ "id": "3858d983.a7895e",\r
"type": "returnFailure",\r
"name": "return failure",\r
"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",\r
"comments": "",\r
- "x": 2874.0623779296875,\r
- "y": 419.8597717285156,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 2894.0623779296875,\r
+ "y": 409.8597717285156,\r
+ "z": "429f9ba7.310ba4",\r
"wires": []\r
},\r
{\r
- "id": "e6a3b8f2.9e7b38",\r
+ "id": "a90c3215.92b4f8",\r
"type": "for",\r
"name": "for each relationship",\r
"xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2228,\r
- "y": 278,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 2248,\r
+ "y": 268,\r
+ "z": "429f9ba7.310ba4",\r
"wires": [\r
[\r
- "d8c7aa6c.9474d"\r
+ "3cc76d7e.6842ea"\r
]\r
]\r
},\r
{\r
- "id": "d8c7aa6c.9474d",\r
+ "id": "3cc76d7e.6842ea",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2433,\r
- "y": 278,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 2453,\r
+ "y": 268,\r
+ "z": "429f9ba7.310ba4",\r
"wires": [\r
[\r
- "6afd9b1f.24ad3c"\r
+ "ff010487.c79c18"\r
]\r
]\r
},\r
{\r
- "id": "6afd9b1f.24ad3c",\r
+ "id": "ff010487.c79c18",\r
"type": "outcome",\r
"name": "vpn-binding",\r
"xml": "<outcome value='vpn-binding'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2599,\r
- "y": 278,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 2619,\r
+ "y": 268,\r
+ "z": "429f9ba7.310ba4",\r
"wires": [\r
[\r
- "489d615f.74d2b8"\r
+ "157282a.839557d"\r
]\r
]\r
},\r
{\r
- "id": "489d615f.74d2b8",\r
+ "id": "157282a.839557d",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 2762,\r
- "y": 278,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 2782,\r
+ "y": 268,\r
+ "z": "429f9ba7.310ba4",\r
"wires": [\r
[\r
- "c776a79f.7f2db"\r
+ "782d486c.7b38a"\r
]\r
]\r
},\r
{\r
- "id": "e9922fb9.764098",\r
+ "id": "c5e1a2b5.98a7e",\r
"type": "set",\r
"name": "set pnf-name",\r
"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",\r
"comments": "",\r
- "x": 3099,\r
- "y": 82,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 3119,\r
+ "y": 72,\r
+ "z": "429f9ba7.310ba4",\r
"wires": []\r
},\r
{\r
- "id": "eef29d57.4c4228",\r
+ "id": "2ecd6ddc.b6312a",\r
"type": "get-resource",\r
"name": "get-resource src pnf",\r
"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",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3125,\r
- "y": 199,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 3145,\r
+ "y": 189,\r
+ "z": "429f9ba7.310ba4",\r
"wires": [\r
[\r
- "e1caf9b0.f16ef",\r
- "8ba822ff.3c855",\r
- "3e54396e.89bb66"\r
+ "ca0e4afa.297db8",\r
+ "cbb19a06.cce2d",\r
+ "10037902.a01617"\r
]\r
]\r
},\r
{\r
- "id": "e1caf9b0.f16ef",\r
+ "id": "ca0e4afa.297db8",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3320.5001220703125,\r
- "y": 151,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 3340.5001220703125,\r
+ "y": 141,\r
+ "z": "429f9ba7.310ba4",\r
"wires": [\r
[\r
- "12b4a6a1.bdd529"\r
+ "82598cca.05691"\r
]\r
]\r
},\r
{\r
- "id": "8ba822ff.3c855",\r
+ "id": "cbb19a06.cce2d",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3312.5001220703125,\r
- "y": 206,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 3332.5001220703125,\r
+ "y": 196,\r
+ "z": "429f9ba7.310ba4",\r
"wires": [\r
[\r
- "6aa3fcb.c3a6c84"\r
+ "3a772cbc.39a31c"\r
]\r
]\r
},\r
{\r
- "id": "12b4a6a1.bdd529",\r
+ "id": "82598cca.05691",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3464.8824462890625,\r
- "y": 150.65567016601562,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 3484.8824462890625,\r
+ "y": 140.65567016601562,\r
+ "z": "429f9ba7.310ba4",\r
"wires": [\r
[\r
- "8559d2a.befa2b"\r
+ "b1b02bec.6d78a8"\r
]\r
]\r
},\r
{\r
- "id": "8559d2a.befa2b",\r
+ "id": "b1b02bec.6d78a8",\r
"type": "for",\r
"name": "for each relationship",\r
"xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3649,\r
- "y": 149,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 3669,\r
+ "y": 139,\r
+ "z": "429f9ba7.310ba4",\r
"wires": [\r
[\r
- "a2c1ad39.50b17"\r
+ "cda97533.ab0b4"\r
]\r
]\r
},\r
{\r
- "id": "a2c1ad39.50b17",\r
+ "id": "cda97533.ab0b4",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3844,\r
- "y": 149,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 3864,\r
+ "y": 139,\r
+ "z": "429f9ba7.310ba4",\r
"wires": [\r
[\r
- "f7ee255a.8640e"\r
+ "60c8c7.3864ef38"\r
]\r
]\r
},\r
{\r
- "id": "3e54396e.89bb66",\r
+ "id": "10037902.a01617",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3317.5001220703125,\r
- "y": 263,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 3337.5001220703125,\r
+ "y": 253,\r
+ "z": "429f9ba7.310ba4",\r
"wires": [\r
[\r
- "ff13ab9d.2deb7"\r
+ "cae2235d.64e0e8"\r
]\r
]\r
},\r
{\r
- "id": "ff13ab9d.2deb7",\r
+ "id": "cae2235d.64e0e8",\r
"type": "returnFailure",\r
"name": "return failure",\r
"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",\r
"comments": "",\r
- "x": 3469.5001220703125,\r
- "y": 264,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 3489.5001220703125,\r
+ "y": 254,\r
+ "z": "429f9ba7.310ba4",\r
"wires": []\r
},\r
{\r
- "id": "6aa3fcb.c3a6c84",\r
+ "id": "3a772cbc.39a31c",\r
"type": "returnFailure",\r
"name": "return failure",\r
"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",\r
"comments": "",\r
- "x": 3480.5001220703125,\r
- "y": 207,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 3500.5001220703125,\r
+ "y": 197,\r
+ "z": "429f9ba7.310ba4",\r
"wires": []\r
},\r
{\r
- "id": "d85cad49.e7fe3",\r
+ "id": "3932cb1e.2bf12c",\r
"type": "execute",\r
"name": "get esr-thirdparty-sdnc",\r
"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' >",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4432,\r
- "y": 166,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 4452,\r
+ "y": 156,\r
+ "z": "429f9ba7.310ba4",\r
"wires": [\r
[\r
- "5b32aba.7fc39d4",\r
- "43d71291.c727fc",\r
- "6b05861c.156668"\r
+ "df685905.e165b",\r
+ "98483c83.1f67f",\r
+ "34f5861b.c6c222"\r
]\r
]\r
},\r
{\r
- "id": "98badb93.a08c9",\r
+ "id": "9b3be3e2.33ea88",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4226,\r
- "y": 153,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 4246,\r
+ "y": 143,\r
+ "z": "429f9ba7.310ba4",\r
"wires": [\r
[\r
- "48966cee.55dba4",\r
- "d85cad49.e7fe3",\r
- "ee878ee.4f8847"\r
+ "8f73936e.04261",\r
+ "3932cb1e.2bf12c",\r
+ "dea89443.748068"\r
]\r
]\r
},\r
{\r
- "id": "48966cee.55dba4",\r
+ "id": "8f73936e.04261",\r
"type": "set",\r
"name": "set esr-thirdparty-sdnc domain id",\r
"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",\r
"comments": "",\r
- "x": 4462,\r
- "y": 114,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 4482,\r
+ "y": 104,\r
+ "z": "429f9ba7.310ba4",\r
"wires": []\r
},\r
{\r
- "id": "5b32aba.7fc39d4",\r
+ "id": "df685905.e165b",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4642,\r
- "y": 157,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 4662,\r
+ "y": 147,\r
+ "z": "429f9ba7.310ba4",\r
"wires": [\r
[\r
- "20fc8e76.a69222"\r
+ "6f3db9ae.c9f3c"\r
]\r
]\r
},\r
{\r
- "id": "43d71291.c727fc",\r
+ "id": "98483c83.1f67f",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4634,\r
- "y": 212,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 4654,\r
+ "y": 202,\r
+ "z": "429f9ba7.310ba4",\r
"wires": [\r
[\r
- "51e97aab.2d7044"\r
+ "deb93f9d.19a93"\r
]\r
]\r
},\r
{\r
- "id": "6b05861c.156668",\r
+ "id": "34f5861b.c6c222",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4639,\r
- "y": 269,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 4659,\r
+ "y": 259,\r
+ "z": "429f9ba7.310ba4",\r
"wires": [\r
[\r
- "ef0b1a78.fffea8"\r
+ "e2596edd.60dea"\r
]\r
]\r
},\r
{\r
- "id": "ef0b1a78.fffea8",\r
+ "id": "e2596edd.60dea",\r
"type": "returnFailure",\r
"name": "return failure",\r
"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",\r
"comments": "",\r
- "x": 4791,\r
- "y": 270,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 4811,\r
+ "y": 260,\r
+ "z": "429f9ba7.310ba4",\r
"wires": []\r
},\r
{\r
- "id": "51e97aab.2d7044",\r
+ "id": "deb93f9d.19a93",\r
"type": "returnFailure",\r
"name": "return failure",\r
"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",\r
"comments": "",\r
- "x": 4802,\r
- "y": 215,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 4822,\r
+ "y": 205,\r
+ "z": "429f9ba7.310ba4",\r
"wires": []\r
},\r
{\r
- "id": "20fc8e76.a69222",\r
+ "id": "6f3db9ae.c9f3c",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4786.38232421875,\r
- "y": 154.65567016601562,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 4806.38232421875,\r
+ "y": 144.65567016601562,\r
+ "z": "429f9ba7.310ba4",\r
"wires": [\r
[\r
- "a8dfc05f.e2f018"\r
+ "ba0d3a6b.6f8058"\r
]\r
]\r
},\r
{\r
- "id": "f7ee255a.8640e",\r
+ "id": "60c8c7.3864ef38",\r
"type": "outcome",\r
"name": "esr-thirdparty-sdnc",\r
"xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4047,\r
- "y": 153,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 4067,\r
+ "y": 143,\r
+ "z": "429f9ba7.310ba4",\r
"wires": [\r
[\r
- "98badb93.a08c9"\r
+ "9b3be3e2.33ea88"\r
]\r
]\r
},\r
{\r
- "id": "a8dfc05f.e2f018",\r
+ "id": "ba0d3a6b.6f8058",\r
"type": "set",\r
"name": "set controller domain data",\r
"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",\r
"comments": "",\r
- "x": 5001,\r
- "y": 151,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 5021,\r
+ "y": 141,\r
+ "z": "429f9ba7.310ba4",\r
"wires": []\r
},\r
{\r
- "id": "ee878ee.4f8847",\r
+ "id": "dea89443.748068",\r
"type": "break",\r
"name": "break",\r
"xml": "<break>\n",\r
"comments": "",\r
- "x": 4382,\r
- "y": 230,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 4402,\r
+ "y": 220,\r
+ "z": "429f9ba7.310ba4",\r
"wires": []\r
},\r
{\r
- "id": "952ea8f1.7bda",\r
+ "id": "ebf8dd2b.b4f9e8",\r
"type": "execute",\r
"name": "execute RestApiCallNode Delete ethernet Service without token",\r
- "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/eth-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",\r
+ "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",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3255,\r
- "y": 594,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 3780,\r
+ "y": 569,\r
+ "z": "429f9ba7.310ba4",\r
"wires": [\r
[\r
- "d9dc02b.5b9308",\r
- "f01b6c55.209f38"\r
+ "aec92995.7e9f5",\r
+ "4c597ddc.e2cc64"\r
]\r
]\r
},\r
{\r
- "id": "d9dc02b.5b9308",\r
+ "id": "aec92995.7e9f5",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3601.5,\r
- "y": 587,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 4126.5,\r
+ "y": 562,\r
+ "z": "429f9ba7.310ba4",\r
"wires": [\r
[\r
- "174c3f65.a9f0e1"\r
+ "1a195df1.8c796a"\r
]\r
]\r
},\r
{\r
- "id": "f01b6c55.209f38",\r
+ "id": "4c597ddc.e2cc64",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3605.5,\r
- "y": 627,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 4130.5,\r
+ "y": 602,\r
+ "z": "429f9ba7.310ba4",\r
"wires": [\r
[\r
- "de16161.028de68"\r
+ "5902bc86.ae718c"\r
]\r
]\r
},\r
{\r
- "id": "de16161.028de68",\r
+ "id": "5902bc86.ae718c",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3763,\r
- "y": 627,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 4288,\r
+ "y": 602,\r
+ "z": "429f9ba7.310ba4",\r
"wires": [\r
[\r
- "1a3ebd6b.2a7953",\r
- "30c3e280.4d41f6"\r
+ "a5eabc9d.2ead",\r
+ "845fd62d.b8a278"\r
]\r
]\r
},\r
{\r
- "id": "174c3f65.a9f0e1",\r
+ "id": "1a195df1.8c796a",\r
"type": "returnFailure",\r
"name": "return failure",\r
- "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 Create vpn rest api\" />\n",\r
+ "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",\r
"comments": "",\r
- "x": 3759.5,\r
- "y": 587,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 4284.5,\r
+ "y": 562,\r
+ "z": "429f9ba7.310ba4",\r
"wires": []\r
},\r
{\r
- "id": "1a3ebd6b.2a7953",\r
+ "id": "a5eabc9d.2ead",\r
"type": "save",\r
- "name": "update vpn-binding A resource (aka. OTN domainA) in AAI",\r
- "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",\r
+ "name": "update vpn-binding resource (aka. OTN domainA) in AAI",\r
+ "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",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4091.5,\r
- "y": 627,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 4616.5,\r
+ "y": 602,\r
+ "z": "429f9ba7.310ba4",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "30c3e280.4d41f6",\r
+ "id": "845fd62d.b8a278",\r
"type": "save",\r
"name": "update connectivity resource in AAI",\r
"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",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4018.5,\r
- "y": 673,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 4543.5,\r
+ "y": 648,\r
+ "z": "429f9ba7.310ba4",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "14a01812.a7d138",\r
+ "id": "ac181d39.64071",\r
"type": "execute",\r
- "name": "execute RestApiCallNode Create OTN tunnel with token",\r
- "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.domainA.url + '/restconf/data/ietf-te:te/tunnels/tunnel=' + $tmp.aai.vpn-binding.vpn-id`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.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`\" />",\r
+ "name": "execute RestApiCallNode Delete OTN tunnel with token",\r
+ "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`\" />",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3228,\r
- "y": 466,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 3248,\r
+ "y": 456,\r
+ "z": "429f9ba7.310ba4",\r
"wires": [\r
[\r
- "8e721e50.020db",\r
- "8f6c71d1.f7e258"\r
+ "2d9a43b7.aafd44",\r
+ "70183a3.2a6c244"\r
]\r
]\r
},\r
{\r
- "id": "8e721e50.020db",\r
+ "id": "2d9a43b7.aafd44",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3560.5,\r
- "y": 436,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 3580.5,\r
+ "y": 426,\r
+ "z": "429f9ba7.310ba4",\r
"wires": [\r
[\r
- "b94a74e8.509ec"\r
+ "2ca3b71b.283058"\r
]\r
]\r
},\r
{\r
- "id": "8f6c71d1.f7e258",\r
+ "id": "70183a3.2a6c244",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3565.5,\r
- "y": 501,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 3585.5,\r
+ "y": 491,\r
+ "z": "429f9ba7.310ba4",\r
"wires": [\r
[\r
- "e36acb2.364b538"\r
+ "7560af7d.2c0028"\r
]\r
]\r
},\r
{\r
- "id": "b94a74e8.509ec",\r
+ "id": "2ca3b71b.283058",\r
"type": "returnFailure",\r
"name": "return failure",\r
- "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 Create vpn rest api\" />\n",\r
+ "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",\r
"comments": "",\r
- "x": 3736.5,\r
- "y": 436,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 3756.5,\r
+ "y": 426,\r
+ "z": "429f9ba7.310ba4",\r
"wires": []\r
},\r
{\r
- "id": "e36acb2.364b538",\r
+ "id": "7560af7d.2c0028",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3732,\r
- "y": 501,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 3752,\r
+ "y": 491,\r
+ "z": "429f9ba7.310ba4",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "31912d21.99f9da",\r
+ "type": "switchNode",\r
+ "name": "switch connectivity has ethernet service",\r
+ "xml": "<switch test='`$tmp.aai.connectivity.etht-svc-name`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3186,\r
+ "y": 591,\r
+ "z": "429f9ba7.310ba4",\r
+ "wires": [\r
+ [\r
+ "8e1bec91.730a68",\r
+ "6d4b827f.139444"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "6d4b827f.139444",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3439,\r
+ "y": 569,\r
+ "z": "429f9ba7.310ba4",\r
+ "wires": [\r
+ [\r
+ "ebf8dd2b.b4f9e8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8e1bec91.730a68",\r
+ "type": "outcome",\r
+ "name": "Null",\r
+ "xml": "<outcome value=''>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3439,\r
+ "y": 625,\r
+ "z": "429f9ba7.310ba4",\r
"wires": [\r
[]\r
]\r