[ { "id": "7430f04a.1774", "type": "dgstart", "name": "DGSTART", "outputs": 1, "x": 85.00390625, "y": 36.999999046325684, "z": "5c37638f.99fd6c", "wires": [ [ "7176568b.6d7dc8" ] ] }, { "id": "7176568b.6d7dc8", "type": "service-logic", "name": "GENERIC-RESOURCE-API ${project.version}", "module": "GENERIC-RESOURCE-API", "version": "${project.version}", "comments": "", "xml": "", "outputs": 1, "x": 297.00391006469727, "y": 109.00001621246338, "z": "5c37638f.99fd6c", "wires": [ [ "1281a61c.40d4ba" ] ] }, { "id": "1281a61c.40d4ba", "type": "method", "name": "sdwan-attachment-topology-operation-deactivate", "xml": "\n", "comments": "", "outputs": 1, "x": 285.0040283203125, "y": 196.99999904632568, "z": "5c37638f.99fd6c", "wires": [ [ "cb789dee.7e0ea" ] ] }, { "id": "cb789dee.7e0ea", "type": "block", "name": "block : atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 301.0040283203125, "y": 752.0002436637878, "z": "5c37638f.99fd6c", "wires": [ [ "b3e4fdfd.73c98", "6160e5eb.eabd7c", "36f03095.f7624", "8b80d6.bfb8df28", "c3c64d17.8399b", "79aaa9c4.4c7368", "f2ac7b6a.645e98", "17808c6d.fbcb64", "d8dcd45a.fcb0f8", "bbb611b3.fa639", "3e42552f.cc2b3a", "dcc926d7.4a3488", "4623075d.b08748", "c6cd0b89.3b6988", "d4cf70d6.63ae5", "96741252.7528f", "b30219b.8f8bde8", "7dea7f5b.a3b81", "5b38ce7d.8512a", "4ed101e7.e4ff7", "2a2d01cd.5646fe", "4b5b6f95.ae82b", "63f14ad3.bfd8e4" ] ] }, { "id": "b3e4fdfd.73c98", "type": "set", "name": "set tmp.ar.allotted-resource-id,etc", "xml": "\n\n\n\n\n", "comments": "", "x": 697.9974670410156, "y": 150.9934859275818, "z": "5c37638f.99fd6c", "wires": [] }, { "id": "e79f6bf1.e760c8", "type": "comment", "name": "set tmp ar-id to fetch resource from MDSAL", "info": "", "comments": "", "x": 726.9577789306641, "y": 115.02528190612793, "z": "5c37638f.99fd6c", "wires": [] }, { "id": "6160e5eb.eabd7c", "type": "set", "name": "set tmp.ar.self-link", "xml": "\n\n\n", "comments": "", "x": 651.9974060058594, "y": 243.99349117279053, "z": "5c37638f.99fd6c", "wires": [] }, { "id": "8b80d6.bfb8df28", "type": "execute", "name": "execute Properties", "xml": "\n \n \n", "comments": "", "outputs": 1, "x": 658.2592964172363, "y": 331.6602201461792, "z": "5c37638f.99fd6c", "wires": [ [] ] }, { "id": "36f03095.f7624", "type": "execute", "name": "generate allotted-resource tmp.ar-url", "xml": "\n \n \n \n \n", "comments": "", "outputs": 1, "x": 708.2593994140625, "y": 418.6602210998535, "z": "5c37638f.99fd6c", "wires": [ [] ] }, { "id": "a79814d4.cdbed8", "type": "comment", "name": "GET connection-attachment-allotted-resource from mdsal", "info": "", "comments": "", "x": 751.8124237060547, "y": 510.5387668609619, "z": "5c37638f.99fd6c", "wires": [] }, { "id": "ad19a624.c947b8", "type": "comment", "name": "Used for setting output to API Handler", "info": "", "comments": "", "x": 705.9974365234375, "y": 210.9935007095337, "z": "5c37638f.99fd6c", "wires": [] }, { "id": "543e0d5a.474aa4", "type": "comment", "name": "Obtain different URL, template location etc", "info": "For saving resource information to MDSAL & for AAI", "comments": "", "x": 723.9974021911621, "y": 296.882381439209, "z": "5c37638f.99fd6c", "wires": [] }, { "id": "512154aa.b3fb3c", "type": "comment", "name": "Used to Get AR by id to MDSAL, same as self-link", "info": "", "comments": "", "x": 749.9974212646484, "y": 383.8823404312134, "z": "5c37638f.99fd6c", "wires": [] }, { "id": "515ee298.e46b6c", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 1192.6707344055176, "y": 537.0000276565552, "z": "5c37638f.99fd6c", "wires": [ [ "abb973f1.c78ab" ] ] }, { "id": "abb973f1.c78ab", "type": "block", "name": "block: atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1361.6707382202148, "y": 535.4999284744263, "z": "5c37638f.99fd6c", "wires": [ [ "e8fcf921.210ef8" ] ] }, { "id": "e8fcf921.210ef8", "type": "switchNode", "name": "switch cr length", "xml": "\n", "comments": "", "outputs": 1, "x": 1534.5280075073242, "y": 473.11909103393555, "z": "5c37638f.99fd6c", "wires": [ [ "386d63ec.fd330c", "7e042bd8.776d24" ] ] }, { "id": "386d63ec.fd330c", "type": "other", "name": "outcome 1", "xml": "\n", "comments": "", "outputs": 1, "x": 1771.8612518310547, "y": 451.1190414428711, "z": "5c37638f.99fd6c", "wires": [ [ "d200a0fb.28d9a" ] ] }, { "id": "d200a0fb.28d9a", "type": "block", "name": "block: atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1956.3851413726807, "y": 448.02387523651123, "z": "5c37638f.99fd6c", "wires": [ [ "e41bac9c.61118", "88329a50.a105f8", "89950442.815df8" ] ] }, { "id": "d190b08a.d3505", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n \n", "comments": "", "x": 1880.5229835510254, "y": 573.0661163330078, "z": "5c37638f.99fd6c", "wires": [] }, { "id": "24c1e070.0695f", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 1184.5225372314453, "y": 572.0661125183105, "z": "5c37638f.99fd6c", "wires": [ [ "4c6403f2.3fe66c" ] ] }, { "id": "4c6403f2.3fe66c", "type": "block", "name": "block: atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1364.5224876403809, "y": 572.732663154602, "z": "5c37638f.99fd6c", "wires": [ [ "d190b08a.d3505" ] ] }, { "id": "7e042bd8.776d24", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 1760.1892051696777, "y": 488.3994016647339, "z": "5c37638f.99fd6c", "wires": [ [ "d190b08a.d3505" ] ] }, { "id": "e41bac9c.61118", "type": "set", "name": "set connection-attachment-ar from get", "xml": "\n\n", "comments": "", "x": 2202.448699951172, "y": 408.0001049041748, "z": "5c37638f.99fd6c", "wires": [] }, { "id": "89950442.815df8", "type": "set", "name": "set oper-status", "xml": "\n\n\n\n\n", "comments": "", "x": 2135.4486961364746, "y": 498.4286594390869, "z": "5c37638f.99fd6c", "wires": [] }, { "id": "88329a50.a105f8", "type": "switchNode", "name": "switch order-status", "xml": "\n", "comments": "", "outputs": 1, "x": 2146.448532104492, "y": 452.00010871887207, "z": "5c37638f.99fd6c", "wires": [ [ "ca3f78a2.5bc238", "968020a5.6806a" ] ] }, { "id": "ca3f78a2.5bc238", "type": "outcome", "name": "outcome Active", "xml": "\n", "comments": "", "outputs": 1, "x": 2353.048480987549, "y": 442.00010871887207, "z": "5c37638f.99fd6c", "wires": [ [ "58491b2c.42f3c4" ] ] }, { "id": "968020a5.6806a", "type": "outcome", "name": "outcome Other", "xml": "\n", "comments": "", "outputs": 1, "x": 2352.7630004882812, "y": 484.4286994934082, "z": "5c37638f.99fd6c", "wires": [ [ "4c9f7920.4c2598" ] ] }, { "id": "58491b2c.42f3c4", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2505.5190353393555, "y": 440.37575912475586, "z": "5c37638f.99fd6c", "wires": [ [] ] }, { "id": "4c9f7920.4c2598", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 2525.6708908081055, "y": 481.0001106262207, "z": "5c37638f.99fd6c", "wires": [] }, { "id": "60f55e27.f2b8e", "type": "call", "name": "call GENERIC-RESOURCE-API:sdwan-get-saved-ar-param", "xml": "\n", "comments": "", "outputs": 1, "x": 913.3070220947266, "y": 633.4935898780823, "z": "5c37638f.99fd6c", "wires": [ [] ] }, { "id": "c3c64d17.8399b", "type": "block", "name": "block: atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 610.3131866455078, "y": 634.4999380111694, "z": "5c37638f.99fd6c", "wires": [ [ "60f55e27.f2b8e" ] ] }, { "id": "4352df33.d9426", "type": "comment", "name": "GET parent-service-data from mdsal to check existence of other End point", "info": "", "comments": "", "x": 792.0043487548828, "y": 695.5316972732544, "z": "5c37638f.99fd6c", "wires": [] }, { "id": "536fbd5d.ad4c74", "type": "comment", "name": "GET connection-attachment-ar to store AR data from mdsal", "info": "", "comments": "", "x": 2185.476852416992, "y": 372.50396823883057, "z": "5c37638f.99fd6c", "wires": [] }, { "id": "d407857f.3d4ed8", "type": "comment", "name": "Set source end point", "info": "", "comments": "", "x": 623.9767456054688, "y": 602.2540636062622, "z": "5c37638f.99fd6c", "wires": [] }, { "id": "79aaa9c4.4c7368", "type": "set", "name": "set tmp.ar.parent-service-instance-id", "xml": "\n\n\n", "comments": "", "x": 676.9728240966797, "y": 727.000207901001, "z": "5c37638f.99fd6c", "wires": [] }, { "id": "a093fbeb.16ad58", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 1054.9728202819824, "y": 776.0002069473267, "z": "5c37638f.99fd6c", "wires": [ [ "c54cab5a.e88d98" ] ] }, { "id": "46b4b052.24e9d", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 1046.8246231079102, "y": 811.066291809082, "z": "5c37638f.99fd6c", "wires": [ [ "b51504e3.dadba8" ] ] }, { "id": "b51504e3.dadba8", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n \n", "comments": "", "x": 1221.9733085632324, "y": 807.3336420059204, "z": "5c37638f.99fd6c", "wires": [] }, { "id": "c54cab5a.e88d98", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1205.9728202819824, "y": 774.0002069473267, "z": "5c37638f.99fd6c", "wires": [ [] ] }, { "id": "bdec135a.84aa6", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 920.7347373962402, "y": 1750.9527831077576, "z": "5c37638f.99fd6c", "wires": [ [ "323e9893.b0b728" ] ] }, { "id": "323e9893.b0b728", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1082.2585716247559, "y": 1795.571829199791, "z": "5c37638f.99fd6c", "wires": [] }, { "id": "f668942a.019a38", "type": "failure", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, "x": 922.8299789428711, "y": 1816.7147258520126, "z": "5c37638f.99fd6c", "wires": [ [ "323e9893.b0b728" ] ] }, { "id": "24abbd36.f847b2", "type": "comment", "name": "Save Resource to AAI", "info": "", "comments": "", "x": 634.7824058532715, "y": 1766.302146434784, "z": "5c37638f.99fd6c", "wires": [] }, { "id": "dcc926d7.4a3488", "type": "set", "name": "set output to api handler", "xml": "\n\n\n\n \n", "comments": "", "x": 649.5501022338867, "y": 1687.827627658844, "z": "5c37638f.99fd6c", "wires": [] }, { "id": "4623075d.b08748", "type": "returnSuccess", "name": "return success", "xml": "\n\n\n\n", "comments": "", "x": 596.9632415771484, "y": 1882.4434466362, "z": "5c37638f.99fd6c", "wires": [] }, { "id": "3e42552f.cc2b3a", "type": "execute", "name": "execute RestApiCallNode - PUT AR by id", "xml": "\n \n \n \n \n \n \n \n\n", "comments": "", "outputs": 1, "x": 699.2822036743164, "y": 1595.4684014320374, "z": "5c37638f.99fd6c", "wires": [ [ "5966123b.c0928c", "28e0d860.c64a68", "4d9dd2fd.a02e7c" ] ] }, { "id": "5966123b.c0928c", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, "x": 967.9235801696777, "y": 1646.7998131737113, "z": "5c37638f.99fd6c", "wires": [ [ "1d15a206.04371e" ] ] }, { "id": "28e0d860.c64a68", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 958.9236297607422, "y": 1615.2998389229178, "z": "5c37638f.99fd6c", "wires": [ [ "1d15a206.04371e" ] ] }, { "id": "4d9dd2fd.a02e7c", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 962.6736679077148, "y": 1585.6569437980652, "z": "5c37638f.99fd6c", "wires": [ [ "e1b7a04e.aa4f3" ] ] }, { "id": "1d15a206.04371e", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1128.6736679077148, "y": 1616.0498627647758, "z": "5c37638f.99fd6c", "wires": [] }, { "id": "e1b7a04e.aa4f3", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1104.3296356201172, "y": 1581.8491129875183, "z": "5c37638f.99fd6c", "wires": [ [] ] }, { "id": "f2ac7b6a.645e98", "type": "set", "name": "set ar-data", "xml": "\n\n\n\n\n\n\n", "comments": "", "x": 599.4958229064941, "y": 1445.849324464798, "z": "5c37638f.99fd6c", "wires": [] }, { "id": "d8dcd45a.fcb0f8", "type": "execute", "name": "execute getTime", "xml": "\n \n\n", "comments": "", "outputs": 1, "x": 616.781665802002, "y": 1518.468922138214, "z": "5c37638f.99fd6c", "wires": [ [] ] }, { "id": "bbb611b3.fa639", "type": "set", "name": "set allotted-resource-oper-status", "xml": "\n\n\n\n\n\n", "comments": "", "x": 671.7687225341797, "y": 1556.4200596809387, "z": "5c37638f.99fd6c", "wires": [] }, { "id": "17808c6d.fbcb64", "type": "set", "name": "set model-data", "xml": "\n", "comments": "", "x": 613.3373641967773, "y": 1485.0239748954773, "z": "5c37638f.99fd6c", "wires": [] }, { "id": "83fab007.e00bd", "type": "comment", "name": "Prepare data for allotted-resource addition to MDSAL", "info": "This will add to allotted-resource which is present inside service.", "comments": "", "x": 722.6707954406738, "y": 1401.0238497257233, "z": "5c37638f.99fd6c", "wires": [] }, { "id": "ce9eef3f.571d2", "type": "comment", "name": "Add to allotted-resources in mdsal", "info": "", "comments": "", "x": 664.2506217956543, "y": 1368.4371514320374, "z": "5c37638f.99fd6c", "wires": [] }, { "id": "63f14ad3.bfd8e4", "type": "update", "name": "update AAI allotted-resource", "xml": "\n\t\n\t\n\t\n\t\n", "comments": "", "outputs": 1, "x": 661.2266845703125, "y": 1803.754289150238, "z": "5c37638f.99fd6c", "wires": [ [ "bdec135a.84aa6", "f668942a.019a38" ] ] }, { "id": "c6cd0b89.3b6988", "type": "execute", "name": "execute RestApiCallNode - get-resource connection-attachment-allotted-resource", "xml": "\n \n \n \n \n \n \n\n", "comments": "", "outputs": 1, "x": 825.3378601074219, "y": 553.4999485015869, "z": "5c37638f.99fd6c", "wires": [ [ "515ee298.e46b6c", "24c1e070.0695f" ] ] }, { "id": "d4cf70d6.63ae5", "type": "execute", "name": "get parent-service-data tmp.ar-url-psd", "xml": "\n \n \n \n \n", "comments": "", "outputs": 1, "x": 679.0041046142578, "y": 762.0002098083496, "z": "5c37638f.99fd6c", "wires": [ [] ] }, { "id": "96741252.7528f", "type": "execute", "name": "execute RestApiCallNode - get-resource parent service data", "xml": "\n \n \n \n \n \n \n\n", "comments": "", "outputs": 1, "x": 746.0040664672852, "y": 797.0002937316895, "z": "5c37638f.99fd6c", "wires": [ [ "a093fbeb.16ad58", "46b4b052.24e9d" ] ] }, { "id": "490fd156.3cc2e", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 2566.816566467285, "y": 814.3294501304626, "z": "5c37638f.99fd6c", "wires": [ [ "88745fb7.28e43" ] ] }, { "id": "edb86366.daca5", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 2600.66805267334, "y": 760.3954167366028, "z": "5c37638f.99fd6c", "wires": [ [ "ae1d17f2.d02858" ] ] }, { "id": "92d891d3.4ab0e", "type": "for", "name": "for arvidx.. mdsal-sd.service-data.vnfs.vnf_length[]", "xml": "\n", "comments": "", "outputs": 1, "x": 2085.81746673584, "y": 1641.9966707229614, "z": "5c37638f.99fd6c", "wires": [ [ "71080db2.ebc5d4" ] ] }, { "id": "71080db2.ebc5d4", "type": "block", "name": "block atmoic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2361.4840393066406, "y": 1642.9967036247253, "z": "5c37638f.99fd6c", "wires": [ [ "a5010038.a8cca" ] ] }, { "id": "a5010038.a8cca", "type": "switchNode", "name": "switch ActivateSiteInstance", "xml": "\n \n \n\n", "comments": "", "outputs": 1, "x": 2598.34774017334, "y": 1647.194667339325, "z": "5c37638f.99fd6c", "wires": [ [ "78d61896.379bb8" ] ] }, { "id": "78d61896.379bb8", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2807.347255706787, "y": 1647.1948204040527, "z": "5c37638f.99fd6c", "wires": [ [ "bfec68b.915a698" ] ] }, { "id": "9280788a.1a5978", "type": "set", "name": "set tmp.sitevidx ", "xml": "\n\n\n", "comments": "", "x": 2204.3482055664062, "y": 1751.195249080658, "z": "5c37638f.99fd6c", "wires": [] }, { "id": "a8aa86a8.764d68", "type": "set", "name": "set prop.ar-parent-service-instance-id", "xml": "\n\n", "comments": "", "x": 2120.8163681030273, "y": 1064.996099472046, "z": "5c37638f.99fd6c", "wires": [] }, { "id": "9f1816e2.642ea8", "type": "for", "name": "for loop aridx - Get role from allotted resource", "xml": "\n \n \n", "comments": "", "outputs": 1, "x": 2146.816162109375, "y": 1013.4959707260132, "z": "5c37638f.99fd6c", "wires": [ [ "9c8b4e3c.7c8c5" ] ] }, { "id": "9c8b4e3c.7c8c5", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2401.81649017334, "y": 1010.4964303970337, "z": "5c37638f.99fd6c", "wires": [ [ "30449575.75463a", "92ec0f10.dba05" ] ] }, { "id": "30449575.75463a", "type": "switchNode", "name": "switch Role", "xml": "\n", "comments": "", "outputs": 1, "x": 2531.8163108825684, "y": 982.4963674545288, "z": "5c37638f.99fd6c", "wires": [ [ "b4910f3d.0db62" ] ] }, { "id": "b4910f3d.0db62", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2672.8166427612305, "y": 981.4963665008545, "z": "5c37638f.99fd6c", "wires": [ [ "367dfe9f.4b0012" ] ] }, { "id": "367dfe9f.4b0012", "type": "set", "name": "set prop.role", "xml": "\n\n", "comments": "", "x": 2838.8173065185547, "y": 976.096269607544, "z": "5c37638f.99fd6c", "wires": [] }, { "id": "1009f0e9.e8787f", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 2418.8169898986816, "y": 1159.996376991272, "z": "5c37638f.99fd6c", "wires": [ [ "38660dd.8ae9ef2" ] ] }, { "id": "c9a9abe5.0b0758", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 2412.668731689453, "y": 1116.0624141693115, "z": "5c37638f.99fd6c", "wires": [ [ "faec6a4d.0cfc28" ] ] }, { "id": "ae1d17f2.d02858", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2726.816177368164, "y": 757.4958500862122, "z": "5c37638f.99fd6c", "wires": [ [] ] }, { "id": "88745fb7.28e43", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1856.3160400390625, "y": 1031.4959707260132, "z": "5c37638f.99fd6c", "wires": [ [ "9f1816e2.642ea8", "a8aa86a8.764d68", "56d62d96.7f8ce4", "b96757af.5cca38" ] ] }, { "id": "faec6a4d.0cfc28", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2542.3168506622314, "y": 1109.4963340759277, "z": "5c37638f.99fd6c", "wires": [ [] ] }, { "id": "38660dd.8ae9ef2", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1932.3163299560547, "y": 1236.4959840774536, "z": "5c37638f.99fd6c", "wires": [ [ "c768cf9a.62862" ] ] }, { "id": "4edc1d8f.0a1944", "type": "for", "name": "for loop siteidx - Get site ID from servicedata", "xml": "\n \n \n", "comments": "", "outputs": 1, "x": 2296.3190536499023, "y": 1792.497006893158, "z": "5c37638f.99fd6c", "wires": [ [ "3d77f67c.b5ecea" ] ] }, { "id": "ead36ab7.282438", "type": "switchNode", "name": "switch siteId", "xml": "\n", "comments": "", "outputs": 1, "x": 2368.3210372924805, "y": 1860.497986316681, "z": "5c37638f.99fd6c", "wires": [ [ "d924a586.673c18" ] ] }, { "id": "321bf129.18913e", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2222.8193130493164, "y": 1933.9970240592957, "z": "5c37638f.99fd6c", "wires": [ [ "875c4bea.660358", "ecb79aa0.650108", "f8b5c142.e5e42" ] ] }, { "id": "4ed101e7.e4ff7", "type": "execute", "name": "execute RestApiCallNode delete vpn topology", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 697.8168258666992, "y": 1193.496681213379, "z": "5c37638f.99fd6c", "wires": [ [ "79fecdbb.444414", "8f4a1544.240ce8" ] ] }, { "id": "79fecdbb.444414", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 952.816593170166, "y": 1209.496681213379, "z": "5c37638f.99fd6c", "wires": [ [ "1ef5ce22.99b2f2" ] ] }, { "id": "1ef5ce22.99b2f2", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 1122.8165321350098, "y": 1212.496681213379, "z": "5c37638f.99fd6c", "wires": [ [] ] }, { "id": "13d95323.743e4d", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1122.8166542053223, "y": 1168.496681213379, "z": "5c37638f.99fd6c", "wires": [] }, { "id": "8f4a1544.240ce8", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 955.8165321350098, "y": 1168.496681213379, "z": "5c37638f.99fd6c", "wires": [ [ "13d95323.743e4d" ] ] }, { "id": "9f45ce4d.1731c", "type": "set", "name": "set controller data", "xml": "\n\n\n\n", "comments": "", "x": 1103.3835430145264, "y": 965.1728572845459, "z": "5c37638f.99fd6c", "wires": [] }, { "id": "4b5b6f95.ae82b", "type": "get-resource", "name": "get-resource esr-thirdparty-sdnc", "xml": "\n\n", "comments": "", "outputs": 1, "x": 672.8832855224609, "y": 1016.1732077598572, "z": "5c37638f.99fd6c", "wires": [ [ "9379b94d.ebf738", "85618b89.4df498", "d4faaa3e.0874d8" ] ] }, { "id": "9379b94d.ebf738", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 931.8835773468018, "y": 971.1728410720825, "z": "5c37638f.99fd6c", "wires": [ [ "9f45ce4d.1731c" ] ] }, { "id": "85618b89.4df498", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, "x": 928.3742942810059, "y": 1009.74693775177, "z": "5c37638f.99fd6c", "wires": [ [ "ef8f714d.57ad1" ] ] }, { "id": "d4faaa3e.0874d8", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 923.7073020935059, "y": 1051.0802507400513, "z": "5c37638f.99fd6c", "wires": [ [ "7ed2ad4f.8bf614" ] ] }, { "id": "ef8f714d.57ad1", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n\t\n\t\n \n", "comments": "", "outputs": 1, "x": 2257.315902709961, "y": 1235.9957118034363, "z": "5c37638f.99fd6c", "wires": [ [ "e252e8ae.c32088" ] ] }, { "id": "e252e8ae.c32088", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1935.9829940795898, "y": 1326.9955472946167, "z": "5c37638f.99fd6c", "wires": [ [ "14486987.b85df6" ] ] }, { "id": "14486987.b85df6", "type": "switchNode", "name": "switch ActivateSDWANConnectivityInstance", "xml": "\n \n \n\n", "comments": "", "outputs": 1, "x": 2180.983726501465, "y": 1328.9959135055542, "z": "5c37638f.99fd6c", "wires": [ [ "1a69042b.c0872c" ] ] }, { "id": "1a69042b.c0872c", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2437.9832191467285, "y": 1327.9960436820984, "z": "5c37638f.99fd6c", "wires": [ [ "ecc75ce5.52a22" ] ] }, { "id": "693abfa.fed9d4", "type": "for", "name": "for loop paramidx - Get topology from servicedata", "xml": "\n \n \n", "comments": "", "outputs": 1, "x": 2239.9839057922363, "y": 1417.9956316947937, "z": "5c37638f.99fd6c", "wires": [ [ "3b22a756.98c7f8" ] ] }, { "id": "3b22a756.98c7f8", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2505.983594894409, "y": 1414.995954990387, "z": "5c37638f.99fd6c", "wires": [ [ "dccdc0aa.2bb7b", "b18f2a38.d85ae8" ] ] }, { "id": "dccdc0aa.2bb7b", "type": "switchNode", "name": "switch topology", "xml": "\n", "comments": "", "outputs": 1, "x": 2676.98392868042, "y": 1383.9954648017883, "z": "5c37638f.99fd6c", "wires": [ [ "e0213c77.0f4ca" ] ] }, { "id": "e0213c77.0f4ca", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2828.9839191436768, "y": 1385.9954953193665, "z": "5c37638f.99fd6c", "wires": [ [ "71cd0898.67eff8" ] ] }, { "id": "71cd0898.67eff8", "type": "set", "name": "set topology", "xml": "\n\n", "comments": "", "x": 2972.9839305877686, "y": 1385.5954298973083, "z": "5c37638f.99fd6c", "wires": [] }, { "id": "b18f2a38.d85ae8", "type": "switchNode", "name": "switch vpnId", "xml": "\n", "comments": "", "outputs": 1, "x": 2668.649652481079, "y": 1426.3284468650818, "z": "5c37638f.99fd6c", "wires": [ [ "5ef41a40.56fe94" ] ] }, { "id": "5ef41a40.56fe94", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2820.649642944336, "y": 1428.32847738266, "z": "5c37638f.99fd6c", "wires": [ [ "25d7449c.78b97c" ] ] }, { "id": "25d7449c.78b97c", "type": "set", "name": "set prop.vpn1Id", "xml": "\n\n", "comments": "", "x": 2964.6496543884277, "y": 1427.9284119606018, "z": "5c37638f.99fd6c", "wires": [] }, { "id": "2a2d01cd.5646fe", "type": "execute", "name": "execute RestApiCallNode delete vpn ", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 670.8164978027344, "y": 1304.9966464042664, "z": "5c37638f.99fd6c", "wires": [ [ "c4c9f687.9e7588", "802fa182.99b1f" ] ] }, { "id": "c4c9f687.9e7588", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 903.8165760040283, "y": 1329.996645450592, "z": "5c37638f.99fd6c", "wires": [ [ "1b0d22fd.e671fd" ] ] }, { "id": "1b0d22fd.e671fd", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 1073.816514968872, "y": 1332.996645450592, "z": "5c37638f.99fd6c", "wires": [ [] ] }, { "id": "588dc5fe.3853dc", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1073.8166370391846, "y": 1288.996645450592, "z": "5c37638f.99fd6c", "wires": [] }, { "id": "802fa182.99b1f", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 906.8165149688721, "y": 1288.996645450592, "z": "5c37638f.99fd6c", "wires": [ [ "588dc5fe.3853dc" ] ] }, { "id": "67ff2f7e.84dea", "type": "set", "name": "set prop.name", "xml": "\n\n", "comments": "", "x": 2886.8163108825684, "y": 1028.995940208435, "z": "5c37638f.99fd6c", "wires": [] }, { "id": "92ec0f10.dba05", "type": "switchNode", "name": "switch sdwanVpnName", "xml": "\n", "comments": "", "outputs": 1, "x": 2567.316150665283, "y": 1031.9959325790405, "z": "5c37638f.99fd6c", "wires": [ [ "da5b9464.fd80d8" ] ] }, { "id": "da5b9464.fd80d8", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2738.3163108825684, "y": 1030.9960012435913, "z": "5c37638f.99fd6c", "wires": [ [ "67ff2f7e.84dea" ] ] }, { "id": "1f17ba6f.07fd86", "type": "set", "name": "set prop.ar.provided-allotted-resource-id", "xml": "\n\n\n\n", "comments": "", "x": 2052.81591796875, "y": 772.9960646629333, "z": "5c37638f.99fd6c", "wires": [] }, { "id": "5609c5e0.866b1c", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1230.8463745117188, "y": 880.1932344436646, "z": "5c37638f.99fd6c", "wires": [ [ "b59d7969.b1f2f8" ] ] }, { "id": "cd36d7b2.2df868", "type": "execute", "name": "generate tmp.ar-url-connection url", "xml": "\n \n \n \n \n", "comments": "", "outputs": 1, "x": 2037.3335800170898, "y": 806.3295407295227, "z": "5c37638f.99fd6c", "wires": [ [] ] }, { "id": "f53ba2f7.ad562", "type": "execute", "name": "execute RestApiCallNode - get-resource connection-attachment-allotted-resource", "xml": "\n \n \n \n \n \n \n\n", "comments": "", "outputs": 1, "x": 2177.333209991455, "y": 841.9958319664001, "z": "5c37638f.99fd6c", "wires": [ [ "edb86366.daca5", "490fd156.3cc2e" ] ] }, { "id": "56d62d96.7f8ce4", "type": "execute", "name": "execute RestApiCallNode - get parent service data", "xml": "\n \n \n \n \n \n \n\n", "comments": "", "outputs": 1, "x": 2153.0004501342773, "y": 1134.995888710022, "z": "5c37638f.99fd6c", "wires": [ [ "1009f0e9.e8787f", "c9a9abe5.0b0758" ] ] }, { "id": "ecc75ce5.52a22", "type": "block", "name": "block atmoic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1897.333869934082, "y": 1424.6630945205688, "z": "5c37638f.99fd6c", "wires": [ [ "693abfa.fed9d4", "90dd080.179f4f8", "74e88748.645e58", "a1a950eb.a0193" ] ] }, { "id": "875c4bea.660358", "type": "set", "name": "set prop.attach.siteId", "xml": "\n\n\n", "comments": "", "x": 2489.002185821533, "y": 1915.6638503074646, "z": "5c37638f.99fd6c", "wires": [] }, { "id": "d924a586.673c18", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2509.00244140625, "y": 1860.663676738739, "z": "5c37638f.99fd6c", "wires": [ [ "321bf129.18913e" ] ] }, { "id": "bfec68b.915a698", "type": "block", "name": "block atmoic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2001.668327331543, "y": 1746.3301873207092, "z": "5c37638f.99fd6c", "wires": [ [ "4edc1d8f.0a1944", "9280788a.1a5978" ] ] }, { "id": "b30219b.8f8bde8", "type": "for", "name": "for pidx..mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource[]", "xml": "\n", "comments": "", "outputs": 1, "x": 838.185131072998, "y": 915.6358346939087, "z": "5c37638f.99fd6c", "wires": [ [ "5609c5e0.866b1c" ] ] }, { "id": "3d77f67c.b5ecea", "type": "block", "name": "block atmoic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2213.668685913086, "y": 1857.000834941864, "z": "5c37638f.99fd6c", "wires": [ [ "ead36ab7.282438" ] ] }, { "id": "7dea7f5b.a3b81", "type": "set", "name": "set prop.siteAttachement_length=0", "xml": "\n\n\n\n\n\n", "comments": "", "x": 684.00390625, "y": 858.5311903953552, "z": "5c37638f.99fd6c", "wires": [] }, { "id": "ecb79aa0.650108", "type": "set", "name": "Add sites to list and update length", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "x": 2516.506019592285, "y": 1960.5316553115845, "z": "5c37638f.99fd6c", "wires": [] }, { "id": "b96757af.5cca38", "type": "execute", "name": "generate prop.ar-parent-service-instance-id", "xml": "\n \n \n \n \n\n", "comments": "", "outputs": 1, "x": 2137.504051208496, "y": 1097.5314092636108, "z": "5c37638f.99fd6c", "wires": [ [] ] }, { "id": "90dd080.179f4f8", "type": "set", "name": "set prop.ar-service-instance-id", "xml": "\n\n", "comments": "", "x": 2170.5044708251953, "y": 1486.5313272476196, "z": "5c37638f.99fd6c", "wires": [] }, { "id": "74e88748.645e58", "type": "execute", "name": "generate prop.ar-service-instance-id", "xml": "\n \n \n \n \n\n", "comments": "", "outputs": 1, "x": 2195.836929321289, "y": 1519.4096231460571, "z": "5c37638f.99fd6c", "wires": [ [] ] }, { "id": "a1a950eb.a0193", "type": "execute", "name": "execute RestApiCallNode - get-resource service data", "xml": "\n \n \n \n \n \n \n\n", "comments": "", "outputs": 1, "x": 2246.8370513916016, "y": 1556.409441947937, "z": "5c37638f.99fd6c", "wires": [ [ "d085c605.a64ce8", "872e1cc1.fb142" ] ] }, { "id": "872e1cc1.fb142", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 2525.5041160583496, "y": 1552.531153678894, "z": "5c37638f.99fd6c", "wires": [ [ "eb1435b3.407188" ] ] }, { "id": "d085c605.a64ce8", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 2523.3564453125, "y": 1513.5972814559937, "z": "5c37638f.99fd6c", "wires": [ [ "6579eeb9.4ad43" ] ] }, { "id": "6579eeb9.4ad43", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2653.004638671875, "y": 1507.0312414169312, "z": "5c37638f.99fd6c", "wires": [ [] ] }, { "id": "eb1435b3.407188", "type": "block", "name": "block atmoic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2674.505012512207, "y": 1553.5313386917114, "z": "5c37638f.99fd6c", "wires": [ [ "92d891d3.4ab0e" ] ] }, { "id": "b59d7969.b1f2f8", "type": "switchNode", "name": "switch allotted resource ID match", "xml": "\n", "comments": "", "outputs": 1, "x": 1454.504020690918, "y": 877.0312628746033, "z": "5c37638f.99fd6c", "wires": [ [ "d35d9e14.f135e" ] ] }, { "id": "d35d9e14.f135e", "type": "outcomeFalse", "name": "false", "xml": "\n", "comments": "", "outputs": 1, "x": 1668.5040855407715, "y": 808.0312933921814, "z": "5c37638f.99fd6c", "wires": [ [ "72234e91.d5575" ] ] }, { "id": "72234e91.d5575", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1810.5043334960938, "y": 807.0312342643738, "z": "5c37638f.99fd6c", "wires": [ [ "1f17ba6f.07fd86", "cd36d7b2.2df868", "f53ba2f7.ad562" ] ] }, { "id": "d4480c4c.ab7f1", "type": "comment", "name": "if allotted resource Id match with the incomming allotted resource ID, sites in this service vnf should not be included", "info": "parent instId 200 | parent instId 200\nservice instId 100| service InstId 200\n site1 | site2\n allotted resId 1 | allotted resId 2 \n --------------------------------------\n Deactivate:\n loop for provided allotted res ID\n If allotted resId 1 matches with incomming allotted resource Id then we should delete the sites available in the service data 100\n for this we have to send request for deleting with site IDs site2 without including site1.\n \n \n ", "comments": "", "x": 1763.5039367675781, "y": 740.03129529953, "z": "5c37638f.99fd6c", "wires": [] }, { "id": "44d17735.c18b38", "type": "comment", "name": "loop for provided allotted rsource Id", "info": "", "comments": "", "x": 950.50390625, "y": 879.5312514305115, "z": "5c37638f.99fd6c", "wires": [] }, { "id": "e435a42b.3afe08", "type": "comment", "name": "get allotted resource for the allotted resource ID", "info": "", "comments": "", "x": 2324.504234313965, "y": 741.5311732292175, "z": "5c37638f.99fd6c", "wires": [] }, { "id": "1438e6b6.ccead9", "type": "comment", "name": "get parent service data to get connectivity which has connectivity and vpn ID", "info": "", "comments": "", "x": 2107.503761291504, "y": 968.5312509536743, "z": "5c37638f.99fd6c", "wires": [] }, { "id": "32a9e203.7d629e", "type": "comment", "name": "get service data from service instance id from allotted reosurce Id to get sites vnf", "info": "", "comments": "", "x": 2296.503761291504, "y": 1450.5310506820679, "z": "5c37638f.99fd6c", "wires": [] }, { "id": "5b38ce7d.8512a", "type": "call", "name": "call sdwan-vnf-topology-operation-underlay for delete", "xml": "\n", "comments": "", "outputs": 1, "x": 731.5040283203125, "y": 1109.531298160553, "z": "5c37638f.99fd6c", "wires": [ [] ] }, { "id": "f8b5c142.e5e42", "type": "set", "name": "Add site attachement to list and update length", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "x": 2546.2539978027344, "y": 2001.2539825439453, "z": "5c37638f.99fd6c", "wires": [] } ]