+ "id": "83be4f6.3f006b",\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": 4857.454864501953,\r
+ "y": 420.2857666015625,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "586d6db7.c2d804",\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": 4856.392364501953,\r
+ "y": 464.426025390625,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "c6a2ea9c.683df",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4697.392364501953,\r
+ "y": 464.426025390625,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "586d6db7.c2d804"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a2aec981.c05928",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4704.392364501953,\r
+ "y": 543.426025390625,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "4d4b39ee.fece78"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "4d4b39ee.fece78",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4843.392364501953,\r
+ "y": 543.426025390625,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "68714312.362fe4",\r
+ "860808d4.582b4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "68714312.362fe4",\r
+ "type": "set",\r
+ "name": "set the max bandwidth",\r
+ "xml": "<set>\n<parameter name='maximum-bandwidth' value=\"`$tmp.aai.network-policy.max-bandwidth`\" />\n<parameter name='route-distinguisher' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",\r
+ "comments": "",\r
+ "x": 5048.883331298828,\r
+ "y": 541,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "860808d4.582b4",\r
+ "type": "set",\r
+ "name": "set the max bandwidth",\r
+ "xml": "<set>\n<parameter name='gfp' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",\r
+ "comments": "",\r
+ "x": 5047.883331298828,\r
+ "y": 587,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "a5c7d0d0.70a6f8",\r
+ "type": "for",\r
+ "name": "for each allotted-resource relationship",\r
+ "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3563.883331298828,\r
+ "y": 573,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "91204981.e8b1c8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "91204981.e8b1c8",\r
+ "type": "switchNode",\r
+ "name": "switch related-to",\r
+ "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3843.883331298828,\r
+ "y": 573,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "815c7496.5664a8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "815c7496.5664a8",\r
+ "type": "outcome",\r
+ "name": "logical-link",\r
+ "xml": "<outcome value='logical-link'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2256.8834533691406,\r
+ "y": 826.0001220703125,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "2e1a5e6a.390622"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2e1a5e6a.390622",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 2433.883331298828,\r
+ "y": 819,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "fda12a63.354948",\r
+ "9acb494f.3c831"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "fda12a63.354948",\r
+ "type": "set",\r
+ "name": "set the current logical-link-name",\r
+ "xml": "<set>\n<parameter name='logical-link-name' value=\"`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`\" />\n\n\n",\r
+ "comments": "",\r
+ "x": 2676.883331298828,\r
+ "y": 776,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "9acb494f.3c831",\r
+ "type": "save",\r
+ "name": "get logical-link from aai",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-link\"\n\tkey='logical-link.link-name = $logical-link-name'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.logical-link\">",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2665.883331298828,\r
+ "y": 831,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "2cf3e7af.84ed7",\r
+ "7720ff91.14ecb8",\r
+ "6208751c.cb4214"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2cf3e7af.84ed7",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2957.374298095703,\r
+ "y": 809.573974609375,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "644aada5.da5074"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7720ff91.14ecb8",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2945.883331298828,\r
+ "y": 854,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "b4b18b88.8b8778"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "644aada5.da5074",\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": 3105.945831298828,\r
+ "y": 809.8597412109375,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "b4b18b88.8b8778",\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": 3104.883331298828,\r
+ "y": 854,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "6208751c.cb4214",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2952.883331298828,\r
+ "y": 933,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "f4a1f138.8436a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f4a1f138.8436a",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3091.883331298828,\r
+ "y": 933,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "64b776d1.df13b8",\r
+ "cf58d1a3.b75bc8",\r
+ "a4d7ff96.ceb5f8",\r
+ "4f57fa4.5908a84",\r
+ "93281de6.9193c8",\r
+ "279a0c66.95b87c",\r
+ "2fd6be0.ec30642",\r
+ "3458f9fd.a9fdce",\r
+ "b114579a.337d4",\r
+ "83634982.62f32",\r
+ "a78c5989.f5207",\r
+ "dc895d5a.f09ef",\r
+ "8c6f82a5.234d18",\r
+ "a984d0c7.8574d",\r
+ "49347bae.3e2974"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "fe79d8e9.168438",\r
+ "type": "execute",\r
+ "name": "execute UUID generator for ethernet-service-name",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3405.883331298828,\r
+ "y": 739,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "64b776d1.df13b8",\r
+ "type": "execute",\r
+ "name": "execute UUID generator for otn-tunnel-name",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.otn-tunnel-name\"/>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3386.883331298828,\r
+ "y": 789,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "dc895d5a.f09ef",\r
+ "type": "set",\r
+ "name": "set new ethernet-service-name",\r
+ "xml": "<set>\n<!--<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-name`\" />-->\n<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-id`\" />\n\n\n",\r
+ "comments": "",\r
+ "x": 3343.883331298828,\r
+ "y": 834,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "cf58d1a3.b75bc8",\r
+ "type": "set",\r
+ "name": "set network-route-one",\r
+ "xml": "<set>\n<parameter name='network-route-one' value=\"`$tmp.aai.logical-link.link-name`\" />\n\n\n",\r
+ "comments": "",\r
+ "x": 3318.883331298828,\r
+ "y": 897,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "a4d7ff96.ceb5f8",\r
+ "type": "set",\r
+ "name": "set network-route-two",\r
+ "xml": "<set>\n<parameter name='network-route-two' value=\"`$tmp.aai.logical-link.link-name2`\" />\n\n\n",\r
+ "comments": "",\r
+ "x": 3319.883331298828,\r
+ "y": 952,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "4f57fa4.5908a84",\r
+ "type": "save",\r
+ "name": "get network-route-one from aai",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-one'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-one\">",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3335.883331298828,\r
+ "y": 1000,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "722a434e.2a3adc",\r
+ "e8fe3cd4.c3586",\r
+ "fdbfe007.1ea3b"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "93281de6.9193c8",\r
+ "type": "save",\r
+ "name": "get network-route-two from aai",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-two'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-two\">",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3324.883331298828,\r
+ "y": 1086.9998779296875,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "b372ac3d.0a4b1",\r
+ "d24aa16b.e47da",\r
+ "419032bc.a4963c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "722a434e.2a3adc",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3536.883331298828,\r
+ "y": 884,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "aae0d761.ec3158"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e8fe3cd4.c3586",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3532.392364501953,\r
+ "y": 933.426025390625,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "af62b91c.6bf638"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "fdbfe007.1ea3b",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3536.392364501953,\r
+ "y": 986.426025390625,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "72360610.10f7e"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "aae0d761.ec3158",\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": 3685.454864501953,\r
+ "y": 883.2857666015625,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "af62b91c.6bf638",\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": 3675.392364501953,\r
+ "y": 933.426025390625,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "b372ac3d.0a4b1",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3547.883331298828,\r
+ "y": 1056.9998779296875,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "3bdfccb0.f2d08c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d24aa16b.e47da",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3543.392364501953,\r
+ "y": 1106.4259033203125,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "57f2def1.81f4e"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "419032bc.a4963c",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3544.392364501953,\r
+ "y": 1159.4259033203125,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "91fe26d2.5b80d"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3bdfccb0.f2d08c",\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": 3696.454864501953,\r
+ "y": 1056.28564453125,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "57f2def1.81f4e",\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": 3686.392364501953,\r
+ "y": 1106.4259033203125,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "72360610.10f7e",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 3697.883331298828,\r
+ "y": 986,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "21ff581a.7d3f68"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "91fe26d2.5b80d",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 3697.883331298828,\r
+ "y": 1158.9998779296875,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "f4949055.0aa838"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "21ff581a.7d3f68",\r
+ "type": "switchNode",\r
+ "name": "switch nr type",\r
+ "xml": "<switch test='`$tmp.aai.network-route-one.type`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3869.883331298828,\r
+ "y": 986,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "d771576e.5459b",\r
+ "743ce77.86c2e98"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f4949055.0aa838",\r
+ "type": "switchNode",\r
+ "name": "switch nr type",\r
+ "xml": "<switch test='`$tmp.aai.network-route-two.type`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3870.883331298828,\r
+ "y": 1159,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "854204ac.64311",\r
+ "5401ccd6.c2c2e4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d771576e.5459b",\r
+ "type": "outcome",\r
+ "name": "ROOT",\r
+ "xml": "<outcome value='ROOT'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4045.883331298828,\r
+ "y": 965,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "2e04d27d.5faff6"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "743ce77.86c2e98",\r
+ "type": "outcome",\r
+ "name": "LEAF",\r
+ "xml": "<outcome value='LEAF'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4047.883331298828,\r
+ "y": 1019,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "12c64a9b.27d615"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "854204ac.64311",\r
+ "type": "outcome",\r
+ "name": "ROOT",\r
+ "xml": "<outcome value='ROOT'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4046.883331298828,\r
+ "y": 1129,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "a8347389.2ab3b"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "5401ccd6.c2c2e4",\r
+ "type": "outcome",\r
+ "name": "LEAF",\r
+ "xml": "<outcome value='LEAF'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4048.883331298828,\r
+ "y": 1183,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "49b6f3ad.a55ac4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "20ddeea0.a0e9ea",\r
+ "type": "set",\r
+ "name": "set network-route-ROOT",\r
+ "xml": "<set>\n<parameter name='tmp.aai.network-route-ROOT.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
+ "comments": "",\r
+ "x": 4355.883331298828,\r
+ "y": 917,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "a4916484.b95cf",\r
+ "type": "set",\r
+ "name": "set network-route-LEAF",\r
+ "xml": "<set>\n<parameter name='tmp.aai.network-route-LEAF.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
+ "comments": "",\r
+ "x": 4348.883331298828,\r
+ "y": 1015,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "2f347429.e690cc",\r
+ "type": "set",\r
+ "name": "set network-route-ROOT",\r
+ "xml": "<set>\n<parameter name='tmp.aai.network-route-ROOT.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+ "comments": "",\r
+ "x": 4348.883331298828,\r
+ "y": 1102,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "cad2e783.60fc68",\r
+ "type": "set",\r
+ "name": "set network-route-LEAF",\r
+ "xml": "<set>\n<parameter name='tmp.aai.network-route-LEAF.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+ "comments": "",\r
+ "x": 4352.883331298828,\r
+ "y": 1195,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "b1d86e33.3aa378",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3579.883331298828,\r
+ "y": 1604,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "a5f9a85c.99ac48"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a4982a5c.ee1f08",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3589.374298095703,\r
+ "y": 1646.5740356445312,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "bbb83480.f4afb8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9afba595.5831a",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3577.883331298828,\r
+ "y": 1693,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "eeac5d42.037ff"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a9f44662.0eb94",\r
+ "type": "comment",\r
+ "name": "Question?",\r
+ "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
+ "comments": "",\r
+ "x": 3279.883331298828,\r
+ "y": 1566,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "2fd6be0.ec30642",\r
+ "type": "save",\r
+ "name": "get p-interface-src from aai",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t key=\"pnf.pnf-name = $tmp.src.domainA.pnf-name\n\t AND p-interface.interface-name = $tmp.aai.network-route-A.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-A.p-interface-src\" >\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"p-interface\"-->\n<!--\t key=\"pnf.pnf-name = $unique-src-node-Id-->\n<!--\t and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"-->\n<!--\t\tlocal-only=\"false\" -->\n<!--\t\tpfx=\"tmp.aai.endpointA.p-interface-src\" >-->\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3322.883331298828,\r
+ "y": 1631,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "b1d86e33.3aa378",\r
+ "a4982a5c.ee1f08",\r
+ "9afba595.5831a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "279a0c66.95b87c",\r
+ "type": "execute",\r
+ "name": "execute split tp-id to get pnf-name",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-A.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainA-pnfName\"/>\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3323.883331298828,\r
+ "y": 1301,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "ab7f6387.a06298",\r
+ "178d0fab.57c17"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "178d0fab.57c17",\r
+ "type": "failure",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3546.883331298828,\r
+ "y": 1287,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "174b650f.6f4cdb"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ab7f6387.a06298",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3548.883331298828,\r
+ "y": 1320,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "109222da.cab295"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a5f9a85c.99ac48",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 3752.549835205078,\r
+ "y": 1603,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "f0dfffc5.29d178",\r
+ "acd2704e.4ae308"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "bbb83480.f4afb8",\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": 3742.9457092285156,\r
+ "y": 1649.8597717285156,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "eeac5d42.037ff",\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": 3746.883331298828,\r
+ "y": 1694,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "f0dfffc5.29d178",\r
+ "type": "execute",\r
+ "name": "execute split tp-id to get pnf-name",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-A.p-interface-src.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainA\"/>\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4016.883331298828,\r
+ "y": 1587,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "11bdf0f4.508487",\r
+ "23d1e1ad.23f75e"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "23d1e1ad.23f75e",\r
+ "type": "failure",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4239.883331298828,\r
+ "y": 1542,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "3fc7a366.f1683c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "11bdf0f4.508487",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4241.883331298828,\r
+ "y": 1606,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "d6cac3a3.d1f4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d6cac3a3.d1f4",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
+ "comments": "",\r
+ "x": 4403.883331298828,\r
+ "y": 1602,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "3fc7a366.f1683c",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 4404.883331298828,\r
+ "y": 1539,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "d54289dc.18d288",\r
+ "cc99bc89.a9c058"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "17e0fd07.b5de8b",\r
+ "type": "save",\r
+ "name": "save connectivity resource in AAI",\r
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` \" />\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4018.883331298828,\r
+ "y": 1746,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "f1afd056.64d73",\r
+ "type": "execute",\r
+ "name": "execute UUID generator for connectivity domainA",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4063.883331298828,\r
+ "y": 1656,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "50d51c8c.dc95ac",\r
+ "type": "save",\r
+ "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='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 force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!-- key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!-- AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!-- force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4146.883331298828,\r
+ "y": 1794,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "109222da.cab295",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
+ "comments": "",\r
+ "x": 3691.883331298828,\r
+ "y": 1317,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "174b650f.6f4cdb",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 3694.883331298828,\r
+ "y": 1280,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "6b9c6245.ea050c",\r
+ "ab33cb14.ff6cc8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "6b9c6245.ea050c",\r
+ "type": "set",\r
+ "name": "set pnf-name",\r
+ "xml": "<set>\n<parameter name='tmp.src.domainA.pnf-name' value=\"`$param-prefix-domainA-pnfName[0] + '-' +\n $param-prefix-domainA-pnfName[1] + '-' +\n $param-prefix-domainA-pnfName[2] + '-' +\n $param-prefix-domainA-pnfName[3] + '-' +\n $param-prefix-domainA-pnfName[4] + '-' +\n $param-prefix-domainA-pnfName[5] + '-' +\n $param-prefix-domainA-pnfName[6] + '-' +\n $param-prefix-domainA-pnfName[7] + '-' +\n $param-prefix-domainA-pnfName[8]`\" />\n",\r
+ "comments": "",\r
+ "x": 3868.883331298828,\r
+ "y": 1236,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "acd2704e.4ae308",\r
+ "type": "for",\r
+ "name": "for each relationship",\r
+ "xml": "<for silentFailure='true' index='pividx' start='0' end='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3970.883331298828,\r
+ "y": 1871,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "73a0105b.ac0e58"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "73a0105b.ac0e58",\r
+ "type": "switchNode",\r
+ "name": "switch related-to",\r
+ "xml": "<switch test='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].related-to`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4176.883331298828,\r
+ "y": 1871,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "6dbfb157.d8359"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "6dbfb157.d8359",\r
+ "type": "outcome",\r
+ "name": "tunnel-termination-point",\r
+ "xml": "<outcome value='tunnel-termination-point'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4392.168975830078,\r
+ "y": 1870.82177734375,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "616def67.e5a25"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ab33cb14.ff6cc8",\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.src.domainA.pnf-name\"\n pfx='tmp.aai.source-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3883.883331298828,\r
+ "y": 1347,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "e7bde0a4.3a223",\r
+ "856b3a3e.33dd18",\r
+ "ec1837c2.7e65e8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e7bde0a4.3a223",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4079.3834533691406,\r
+ "y": 1299,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "a049038b.508d4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "856b3a3e.33dd18",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4071.3834533691406,\r
+ "y": 1354,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "f843f7f2.8c64b8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ec1837c2.7e65e8",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4076.3834533691406,\r
+ "y": 1411,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "47e459e1.2a9ce"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "47e459e1.2a9ce",\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": 4228.383453369141,\r
+ "y": 1412,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "f843f7f2.8c64b8",\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": 4239.383453369141,\r
+ "y": 1357,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "a049038b.508d4",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4223.765777587891,\r
+ "y": 1296.6556701660156,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "b2d1999f.753708"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b2d1999f.753708",\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": 4407.883331298828,\r
+ "y": 1311,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "9b22416d.9cdac8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "cc99bc89.a9c058",\r
+ "type": "set",\r
+ "name": "set ltpId",\r
+ "xml": "<set>\n<parameter name='tmp.src.ltpId' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n",\r
+ "comments": "",\r
+ "x": 4574.883331298828,\r
+ "y": 1497,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "d54289dc.18d288",\r
+ "type": "set",\r
+ "name": "set pnf-name",\r
+ "xml": "<set>\n<parameter name='tmp.src.pnf-name' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n",\r
+ "comments": "",\r
+ "x": 4575.883331298828,\r
+ "y": 1605,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "46e18359.07aad4",\r
+ "type": "comment",\r
+ "name": "TODO: FIXME",\r
+ "info": "using the output of regex string arrays,\nconcatinate index 0 to index[length-2] all together\nin order to assemble the correct pnf-name",\r
+ "comments": "",\r
+ "x": 4576.883331298828,\r
+ "y": 1554,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "616def67.e5a25",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 4599.000518798828,\r
+ "y": 1871.34033203125,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "6d0c5fcb.438328",\r
+ "40a1c35d.17991c",\r
+ "6c800e67.6aa9c8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "6d0c5fcb.438328",\r
+ "type": "set",\r
+ "name": "set source ttp-id",\r
+ "xml": "<set>\n<parameter name='tmp.source.ttp-id' value=\"`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].relationship-data[0].relationship-value`\" />\n",\r
+ "comments": "",\r
+ "x": 4814.000518798828,\r
+ "y": 1833.34033203125,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "40a1c35d.17991c",\r
+ "type": "get-resource",\r
+ "name": "get-resource src TTP",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.source.ttp-id \n\t\tAND depth = '0'\"\n pfx='tmp.aai.source-ttp' local-only='false' >\n\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4811.000518798828,\r
+ "y": 1872.34033203125,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "9de28790.cf8c7"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "6c800e67.6aa9c8",\r
+ "type": "break",\r
+ "name": "break",\r
+ "xml": "<break>\n",\r
+ "comments": "",\r
+ "x": 4766.500518798828,\r
+ "y": 1914.34033203125,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "9de28790.cf8c7",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4991.500518798828,\r
+ "y": 1871.34033203125,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "e5173d49.fc3368"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "376d58a4.adb2a",\r
+ "type": "outcome",\r
+ "name": "esr-thirdparty-sdnc",\r
+ "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4805.883331298828,\r
+ "y": 1315,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "60247fbe.4b6c2"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "60247fbe.4b6c2",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 4982.883331298828,\r
+ "y": 1307,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "4270b940.4f6ac",\r
+ "65b48891.d54c3"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9b22416d.9cdac8",\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": 4602.883331298828,\r
+ "y": 1311,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "376d58a4.adb2a",\r
+ "59d37917.573538"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "59d37917.573538",\r
+ "type": "outcome",\r
+ "name": "network-resource",\r
+ "xml": "<outcome value='network-resource'>",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4808.883331298828,\r
+ "y": 1389,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "b8751b8b.fb4f58"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b8751b8b.fb4f58",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 4985.883331298828,\r
+ "y": 1381,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "673e159e.9038cc"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e5173d49.fc3368",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 5149.500518798828,\r
+ "y": 1871.34033203125,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "e816a090.0c423"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e816a090.0c423",\r
+ "type": "set",\r
+ "name": "set source tunnel tp ip",\r
+ "xml": "<set>\n<parameter name='source.tunnel-tp-id' value=\"`$tmp.aai.source-ttp.tunnel-tp-id`\" />\n",\r
+ "comments": "",\r
+ "x": 5356.500518798828,\r
+ "y": 1871.34033203125,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "65b48891.d54c3",\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.domainA.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domainA.esr-thirdparty-sdnc' local-only='false' >",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5190.883331298828,\r
+ "y": 1314,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "12ca2f18.a3fcb1",\r
+ "2eff6a6f.1256be",\r
+ "ae932fb7.b2f368"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "4270b940.4f6ac",\r
+ "type": "set",\r
+ "name": "set esr-thirdparty-sdnc domainA id",\r
+ "xml": "<set>\n<parameter name='tmp.domainA.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
+ "comments": "",\r
+ "x": 5220.883331298828,\r
+ "y": 1262,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "12ca2f18.a3fcb1",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5400.883331298828,\r
+ "y": 1305,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "19df6125.66c90f"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2eff6a6f.1256be",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5392.883331298828,\r
+ "y": 1360,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "5900b30a.9db0cc"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ae932fb7.b2f368",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5397.883331298828,\r
+ "y": 1417,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "abcfe080.ae7e7"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "abcfe080.ae7e7",\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": 5549.883331298828,\r
+ "y": 1418,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "5900b30a.9db0cc",\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": 5560.883331298828,\r
+ "y": 1363,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "19df6125.66c90f",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5545.265655517578,\r
+ "y": 1302.6556701660156,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "db94bf6b.c81da8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "673e159e.9038cc",\r
+ "type": "set",\r
+ "name": "set domainA ethernet layer network-id",\r
+ "xml": "<set>\n<parameter name='tmp.domainA.eth-network-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
+ "comments": "",\r
+ "x": 5220.883331298828,\r
+ "y": 1505,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "db94bf6b.c81da8",\r
+ "type": "set",\r
+ "name": "set controller domainA data",\r
+ "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.url' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.user' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.password' value=\"`$tmp.aai.domainA.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": 5759.883331298828,\r
+ "y": 1299,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "653ea460.331594",\r
+ "type": "set",\r
+ "name": "set network-route-B",\r
+ "xml": "<set>\n<parameter name='tmp.aai.network-route-B.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
+ "comments": "",\r
+ "x": 4343.883331298828,\r
+ "y": 953,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "3ff377ce.541508",\r
+ "type": "set",\r
+ "name": "set network-route-A",\r
+ "xml": "<set>\n<parameter name='tmp.aai.network-route-A.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
+ "comments": "",\r
+ "x": 4334.883331298828,\r
+ "y": 1051,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "2e04d27d.5faff6",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4168.883331298828,\r
+ "y": 959,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "20ddeea0.a0e9ea",\r
+ "653ea460.331594"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "12c64a9b.27d615",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4174.883331298828,\r
+ "y": 1023,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "a4916484.b95cf",\r
+ "3ff377ce.541508"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a8347389.2ab3b",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4174.883331298828,\r
+ "y": 1129,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "2f347429.e690cc",\r
+ "64f47a9a.5541ec"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "49b6f3ad.a55ac4",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4177.883331298828,\r
+ "y": 1182,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "cad2e783.60fc68",\r
+ "93b1477b.b7ce28"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "64f47a9a.5541ec",\r
+ "type": "set",\r
+ "name": "set network-route-B",\r
+ "xml": "<set>\n<parameter name='tmp.aai.network-route-B.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+ "comments": "",\r
+ "x": 4334.883331298828,\r
+ "y": 1142,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "93b1477b.b7ce28",\r
+ "type": "set",\r
+ "name": "set network-route-A",\r
+ "xml": "<set>\n<parameter name='tmp.aai.network-route-A.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+ "comments": "",\r
+ "x": 4337.883331298828,\r
+ "y": 1233,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "bcceae66.215ea8",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 3709.883331298828,\r
+ "y": 2443,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "fa55cad.2f0ddb8",\r
+ "341eac77.d5f56c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e6e2e92d.d49f8",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3537.216827392578,\r
+ "y": 2444,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "bcceae66.215ea8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "15d49e8e.f5c6d1",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3546.707794189453,\r
+ "y": 2486.5740356445312,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "b6575c89.a4dbd8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "456db0bd.6c4e5",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3535.216827392578,\r
+ "y": 2533,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "f1a4c78.c749938"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b6575c89.a4dbd8",\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": 3700.2792053222656,\r
+ "y": 2489.8597717285156,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "f1a4c78.c749938",\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": 3704.216827392578,\r
+ "y": 2534,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "fa55cad.2f0ddb8",\r
+ "type": "execute",\r
+ "name": "execute split tp-id to get pnf-name",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-B.p-interface-dst.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainB\"/>\n\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3996.216827392578,\r
+ "y": 2447.0001220703125,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "2a55ff3d.a63f58",\r
+ "a4fedadd.ffdcf"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a4fedadd.ffdcf",\r
+ "type": "failure",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4219.216827392578,\r
+ "y": 2402.0001220703125,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "2cf5b91c.330536"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2a55ff3d.a63f58",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4221.216827392578,\r
+ "y": 2466.0001220703125,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "f4cfd006.4df4a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f4cfd006.4df4a",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
+ "comments": "",\r
+ "x": 4380.216827392578,\r
+ "y": 2485.0001220703125,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "2cf5b91c.330536",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 4384.216827392578,\r
+ "y": 2399.0001220703125,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "60521985.bf9fa8",\r
+ "1b11d7f2.c04e4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3e3a2fcb.29b168",\r
+ "type": "save",\r
+ "name": "save connectivity resource in AAI",\r
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` \" />\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3998.216827392578,\r
+ "y": 2606.0001220703125,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "a24d2064.f8a7c",\r
+ "type": "execute",\r
+ "name": "execute UUID generator for connectivity domainB",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainB-uuid\"/>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4043.216827392578,\r
+ "y": 2516.0001220703125,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "7f1c08c8.8cc28",\r
+ "type": "save",\r
+ "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='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 force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainB-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainB-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!-- key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!-- AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!-- force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4125.216827392578,\r
+ "y": 2671.0001220703125,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "b114579a.337d4",\r
+ "type": "save",\r
+ "name": "get p-interface-dst from aai",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t key=\"pnf.pnf-name = $tmp.dst.domainB.pnf-name\n\t AND p-interface.interface-name = $tmp.aai.network-route-B.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-B.p-interface-dst\" >\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"p-interface\"-->\n<!--\t key=\"pnf.pnf-name = $unique-src-node-Id-->\n<!--\t and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"-->\n<!--\t\tlocal-only=\"false\" -->\n<!--\t\tpfx=\"tmp.aai.endpointA.p-interface-src\" >-->\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3309.216827392578,\r
+ "y": 2479,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "e6e2e92d.d49f8",\r
+ "15d49e8e.f5c6d1",\r
+ "456db0bd.6c4e5"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8e0a6f3b.01feb",\r
+ "type": "comment",\r
+ "name": "Question?",\r
+ "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
+ "comments": "",\r
+ "x": 3270.216827392578,\r
+ "y": 2423,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "3458f9fd.a9fdce",\r
+ "type": "execute",\r
+ "name": "execute split tp-id to get pnf-name",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-B.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainB-pnfName\"/>\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3327.216827392578,\r
+ "y": 2141.9998779296875,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "c48f1e5.b50d76",\r
+ "40db2833.3d6058"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "40db2833.3d6058",\r
+ "type": "failure",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3550.216827392578,\r
+ "y": 2127.9998779296875,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "57ecc3e9.705994"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c48f1e5.b50d76",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3552.216827392578,\r
+ "y": 2160.9998779296875,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "6a189760.03fff"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "6a189760.03fff",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
+ "comments": "",\r
+ "x": 3695.216827392578,\r
+ "y": 2157.9998779296875,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "57ecc3e9.705994",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 3698.216827392578,\r
+ "y": 2120.9998779296875,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "7ef10f50.4a98b",\r
+ "d3e48892.7c0638"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7ef10f50.4a98b",\r
+ "type": "set",\r
+ "name": "set pnf-name",\r
+ "xml": "<set>\n<parameter name='tmp.dst.domainB.pnf-name' value=\"`$param-prefix-domainB-pnfName[0] + '-' +\n $param-prefix-domainB-pnfName[1] + '-' +\n $param-prefix-domainB-pnfName[2] + '-' +\n $param-prefix-domainB-pnfName[3] + '-' +\n $param-prefix-domainB-pnfName[4] + '-' +\n $param-prefix-domainB-pnfName[5] + '-' +\n $param-prefix-domainB-pnfName[6] + '-' +\n $param-prefix-domainB-pnfName[7] + '-' +\n $param-prefix-domainB-pnfName[8]`\" />\n",\r
+ "comments": "",\r
+ "x": 3892.216827392578,\r
+ "y": 2124,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "341eac77.d5f56c",\r
+ "type": "for",\r
+ "name": "for each relationship",\r
+ "xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3955.216827392578,\r
+ "y": 2756,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "1d1b2999.e8eaf6"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1d1b2999.e8eaf6",\r
+ "type": "switchNode",\r
+ "name": "switch related-to",\r
+ "xml": "<switch test='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4161.216827392578,\r
+ "y": 2756,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "2587a419.edf304"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2587a419.edf304",\r
+ "type": "outcome",\r
+ "name": "tunnel-termination-point",\r
+ "xml": "<outcome value='tunnel-termination-point'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4378.502471923828,\r
+ "y": 2754.82177734375,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "596e064d.3e4868"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d3e48892.7c0638",\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.dst.domainB.pnf-name\"\n pfx='tmp.aai.destination-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3914.216827392578,\r
+ "y": 2192,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "5d04022c.52094c",\r
+ "4363a204.88356c",\r
+ "d1632f49.e8bfd8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "5d04022c.52094c",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4109.716949462891,\r
+ "y": 2144,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "16d6f161.b988af"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "4363a204.88356c",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4101.716949462891,\r
+ "y": 2199,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "5ac71d3b.31ff94"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d1632f49.e8bfd8",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4106.716949462891,\r
+ "y": 2256,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "8e2e62d9.6dcb8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8e2e62d9.6dcb8",\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": 4258.716949462891,\r
+ "y": 2257,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "5ac71d3b.31ff94",\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": 4269.716949462891,\r
+ "y": 2202,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "16d6f161.b988af",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4254.099273681641,\r
+ "y": 2141.6556701660156,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "7d886bfd.e9ca4c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "60521985.bf9fa8",\r
+ "type": "set",\r
+ "name": "set ltpId",\r
+ "xml": "<set>\n<parameter name='tmp.dst.ltpId' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n",\r
+ "comments": "",\r
+ "x": 4554.216827392578,\r
+ "y": 2360.0001220703125,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "1b11d7f2.c04e4",\r
+ "type": "set",\r
+ "name": "set pnf-name",\r
+ "xml": "<set>\n<parameter name='tmp.dst.pnf-name' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n",\r
+ "comments": "",\r
+ "x": 4555.216827392578,\r
+ "y": 2465.0001220703125,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "f5d8e7ee.5dd5b8",\r
+ "type": "comment",\r
+ "name": "TODO: FIXME",\r
+ "info": "using the output of regex string arrays,\nconcatinate index 0 to index[length-2] all together\nin order to assemble the correct pnf-name",\r
+ "comments": "",\r
+ "x": 4550.216827392578,\r
+ "y": 2414.0001220703125,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "596e064d.3e4868",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 4585.334014892578,\r
+ "y": 2744.3404541015625,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "1d1ef4b9.b52cc3",\r
+ "aa09325d.47c72",\r
+ "f212860e.85526"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1d1ef4b9.b52cc3",\r
+ "type": "set",\r
+ "name": "set destination ttp-id",\r
+ "xml": "<set>\n<parameter name='tmp.destination.ttp-id' value=\"`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].relationship-data[0].relationship-value`\" />\n",\r
+ "comments": "",\r
+ "x": 4800.334014892578,\r
+ "y": 2706.3404541015625,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "aa09325d.47c72",\r
+ "type": "get-resource",\r
+ "name": "get-resource src TTP",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.destination.ttp-id \n\t\tAND depth = '0'\"\n pfx='tmp.aai.destination-ttp' local-only='false' >\n\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4797.334014892578,\r
+ "y": 2745.3404541015625,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "391393be.95d72c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f212860e.85526",\r
+ "type": "break",\r
+ "name": "break",\r
+ "xml": "<break>\n",\r
+ "comments": "",\r
+ "x": 4752.834014892578,\r
+ "y": 2787.3404541015625,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "391393be.95d72c",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4977.834014892578,\r
+ "y": 2744.3404541015625,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "520819a9.ab1618"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "520819a9.ab1618",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 5135.834014892578,\r
+ "y": 2744.3404541015625,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "3a6f0d92.f64ee2"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3a6f0d92.f64ee2",\r
+ "type": "set",\r
+ "name": "set destination tunnel tp ip",\r
+ "xml": "<set>\n<parameter name='destination.tunnel-tp-id' value=\"`$tmp.aai.destination-ttp.tunnel-tp-id`\" />\n",\r
+ "comments": "",\r
+ "x": 5342.834014892578,\r
+ "y": 2744.3404541015625,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "35d3101c.ddb4c",\r
+ "type": "outcome",\r
+ "name": "esr-thirdparty-sdnc",\r
+ "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4836.216827392578,\r
+ "y": 2160,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "461a66b2.13a6c8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "461a66b2.13a6c8",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 5013.216827392578,\r
+ "y": 2152,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "6cbb0705.4a3c5",\r
+ "670f0182.9fd968"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7d886bfd.e9ca4c",\r
+ "type": "for",\r
+ "name": "for each relationship",\r
+ "xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-pnf.relationship-list.relationship_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4438.216827392578,\r
+ "y": 2156,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "e2222250.60ef7"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e2222250.60ef7",\r
+ "type": "switchNode",\r
+ "name": "switch related-to",\r
+ "xml": "<switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4633.216827392578,\r
+ "y": 2156,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "35d3101c.ddb4c",\r
+ "768c39b6.117ae"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "670f0182.9fd968",\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.domainB.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domainB.esr-thirdparty-sdnc' local-only='false' >",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5221.216827392578,\r
+ "y": 2159,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "4e714dda.e8064c",\r
+ "6d43e638.f020f8",\r
+ "33cdbe70.d704f2"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9bab22e5.a35978",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 5015.216827392578,\r
+ "y": 2225,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "3c5a22cd.c5b5a6"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "768c39b6.117ae",\r
+ "type": "outcome",\r
+ "name": "network-resource",\r
+ "xml": "<outcome value='network-resource'>",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4838.216827392578,\r
+ "y": 2233,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "9bab22e5.a35978"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "6cbb0705.4a3c5",\r
+ "type": "set",\r
+ "name": "set esr-thirdparty-sdnc domainB id",\r
+ "xml": "<set>\n<parameter name='tmp.domainB.esr-thirdparty-id' value=\"`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
+ "comments": "",\r
+ "x": 5251.216827392578,\r
+ "y": 2107,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "3c5a22cd.c5b5a6",\r
+ "type": "set",\r
+ "name": "set domainB ethernet layer network-id",\r
+ "xml": "<set>\n<parameter name='tmp.domainB.eth-network-id' value=\"`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
+ "comments": "",\r
+ "x": 5250.216827392578,\r
+ "y": 2349,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "4e714dda.e8064c",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5431.216827392578,\r
+ "y": 2150,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "c3b341d5.27524"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "6d43e638.f020f8",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5423.216827392578,\r
+ "y": 2205,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "5319e635.03496"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "33cdbe70.d704f2",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5428.216827392578,\r
+ "y": 2262,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "bf85165f.b30b4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "bf85165f.b30b4",\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": 5580.216827392578,\r
+ "y": 2263,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "5319e635.03496",\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": 5591.216827392578,\r
+ "y": 2208,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "c3b341d5.27524",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5575.599151611328,\r
+ "y": 2147.6556701660156,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "5a4d43b1.7dbc0c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "5a4d43b1.7dbc0c",\r
+ "type": "set",\r
+ "name": "set controller domainB data",\r
+ "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.url' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.user' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.password' value=\"`$tmp.aai.domainB.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": 5790.216827392578,\r
+ "y": 2144,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "83634982.62f32",\r
+ "type": "set",\r
+ "name": "set LEAF stuff",\r
+ "xml": "<set>\n<parameter name='tmp.LEAF.pnf-name-long' value=\"`$param-prefix-domainA-pnfName[0] + '-' +\n $param-prefix-domainA-pnfName[1] + '-' +\n $param-prefix-domainA-pnfName[2] + '-' +\n $param-prefix-domainA-pnfName[3] + '-' +\n $param-prefix-domainA-pnfName[4] + '-' +\n $param-prefix-domainA-pnfName[5] + '-' +\n $param-prefix-domainA-pnfName[6] + '-' +\n $param-prefix-domainA-pnfName[7] + '-' +\n $param-prefix-domainA-pnfName[8]`\" />\n\n<!--<parameter name='tmp.LEAF.pnf-name-short' value=\"`$param-prefix-domainA-pnfName[8]`\" />-->\n<parameter name='tmp.LEAF.pnf-name-short' value=\"`$tmp.src.pnf-name`\" />\n\n<parameter name='tmp.LEAF.uni-p-interface-long' value=\"`$tmp.aai.network-route-A.next-hop`\" />\n<parameter name='tmp.LEAF.uni-tp-id' value=\"`$tmp.src.ltpId`\" />\n",\r
+ "comments": "",\r
+ "x": 3288.883331298828,\r
+ "y": 1754,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "51304efd.d01998",\r
+ "type": "comment",\r
+ "name": "This is it (should be)",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 4510.883331298828,\r
+ "y": 1037,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "8cad1e9f.c00c5",\r
+ "type": "comment",\r
+ "name": "This is it (should be)",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 4502.883331298828,\r
+ "y": 1127,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "a78c5989.f5207",\r
+ "type": "set",\r
+ "name": "set ROOT stuff",\r
+ "xml": "<set>\n<parameter name='tmp.ROOT.pnf-name-long' value=\"`$param-prefix-domainB-pnfName[0] + '-' +\n $param-prefix-domainB-pnfName[1] + '-' +\n $param-prefix-domainB-pnfName[2] + '-' +\n $param-prefix-domainB-pnfName[3] + '-' +\n $param-prefix-domainB-pnfName[4] + '-' +\n $param-prefix-domainB-pnfName[5] + '-' +\n $param-prefix-domainB-pnfName[6] + '-' +\n $param-prefix-domainB-pnfName[7] + '-' +\n $param-prefix-domainB-pnfName[8]`\" />\n\n<!--<parameter name='tmp.ROOT.pnf-name-short' value=\"`$param-prefix-domainB-pnfName[8]`\" />-->\n<parameter name='tmp.ROOT.pnf-name-short' value=\"`$tmp.dst.pnf-name`\" />\n\n<parameter name='tmp.ROOT.uni-p-interface-long' value=\"`$tmp.aai.network-route-B.next-hop`\" />\n<parameter name='tmp.ROOT.uni-tp-id' value=\"`$tmp.dst.ltpId`\" />\n",\r
+ "comments": "",\r
+ "x": 3269.883331298828,\r
+ "y": 2610,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "5f144ff2.8e6388",\r
+ "type": "save",\r
+ "name": "save connectivityA relationship to UNI-LEAF, in AAI",\r
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n key='connectivity.connectivity-id = $prop.connectivity-domainA-uuid' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3401.883331298828,\r
+ "y": 1860,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "f39161b8.c95518",\r
+ "type": "save",\r
+ "name": "save LEAF UNI in AAI",\r
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-p-interface-short`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3308.883331298828,\r
+ "y": 1807,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "8af2638e.140428",\r
+ "type": "execute",\r
+ "name": "execute UUID generator for ethernet-service-name",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2426.883331298828,\r
+ "y": 185,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "b2d6bb83.745318",\r
+ "type": "set",\r
+ "name": "set new ethernet-service-name",\r
+ "xml": "<set>\n<!--<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-name`\" />-->\n<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-id`\" />\n\n\n",\r
+ "comments": "",\r
+ "x": 2360.883331298828,\r
+ "y": 221,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "efb9627d.c73688",\r
+ "type": "comment",\r
+ "name": "The following two nodes are to make sure all connectivities for an E-Tree have same etht-srv-name",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 2545.883331298828,\r
+ "y": 148,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "7954d1dd.93732",\r
+ "type": "comment",\r
+ "name": "NOT NEEDED ANYMORE?",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 4036.883331298828,\r
+ "y": 1838,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "48007645.c6e248",\r
+ "type": "comment",\r
+ "name": "NOT NEEDED ANYMORE?",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 4014.883331298828,\r
+ "y": 2708,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "e22daf3c.82e7c8",\r
+ "type": "call",\r
+ "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1-activate",\r
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1-activate' mode='sync' >\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3441.8837890625,\r
+ "y": 7480.999969482422,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "ba2fa114.256608",\r
+ "type": "comment",\r
+ "name": "START OF DELETE OPERATION",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 3288.88330078125,\r
+ "y": 2939.999969482422,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "cea904e8.518f5",\r
+ "type": "save",\r
+ "name": "delete LEAF uni resource in AAI",\r
+ "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3874.566650390625,\r
+ "y": 3129.400115966797,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "8c6f82a5.234d18",\r
+ "type": "save",\r
+ "name": "get LEAF uni from aai",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t key=\"uni.id = $tmp.LEAF.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.leafuni\" >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3245.566650390625,\r
+ "y": 3059.400115966797,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "980e282b.21ebf",\r
+ "62337ab9.8b1c5c",\r
+ "ac27f627.a68b4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "62337ab9.8b1c5c",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3473.0576171875,\r
+ "y": 3031.974090576172,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "a4aab25a.3920c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ac27f627.a68b4",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3468.566650390625,\r
+ "y": 3076.4000549316406,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "98b8996.e5a3fe8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a4aab25a.3920c",\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": 3635.629150390625,\r
+ "y": 3031.259796142578,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "98b8996.e5a3fe8",\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": 3636.566650390625,\r
+ "y": 3076.4000549316406,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "980e282b.21ebf",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3480.566650390625,\r
+ "y": 3126.400115966797,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "50a09dc8.f07414"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "50a09dc8.f07414",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic='true'>",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3632.88330078125,\r
+ "y": 3129.999969482422,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "839bae2a.5eaff8",\r
+ "cea904e8.518f5",\r
+ "8b478b6f.069ff8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "839bae2a.5eaff8",\r
+ "type": "set",\r
+ "name": "set bwToBeDecreased tpid cvlan",\r
+ "xml": "<set>\n<parameter name='bwToBeDecreased' value=\"`$tmp.aai.leafuni.data-source`\" />\n<parameter name='tpid' value='`$tmp.aai.leafuni.tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.leafuni.cvlan`' />\n\n\n",\r
+ "comments": "",\r
+ "x": 3877.566650390625,\r
+ "y": 3072.400115966797,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "5a01c9ff.aa79b8",\r
+ "type": "comment",\r
+ "name": "Update ROOT UNI's bw",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 3833.566650390625,\r
+ "y": 3235.199920654297,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "e327e4d5.a4e2b",\r
+ "type": "save",\r
+ "name": "update ROOT UNI in AAI",\r
+ "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n key='uni.id = $tmp.ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='data-source' value='`$tmp.newbw`' />\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4435.566650390625,\r
+ "y": 3340.199920654297,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "8b478b6f.069ff8",\r
+ "type": "save",\r
+ "name": "get root uni from aai",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t key=\"uni.id = $tmp.ROOT.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.rootuni\" >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3825.56640625,\r
+ "y": 3281.199920654297,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "b9a017aa.207728",\r
+ "1cc16855.ddb44",\r
+ "cca9f79e.b7e85"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1cc16855.ddb44",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4053.057373046875,\r
+ "y": 3253.773895263672,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "dd7a8720.93a36"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "cca9f79e.b7e85",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4048.56640625,\r
+ "y": 3298.1998596191406,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "bfa4184f.a70f18"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "dd7a8720.93a36",\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": 4215.62890625,\r
+ "y": 3253.059600830078,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "bfa4184f.a70f18",\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": 4216.56640625,\r
+ "y": 3298.1998596191406,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "51dfcdd2.a7dd1c",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 4213.56640625,\r
+ "y": 3348.199920654297,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "f4f7b843.eb2a48",\r
+ "e327e4d5.a4e2b"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b9a017aa.207728",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4044.56640625,\r
+ "y": 3348.199920654297,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "51dfcdd2.a7dd1c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f4f7b843.eb2a48",\r
+ "type": "set",\r
+ "name": "set new bw",\r
+ "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.rootuni.data-source - $bwToBeDecreased`' />\n",\r
+ "comments": "",\r
+ "x": 4395.567138671875,\r
+ "y": 3290.199920654297,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "7302cb88.8e6284",\r
+ "type": "comment",\r
+ "name": "Delete LEAF UNI",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 3825.88330078125,\r
+ "y": 3013.999969482422,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "5b4e5a5d.18c714",\r
+ "type": "set",\r
+ "name": "set current-provider-id and current-cvlan-id",\r
+ "xml": "<set>\n<parameter name='tmp.current-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='tmp.current-cvlan-id' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<!--<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />-->\n<!--<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />-->\n<!--<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />-->\n<!--<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />-->\n<!--<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />-->\n<!--<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />-->",\r
+ "comments": "",\r
+ "x": 3311.749969482422,\r
+ "y": 3792.6000366210938,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "a7a1bb48.b43ec8",\r
+ "type": "call",\r
+ "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-connectivity",\r
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-connectivity' mode='sync' >\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3444.749969482422,\r
+ "y": 3840.6000366210938,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "7b0989f8.4cdbd",\r
+ "type": "switchNode",\r
+ "name": "switch found-connectivity?",\r
+ "xml": "\n<switch test=\"`$found-connectivity`\">\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3266.749969482422,\r
+ "y": 3892.4000854492188,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "723122ee.60b394",\r
+ "1f79397f.9ef707"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "723122ee.60b394",\r
+ "type": "outcomeFalse",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3459.749969482422,\r
+ "y": 3893.4000854492188,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "fc2d1c85.b4eee"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "fc2d1c85.b4eee",\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=\"LEAF CONN DOES NOT EXIST BUT IT SHOULD BE.\" />\n\n",\r
+ "comments": "",\r
+ "x": 3603.749969482422,\r
+ "y": 3889.6000366210938,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "1f79397f.9ef707",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3463.749969482422,\r
+ "y": 3937.4000854492188,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "6275f59c.0890b4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "6275f59c.0890b4",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic='true'>",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3602.749969482422,\r
+ "y": 3932.4000854492188,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "810f11d9.c59a7",\r
+ "852c933b.a9e98",\r
+ "dd94c766.3611e8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "810f11d9.c59a7",\r
+ "type": "for",\r
+ "name": "for each relationship",\r
+ "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.the-connectivity.relationship-list.relationship_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3853.149627685547,\r
+ "y": 3940.9166870117188,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "4f7025f7.9e0214"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "4f7025f7.9e0214",\r
+ "type": "switchNode",\r
+ "name": "switch related-to",\r
+ "xml": "<switch test='`$tmp.the-connectivity.relationship-list.relationship[$cridx].related-to`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4075.149627685547,\r
+ "y": 3918.9166870117188,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "c1dfdbf7.de4f68"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c1dfdbf7.de4f68",\r
+ "type": "outcome",\r
+ "name": "uni",\r
+ "xml": "<outcome value='uni'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4235.149139404297,\r
+ "y": 3898.9166870117188,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "811e3163.5710b"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7642582a.7718e8",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 4388.149658203125,\r
+ "y": 3879.916717529297,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "b019880c.9753e",\r
+ "f61cef0c.bbc238"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b019880c.9753e",\r
+ "type": "set",\r
+ "name": "set tmp.stillHasUni to TRUE",\r
+ "xml": "<set>\n<parameter name='tmp.stillHasUni' value='true' />\n",\r
+ "comments": "",\r
+ "x": 4584.649871826172,\r
+ "y": 3847.9999389648438,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "852c933b.a9e98",\r
+ "type": "set",\r
+ "name": "set tmp.stillHasUn tmp.keepVPNBs to FALSE",\r
+ "xml": "<set>\n<parameter name='tmp.stillHasUni' value='false' />\n<parameter name='tmp.keepVPNBs' value='false' />\n",\r
+ "comments": "",\r
+ "x": 3959.64990234375,\r
+ "y": 3859.999969482422,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "dd94c766.3611e8",\r
+ "type": "switchNode",\r
+ "name": "switch tmp.keepVPNBs?",\r
+ "xml": "\n<switch test=\"`$tmp.keepVPNBs`\">\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3767.64990234375,\r
+ "y": 4281.000213623047,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "73d16500.5c0ae4",\r
+ "d3a70ceb.c50b78"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f61cef0c.bbc238",\r
+ "type": "break",\r
+ "name": "break",\r
+ "xml": "<break>\n",\r
+ "comments": "",\r
+ "x": 4552.88330078125,\r
+ "y": 3915.999969482422,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "d3a70ceb.c50b78",\r
+ "type": "outcomeFalse",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 154.65066528320312,\r
+ "y": 5345.000457763672,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "4a51985e.972e68"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "73d16500.5c0ae4",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3988.650634765625,\r
+ "y": 4383.000213623047,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "25f72ad2.47990e"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "25f72ad2.47990e",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4131.650634765625,\r
+ "y": 4379.000213623047,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "6e8bafff.64fc88",\r
+ "dcf23a76.fb4f5",\r
+ "f889b68d.197d9",\r
+ "69806916.62139",\r
+ "32064458.33cdf4",\r
+ "9c7a66fb.560d48",\r
+ "2b19eccb.73cf0c",\r
+ "987f769f.1ba7f8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "316316fc.4e3ac2",\r
+ "type": "comment",\r
+ "name": "keepVPNBs == false, then check tmp.stillHasUni",\r
+ "info": "(2) keepVPNBs == false, means there are no other UNIs in this\nsame domain and same connectivity that share the same OLT node.\n\ncheck if tmp.stillHasUni is True or False?\n\nif TRUE --> means this domain (connectivity) still has other UNIs\n- delete VPNBs\n- delete LEAF UNI in AAI -- DONE\n- upadte bw in ROOT UNI -- DONE\n- delete LEAF UNI in LEAF ethernet service PNC\n- change ROOT conn status to Modified\n--- mark LEAF connectivity as Modified because the underlay OTN tunnel list of this connectivity is now different\n\nif FALSE --> means this domain (connectivity) has no other UNIs\n\nif MMstillHasUni == TRUE, means scenario (3), else, means scenario (4)\n\n(3) & (4) both:\n- delete VPNBs\n- delete LEAF connectivity\n- delete LEAF Ethernet Service from PNC\n\n(3) only:\n- change ROOT conn status to Modified\n- Keep the middle-man-conn and DON'T delete\n\n(4) only:\n- delete ROOT UNI\n- delete ROOT conn from AAI\n- delete ROOT Ethernet Service from PNC\n- delete middle-man-conn from AAI\n\n",\r
+ "comments": "",\r
+ "x": 181,\r
+ "y": 5301.000457763672,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "32c3f6b1.304972",\r
+ "type": "comment",\r
+ "name": "There are still other UNIs in this connectivity that share same OLT node. Only update bw of the vpn-bindings involved",\r
+ "info": "(1) keepVPNBs == true, means there are still other UNIs in this\nsame domain and same connectivity that share the same OLT node.\n\n- Only update bw of the vpn-bindings involved -- DONE\n- upadte bw in ROOT UNI -- DONE\n- change ROOT conn status to Modified -- DONE\n- delete LEAF UNI in AAI -- DONE\n- delete LEAF UNI in LEAF ethernet service PNC -- DONE\n- DON'T delete the connectivities of LEAF and ROOT -- DONE\nAlso update the ethernet services",\r
+ "comments": "",\r
+ "x": 4007.884033203125,\r
+ "y": 4346.000213623047,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "7adbe8ea.ad8838",\r
+ "type": "set",\r
+ "name": "set srcTtp OTN layer",\r
+ "xml": "<set>\n<!--<parameter name='tmp.srcTtpOtnLayer' value=\"`$tmp.pce-src-node + '-' + -->\n<!-- $param-prefix-domainA[$param-prefix-domainA_length -2] + '-' +-->\n<!-- $tmp.source.ttp-id`\" />-->\n\n<parameter name='tmp.srcTtpOtnLayer' value=\"`$tmp.pce-src-node`\" />\n\n\n",\r
+ "comments": "",\r
+ "x": 4820.667724609375,\r
+ "y": 4536.783660888672,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "ee3b3067.d425a8",\r
+ "type": "switchNode",\r
+ "name": "switch provider-id domainA",\r
+ "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainA-pnfName[2]`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5165.667724609375,\r
+ "y": 4398.783660888672,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "76f6067d.796678"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "fc93f53c.f481d",\r
+ "type": "for",\r
+ "name": "for netwidx..allNetworksList_length",\r
+ "xml": "<for index='netwidx' start='0' end='`$allNetworksList.network-resource_length`' >",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4872.667724609375,\r
+ "y": 4392.783660888672,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "ee3b3067.d425a8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3f4440b0.d66f8",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5127.667724609375,\r
+ "y": 4349.783660888672,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "27f65669.8e0af2",\r
+ "type": "set",\r
+ "name": "unset parameters",\r
+ "xml": "<set>\n<parameter name='tmp.pce-src-node.' value='' />\n",\r
+ "comments": "",\r
+ "x": 4816.667724609375,\r
+ "y": 4444.783660888672,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "410c70eb.214758",\r
+ "type": "set",\r
+ "name": "set tmp.pce-src-node",\r
+ "xml": "<set>\n<!--<parameter name='tmp.pce-src-node' value=\"`$param-prefix-domainA-pnfName[0] + '-' +-->\n<!-- $param-prefix-domainA-pnfName[1] + '-' +-->\n<!-- $param-prefix-domainA-pnfName[2] + '-' +-->\n<!-- $param-prefix-domainA-pnfName[3] + '-' +-->\n<!-- $param-prefix-domainA-pnfName[4] + '-' +-->\n<!-- $param-prefix-domainA-pnfName[5] + '-' +-->\n<!-- 1 + '-' +-->\n<!-- $param-prefix-domainA-pnfName[7] + '-' +-->\n<!-- $param-prefix-domainA-pnfName[8]`\" />-->\n\n<parameter name='tmp.pce-src-node' value=\"`$param-prefix-domainA-pnfName[0] + '-' +\n $param-prefix-domainA-pnfName[1] + '-' +\n $param-prefix-domainA-pnfName[2] + '-' +\n $param-prefix-domainA-pnfName[3] + '-' +\n $param-prefix-domainA-pnfName[4] + '-' +\n $param-prefix-domainA-pnfName[5] + '-' +\n $otnTopoIdSrc + '-' +\n $param-prefix-domainA-pnfName[7] + '-' +\n $param-prefix-domainA-pnfName[8]`\" />",\r
+ "comments": "",\r
+ "x": 4824.667724609375,\r
+ "y": 4489.783660888672,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "e258b42d.2c46d8",\r
+ "type": "set",\r
+ "name": "unset otnTopoIdSrc",\r
+ "xml": "<set>\n<parameter name='otnTopoIdSrc' value='' />\n",\r
+ "comments": "",\r
+ "x": 4821.667724609375,\r
+ "y": 4342.783660888672,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "76f6067d.796678",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5074.667724609375,\r
+ "y": 4466.783660888672,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "acca9da1.cc4618"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "acca9da1.cc4618",\r
+ "type": "switchNode",\r
+ "name": "switch te-topo-id",\r
+ "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].te-topo-id != $param-prefix-domainA-pnfName[6]`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5259.667724609375,\r
+ "y": 4465.783660888672,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "f448b4f8.c120e"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f448b4f8.c120e",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5451.667724609375,\r
+ "y": 4468.783660888672,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "19985725.a5eca1"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "19985725.a5eca1",\r
+ "type": "set",\r
+ "name": "set otnTopoIdSrc",\r
+ "xml": "<set>\n<parameter name='otnTopoIdSrc' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
+ "comments": "",\r
+ "x": 5623.667724609375,\r
+ "y": 4464.783660888672,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "ab4edace.9f77f",\r
+ "type": "call",\r
+ "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-find-maximum-used-tpn",\r
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-find-maximum-used-tpn' mode='sync' >\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4999.667724609375,\r
+ "y": 4579.783660888672,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "6e8bafff.64fc88",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4516.667724609375,\r
+ "y": 4364.783660888672,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "30c992c8.4db58e",\r
+ "c2728b20.458338",\r
+ "27f65669.8e0af2",\r
+ "410c70eb.214758",\r
+ "7adbe8ea.ad8838",\r
+ "fc93f53c.f481d",\r
+ "ab4edace.9f77f"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2e6e6c8a.c892fc",\r
+ "type": "comment",\r
+ "name": "The following section is to find srcTtp OTN layer (its long name)",\r
+ "info": "The following section is to find srcTtp OTN layer (its long name)",\r
+ "comments": "",\r
+ "x": 4501.667724609375,\r
+ "y": 4298.783660888672,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "c2728b20.458338",\r
+ "type": "get-resource",\r
+ "name": "get-resource network-resources-list",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-resources\"\n\t key=\"selflink = 'https://aai.onap:8443/aai/v24/network/network-resources?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"allNetworksList\" >",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4880.667724609375,\r
+ "y": 4285.783660888672,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "cd41e347.c8a4d",\r
+ "5bcb3237.45bf24",\r
+ "3f4440b0.d66f8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "cd41e347.c8a4d",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5116.667724609375,\r
+ "y": 4268.783660888672,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "5bcb3237.45bf24",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5113.667724609375,\r
+ "y": 4309.783660888672,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "30c992c8.4db58e",\r
+ "type": "set",\r
+ "name": "unset parameters",\r
+ "xml": "<set>\n<parameter name='allNetworksList.' value='' />\n",\r
+ "comments": "",\r
+ "x": 4829.667724609375,\r
+ "y": 4242.783660888672,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "dcf23a76.fb4f5",\r
+ "type": "set",\r
+ "name": "unset tmp.aai.all-vpn-bindings",\r
+ "xml": "<set>\n<parameter name='tmp.aai.all-vpn-bindings.' value='' />\n",\r
+ "comments": "",\r
+ "x": 4336.667724609375,\r
+ "y": 4697.183563232422,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "f549a24.b4e97e",\r
+ "type": "comment",\r
+ "name": "find all OTNs that have srcTtpOtnLayer and decrease their bandwidth",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 4459.968017578125,\r
+ "y": 4736.183563232422,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "f889b68d.197d9",\r
+ "type": "save",\r
+ "name": "get all-vpn-bindings from aai",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-bindings\"\n\t key=\"selflink = 'https://aai.onap:8443/aai/v24/network/vpn-bindings\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.all-vpn-bindings\" >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4357.968017578125,\r
+ "y": 4771.183563232422,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "f7fe6bc0.f9d1a8",\r
+ "b939c13a.bd148",\r
+ "63930841.13965"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f7fe6bc0.f9d1a8",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4562.968017578125,\r
+ "y": 4768.183563232422,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "85787fa.a0f0d8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b939c13a.bd148",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4546.458984375,\r
+ "y": 4829.757598876953,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "c496c4d4.109c78"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "63930841.13965",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4543.968017578125,\r
+ "y": 4873.183563232422,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "bb1ebaa9.c2fac"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "85787fa.a0f0d8",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 4730.96826171875,\r
+ "y": 4763.183563232422,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "6a7a29b4.6659c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c496c4d4.109c78",\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": 4709.0303955078125,\r
+ "y": 4830.0433349609375,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "bb1ebaa9.c2fac",\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": 4710.968017578125,\r
+ "y": 4872.183563232422,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "6a7a29b4.6659c",\r
+ "type": "for",\r
+ "name": "for vpnidx in all-vpn-bindings",\r
+ "xml": "<for index='vpnbidx' start='0' end='`$tmp.aai.all-vpn-bindings.vpn-binding_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4968.96826171875,\r
+ "y": 4768.183563232422,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "2e12f618.b174b2"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2e12f618.b174b2",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic='true'>",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5202.968017578125,\r
+ "y": 4775.183563232422,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "1b37b556.addac3"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3df57bb4.1a97cc",\r
+ "type": "comment",\r
+ "name": "find all OTNs that have srcTtpOtnLayer and increase their bandwidth",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 5188.784423828125,\r
+ "y": 4997.350067138672,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "1b37b556.addac3",\r
+ "type": "switchNode",\r
+ "name": "switch ops-note is srcTtpOtnLayer",\r
+ "xml": "<switch test=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].ops-note == $tmp.srcTtpOtnLayer `\">\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5221.784423828125,\r
+ "y": 5065.350067138672,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "c62dd674.fd73f",\r
+ "37627bf2.c03934"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "37627bf2.c03934",\r
+ "type": "outcomeFalse",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5465.784454345703,\r
+ "y": 5037.349853515625,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "c62dd674.fd73f",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5346.784423828125,\r
+ "y": 4963.349822998047,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "a5ecb13c.9c7548"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a5ecb13c.9c7548",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic='true'>",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5473.767822265625,\r
+ "y": 4901.766326904297,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "78a5ede3.09cc54",\r
+ "aecf8872.1d5c4",\r
+ "657d43b1.13c254"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9d348107.818aa",\r
+ "type": "for",\r
+ "name": "for each relationship",\r
+ "xml": "<for silentFailure='true' index='vpnbridx' start='0' end='`$tmp.aai.the-vpn-binding.relationship-list.relationship_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5709.8173828125,\r
+ "y": 4785.766571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "99f28c5d.95abe8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "99f28c5d.95abe8",\r
+ "type": "switchNode",\r
+ "name": "switch related-to",\r
+ "xml": "<switch test='`$tmp.aai.the-vpn-binding.relationship-list.relationship[$vpnbridx].related-to`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5901.8173828125,\r
+ "y": 4774.766815185547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "9a75bdf9.10641"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "78a5ede3.09cc54",\r
+ "type": "set",\r
+ "name": "unset tmp.aai.the-vpn-binding",\r
+ "xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"\" />\n",\r
+ "comments": "",\r
+ "x": 5658.334228515625,\r
+ "y": 4675.983612060547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "aecf8872.1d5c4",\r
+ "type": "set",\r
+ "name": "set tmp.aai.the-vpn-binding",\r
+ "xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].`\" />\n",\r
+ "comments": "",\r
+ "x": 5650.334228515625,\r
+ "y": 4724.983612060547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "657d43b1.13c254",\r
+ "type": "save",\r
+ "name": "update vpn-binding otnIdx resource (aka. OTN) in AAI",\r
+ "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.aai.the-vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.the-vpn-binding.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.the-vpn-binding.vpn-name`' />\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<parameter name='route-distinguisher' value='`$tmp.aai.the-vpn-binding.route-distinguisher - $bwToBeDecreased`' />\n<parameter name='operational-status' value='Modified' />\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5881.751220703125,\r
+ "y": 4906.149627685547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "f1c96228.a5339",\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.the-connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.the-connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n<!--<parameter name='bandwidth-profile-name' value='`$gfp`' />-->\n<!--<parameter name='cir' value='`$gfp *1000000`' />-->\n<!--<parameter name='eir' value='`$gfp *1000000`' />-->\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5833.401123046875,\r
+ "y": 4953.466522216797,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "75d6304c.089cd8",\r
+ "type": "comment",\r
+ "name": "decrease the bw of the-vpn-binding and change status to modified",\r
+ "info": "decrease the bw of the-vpn-binding\nchange status to modified\n",\r
+ "comments": "",\r
+ "x": 5905.751220703125,\r
+ "y": 4867.149627685547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "9a75bdf9.10641",\r
+ "type": "outcome",\r
+ "name": "connectivity",\r
+ "xml": "<outcome value='connectivity'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 6083.8173828125,\r
+ "y": 4753.766815185547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "b5ad886.81af5f8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b5ad886.81af5f8",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 6245.8173828125,\r
+ "y": 4742.766815185547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "6f94f7eb.f4d818",\r
+ "269fac18.2bb21c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "6f94f7eb.f4d818",\r
+ "type": "set",\r
+ "name": "unset tmp.the-connectivity",\r
+ "xml": "<set>\n<parameter name='tmp.the-connectivity.' value='' />\n",\r
+ "comments": "",\r
+ "x": 6442.8173828125,\r
+ "y": 4671.766815185547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "269fac18.2bb21c",\r
+ "type": "set",\r
+ "name": "set tmp.the-connectivity",\r
+ "xml": "<set>\n<parameter name='tmp.the-connectivity.' value='`$tmp.aai.the-vpn-binding.relationship-list.relationship[$vpnbridx].relationship-data[0].relationship-value`' />\n",\r
+ "comments": "",\r
+ "x": 6440.2841796875,\r
+ "y": 4770.983612060547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "a984d0c7.8574d",\r
+ "type": "call",\r
+ "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-logic",\r
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-logic' mode='sync' >\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3097.800048828125,\r
+ "y": 3229.800018310547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "49347bae.3e2974",\r
+ "type": "switchNode",\r
+ "name": "switch found-middle-man?",\r
+ "xml": "<switch test='`$found-middle-man`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2974.800048828125,\r
+ "y": 3339.800018310547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "7b835f88.3b076",\r
+ "7490c0ec.4dda5"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7b835f88.3b076",\r
+ "type": "outcomeFalse",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3158.800048828125,\r
+ "y": 3318.800018310547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "5b141b7a.8f28f4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "5b141b7a.8f28f4",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic='true'>",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3301.800048828125,\r
+ "y": 3318.800018310547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "94596646.a7e4f"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "94596646.a7e4f",\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=\"LEAF CONN DOES NOT EXIST BUT IT SHOULD BE.\" />\n\n",\r
+ "comments": "",\r
+ "x": 3477.800048828125,\r
+ "y": 3316.800018310547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "7490c0ec.4dda5",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3156.800048828125,\r
+ "y": 3373.800018310547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "a3855d70.dbb87"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a3855d70.dbb87",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic='true'>",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3003.800048828125,\r
+ "y": 3506.800018310547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "5b4e5a5d.18c714",\r
+ "a7a1bb48.b43ec8",\r
+ "7b0989f8.4cdbd",\r
+ "b98b1ba5.429c1",\r
+ "37657916.72f08e",\r
+ "cc0c619e.32de58"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a5a62e88.7d802",\r
+ "type": "comment",\r
+ "name": "Find LEAF connectivity",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 3225.88330078125,\r
+ "y": 3746.999969482422,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "b98b1ba5.429c1",\r
+ "type": "set",\r
+ "name": "set tmp.MMstillHasUni to FALSE",\r
+ "xml": "<set>\n<parameter name='tmp.MMstillHasUni' value='false' />\n",\r
+ "comments": "",\r
+ "x": 3308.333251953125,\r
+ "y": 3519.800018310547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "37657916.72f08e",\r
+ "type": "for",\r
+ "name": "for each relationship of middle-man-conn",\r
+ "xml": "<for silentFailure='true' index='cridx' start='0' end='`$middle-man-conn.relationship-list.relationship_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3306.8330078125,\r
+ "y": 3565.716766357422,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "1a4c3937.32a93f"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1a4c3937.32a93f",\r
+ "type": "switchNode",\r
+ "name": "switch related-to",\r
+ "xml": "<switch test='`$middle-man-conn.relationship-list.relationship[$cridx].related-to`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3569.8330078125,\r
+ "y": 3560.716766357422,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "95d80a37.7eef5"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "95d80a37.7eef5",\r
+ "type": "outcome",\r
+ "name": "uni",\r
+ "xml": "<outcome value='uni'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3729.83251953125,\r
+ "y": 3540.716766357422,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "9608373.19689c8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d9ea756c.06e5e",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 4498.833740234375,\r
+ "y": 3575.716766357422,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "29278691.db117a",\r
+ "29bad35d.650d14",\r
+ "a6af6c62.1a6b5"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "29278691.db117a",\r
+ "type": "set",\r
+ "name": "set tmp.MMstillHasUni to TRUE",\r
+ "xml": "<set>\n<parameter name='tmp.MMstillHasUni' value='true' />\n",\r
+ "comments": "",\r
+ "x": 4738.334228515625,\r
+ "y": 3524.800018310547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "29bad35d.650d14",\r
+ "type": "break",\r
+ "name": "break",\r
+ "xml": "<break>\n",\r
+ "comments": "",\r
+ "x": 4671.567657470703,\r
+ "y": 3597.800048828125,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "4465f9ec.e3dbb",\r
+ "type": "comment",\r
+ "name": "Find LEAF and ROOT connectivities and remove UNI from PNC",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 4432.88427734375,\r
+ "y": 5128.000213623047,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "69806916.62139",\r
+ "type": "set",\r
+ "name": "set tmp.leafconn.",\r
+ "xml": "<set>\n<parameter name='tmp.leafconn.' value='`$tmp.the-connectivity.`' />\n",\r
+ "comments": "",\r
+ "x": 4331.317138671875,\r
+ "y": 5179.916717529297,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "2b19eccb.73cf0c",\r
+ "type": "call",\r
+ "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-ROOT-conn",\r
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' >\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4482.317138671875,\r
+ "y": 5622.916717529297,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "987f769f.1ba7f8",\r
+ "type": "switchNode",\r
+ "name": "switch found-root-connectivity",\r
+ "xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4297.317138671875,\r
+ "y": 5689.916717529297,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "c7979e94.4deb18",\r
+ "5e8c956f.69a854"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c7979e94.4deb18",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4562.317138671875,\r
+ "y": 5674.916717529297,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "4a28d2a5.936924"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "5e8c956f.69a854",\r
+ "type": "outcomeFalse",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4558.317138671875,\r
+ "y": 5722.916717529297,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "213fbf95.d03c8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "4a28d2a5.936924",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic='true'>",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4718.317138671875,\r
+ "y": 5670.916717529297,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "a96c5a1a.d66bf"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "213fbf95.d03c8",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Root Connectivity was not found' />\n",\r
+ "comments": "",\r
+ "x": 4706.317138671875,\r
+ "y": 5717.916717529297,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "4e8315f.b9446ec",\r
+ "type": "set",\r
+ "name": "set tmp.rootconn.",\r
+ "xml": "<set>\n<parameter name='tmp.rootconn.' value=\"`$tmp.aai.ROOT.connectivity.`\" />\n\n\n",\r
+ "comments": "",\r
+ "x": 5138.3173828125,\r
+ "y": 5612.916717529297,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "aa7d5d8.eb8bca",\r
+ "type": "set",\r
+ "name": "set pnf-name",\r
+ "xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n $tmp.leafconn.access-provider-id + '-clientId-' +\n $tmp.leafconn.access-client-id + '-topologyId-' +\n $tmp.leafconn.access-topology-id + '-nodeId-' +\n $tmp.leafconn.access-node-id`\" />\n",\r
+ "comments": "",\r
+ "x": 4540.734130859375,\r
+ "y": 5209.200408935547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "32064458.33cdf4",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 4311.734130859375,\r
+ "y": 5298.200408935547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "aa7d5d8.eb8bca",\r
+ "3165c974.539e06"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3165c974.539e06",\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": 4547.734130859375,\r
+ "y": 5291.200408935547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "4cddcbba.102194",\r
+ "d5cd17da.64e6a",\r
+ "9d33157c.077f3"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "4cddcbba.102194",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4743.2342529296875,\r
+ "y": 5243.200408935547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "658952ec.d50f2c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d5cd17da.64e6a",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4735.2342529296875,\r
+ "y": 5298.200408935547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "f87d3f72.db25b"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "658952ec.d50f2c",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4887.6165771484375,\r
+ "y": 5242.8560791015625,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "5e03d50d.e31174"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "5e03d50d.e31174",\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": 5071.734130859375,\r
+ "y": 5241.200408935547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "81fcac6e.c2cbb"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "81fcac6e.c2cbb",\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": 5266.734130859375,\r
+ "y": 5241.200408935547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "23740bd0.c54174"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9d33157c.077f3",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4740.2342529296875,\r
+ "y": 5355.200408935547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "d477847d.474a8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d477847d.474a8",\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": 4892.2342529296875,\r
+ "y": 5356.200408935547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "f87d3f72.db25b",\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": 4903.2342529296875,\r
+ "y": 5299.200408935547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "e3023af7.680d7",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 5648.734130859375,\r
+ "y": 5245.200408935547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "31c1897e.fbb116",\r
+ "b906e4f7.66368",\r
+ "ac0e0ca2.883cb"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "23740bd0.c54174",\r
+ "type": "outcome",\r
+ "name": "esr-thirdparty-sdnc",\r
+ "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5469.734130859375,\r
+ "y": 5245.200408935547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "e3023af7.680d7"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b906e4f7.66368",\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": 5854.734130859375,\r
+ "y": 5258.200408935547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "df7977a7.075b8",\r
+ "f17bde95.882498",\r
+ "61e2d23e.358d1c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "31c1897e.fbb116",\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": 5884.734130859375,\r
+ "y": 5206.200408935547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "df7977a7.075b8",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 6064.734130859375,\r
+ "y": 5249.200408935547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "7ac6fe75.62b4e"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f17bde95.882498",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 6056.734130859375,\r
+ "y": 5304.200408935547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "671c9934.2cd48"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "61e2d23e.358d1c",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 6061.734130859375,\r
+ "y": 5361.200408935547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "a6615570.50c968"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a6615570.50c968",\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": 6213.734130859375,\r
+ "y": 5362.200408935547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "671c9934.2cd48",\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": 6224.734130859375,\r
+ "y": 5307.200408935547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "7ac6fe75.62b4e",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 6209.116455078125,\r
+ "y": 5246.8560791015625,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "6989c737.25d068"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "6989c737.25d068",\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": 6423.734130859375,\r
+ "y": 5243.200408935547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "ac0e0ca2.883cb",\r
+ "type": "break",\r
+ "name": "break",\r
+ "xml": "<break>\n",\r
+ "comments": "",\r
+ "x": 5804.734130859375,\r
+ "y": 5322.200408935547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "9c7a66fb.560d48",\r
+ "type": "execute",\r
+ "name": "execute RestApiCallNode Delete LEAF UNI of 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/etht-svc-instances=' + $tmp.leafconn.etht-svc-name + '/etht-svc-end-points=' + $tmp.LEAF.uni-p-interface-long`\" />\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": 4453.234375,\r
+ "y": 5402.800018310547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "1e28e096.7499f7",\r
+ "cc9e5694.f9d17"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1e28e096.7499f7",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4813.734130859375,\r
+ "y": 5410.800018310547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "906e379.3b93848"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "906e379.3b93848",\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 delete ethernet service rest api\" />\n",\r
+ "comments": "",\r
+ "x": 4971.734130859375,\r
+ "y": 5410.800018310547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "90be5ca9.028288",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4975.234130859375,\r
+ "y": 5450.800018310547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "cc9e5694.f9d17",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4817.734130859375,\r
+ "y": 5450.800018310547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "90be5ca9.028288"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "921095c8.3bc23",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 5126.451171875,\r
+ "y": 5664.800018310547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "fb4f4697.4dc5f",\r
+ "7ea31674.99e1d8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7ea31674.99e1d8",\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": 5368.450927734375,\r
+ "y": 5614.800018310547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "10743e5b.0b6182",\r
+ "5598183a.212ab",\r
+ "9c9074e9.bbaff8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "10743e5b.0b6182",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5563.951171875,\r
+ "y": 5548.800018310547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "767943d2.64a144"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "5598183a.212ab",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5559.951171875,\r
+ "y": 5604.800018310547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "74a77564.40268c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "767943d2.64a144",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5708.3333740234375,\r
+ "y": 5566.4556884765625,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "10049f5.85364e1"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "10049f5.85364e1",\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": 5892.450927734375,\r
+ "y": 5564.800018310547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "72e5612b.857e68"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9c9074e9.bbaff8",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5569.951171875,\r
+ "y": 5649.800018310547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "952a99b1.f3f0e"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "952a99b1.f3f0e",\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": 5748.951171875,\r
+ "y": 5665.800018310547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "74a77564.40268c",\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": 5730.951171875,\r
+ "y": 5617.800018310547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "f64c3a10.6bbc38",\r
+ "type": "execute",\r
+ "name": "execute RestApiCallNode Delete UNI of 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/etht-svc-instances=' + $tmp.rootconn.etht-svc-name + '/etht-svc-end-points=' + $tmp.ROOT.uni-p-interface-long`\" />\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": 5279.951171875,\r
+ "y": 5720.399627685547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "cd722628.03685",\r
+ "76458c1b.1a62ac"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "cd722628.03685",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5628.451171875,\r
+ "y": 5702.399627685547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "d04dd9dc.2f2dc8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d04dd9dc.2f2dc8",\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 delete ethernet service rest api\" />\n",\r
+ "comments": "",\r
+ "x": 5884.451171875,\r
+ "y": 5705.399627685547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "1006a530.30b813",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5836.951171875,\r
+ "y": 5746.399627685547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "76458c1b.1a62ac",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5638.451171875,\r
+ "y": 5751.399627685547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "1006a530.30b813"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "fb4f4697.4dc5f",\r
+ "type": "set",\r
+ "name": "set pnf-name",\r
+ "xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n $tmp.rootconn.access-provider-id + '-clientId-' +\n $tmp.rootconn.access-client-id + '-topologyId-' +\n $tmp.rootconn.access-topology-id + '-nodeId-' +\n $tmp.rootconn.access-node-id`\" />\n",\r
+ "comments": "",\r
+ "x": 5361.450927734375,\r
+ "y": 5532.800018310547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "72e5612b.857e68",\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": 6087.450927734375,\r
+ "y": 5564.800018310547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "3625dda5.38707a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "402ab8f9.3aa18",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 6469.450927734375,\r
+ "y": 5568.800018310547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "4697e13e.13b02",\r
+ "6c3ba6ac.e7c21",\r
+ "34e0c57a.0e712a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3625dda5.38707a",\r
+ "type": "outcome",\r
+ "name": "esr-thirdparty-sdnc",\r
+ "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 6290.450927734375,\r
+ "y": 5568.800018310547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "402ab8f9.3aa18"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "6c3ba6ac.e7c21",\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": 6675.450927734375,\r
+ "y": 5581.800018310547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "2e31a205.2611fe",\r
+ "c9f11bf6.38bb98",\r
+ "99cec3e1.6d2f68"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "4697e13e.13b02",\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": 6705.450927734375,\r
+ "y": 5529.800018310547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "2e31a205.2611fe",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 6885.450927734375,\r
+ "y": 5572.800018310547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "2ba283a1.e08d44"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c9f11bf6.38bb98",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 6877.450927734375,\r
+ "y": 5627.800018310547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "3af9cd94.f12ff2"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "99cec3e1.6d2f68",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 6882.450927734375,\r
+ "y": 5684.800018310547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "c501098b.50507"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c501098b.50507",\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": 7034.450927734375,\r
+ "y": 5685.800018310547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "3af9cd94.f12ff2",\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": 7045.450927734375,\r
+ "y": 5630.800018310547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "2ba283a1.e08d44",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 7029.833251953125,\r
+ "y": 5570.4556884765625,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "bca9e0da.72619"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "bca9e0da.72619",\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": 7244.450927734375,\r
+ "y": 5566.800018310547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "34e0c57a.0e712a",\r
+ "type": "break",\r
+ "name": "break",\r
+ "xml": "<break>\n",\r
+ "comments": "",\r
+ "x": 6625.450927734375,\r
+ "y": 5645.800018310547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "9608373.19689c8",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3854.88330078125,\r
+ "y": 3534.999969482422,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "6e45c64.2629238",\r
+ "354c7fc8.6d8de"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "6e45c64.2629238",\r
+ "type": "set",\r
+ "name": "set tmp.mmUNI-id-long",\r
+ "xml": "<set>\n<parameter name='tmp.mmUNI-id-long' value='`$middle-man-conn.relationship-list.relationship[$cridx].relationship-data[0].relationship-value`' />\n",\r
+ "comments": "",\r
+ "x": 4045.466552734375,\r
+ "y": 3477.800018310547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "354c7fc8.6d8de",\r
+ "type": "switchNode",\r
+ "name": "switch tmp.mmUNI-id-long != ROOT UNI",\r
+ "xml": "\n<switch test=\"`$tmp.mmUNI-id-long != $tmp.ROOT.uni-p-interface-long`\">\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4092.466552734375,\r
+ "y": 3548.800018310547,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "6bdb2c16.23fc7c",\r
+ "5820e4e6.95b47c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "6bdb2c16.23fc7c",\r
+ "type": "outcomeFalse",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4330.884033203125,\r
+ "y": 3507.999969482422,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "d4fcba65.f8c8f"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "5820e4e6.95b47c",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4337.884246826172,\r
+ "y": 3564.9999389648438,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "d9ea756c.06e5e"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d4fcba65.f8c8f",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4458.884521484375,\r
+ "y": 3503.999969482422,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "cc0c619e.32de58",\r
+ "type": "set",\r
+ "name": "set tmp.MMonlyHasROOT to TRUE",\r
+ "xml": "<set>\n<parameter name='tmp.MMonlyHasROOT' value='true' />\n",\r
+ "comments": "",\r
+ "x": 3314.083251953125,\r
+ "y": 3462.400115966797,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "a6af6c62.1a6b5",\r
+ "type": "set",\r
+ "name": "set tmp.MMonlyHasROOT to FALSE",\r
+ "xml": "<set>\n<parameter name='tmp.MMonlyHasROOT' value='false' />\n",\r
+ "comments": "",\r
+ "x": 4727.9169921875,\r
+ "y": 3468.400115966797,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "811e3163.5710b",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 4407.6669921875,\r
+ "y": 3984.616668701172,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "aa9298d8.acde8",\r
+ "a5e5763f.58bb2"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "aa9298d8.acde8",\r
+ "type": "set",\r
+ "name": "set tmp.uni.id",\r
+ "xml": "<set>\n<parameter name='tmp.uni.id' value='`$tmp.the-connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value`' />\n",\r
+ "comments": "",\r
+ "x": 4580.5498046875,\r
+ "y": 3980.276336669922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "a5e5763f.58bb2",\r
+ "type": "save",\r
+ "name": "get uni from aai",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t key=\"uni.id = $tmp.uni.id\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.uni\" >\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4583.5498046875,\r
+ "y": 4027.276336669922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "4df6bcf4.a4f44c",\r
+ "89771ed8.977b78",\r
+ "d1de1d5b.be978"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "4df6bcf4.a4f44c",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4755.5498046875,\r
+ "y": 4011.276336669922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "f65d0563.51b9e"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "89771ed8.977b78",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4756.040771484375,\r
+ "y": 4056.850372314453,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "d1de1d5b.be978",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4756.5498046875,\r
+ "y": 4097.276336669922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "f65d0563.51b9e",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic='true'>",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4916.5498046875,\r
+ "y": 4007.276336669922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "41e51ce8.c7bbd4",\r
+ "9fcba756.d0c298",\r
+ "99817ef0.1be558"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d2f62a11.bbccd",\r
+ "type": "comment",\r
+ "name": "find the node part of the uni.id (uni-tp-id-node-part)",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 5249.5498046875,\r
+ "y": 3938.276336669922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "9fcba756.d0c298",\r
+ "type": "execute",\r
+ "name": "execute split id to get pnf-name",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.uni.id`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-uni-pnfName\"/>\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5184.5498046875,\r
+ "y": 3995.276336669922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "ad91a307.53dc18",\r
+ "66b6c9a.ce41eb8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "66b6c9a.ce41eb8",\r
+ "type": "failure",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5407.5498046875,\r
+ "y": 3981.276336669922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "f5696a58.3dcae"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ad91a307.53dc18",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5409.5498046875,\r
+ "y": 4014.276336669922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "cd5f81cd.b325a8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f5696a58.3dcae",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 5555.5498046875,\r
+ "y": 3974.276336669922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "520c18e.4c672e8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "cd5f81cd.b325a8",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
+ "comments": "",\r
+ "x": 5552.5498046875,\r
+ "y": 4011.276336669922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "520c18e.4c672e8",\r
+ "type": "set",\r
+ "name": "set pnf-name",\r
+ "xml": "<set>\n<parameter name='tmp.uni.pnf-name' value=\"`$param-prefix-uni-pnfName[0] + '-' +\n $param-prefix-uni-pnfName[1] + '-' +\n $param-prefix-uni-pnfName[2] + '-' +\n $param-prefix-uni-pnfName[3] + '-' +\n $param-prefix-uni-pnfName[4] + '-' +\n $param-prefix-uni-pnfName[5] + '-' +\n $param-prefix-uni-pnfName[6] + '-' +\n $param-prefix-uni-pnfName[7] + '-' +\n $param-prefix-uni-pnfName[8]`\" />\n",\r
+ "comments": "",\r
+ "x": 5732.5498046875,\r
+ "y": 3974.276336669922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "41e51ce8.c7bbd4",\r
+ "type": "switchNode",\r
+ "name": "switch uni-tp-id-node-part is the same as the LEAF node",\r
+ "xml": "<switch test='`$tmp.uni.pnf-name == $tmp.LEAF.pnf-name-long`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5228.5498046875,\r
+ "y": 4129.276336669922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "f5a5405e.ab64e8",\r
+ "39efe4c8.977e5c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f5a5405e.ab64e8",\r
+ "type": "outcomeFalse",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5509.5498046875,\r
+ "y": 4106.276336669922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "76dcdb2b.58523c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "39efe4c8.977e5c",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5502.5498046875,\r
+ "y": 4165.276336669922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "e34b9d00.f34da8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "76dcdb2b.58523c",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5639.5498046875,\r
+ "y": 4110.276336669922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "e34b9d00.f34da8",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic='true'>",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5644.5498046875,\r
+ "y": 4164.276336669922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "d870e573.0525d",\r
+ "daec44c5.c4ca2"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d870e573.0525d",\r
+ "type": "set",\r
+ "name": "set no-pce-call",\r
+ "xml": "<set>\n<parameter name='no-pce-call' value=\"true\" />\n",\r
+ "comments": "",\r
+ "x": 5836.5498046875,\r
+ "y": 4131.276336669922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "77e6d570.0136ec",\r
+ "type": "set",\r
+ "name": "set middle-man-conn",\r
+ "xml": "<set>\n<parameter name='middle-man-conn.' value='`$tmp.aai.all-connectivities.connectivity[$connidx].`' />\n",\r
+ "comments": "",\r
+ "x": 5852.5498046875,\r
+ "y": 4183.276336669922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "daec44c5.c4ca2",\r
+ "type": "set",\r
+ "name": "set tmp.stillHasUni and tmp.keepVPNBs to TRUE",\r
+ "xml": "<set>\n<parameter name='tmp.stillHasUni' value='true' />\n<parameter name='tmp.keepVPNBs' value='true' />\n",\r
+ "comments": "",\r
+ "x": 5870.83349609375,\r
+ "y": 4252.866668701172,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "99817ef0.1be558",\r
+ "type": "set",\r
+ "name": "set tmp.stillHasUni to TRUE",\r
+ "xml": "<set>\n<parameter name='tmp.stillHasUni' value='true' />\n",\r
+ "comments": "",\r
+ "x": 5147.533203125,\r
+ "y": 4078.766571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "4a51985e.972e68",\r
+ "type": "switchNode",\r
+ "name": "switch tmp.stillHasUni?",\r
+ "xml": "\n<switch test=\"`$tmp.stillHasUni`\">\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 383.7339172363281,\r
+ "y": 5348.966278076172,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "35e41a11.58bd1e",\r
+ "8fea1632.f2d7a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2a89b0c9.686c5",\r
+ "type": "save",\r
+ "name": "get root uni from aai",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t key=\"uni.id = $tmp.ROOT.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.rootuni\" >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4288.516357421875,\r
+ "y": 5512.850067138672,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "11eb64db.01f3fb",\r
+ "edc304ba.5ec56",\r
+ "e3707812.01b138"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8fd56902.a16fd8",\r
+ "type": "comment",\r
+ "name": "Update ROOT UNI's bw -- ALREADY DONE",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 4286.516845703125,\r
+ "y": 5464.850311279297,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "fe5a805b.6befb8",\r
+ "type": "save",\r
+ "name": "update ROOT UNI in AAI",\r
+ "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n key='uni.id = $tmp.ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='data-source' value='`$tmp.newbw`' />\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4903.5166015625,\r
+ "y": 5582.850311279297,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "edc304ba.5ec56",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4506.007568359375,\r
+ "y": 5483.424285888672,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "d06cf255.10cad"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e3707812.01b138",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4501.5166015625,\r
+ "y": 5527.850250244141,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "c2ada4d7.cf23a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d06cf255.10cad",\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": 4668.5791015625,\r
+ "y": 5482.709991455078,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "c2ada4d7.cf23a",\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": 4669.5166015625,\r
+ "y": 5527.850250244141,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "487370c3.c16b7",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 4666.5166015625,\r
+ "y": 5577.850311279297,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "6c262f9d.59d16",\r
+ "fe5a805b.6befb8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "11eb64db.01f3fb",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4497.5166015625,\r
+ "y": 5577.850311279297,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "487370c3.c16b7"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "6c262f9d.59d16",\r
+ "type": "set",\r
+ "name": "set new bw",\r
+ "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.rootuni.data-source - $bwToBeDecreased`' />\n",\r
+ "comments": "",\r
+ "x": 4859.517578125,\r
+ "y": 5502.850311279297,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "472764ad.0e5da4",\r
+ "type": "comment",\r
+ "name": "Update connectivity status to modified",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 5288.216796875,\r
+ "y": 5440.616912841797,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "a96c5a1a.d66bf",\r
+ "type": "save",\r
+ "name": "update ROOT connectivity resource in AAI",\r
+ "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $tmp.aai.ROOT.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.ROOT.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5314,\r
+ "y": 5482.817108154297,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "35e41a11.58bd1e",\r
+ "type": "outcomeFalse",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 567.8836059570312,\r
+ "y": 5399.999969482422,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "49ab1cdc.2b3dfc"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8fea1632.f2d7a",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 550.883544921875,\r
+ "y": 5321.999969482422,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "44e1ece4.47debc"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "71bd2e28.fdc428",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 679.8833923339844,\r
+ "y": 4408.999694824219,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "ab47ddf.140532",\r
+ "d3485e4a.cbde48",\r
+ "964a9d6b.511ef",\r
+ "58993466.bcba34",\r
+ "b72e55ab.bc6bd8",\r
+ "8d45971b.519e08"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ab47ddf.140532",\r
+ "type": "set",\r
+ "name": "set tmp.leafconn.",\r
+ "xml": "<set>\n<parameter name='tmp.leafconn.' value='`$tmp.the-connectivity.`' />\n",\r
+ "comments": "",\r
+ "x": 931.5667419433594,\r
+ "y": 4387.049499511719,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "83fd3013.a6f008",\r
+ "type": "comment",\r
+ "name": "Find LEAF and ROOT connectivities and remove UNI from PNC",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 1033.1338806152344,\r
+ "y": 4335.132995605469,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "8b20d7ab.715e18",\r
+ "type": "set",\r
+ "name": "set pnf-name",\r
+ "xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n $tmp.leafconn.access-provider-id + '-clientId-' +\n $tmp.leafconn.access-client-id + '-topologyId-' +\n $tmp.leafconn.access-topology-id + '-nodeId-' +\n $tmp.leafconn.access-node-id`\" />\n",\r
+ "comments": "",\r
+ "x": 1140.9837341308594,\r
+ "y": 4416.333190917969,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "d3485e4a.cbde48",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 911.9837341308594,\r
+ "y": 4505.333190917969,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "8b20d7ab.715e18",\r
+ "3ddce0eb.9cdfd8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3ddce0eb.9cdfd8",\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": 1147.9837341308594,\r
+ "y": 4498.333190917969,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "c4f933ed.6c6328",\r
+ "c8f61cf.a6fdde",\r
+ "31635596.d79712"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c4f933ed.6c6328",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1343.4838562011719,\r
+ "y": 4450.333190917969,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "40098ed2.4f4dd"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c8f61cf.a6fdde",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1335.4838562011719,\r
+ "y": 4505.333190917969,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "8f4995e7.00e5b8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "40098ed2.4f4dd",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1487.8661804199219,\r
+ "y": 4449.988861083984,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "4b557dbd.14d794"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "4b557dbd.14d794",\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": 1671.9837341308594,\r
+ "y": 4448.333190917969,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "a0958afe.9d1b"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a0958afe.9d1b",\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": 1866.9837341308594,\r
+ "y": 4448.333190917969,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "31026a11.2a4bde"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "31635596.d79712",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1340.4838562011719,\r
+ "y": 4562.333190917969,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "c3c84b5.76fc5b8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c3c84b5.76fc5b8",\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": 1492.4838562011719,\r
+ "y": 4563.333190917969,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "8f4995e7.00e5b8",\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": 1503.4838562011719,\r
+ "y": 4506.333190917969,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "ca7cc65e.e299b",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 2248.9837341308594,\r
+ "y": 4452.333190917969,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "7e1000fc.f7ace",\r
+ "10f0f2b8.28ecdd",\r
+ "1cf608fc.280f8f"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "31026a11.2a4bde",\r
+ "type": "outcome",\r
+ "name": "esr-thirdparty-sdnc",\r
+ "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2069.9837341308594,\r
+ "y": 4452.333190917969,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "ca7cc65e.e299b"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "964a9d6b.511ef",\r
+ "type": "execute",\r
+ "name": "execute RestApiCallNode Delete LEAF UNI of 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/etht-svc-instances=' + $tmp.leafconn.etht-svc-name + '/etht-svc-end-points=' + $tmp.LEAF.uni-p-interface-long`\" />\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": 1053.4839782714844,\r
+ "y": 4609.932800292969,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "a14b7306.f0f088",\r
+ "edc3d42b.21d3d"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "edc3d42b.21d3d",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1417.9837341308594,\r
+ "y": 4657.932800292969,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "7d2a7da9.46fdfc"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a14b7306.f0f088",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1413.9837341308594,\r
+ "y": 4617.932800292969,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "db3e9725.884648"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "db3e9725.884648",\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 delete ethernet service rest api\" />\n",\r
+ "comments": "",\r
+ "x": 1571.9837341308594,\r
+ "y": 4617.932800292969,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "7d2a7da9.46fdfc",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1575.4837341308594,\r
+ "y": 4657.932800292969,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "10f0f2b8.28ecdd",\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": 2454.9837341308594,\r
+ "y": 4465.333190917969,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "25e5e61.acf541a",\r
+ "12a14aa1.cf2fb5",\r
+ "c1a2b3a0.8c75c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7e1000fc.f7ace",\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": 2484.9837341308594,\r
+ "y": 4413.333190917969,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "25e5e61.acf541a",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2664.9837341308594,\r
+ "y": 4456.333190917969,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "5696d51e.dbfe64"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "12a14aa1.cf2fb5",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2656.9837341308594,\r
+ "y": 4511.333190917969,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "8d572a45.011df8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c1a2b3a0.8c75c",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2661.9837341308594,\r
+ "y": 4568.333190917969,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "dddace6e.f9e9f"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "dddace6e.f9e9f",\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": 2813.9837341308594,\r
+ "y": 4569.333190917969,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "8d572a45.011df8",\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": 2824.9837341308594,\r
+ "y": 4514.333190917969,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "5696d51e.dbfe64",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2809.3660583496094,\r
+ "y": 4453.988861083984,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "e4cea83c.4d71a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e4cea83c.4d71a",\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": 3023.9837341308594,\r
+ "y": 4450.333190917969,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "1cf608fc.280f8f",\r
+ "type": "break",\r
+ "name": "break",\r
+ "xml": "<break>\n",\r
+ "comments": "",\r
+ "x": 2404.9837341308594,\r
+ "y": 4529.333190917969,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "58993466.bcba34",\r
+ "type": "call",\r
+ "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-ROOT-conn",\r
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' >\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1082.5667419433594,\r
+ "y": 4830.049499511719,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "b72e55ab.bc6bd8",\r
+ "type": "switchNode",\r
+ "name": "switch found-root-connectivity",\r
+ "xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 897.5667419433594,\r
+ "y": 4897.049499511719,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "191ee334.0f09fd",\r
+ "b8911820.2c8f68"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "191ee334.0f09fd",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1162.5667419433594,\r
+ "y": 4882.049499511719,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "328aa2d2.c36a96"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b8911820.2c8f68",\r
+ "type": "outcomeFalse",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1158.5667419433594,\r
+ "y": 4930.049499511719,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "88b54a6f.ba3898"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "328aa2d2.c36a96",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic='true'>",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1318.5667419433594,\r
+ "y": 4878.049499511719,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "4a7a1b00.5fe524"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "88b54a6f.ba3898",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Root Connectivity was not found' />\n",\r
+ "comments": "",\r
+ "x": 1306.5667419433594,\r
+ "y": 4925.049499511719,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "d5cdb27.e4e575",\r
+ "type": "comment",\r
+ "name": "Update connectivity status to modified",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 1587.4664001464844,\r
+ "y": 4828.749694824219,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "4a7a1b00.5fe524",\r
+ "type": "save",\r
+ "name": "update ROOT connectivity resource in AAI",\r
+ "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $tmp.aai.ROOT.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.ROOT.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1613.2496032714844,\r
+ "y": 4870.949890136719,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "1003b628.8cf272",\r
+ "type": "call",\r
+ "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-delete-VPNBs",\r
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-delete-VPNBs' mode='sync' >\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1026.8833923339844,\r
+ "y": 4144.316589355469,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "44e1ece4.47debc",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 632.8834228515625,\r
+ "y": 4148.999725341797,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "1003b628.8cf272",\r
+ "71bd2e28.fdc428"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "49ab1cdc.2b3dfc",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 716.3333740234375,\r
+ "y": 5401.516571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "723c2903.f58428",\r
+ "98b88954.793148",\r
+ "b393338f.3c0a5",\r
+ "119574e6.129413"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "723c2903.f58428",\r
+ "type": "call",\r
+ "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-delete-VPNBs",\r
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-delete-VPNBs' mode='sync' >\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1067.7166748046875,\r
+ "y": 5332.516571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "98b88954.793148",\r
+ "type": "save",\r
+ "name": "delete LEAF connectivity resource in AAI",\r
+ "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 978.7166748046875,\r
+ "y": 5401.516571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "b393338f.3c0a5",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 869.88330078125,\r
+ "y": 5636.516571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "df7f814b.30dca",\r
+ "680a6c2d.c81304",\r
+ "f02d2a13.d0aa48"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c8c4cb96.f9d8b",\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": 2585.882568359375,\r
+ "y": 5523.516571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "43900724.7021a8",\r
+ "b5fd98a.36736e8",\r
+ "3c26b3f8.230acc"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "de9e1e1d.dcbc3",\r
+ "type": "break",\r
+ "name": "break",\r
+ "xml": "<break>\n",\r
+ "comments": "",\r
+ "x": 2535.882568359375,\r
+ "y": 5587.516571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "d2b1cccb.1f5468",\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": 2615.882568359375,\r
+ "y": 5471.516571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "43900724.7021a8",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2795.882568359375,\r
+ "y": 5514.516571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "dc7a8a3b.a925f8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b5fd98a.36736e8",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2787.882568359375,\r
+ "y": 5569.516571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "c1ab7307.8305a8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3c26b3f8.230acc",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2792.882568359375,\r
+ "y": 5626.516571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "f1d869f8.b644e"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f1d869f8.b644e",\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": 2944.882568359375,\r
+ "y": 5627.516571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "c1ab7307.8305a8",\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": 2955.882568359375,\r
+ "y": 5572.516571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "dc7a8a3b.a925f8",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2940.264892578125,\r
+ "y": 5512.1722412109375,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "99f651cc.e3a158"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "99f651cc.e3a158",\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": 3154.882568359375,\r
+ "y": 5508.516571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "df7f814b.30dca",\r
+ "type": "set",\r
+ "name": "set pnf-name",\r
+ "xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n $tmp.the-connectivity.access-provider-id + '-clientId-' +\n $tmp.the-connectivity.access-client-id + '-topologyId-' +\n $tmp.the-connectivity.access-topology-id + '-nodeId-' +\n $tmp.the-connectivity.access-node-id`\" />\n",\r
+ "comments": "",\r
+ "x": 1151.88330078125,\r
+ "y": 5505.516571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "1d552db6.d6aaca",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1362.3834228515625,\r
+ "y": 5644.516571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "2d69161c.7523aa"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d7946986.6d0968",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1365.3834228515625,\r
+ "y": 5532.516571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "b24f95b.8630968"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9ea8b87c.75f8b",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1357.3834228515625,\r
+ "y": 5587.516571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "d1cfde55.05efd"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b24f95b.8630968",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1499.765625,\r
+ "y": 5527.172332763672,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "57f5a4ed.934544"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2d69161c.7523aa",\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": 1514.3834228515625,\r
+ "y": 5645.516571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "d1cfde55.05efd",\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": 1525.3834228515625,\r
+ "y": 5588.516571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "57f5a4ed.934544",\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": 1686.8828125,\r
+ "y": 5528.516571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "489e94a0.cb0724"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "489e94a0.cb0724",\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": 1914.8828125,\r
+ "y": 5521.516571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "70d2a39a.39c914"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "680a6c2d.c81304",\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": 1169.88330078125,\r
+ "y": 5580.516571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "1d552db6.d6aaca",\r
+ "d7946986.6d0968",\r
+ "9ea8b87c.75f8b"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "70d2a39a.39c914",\r
+ "type": "outcome",\r
+ "name": "esr-thirdparty-sdnc",\r
+ "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2120.8828125,\r
+ "y": 5518.516571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "11f0110f.f1cbd7"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "11f0110f.f1cbd7",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 2335.8822021484375,\r
+ "y": 5521.516571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "d2b1cccb.1f5468",\r
+ "c8c4cb96.f9d8b",\r
+ "de9e1e1d.dcbc3"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f02d2a13.d0aa48",\r
+ "type": "execute",\r
+ "name": "execute RestApiCallNode Delete LEAF 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/etht-svc-instances=' + $tmp.the-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": 1293.6500244140625,\r
+ "y": 5729.916473388672,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "73cc7454.46b21c",\r
+ "983cf462.7773e"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "73cc7454.46b21c",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1640.1500244140625,\r
+ "y": 5722.916473388672,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "d64e37c.99aa9c8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "983cf462.7773e",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1644.1500244140625,\r
+ "y": 5762.916473388672,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "63d68d1b.26356c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d64e37c.99aa9c8",\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 delete ethernet service rest api\" />\n",\r
+ "comments": "",\r
+ "x": 1798.1500244140625,\r
+ "y": 5722.916473388672,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "63d68d1b.26356c",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1801.6500244140625,\r
+ "y": 5762.916473388672,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "119574e6.129413",\r
+ "type": "switchNode",\r
+ "name": "switch tmp.MMstillHasUni?",\r
+ "xml": "\n<switch test=\"`$tmp.MMstillHasUni`\">\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 913.183349609375,\r
+ "y": 5891.716766357422,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "20383b77.9d13bc",\r
+ "9b5788ce.9c9408"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "20383b77.9d13bc",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1105.183349609375,\r
+ "y": 5868.716766357422,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "c8a5ff15.a0cc5"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9b5788ce.9c9408",\r
+ "type": "outcomeFalse",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1093.3500366210938,\r
+ "y": 6041.316864013672,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "80ab1272.8cacd"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c8a5ff15.a0cc5",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1253.35009765625,\r
+ "y": 5868.316864013672,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "b646edcc.5849d8",\r
+ "7aaef741.32dd88"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b646edcc.5849d8",\r
+ "type": "call",\r
+ "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-ROOT-conn",\r
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' >\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1675.199951171875,\r
+ "y": 5839.716766357422,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "7aaef741.32dd88",\r
+ "type": "switchNode",\r
+ "name": "switch found-root-connectivity",\r
+ "xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1490.199951171875,\r
+ "y": 5906.716766357422,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "f0373e80.9f5c1",\r
+ "17b9923a.e6ff36"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f0373e80.9f5c1",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1755.199951171875,\r
+ "y": 5891.716766357422,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "ea0794c3.5caad8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "17b9923a.e6ff36",\r
+ "type": "outcomeFalse",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1751.199951171875,\r
+ "y": 5939.716766357422,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "f785b40a.2c0f08"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ea0794c3.5caad8",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic='true'>",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1911.199951171875,\r
+ "y": 5887.716766357422,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "c184cafd.df5108"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f785b40a.2c0f08",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Root Connectivity was not found' />\n",\r
+ "comments": "",\r
+ "x": 1899.199951171875,\r
+ "y": 5934.716766357422,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "c184cafd.df5108",\r
+ "type": "save",\r
+ "name": "update ROOT connectivity resource in AAI",\r
+ "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $tmp.aai.ROOT.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.ROOT.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2219.8826904296875,\r
+ "y": 5881.617156982422,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "c1da52d9.9cf468",\r
+ "type": "comment",\r
+ "name": "Update connectivity status to modified",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 2194.0994873046875,\r
+ "y": 5839.416961669922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "80ab1272.8cacd",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1230.916748046875,\r
+ "y": 6040.616668701172,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "49431e5b.e46588",\r
+ "1475339.a9ed04c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "49431e5b.e46588",\r
+ "type": "for",\r
+ "name": "for each relationship of middle-man-conn",\r
+ "xml": "<for index='rel-index' start='0' end='`$middle-man-conn.relationship-list.relationship_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1544.23291015625,\r
+ "y": 6034.816864013672,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "f57bdc9.9ead4a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f57bdc9.9ead4a",\r
+ "type": "switchNode",\r
+ "name": "switch related-to",\r
+ "xml": "<switch test='`$middle-man-conn.relationship-list.relationship[$rel-index].related-to`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1844.566650390625,\r
+ "y": 6029.816802978516,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "ba35dccb.3b6bb8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ba35dccb.3b6bb8",\r
+ "type": "outcome",\r
+ "name": "connectivity",\r
+ "xml": "<outcome value='connectivity'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2024.2332763671875,\r
+ "y": 6029.81689453125,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "86341ec4.ccb728"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "86341ec4.ccb728",\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 = $middle-man-conn.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": 2224.233154296875,\r
+ "y": 6029.816864013672,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "73b15a95.c45e6c",\r
+ "577c89f1.70257",\r
+ "ebf7b15b.49862"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "73b15a95.c45e6c",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2431.23291015625,\r
+ "y": 6079.816864013672,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "d5e5b35.6604c5"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "925dd5ef.2fc678",\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": 2408.466552734375,\r
+ "y": 6264.016571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "42725353.b4a374",\r
+ "1745f7ad.eada2",\r
+ "ebfc9334.bdf468"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "6ac4c475.ce37cc",\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": 1607.466552734375,\r
+ "y": 6179.016571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "df9efed7.82417"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "df9efed7.82417",\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": 1804.466552734375,\r
+ "y": 6193.016571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "376f554a.32ded2",\r
+ "e86a8d88.08809"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "376f554a.32ded2",\r
+ "type": "outcome",\r
+ "name": "vpn-binding",\r
+ "xml": "<outcome value='vpn-binding'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1972.466552734375,\r
+ "y": 6186.016571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "bc2d7c0c.7cc4a8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "bc2d7c0c.7cc4a8",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 2135.466552734375,\r
+ "y": 6186.016571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "925dd5ef.2fc678"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e86a8d88.08809",\r
+ "type": "outcome",\r
+ "name": "uni",\r
+ "xml": "<outcome value='uni'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1988.466552734375,\r
+ "y": 6482.016571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "32fa6a7d.612076"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "32fa6a7d.612076",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 2151.466552734375,\r
+ "y": 6482.016571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "6e62ca.5284a538"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "6e62ca.5284a538",\r
+ "type": "save",\r
+ "name": "delete uni resource in AAI",\r
+ "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n key='uni.id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2394.466552734375,\r
+ "y": 6482.016571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "91368e45.2e3cd8",\r
+ "type": "save",\r
+ "name": "delete connectivity resource in AAI",\r
+ "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $tmp.aai.connectivity.connectivity-id'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1362.466552734375,\r
+ "y": 7248.016571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "d5e5b35.6604c5",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1433.466552734375,\r
+ "y": 6177.016571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "6ac4c475.ce37cc",\r
+ "91368e45.2e3cd8",\r
+ "5c661b6d.db566c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "42725353.b4a374",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2619.466552734375,\r
+ "y": 6266.016571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "aedd4240.642968"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1745f7ad.eada2",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2619.95751953125,\r
+ "y": 6311.590606689453,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "6425bc45.5cdfcc"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ebfc9334.bdf468",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2617.466552734375,\r
+ "y": 6355.016571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "337169e1.665c2e"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ebf7b15b.49862",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2455.282958984375,\r
+ "y": 5980.616668701172,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "577c89f1.70257",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2452.7919921875,\r
+ "y": 6024.042633056641,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "1475339.a9ed04c",\r
+ "type": "save",\r
+ "name": "delete middle-man-conn resource in AAI",\r
+ "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $middle-man-conn.connectivity-id'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1531.400146484375,\r
+ "y": 6109.416473388672,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "aedd4240.642968",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 2785.466552734375,\r
+ "y": 6256.016571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "20a20b24.b18d74",\r
+ "da0ac321.ebd92",\r
+ "450533a8.9c748c",\r
+ "dc80e7d7.692bf8",\r
+ "7b453ddd.4a4edc"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "337169e1.665c2e",\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": 2784.466552734375,\r
+ "y": 6354.016571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "6425bc45.5cdfcc",\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": 2782.5289306640625,\r
+ "y": 6311.8763427734375,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "20a20b24.b18d74",\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": 3007.466552734375,\r
+ "y": 5974.016571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "da0ac321.ebd92",\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": 3033.466552734375,\r
+ "y": 6091.016571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "ab328def.9c2568",\r
+ "1e0d49ce.54650e",\r
+ "83f96b0e.23503"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "450533a8.9c748c",\r
+ "type": "execute",\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": 3136.466552734375,\r
+ "y": 6358.016571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "e189248a.5308d8",\r
+ "42e13b38.68927c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "dc80e7d7.692bf8",\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": 3074.466552734375,\r
+ "y": 6493.016571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "75c39310.64e10c",\r
+ "865b2c0.812e658"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7b453ddd.4a4edc",\r
+ "type": "save",\r
+ "name": "delete vpn-binding resource in AAI",\r
+ "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",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3055.466552734375,\r
+ "y": 6609.016571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "ab328def.9c2568",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3228.9666748046875,\r
+ "y": 6043.016571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "7b2173a0.a25f4c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1e0d49ce.54650e",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3220.9666748046875,\r
+ "y": 6098.016571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "3e21d08a.9cf2d8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7b2173a0.a25f4c",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3363.348876953125,\r
+ "y": 6037.672332763672,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "d783eb8.e8d4418"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "83f96b0e.23503",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3225.9666748046875,\r
+ "y": 6155.016571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "39d187f7.387c08"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "39d187f7.387c08",\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": 3377.9666748046875,\r
+ "y": 6156.016571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "3e21d08a.9cf2d8",\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": 3388.9666748046875,\r
+ "y": 6099.016571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "865b2c0.812e658",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3327.466552734375,\r
+ "y": 6471.016571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "772ac851.ed388"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "75c39310.64e10c",\r
+ "type": "outcome",\r
+ "name": "Null",\r
+ "xml": "<outcome value=''>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3327.466552734375,\r
+ "y": 6527.016571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "d783eb8.e8d4418",\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": 3550.466064453125,\r
+ "y": 6039.016571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "22737809.d5a598"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "22737809.d5a598",\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": 3791.466064453125,\r
+ "y": 6030.016571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "8e816736.3f1518"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "772ac851.ed388",\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/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": 3677.466064453125,\r
+ "y": 6461.016571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "7e278410.d4a45c",\r
+ "5323d43d.ae4a94"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e189248a.5308d8",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3443.966064453125,\r
+ "y": 6383.016571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "a38fc7bd.ddbeb"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "42e13b38.68927c",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3444.966064453125,\r
+ "y": 6328.016571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "ca98e797.f9c13"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a38fc7bd.ddbeb",\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 delete OTN tunnel rest api\" />\n",\r
+ "comments": "",\r
+ "x": 3615.966064453125,\r
+ "y": 6381.016571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "ca98e797.f9c13",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3612.466064453125,\r
+ "y": 6330.016571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "63dcc10.1e934c",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 4148.4658203125,\r
+ "y": 5979.016571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "cb51edb2.a6957",\r
+ "7da0f639.3db538",\r
+ "dfe02514.308cd"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8e816736.3f1518",\r
+ "type": "outcome",\r
+ "name": "esr-thirdparty-sdnc",\r
+ "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3997.466064453125,\r
+ "y": 6027.016571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "63dcc10.1e934c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7e278410.d4a45c",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4009.966064453125,\r
+ "y": 6435.016571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "21b3d920.ac879e"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "5323d43d.ae4a94",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4013.966064453125,\r
+ "y": 6475.016571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "da782471.0e218"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "da782471.0e218",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4201.466064453125,\r
+ "y": 6479.016571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "21b3d920.ac879e",\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 delete ethernet service rest api\" />\n",\r
+ "comments": "",\r
+ "x": 4197.966064453125,\r
+ "y": 6439.016571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "7da0f639.3db538",\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": 4354.4658203125,\r
+ "y": 5992.016571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "2a4fa91b.b928a6",\r
+ "3708f6c9.39ed2a",\r
+ "7ad7cb3f.866b74"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "cb51edb2.a6957",\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": 4384.4658203125,\r
+ "y": 5940.016571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "2a4fa91b.b928a6",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4564.4658203125,\r
+ "y": 5983.016571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "bee63261.4dfe28"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3708f6c9.39ed2a",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4556.4658203125,\r
+ "y": 6038.016571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "9ceb2b97.8189"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7ad7cb3f.866b74",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4561.4658203125,\r
+ "y": 6095.016571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": [\r
+ [\r
+ "84d1d52.6203b28"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "dfe02514.308cd",\r
+ "type": "break",\r
+ "name": "break",\r
+ "xml": "<break>\n",\r
+ "comments": "",\r
+ "x": 4304.4658203125,\r
+ "y": 6056.016571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "84d1d52.6203b28",\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": 4713.4658203125,\r
+ "y": 6096.016571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "9ceb2b97.8189",\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": 4724.4658203125,\r
+ "y": 6041.016571044922,\r
+ "z": "d1eceead.adafe",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "bee63261.4dfe28",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r