[\r
{\r
- "id": "fed3eb51.781ac8",\r
+ "id": "5242e55f.2660bc",\r
"type": "dgstart",\r
"name": "DGSTART",\r
"outputs": 1,\r
- "x": 131,\r
- "y": 81,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 165,\r
+ "y": 89,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": [\r
[\r
- "d2a4ea36.881b68"\r
+ "a94d71b7.2c2048"\r
]\r
]\r
},\r
{\r
- "id": "d2a4ea36.881b68",\r
+ "id": "a94d71b7.2c2048",\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": 296.2856903076172,\r
+ "y": 138.23810863494873,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": [\r
[\r
- "7b1236d6.83c2c"\r
+ "aa153b53.66c418"\r
]\r
]\r
},\r
{\r
- "id": "7b1236d6.83c2c",\r
+ "id": "aa153b53.66c418",\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": 299.4286193847656,\r
+ "y": 223.00003242492676,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": [\r
[\r
- "8228a949.234f38"\r
+ "76657765.41a798"\r
]\r
]\r
},\r
{\r
- "id": "8228a949.234f38",\r
+ "id": "76657765.41a798",\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": 449.238037109375,\r
+ "y": 352.6666564941406,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": [\r
[\r
- "341b32a3.25428e",\r
- "1a6e5da0.98eb02",\r
- "e5c8285b.2b695"\r
+ "72f9366e.3a99d8",\r
+ "680f29c8.59cd3",\r
+ "fc546f71.cb3e18"\r
]\r
]\r
},\r
{\r
- "id": "341b32a3.25428e",\r
+ "id": "72f9366e.3a99d8",\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": 723.5716552734375,\r
+ "y": 619.59716796875,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": []\r
},\r
{\r
- "id": "f743b3f1.72f9f",\r
+ "id": "af064a7b.44da3",\r
"type": "comment",\r
"name": "new for TransportSlicing",\r
"info": "",\r
"comments": "",\r
- "x": 721,\r
- "y": 286,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 755,\r
+ "y": 294,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": []\r
},\r
{\r
- "id": "1a6e5da0.98eb02",\r
+ "id": "680f29c8.59cd3",\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": 775,\r
+ "y": 390,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": [\r
[\r
- "2976ce78.f07a42",\r
- "de3912b8.6d67e",\r
- "77b5fc18.2082a4"\r
+ "ea580b2d.a2b9d",\r
+ "677c974e.f259e8",\r
+ "13083344.02e945"\r
]\r
]\r
},\r
{\r
- "id": "2976ce78.f07a42",\r
+ "id": "ea580b2d.a2b9d",\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": 994,\r
+ "y": 328,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": [\r
[\r
- "7ee13e19.7c1348"\r
+ "a02387a9.ce5868"\r
]\r
]\r
},\r
{\r
- "id": "de3912b8.6d67e",\r
+ "id": "677c974e.f259e8",\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": 1003.490966796875,\r
+ "y": 370.57403564453125,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": [\r
[\r
- "4a305009.90c32"\r
+ "620a8e19.7969b8"\r
]\r
]\r
},\r
{\r
- "id": "77b5fc18.2082a4",\r
+ "id": "13083344.02e945",\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": 992,\r
+ "y": 417,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": [\r
[\r
- "cd4775e4.2da96"\r
+ "ee25c1ac.70f318"\r
]\r
]\r
},\r
{\r
- "id": "4a305009.90c32",\r
+ "id": "620a8e19.7969b8",\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": 1157.0623779296875,\r
+ "y": 373.8597717285156,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": []\r
},\r
{\r
- "id": "cd4775e4.2da96",\r
+ "id": "ee25c1ac.70f318",\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": 1161,\r
+ "y": 418,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": []\r
},\r
{\r
- "id": "7ee13e19.7c1348",\r
+ "id": "a02387a9.ce5868",\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": 1191,\r
+ "y": 324,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": [\r
[\r
- "bc03982b.15ba78"\r
+ "17bf0063.d6585"\r
]\r
]\r
},\r
{\r
- "id": "bc03982b.15ba78",\r
+ "id": "17bf0063.d6585",\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": 1414.33349609375,\r
+ "y": 323.99993896484375,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": [\r
[\r
- "aca4b74a.cb3118"\r
+ "c3612b80.a84938"\r
]\r
]\r
},\r
{\r
- "id": "aca4b74a.cb3118",\r
+ "id": "c3612b80.a84938",\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": 1615.0001335144043,\r
+ "y": 325.00002098083496,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": [\r
[\r
- "2544f612.eeddca"\r
+ "7884e617.49647"\r
]\r
]\r
},\r
{\r
- "id": "e5c8285b.2b695",\r
+ "id": "fc546f71.cb3e18",\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": 741,\r
+ "y": 338,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "2544f612.eeddca",\r
+ "id": "7884e617.49647",\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": 1853,\r
+ "y": 327,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": [\r
[\r
- "75c7fde8.1d4a84",\r
- "563ee44e.bd096c",\r
- "bc425b5.1b1fba8"\r
+ "d6ce182b.31b988",\r
+ "aa98166f.4a5d48",\r
+ "6c3ef06d.2c8af8"\r
]\r
]\r
},\r
{\r
- "id": "75c7fde8.1d4a84",\r
+ "id": "d6ce182b.31b988",\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": 2061,\r
+ "y": 291,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": [\r
[\r
- "e6a3b8f2.9e7b38"\r
+ "f5ad0f9a.63e04"\r
]\r
]\r
},\r
{\r
- "id": "563ee44e.bd096c",\r
+ "id": "aa98166f.4a5d48",\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": 2061.490966796875,\r
+ "y": 336.57403564453125,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": [\r
[\r
- "ad15182e.154a8"\r
+ "8c465bb9.ef2cc8"\r
]\r
]\r
},\r
{\r
- "id": "bc425b5.1b1fba8",\r
+ "id": "6c3ef06d.2c8af8",\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": 2059,\r
+ "y": 380,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": [\r
[\r
- "8719a717.3cd9f8"\r
+ "63631469.f6833c"\r
]\r
]\r
},\r
{\r
- "id": "ad15182e.154a8",\r
+ "id": "8c465bb9.ef2cc8",\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": 2224.0623779296875,\r
+ "y": 336.8597717285156,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": []\r
},\r
{\r
- "id": "8719a717.3cd9f8",\r
+ "id": "63631469.f6833c",\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": 2228,\r
+ "y": 381,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": []\r
},\r
{\r
- "id": "c776a79f.7f2db",\r
+ "id": "b3f0264f.4b3ab",\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": 2534,\r
+ "y": 380,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": [\r
[\r
- "b403a898.9fbc18",\r
- "5d1a47a8.0dfe7",\r
- "f3733135.d8a078"\r
+ "b834bb7a.d792e",\r
+ "1e7aae42.a3c8e2",\r
+ "2a5354ed.3760dc"\r
]\r
]\r
},\r
{\r
- "id": "c765be65.0f488",\r
+ "id": "86694c65.1bab48",\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": 2918,\r
+ "y": 380,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": [\r
[\r
- "e9922fb9.764098",\r
- "eef29d57.4c4228",\r
- "952ea8f1.7bda",\r
- "14a01812.a7d138"\r
+ "a6c81dc0.f9e978",\r
+ "23f1ef20.aa22c8",\r
+ "d80ddf6.5239ba",\r
+ "a14e9d29.27087"\r
]\r
]\r
},\r
{\r
- "id": "b403a898.9fbc18",\r
+ "id": "b834bb7a.d792e",\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": 2745,\r
+ "y": 382,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": [\r
[\r
- "c765be65.0f488"\r
+ "86694c65.1bab48"\r
]\r
]\r
},\r
{\r
- "id": "5d1a47a8.0dfe7",\r
+ "id": "1e7aae42.a3c8e2",\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": 2745.490966796875,\r
+ "y": 427.57403564453125,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": [\r
[\r
- "1295f1fa.69cac6"\r
+ "6a176f0f.10d98"\r
]\r
]\r
},\r
{\r
- "id": "f3733135.d8a078",\r
+ "id": "2a5354ed.3760dc",\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": 2743,\r
+ "y": 471,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": [\r
[\r
- "6ac7a77b.f5232"\r
+ "2cad2870.f6f2f"\r
]\r
]\r
},\r
{\r
- "id": "6ac7a77b.f5232",\r
+ "id": "2cad2870.f6f2f",\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": 2910,\r
+ "y": 470,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": []\r
},\r
{\r
- "id": "1295f1fa.69cac6",\r
+ "id": "6a176f0f.10d98",\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": 2908.0623779296875,\r
+ "y": 427.8597717285156,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": []\r
},\r
{\r
- "id": "e6a3b8f2.9e7b38",\r
+ "id": "f5ad0f9a.63e04",\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": 2262,\r
+ "y": 286,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": [\r
[\r
- "d8c7aa6c.9474d"\r
+ "1569ccc.fe523b3"\r
]\r
]\r
},\r
{\r
- "id": "d8c7aa6c.9474d",\r
+ "id": "1569ccc.fe523b3",\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": 2467,\r
+ "y": 286,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": [\r
[\r
- "6afd9b1f.24ad3c"\r
+ "419949a6.57988"\r
]\r
]\r
},\r
{\r
- "id": "6afd9b1f.24ad3c",\r
+ "id": "419949a6.57988",\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": 2633,\r
+ "y": 286,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": [\r
[\r
- "489d615f.74d2b8"\r
+ "da248b6f.863148"\r
]\r
]\r
},\r
{\r
- "id": "489d615f.74d2b8",\r
+ "id": "da248b6f.863148",\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": 2796,\r
+ "y": 286,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": [\r
[\r
- "c776a79f.7f2db"\r
+ "b3f0264f.4b3ab"\r
]\r
]\r
},\r
{\r
- "id": "e9922fb9.764098",\r
+ "id": "a6c81dc0.f9e978",\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": 3133,\r
+ "y": 90,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": []\r
},\r
{\r
- "id": "eef29d57.4c4228",\r
+ "id": "23f1ef20.aa22c8",\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": 3159,\r
+ "y": 207,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": [\r
[\r
- "e1caf9b0.f16ef",\r
- "8ba822ff.3c855",\r
- "3e54396e.89bb66"\r
+ "de4bc6aa.088c5",\r
+ "2b53e15d.dd21ae",\r
+ "ae35d78c.86b8"\r
]\r
]\r
},\r
{\r
- "id": "e1caf9b0.f16ef",\r
+ "id": "de4bc6aa.088c5",\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": 3354.5001220703125,\r
+ "y": 159,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": [\r
[\r
- "12b4a6a1.bdd529"\r
+ "9db55161.c57488"\r
]\r
]\r
},\r
{\r
- "id": "8ba822ff.3c855",\r
+ "id": "2b53e15d.dd21ae",\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": 3346.5001220703125,\r
+ "y": 214,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": [\r
[\r
- "6aa3fcb.c3a6c84"\r
+ "577df12f.4d35a8"\r
]\r
]\r
},\r
{\r
- "id": "12b4a6a1.bdd529",\r
+ "id": "9db55161.c57488",\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": 3498.8824462890625,\r
+ "y": 158.65567016601562,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": [\r
[\r
- "8559d2a.befa2b"\r
+ "5d329fe.f531fe"\r
]\r
]\r
},\r
{\r
- "id": "8559d2a.befa2b",\r
+ "id": "5d329fe.f531fe",\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": 3683,\r
+ "y": 157,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": [\r
[\r
- "a2c1ad39.50b17"\r
+ "b71d5fcd.e9cea"\r
]\r
]\r
},\r
{\r
- "id": "a2c1ad39.50b17",\r
+ "id": "b71d5fcd.e9cea",\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": 3878,\r
+ "y": 157,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": [\r
[\r
- "f7ee255a.8640e"\r
+ "e408bf35.72655"\r
]\r
]\r
},\r
{\r
- "id": "3e54396e.89bb66",\r
+ "id": "ae35d78c.86b8",\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": 3351.5001220703125,\r
+ "y": 271,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": [\r
[\r
- "ff13ab9d.2deb7"\r
+ "ee316bbc.ab53b8"\r
]\r
]\r
},\r
{\r
- "id": "ff13ab9d.2deb7",\r
+ "id": "ee316bbc.ab53b8",\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": 3503.5001220703125,\r
+ "y": 272,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": []\r
},\r
{\r
- "id": "6aa3fcb.c3a6c84",\r
+ "id": "577df12f.4d35a8",\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": 3514.5001220703125,\r
+ "y": 215,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": []\r
},\r
{\r
- "id": "d85cad49.e7fe3",\r
+ "id": "c9c3e28f.63609",\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": 4466,\r
+ "y": 174,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": [\r
[\r
- "5b32aba.7fc39d4",\r
- "43d71291.c727fc",\r
- "6b05861c.156668"\r
+ "3dd076cd.5c231a",\r
+ "c9f64ae8.35669",\r
+ "7381c16f.b370e"\r
]\r
]\r
},\r
{\r
- "id": "98badb93.a08c9",\r
+ "id": "e8fac782.8b4fb",\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": 4260,\r
+ "y": 161,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": [\r
[\r
- "48966cee.55dba4",\r
- "d85cad49.e7fe3",\r
- "ee878ee.4f8847"\r
+ "66c06218.223abc",\r
+ "c9c3e28f.63609",\r
+ "8fb6a8ce.c9f538"\r
]\r
]\r
},\r
{\r
- "id": "48966cee.55dba4",\r
+ "id": "66c06218.223abc",\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": 4496,\r
+ "y": 122,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": []\r
},\r
{\r
- "id": "5b32aba.7fc39d4",\r
+ "id": "3dd076cd.5c231a",\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": 4676,\r
+ "y": 165,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": [\r
[\r
- "20fc8e76.a69222"\r
+ "ffc56656.084b18"\r
]\r
]\r
},\r
{\r
- "id": "43d71291.c727fc",\r
+ "id": "c9f64ae8.35669",\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": 4668,\r
+ "y": 220,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": [\r
[\r
- "51e97aab.2d7044"\r
+ "df0df27a.a48ca"\r
]\r
]\r
},\r
{\r
- "id": "6b05861c.156668",\r
+ "id": "7381c16f.b370e",\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": 4673,\r
+ "y": 277,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": [\r
[\r
- "ef0b1a78.fffea8"\r
+ "1cc1a486.bc1f73"\r
]\r
]\r
},\r
{\r
- "id": "ef0b1a78.fffea8",\r
+ "id": "1cc1a486.bc1f73",\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": 4825,\r
+ "y": 278,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": []\r
},\r
{\r
- "id": "51e97aab.2d7044",\r
+ "id": "df0df27a.a48ca",\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": 4836,\r
+ "y": 223,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": []\r
},\r
{\r
- "id": "20fc8e76.a69222",\r
+ "id": "ffc56656.084b18",\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": 4820.38232421875,\r
+ "y": 162.65567016601562,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": [\r
[\r
- "a8dfc05f.e2f018"\r
+ "f9ba3b0e.b3dbd8"\r
]\r
]\r
},\r
{\r
- "id": "f7ee255a.8640e",\r
+ "id": "e408bf35.72655",\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": 4081,\r
+ "y": 161,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": [\r
[\r
- "98badb93.a08c9"\r
+ "e8fac782.8b4fb"\r
]\r
]\r
},\r
{\r
- "id": "a8dfc05f.e2f018",\r
+ "id": "f9ba3b0e.b3dbd8",\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": 5035,\r
+ "y": 159,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": []\r
},\r
{\r
- "id": "ee878ee.4f8847",\r
+ "id": "8fb6a8ce.c9f538",\r
"type": "break",\r
"name": "break",\r
"xml": "<break>\n",\r
"comments": "",\r
- "x": 4382,\r
- "y": 230,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 4416,\r
+ "y": 238,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": []\r
},\r
{\r
- "id": "952ea8f1.7bda",\r
+ "id": "d80ddf6.5239ba",\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.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
"comments": "",\r
"outputs": 1,\r
- "x": 3255,\r
- "y": 594,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 3289,\r
+ "y": 602,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": [\r
[\r
- "d9dc02b.5b9308",\r
- "f01b6c55.209f38"\r
+ "56ef2c2f.bde334",\r
+ "20356ae6.118a76"\r
]\r
]\r
},\r
{\r
- "id": "d9dc02b.5b9308",\r
+ "id": "56ef2c2f.bde334",\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": 3635.5,\r
+ "y": 595,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": [\r
[\r
- "174c3f65.a9f0e1"\r
+ "45e55581.afe784"\r
]\r
]\r
},\r
{\r
- "id": "f01b6c55.209f38",\r
+ "id": "20356ae6.118a76",\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": 3639.5,\r
+ "y": 635,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": [\r
[\r
- "de16161.028de68"\r
+ "b4e6443a.f1c248"\r
]\r
]\r
},\r
{\r
- "id": "de16161.028de68",\r
+ "id": "b4e6443a.f1c248",\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": 3797,\r
+ "y": 635,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": [\r
[\r
- "1a3ebd6b.2a7953",\r
- "30c3e280.4d41f6"\r
+ "f2316450.62431",\r
+ "6c3e1e17.47ccd8"\r
]\r
]\r
},\r
{\r
- "id": "174c3f65.a9f0e1",\r
+ "id": "45e55581.afe784",\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": 3793.5,\r
+ "y": 595,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": []\r
},\r
{\r
- "id": "1a3ebd6b.2a7953",\r
+ "id": "f2316450.62431",\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
"comments": "",\r
"outputs": 1,\r
- "x": 4091.5,\r
- "y": 627,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 4125.5,\r
+ "y": 635,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "30c3e280.4d41f6",\r
+ "id": "6c3e1e17.47ccd8",\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": 4052.5,\r
+ "y": 681,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "14a01812.a7d138",\r
+ "id": "a14e9d29.27087",\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-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`\" />",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3228,\r
- "y": 466,\r
- "z": "fdc94a5e.7c86f8",\r
+ "x": 3262,\r
+ "y": 474,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": [\r
[\r
- "8e721e50.020db",\r
- "8f6c71d1.f7e258"\r
+ "692cf34e.ccecdc",\r
+ "64e95b5b.03211c"\r
]\r
]\r
},\r
{\r
- "id": "8e721e50.020db",\r
+ "id": "692cf34e.ccecdc",\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": 3594.5,\r
+ "y": 444,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": [\r
[\r
- "b94a74e8.509ec"\r
+ "8f4d555e.2bf24"\r
]\r
]\r
},\r
{\r
- "id": "8f6c71d1.f7e258",\r
+ "id": "64e95b5b.03211c",\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": 3599.5,\r
+ "y": 509,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": [\r
[\r
- "e36acb2.364b538"\r
+ "deb2a97d.a041c8"\r
]\r
]\r
},\r
{\r
- "id": "b94a74e8.509ec",\r
+ "id": "8f4d555e.2bf24",\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": 3770.5,\r
+ "y": 444,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": []\r
},\r
{\r
- "id": "e36acb2.364b538",\r
+ "id": "deb2a97d.a041c8",\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": 3766,\r
+ "y": 509,\r
+ "z": "b39eb7ec.28f1a8",\r
"wires": [\r
[]\r
]\r