[ { "id": "8656b138.5dcef", "type": "dgstart", "name": "DGSTART", "outputs": 1, "x": 87.00390625, "y": 63.999998569488525, "z": "4842829a.c92f5c", "wires": [ [ "434423eb.200dcc" ] ] }, { "id": "434423eb.200dcc", "type": "service-logic", "name": "GENERIC-RESOURCE-API ${project.version}", "module": "GENERIC-RESOURCE-API", "version": "${project.version}", "comments": "", "xml": "", "outputs": 1, "x": 278.0039119720459, "y": 134.00001668930054, "z": "4842829a.c92f5c", "wires": [ [ "e6e0d8a8.8bfcf8" ] ] }, { "id": "e6e0d8a8.8bfcf8", "type": "method", "name": "sdwan-attachment-topology-operation-activate", "xml": "\n", "comments": "", "outputs": 1, "x": 266.00403022766113, "y": 221.99999952316284, "z": "4842829a.c92f5c", "wires": [ [ "5cdb946c.3b710c" ] ] }, { "id": "5cdb946c.3b710c", "type": "block", "name": "block : atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 168.00404357910156, "y": 908.0002876520157, "z": "4842829a.c92f5c", "wires": [ [ "4b9de3d9.03091c", "4127df46.08ca1", "aae6c90e.119798", "72064d52.212b94", "21e8ba33.483c86", "7d9870f2.8c169", "f1c987fe.e262e8", "4c06f720.016118", "1379096d.d52197", "4fc8c244.1177ac", "d4d40535.00b288", "daadac76.292c6", "c4a41078.ea3c4", "43fe29d3.28d4b8", "38c9c0d2.63a2d", "9192f41d.1c9e78", "19eae0e7.50657f", "585348e6.e28c68", "4041fa5f.8f6984", "db5d0d5.71c66f", "537ad820.346958", "5723dd.5302dc24", "390c3a59.81dbe6" ] ] }, { "id": "4b9de3d9.03091c", "type": "set", "name": "set tmp.ar.allotted-resource-id,etc", "xml": "\n\n\n\n\n", "comments": "", "x": 678.9974689483643, "y": 175.99348640441895, "z": "4842829a.c92f5c", "wires": [] }, { "id": "246c798e.5e7076", "type": "comment", "name": "set tmp ar-id to fetch resource from MDSAL", "info": "", "comments": "", "x": 707.9577808380127, "y": 140.0252823829651, "z": "4842829a.c92f5c", "wires": [] }, { "id": "4127df46.08ca1", "type": "set", "name": "set tmp.ar.self-link", "xml": "\n\n\n", "comments": "", "x": 632.997407913208, "y": 268.9934916496277, "z": "4842829a.c92f5c", "wires": [] }, { "id": "72064d52.212b94", "type": "execute", "name": "execute Properties", "xml": "\n \n \n", "comments": "", "outputs": 1, "x": 639.259298324585, "y": 356.66022062301636, "z": "4842829a.c92f5c", "wires": [ [] ] }, { "id": "aae6c90e.119798", "type": "execute", "name": "generate allotted-resource tmp.ar-url", "xml": "\n \n \n \n \n", "comments": "", "outputs": 1, "x": 686.259355545044, "y": 444.6602244377136, "z": "4842829a.c92f5c", "wires": [ [] ] }, { "id": "ca8f4f1a.61b38", "type": "comment", "name": "GET connection-attachment-allotted-resource from mdsal", "info": "", "comments": "", "x": 740.8123168945312, "y": 513.5386500358582, "z": "4842829a.c92f5c", "wires": [] }, { "id": "9f182507.e3c608", "type": "comment", "name": "Used for setting output to API Handler", "info": "", "comments": "", "x": 686.9974384307861, "y": 235.99350118637085, "z": "4842829a.c92f5c", "wires": [] }, { "id": "2aa7816a.d5fa1e", "type": "comment", "name": "Obtain different URL, template location etc", "info": "For saving resource information to MDSAL & for AAI", "comments": "", "x": 704.9974040985107, "y": 321.88238191604614, "z": "4842829a.c92f5c", "wires": [] }, { "id": "7187d295.0c7a1c", "type": "comment", "name": "Used to Get AR by id to MDSAL, same as self-link", "info": "", "comments": "", "x": 730.9974231719971, "y": 408.88234090805054, "z": "4842829a.c92f5c", "wires": [] }, { "id": "b2104ab0.d42038", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 1194.6707286834717, "y": 526.9999775886536, "z": "4842829a.c92f5c", "wires": [ [ "736e1064.726c" ] ] }, { "id": "736e1064.726c", "type": "block", "name": "block: atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1338.6708068847656, "y": 484.49989557266235, "z": "4842829a.c92f5c", "wires": [ [ "a5f06ff2.e93e4" ] ] }, { "id": "a5f06ff2.e93e4", "type": "switchNode", "name": "switch cr length", "xml": "\n", "comments": "", "outputs": 1, "x": 1507.5282306671143, "y": 482.1190667152405, "z": "4842829a.c92f5c", "wires": [ [ "69d17a58.9c2324", "1cf05230.c0296e" ] ] }, { "id": "69d17a58.9c2324", "type": "other", "name": "outcome 1", "xml": "\n", "comments": "", "outputs": 1, "x": 1662.8613662719727, "y": 454.1189818382263, "z": "4842829a.c92f5c", "wires": [ [ "a2e5f5bf.161fe8" ] ] }, { "id": "a2e5f5bf.161fe8", "type": "block", "name": "block: atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1821.3851699829102, "y": 452.0238289833069, "z": "4842829a.c92f5c", "wires": [ [ "2e9b819d.3363ee", "edfeb643.5889d8", "76036750.d4da68" ] ] }, { "id": "8107bf70.6729c", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n \n", "comments": "", "x": 1761.5231018066406, "y": 559.0660634040833, "z": "4842829a.c92f5c", "wires": [] }, { "id": "a6741673.5edd48", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 1186.5225315093994, "y": 562.0660624504089, "z": "4842829a.c92f5c", "wires": [ [ "9ba85af5.f74448" ] ] }, { "id": "9ba85af5.f74448", "type": "block", "name": "block: atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1366.522481918335, "y": 562.7326130867004, "z": "4842829a.c92f5c", "wires": [ [ "8107bf70.6729c" ] ] }, { "id": "1cf05230.c0296e", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 1654.1893692016602, "y": 513.3993563652039, "z": "4842829a.c92f5c", "wires": [ [ "8107bf70.6729c" ] ] }, { "id": "2e9b819d.3363ee", "type": "set", "name": "set connection-attachment-ar from get", "xml": "\n\n", "comments": "", "x": 2068.4486236572266, "y": 425.0000810623169, "z": "4842829a.c92f5c", "wires": [] }, { "id": "edfeb643.5889d8", "type": "set", "name": "set oper-status", "xml": "\n\n\n\n\n", "comments": "", "x": 2017.4488925933838, "y": 527.4286171197891, "z": "4842829a.c92f5c", "wires": [] }, { "id": "76036750.d4da68", "type": "switchNode", "name": "switch order-status", "xml": "\n", "comments": "", "outputs": 1, "x": 2019.448709487915, "y": 467.0000420808792, "z": "4842829a.c92f5c", "wires": [ [ "e87ff105.14d1b", "d97dfa9c.e30428" ] ] }, { "id": "d97dfa9c.e30428", "type": "outcome", "name": "outcome Created", "xml": "\n", "comments": "", "outputs": 1, "x": 2247.0490589141846, "y": 458.0000993013382, "z": "4842829a.c92f5c", "wires": [ [ "987bc713.b486f8" ] ] }, { "id": "e87ff105.14d1b", "type": "outcome", "name": "outcome Other", "xml": "\n", "comments": "", "outputs": 1, "x": 2241.762954711914, "y": 497.42865657806396, "z": "4842829a.c92f5c", "wires": [ [ "b58f7e1e.c3478" ] ] }, { "id": "987bc713.b486f8", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2406.519187927246, "y": 458.37570428848267, "z": "4842829a.c92f5c", "wires": [ [] ] }, { "id": "b58f7e1e.c3478", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 2417.670768737793, "y": 496.0000557899475, "z": "4842829a.c92f5c", "wires": [] }, { "id": "e130ad96.c9e09", "type": "call", "name": "call GENERIC-RESOURCE-API:sdwan-get-saved-ar-param", "xml": "\n", "comments": "", "outputs": 1, "x": 911.3069496154785, "y": 633.4936280250549, "z": "4842829a.c92f5c", "wires": [ [] ] }, { "id": "21e8ba33.483c86", "type": "block", "name": "block: atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 605.3130493164062, "y": 634.4999985694885, "z": "4842829a.c92f5c", "wires": [ [ "e130ad96.c9e09" ] ] }, { "id": "336e8236.5ec30e", "type": "comment", "name": "GET parent-service-data from mdsal to check existence of other End point", "info": "", "comments": "", "x": 783.00439453125, "y": 705.5317368507385, "z": "4842829a.c92f5c", "wires": [] }, { "id": "2b31d5c5.87577a", "type": "comment", "name": "GET connection-attachment-ar to store AR data from mdsal", "info": "", "comments": "", "x": 2130.4766845703125, "y": 385.50393533706665, "z": "4842829a.c92f5c", "wires": [] }, { "id": "7d9870f2.8c169", "type": "set", "name": "set tmp.ar.parent-service-instance-id", "xml": "\n\n\n", "comments": "", "x": 668.9727172851562, "y": 735.000120639801, "z": "4842829a.c92f5c", "wires": [] }, { "id": "b757ef37.0ce2d", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 1028.972885131836, "y": 792.0000901222229, "z": "4842829a.c92f5c", "wires": [ [ "8876c1bb.25741" ] ] }, { "id": "f706c388.1aebc", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 1020.8246879577637, "y": 827.0661749839783, "z": "4842829a.c92f5c", "wires": [ [ "cb9cbf16.bef44" ] ] }, { "id": "cb9cbf16.bef44", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n \n", "comments": "", "x": 1166.9734687805176, "y": 826.3335862159729, "z": "4842829a.c92f5c", "wires": [] }, { "id": "8876c1bb.25741", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1159.9729804992676, "y": 792.0001511573792, "z": "4842829a.c92f5c", "wires": [ [] ] }, { "id": "2c9b5f28.48e9e", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 842.7351894378662, "y": 1824.9538197517395, "z": "4842829a.c92f5c", "wires": [ [ "6b8dfb7d.64cd94" ] ] }, { "id": "6b8dfb7d.64cd94", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1009.2590103149414, "y": 1851.5728268623352, "z": "4842829a.c92f5c", "wires": [] }, { "id": "ed67a862.2bd1f8", "type": "failure", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, "x": 844.8304176330566, "y": 1872.7156624794006, "z": "4842829a.c92f5c", "wires": [ [ "6b8dfb7d.64cd94" ] ] }, { "id": "97cf9734.788978", "type": "comment", "name": "Save Resource to AAI", "info": "", "comments": "", "x": 616.7828330993652, "y": 1813.3029828071594, "z": "4842829a.c92f5c", "wires": [] }, { "id": "38c9c0d2.63a2d", "type": "set", "name": "set output to api handler", "xml": "\n\n\n\n \n", "comments": "", "x": 631.5505294799805, "y": 1734.8284640312195, "z": "4842829a.c92f5c", "wires": [] }, { "id": "9192f41d.1c9e78", "type": "returnSuccess", "name": "return success", "xml": "\n\n\n\n", "comments": "", "x": 591.963701248169, "y": 1920.4442524909973, "z": "4842829a.c92f5c", "wires": [] }, { "id": "43fe29d3.28d4b8", "type": "execute", "name": "execute RestApiCallNode - PUT AR by id", "xml": "\n \n \n \n \n \n \n \n\n", "comments": "", "outputs": 1, "x": 684.2826118469238, "y": 1659.469316959381, "z": "4842829a.c92f5c", "wires": [ [ "d5f8f1b8.84781", "d21a6279.bc9d6", "9617473f.000048" ] ] }, { "id": "d5f8f1b8.84781", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, "x": 938.9240341186523, "y": 1703.8007111549377, "z": "4842829a.c92f5c", "wires": [ [ "ce2b1814.f0bc28" ] ] }, { "id": "d21a6279.bc9d6", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 940.9240570068359, "y": 1662.3006752952933, "z": "4842829a.c92f5c", "wires": [ [ "ce2b1814.f0bc28" ] ] }, { "id": "9617473f.000048", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 944.6741409301758, "y": 1613.6578278541565, "z": "4842829a.c92f5c", "wires": [ [ "c002bab4.10b818" ] ] }, { "id": "ce2b1814.f0bc28", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1099.674160003662, "y": 1682.0507416725159, "z": "4842829a.c92f5c", "wires": [] }, { "id": "c002bab4.10b818", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1072.3300857543945, "y": 1615.8499960899353, "z": "4842829a.c92f5c", "wires": [ [] ] }, { "id": "4fc8c244.1177ac", "type": "set", "name": "set ar-data", "xml": "\n\n\n\n\n\n\n", "comments": "", "x": 586.4962272644043, "y": 1493.8502180576324, "z": "4842829a.c92f5c", "wires": [] }, { "id": "daadac76.292c6", "type": "execute", "name": "execute getTime", "xml": "\n \n\n", "comments": "", "outputs": 1, "x": 603.7820701599121, "y": 1566.4698157310486, "z": "4842829a.c92f5c", "wires": [ [] ] }, { "id": "c4a41078.ea3c4", "type": "set", "name": "set allotted-resource-oper-status", "xml": "\n\n\n\n\n\n", "comments": "", "x": 653.7691497802734, "y": 1603.4208960533142, "z": "4842829a.c92f5c", "wires": [] }, { "id": "d4d40535.00b288", "type": "set", "name": "set model-data", "xml": "\n", "comments": "", "x": 600.3377685546875, "y": 1533.0248684883118, "z": "4842829a.c92f5c", "wires": [] }, { "id": "45fc3466.cbd9ac", "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": 711.6712646484375, "y": 1455.0248260498047, "z": "4842829a.c92f5c", "wires": [] }, { "id": "4c6b5051.361fc", "type": "comment", "name": "Add to allotted-resources in mdsal", "info": "", "comments": "", "x": 655.2510566711426, "y": 1421.4381222724915, "z": "4842829a.c92f5c", "wires": [] }, { "id": "390c3a59.81dbe6", "type": "update", "name": "update AAI allotted-resource", "xml": "\n\t\n\t\n\t\n\t\n\t\n", "comments": "", "outputs": 1, "x": 643.2271118164062, "y": 1850.7551255226135, "z": "4842829a.c92f5c", "wires": [ [ "2c9b5f28.48e9e", "ed67a862.2bd1f8" ] ] }, { "id": "f1c987fe.e262e8", "type": "execute", "name": "execute RestApiCallNode - get-resource connection-attachment-allotted-resource", "xml": "\n \n \n \n \n \n \n\n", "comments": "", "outputs": 1, "x": 815.0078735351562, "y": 545.0039048194885, "z": "4842829a.c92f5c", "wires": [ [ "b2104ab0.d42038", "a6741673.5edd48" ] ] }, { "id": "4c06f720.016118", "type": "execute", "name": "execute RestApiCallNode - get-resource parent service data", "xml": "\n \n \n \n \n \n \n\n", "comments": "", "outputs": 1, "x": 738.0079956054688, "y": 808.0040879249573, "z": "4842829a.c92f5c", "wires": [ [ "b757ef37.0ce2d", "f706c388.1aebc" ] ] }, { "id": "1379096d.d52197", "type": "execute", "name": "get parent-service-data url", "xml": "\n \n \n \n \n", "comments": "", "outputs": 1, "x": 638.0079040527344, "y": 771.0039210319519, "z": "4842829a.c92f5c", "wires": [ [] ] }, { "id": "5177b2ec.7304dc", "type": "set", "name": "set prop.ar.provided-allotted-resource-id", "xml": "\n\n\n", "comments": "", "x": 1496.0003814697266, "y": 860.1218543052673, "z": "4842829a.c92f5c", "wires": [] }, { "id": "a4de5ab0.2e8518", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 2002.0009765625, "y": 954.4551377296448, "z": "4842829a.c92f5c", "wires": [ [ "b07d3158.ec06e" ] ] }, { "id": "e77eab64.b80238", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 2005.852352142334, "y": 916.5212178230286, "z": "4842829a.c92f5c", "wires": [ [ "67d985d1.99c82c" ] ] }, { "id": "a9f31ecc.485fc", "type": "for", "name": "for arvidx.. mdsal-sd.service-data.vnfs.vnf_length[]", "xml": "\n", "comments": "", "outputs": 1, "x": 1898.0015487670898, "y": 1682.1222678422928, "z": "4842829a.c92f5c", "wires": [ [ "3f28b2ff.c5261e" ] ] }, { "id": "3f28b2ff.c5261e", "type": "block", "name": "block atmoic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1657.6680450439453, "y": 1754.1224604845047, "z": "4842829a.c92f5c", "wires": [ [ "7390d84f.4b2318" ] ] }, { "id": "7390d84f.4b2318", "type": "switchNode", "name": "switch ActivateSiteInstance", "xml": "\n\n \n \n\n", "comments": "", "outputs": 1, "x": 1870.5332794189453, "y": 1755.3203288316727, "z": "4842829a.c92f5c", "wires": [ [ "f67dfe78.781af" ] ] }, { "id": "f67dfe78.781af", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2075.53263092041, "y": 1758.3203250169754, "z": "4842829a.c92f5c", "wires": [ [ "24aa0f5e.31356" ] ] }, { "id": "e2678b6.a3e2078", "type": "set", "name": "set tmp.sitevidx ", "xml": "\n\n\n", "comments": "", "x": 2419.532802581787, "y": 1738.3206726312637, "z": "4842829a.c92f5c", "wires": [] }, { "id": "9f2a331c.6de8", "type": "set", "name": "set prop.ar-parent-service-instance-id", "xml": "\n \n", "comments": "", "x": 1647.0009765625, "y": 1101.1221171617508, "z": "4842829a.c92f5c", "wires": [] }, { "id": "d2ac9580.cea3a8", "type": "for", "name": "for loop aridx - Get role from allotted resource", "xml": "\n \n \n", "comments": "", "outputs": 1, "x": 1674.0004901885986, "y": 1058.621705532074, "z": "4842829a.c92f5c", "wires": [ [ "ab4a3566.1d4448" ] ] }, { "id": "9e31b20.ec7145", "type": "switchNode", "name": "switch Role", "xml": "\n", "comments": "", "outputs": 1, "x": 2105.0007343292236, "y": 1024.6218276023865, "z": "4842829a.c92f5c", "wires": [ [ "8e1f2970.68a218" ] ] }, { "id": "8e1f2970.68a218", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2245.0009784698486, "y": 1022.621949672699, "z": "4842829a.c92f5c", "wires": [ [ "ef163b1b.5ea0c8" ] ] }, { "id": "ef163b1b.5ea0c8", "type": "set", "name": "set prop.role", "xml": "\n\n", "comments": "", "x": 2389.0017108917236, "y": 1022.221803188324, "z": "4842829a.c92f5c", "wires": [] }, { "id": "8f7eca2d.7a5ac8", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 1953.0007934570312, "y": 1201.1219245195389, "z": "4842829a.c92f5c", "wires": [ [ "2acc8e1c.c1a132" ] ] }, { "id": "224b80f9.f7e8e", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 1950.8531227111816, "y": 1162.1880522966385, "z": "4842829a.c92f5c", "wires": [ [ "d6b1d2aa.02b42" ] ] }, { "id": "67d985d1.99c82c", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2132.000476837158, "y": 913.6216511726379, "z": "4842829a.c92f5c", "wires": [ [] ] }, { "id": "b07d3158.ec06e", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1297.500431060791, "y": 1093.621780872345, "z": "4842829a.c92f5c", "wires": [ [ "d2ac9580.cea3a8", "9f2a331c.6de8", "13a1cc8b.f27593", "8c1064b8.0837a8" ] ] }, { "id": "d6b1d2aa.02b42", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2080.5013160705566, "y": 1155.622012257576, "z": "4842829a.c92f5c", "wires": [ [] ] }, { "id": "2acc8e1c.c1a132", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1679.5010528564453, "y": 1280.6221534013748, "z": "4842829a.c92f5c", "wires": [ [ "2eef69ed.8c4646" ] ] }, { "id": "322f0f47.8e765", "type": "for", "name": "for loop siteidx - Get site ID from servicedata", "xml": "\n \n \n", "comments": "", "outputs": 1, "x": 2498.5025024414062, "y": 1788.6224652528763, "z": "4842829a.c92f5c", "wires": [ [ "f041a5c4.8e5ff8" ] ] }, { "id": "3ce210b6.91582", "type": "switchNode", "name": "switch siteId", "xml": "\n\n", "comments": "", "outputs": 1, "x": 1969.505865097046, "y": 1902.6239272356033, "z": "4842829a.c92f5c", "wires": [ [ "57ac6f64.1286d" ] ] }, { "id": "57ac6f64.1286d", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2124.5062351226807, "y": 1904.624293923378, "z": "4842829a.c92f5c", "wires": [ [ "b1ee9c99.2aacf" ] ] }, { "id": "cbb60b59.d98d48", "type": "set", "name": "Add sites to list and update length", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "x": 2102.0048294067383, "y": 2037.122889637947, "z": "4842829a.c92f5c", "wires": [] }, { "id": "5723dd.5302dc24", "type": "execute", "name": "execute RestApiCallNode create vpn topology", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 695.0036029815674, "y": 1242.6233216524124, "z": "4842829a.c92f5c", "wires": [ [ "dbb9cf9c.1b8a", "fefb45a2.751f18" ] ] }, { "id": "fefb45a2.751f18", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 939.0035572052002, "y": 1263.6231385469437, "z": "4842829a.c92f5c", "wires": [ [ "96dbc97.ce15e38" ] ] }, { "id": "96dbc97.ce15e38", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 1109.003496170044, "y": 1266.6231385469437, "z": "4842829a.c92f5c", "wires": [ [] ] }, { "id": "95ee12f3.671c4", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1109.0036182403564, "y": 1222.6231385469437, "z": "4842829a.c92f5c", "wires": [] }, { "id": "dbb9cf9c.1b8a", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 942.003496170044, "y": 1222.6231385469437, "z": "4842829a.c92f5c", "wires": [ [ "95ee12f3.671c4" ] ] }, { "id": "722c21e0.94316", "type": "set", "name": "set controller data", "xml": "\n\n\n\n", "comments": "", "x": 1113.569179534912, "y": 955.2990155220032, "z": "4842829a.c92f5c", "wires": [] }, { "id": "db5d0d5.71c66f", "type": "get-resource", "name": "get-resource esr-thirdparty-sdnc", "xml": "\n\n", "comments": "", "outputs": 1, "x": 650.0689697265625, "y": 1004.2993149757385, "z": "4842829a.c92f5c", "wires": [ [ "9f61640b.56f5e8", "fcbf7eb7.5e0e6", "b9617b3d.71b3f8" ] ] }, { "id": "9f61640b.56f5e8", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 916.0691184997559, "y": 967.2990155220032, "z": "4842829a.c92f5c", "wires": [ [ "722c21e0.94316" ] ] }, { "id": "fcbf7eb7.5e0e6", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, "x": 912.55983543396, "y": 1005.8731122016907, "z": "4842829a.c92f5c", "wires": [ [ "ae421a1b.b35b38" ] ] }, { "id": "b9617b3d.71b3f8", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 907.89284324646, "y": 1047.206425189972, "z": "4842829a.c92f5c", "wires": [ [ "e4bd895d.631da8" ] ] }, { "id": "ae421a1b.b35b38", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n\t\n\t\n \n", "comments": "", "outputs": 1, "x": 1987.5011825561523, "y": 1280.1222764253616, "z": "4842829a.c92f5c", "wires": [ [ "19a68b02.3eedc5" ] ] }, { "id": "532b87f6.cba248", "type": "switchNode", "name": "switch ActivateSDWANConnectivityInstance", "xml": "\n \n \n\n", "comments": "", "outputs": 1, "x": 1834.169578552246, "y": 1369.122292637825, "z": "4842829a.c92f5c", "wires": [ [ "f7df899d.2cdaa8" ] ] }, { "id": "f7df899d.2cdaa8", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2090.1690311431885, "y": 1367.1222316026688, "z": "4842829a.c92f5c", "wires": [ [ "4ad4efb2.b5354" ] ] }, { "id": "f89715ac.25dc68", "type": "for", "name": "for loop paramidx - Get topology from servicedata", "xml": "\n \n \n", "comments": "", "outputs": 1, "x": 1877.1676940917969, "y": 1460.1214705705643, "z": "4842829a.c92f5c", "wires": [ [ "c531c63.7b95a38" ] ] }, { "id": "bd704489.7274d8", "type": "switchNode", "name": "switch topology", "xml": "\n", "comments": "", "outputs": 1, "x": 2331.1680545806885, "y": 1447.1217604875565, "z": "4842829a.c92f5c", "wires": [ [ "76f653aa.77e0bc" ] ] }, { "id": "76f653aa.77e0bc", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2480.1678104400635, "y": 1442.121882557869, "z": "4842829a.c92f5c", "wires": [ [ "e332cfdd.3a325" ] ] }, { "id": "e332cfdd.3a325", "type": "set", "name": "set topology", "xml": "\n\n", "comments": "", "x": 2620.1679973602295, "y": 1439.7217980623245, "z": "4842829a.c92f5c", "wires": [] }, { "id": "95926f9f.7a56d", "type": "switchNode", "name": "switch vpnId", "xml": "\n", "comments": "", "outputs": 1, "x": 2318.8340015411377, "y": 1485.4549852609634, "z": "4842829a.c92f5c", "wires": [ [ "915a39b2.608e28" ] ] }, { "id": "915a39b2.608e28", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2458.8339443206787, "y": 1485.4548016786575, "z": "4842829a.c92f5c", "wires": [ [ "56e124a4.ba815c" ] ] }, { "id": "56e124a4.ba815c", "type": "set", "name": "set prop.vpn1Id", "xml": "\n\n", "comments": "", "x": 2606.833948135376, "y": 1485.0548692941666, "z": "4842829a.c92f5c", "wires": [] }, { "id": "537ad820.346958", "type": "execute", "name": "execute RestApiCallNode create vpn ", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 664.0019989013672, "y": 1151.122742652893, "z": "4842829a.c92f5c", "wires": [ [ "3ba3cba0.b1b5b4", "14233b12.99c415" ] ] }, { "id": "14233b12.99c415", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 884.0019016265869, "y": 1147.1227074861526, "z": "4842829a.c92f5c", "wires": [ [ "e9e1022d.54d97" ] ] }, { "id": "e9e1022d.54d97", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 1054.0018405914307, "y": 1150.1227074861526, "z": "4842829a.c92f5c", "wires": [ [] ] }, { "id": "12277977.d003a7", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1054.0019626617432, "y": 1106.1227074861526, "z": "4842829a.c92f5c", "wires": [] }, { "id": "3ba3cba0.b1b5b4", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 887.0018405914307, "y": 1106.1227074861526, "z": "4842829a.c92f5c", "wires": [ [ "12277977.d003a7" ] ] }, { "id": "4ac994c1.39bcbc", "type": "set", "name": "set prop.name", "xml": "\n\n", "comments": "", "x": 2464.0007343292236, "y": 1074.121461391449, "z": "4842829a.c92f5c", "wires": [] }, { "id": "24b71c25.bdf914", "type": "switchNode", "name": "switch sdwanVpnName", "xml": "\n", "comments": "", "outputs": 1, "x": 2143.5004901885986, "y": 1079.121461391449, "z": "4842829a.c92f5c", "wires": [ [ "4b8a8916.d5df08" ] ] }, { "id": "4b8a8916.d5df08", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2320.5007343292236, "y": 1076.121461391449, "z": "4842829a.c92f5c", "wires": [ [ "4ac994c1.39bcbc" ] ] }, { "id": "35fb02d9.bc983e", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1233.0308837890625, "y": 897.3190293312073, "z": "4842829a.c92f5c", "wires": [ [ "5177b2ec.7304dc", "72795760.cf2f58", "48fba41e.5e07cc" ] ] }, { "id": "19eae0e7.50657f", "type": "for", "name": "for pidx..mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource[]", "xml": "\n", "comments": "", "outputs": 1, "x": 826.18505859375, "y": 906.0944199562073, "z": "4842829a.c92f5c", "wires": [ [ "35fb02d9.bc983e" ] ] }, { "id": "72795760.cf2f58", "type": "execute", "name": "generate tmp.ar-url-connection url", "xml": "\n \n \n \n \n", "comments": "", "outputs": 1, "x": 1482.0002059936523, "y": 895.6668076515198, "z": "4842829a.c92f5c", "wires": [ [] ] }, { "id": "48fba41e.5e07cc", "type": "execute", "name": "execute RestApiCallNode - get-resource connection-attachment-allotted-resource", "xml": "\n \n \n \n \n \n \n\n", "comments": "", "outputs": 1, "x": 1631, "y": 934.333372592926, "z": "4842829a.c92f5c", "wires": [ [ "e77eab64.b80238", "a4de5ab0.2e8518" ] ] }, { "id": "13a1cc8b.f27593", "type": "execute", "name": "generate prop.ar-parent-service-instance-id", "xml": "\n \n \n \n \n\n", "comments": "", "outputs": 1, "x": 1661.3334655761719, "y": 1143.0003348588943, "z": "4842829a.c92f5c", "wires": [ [] ] }, { "id": "8c1064b8.0837a8", "type": "execute", "name": "execute RestApiCallNode - get parent service data", "xml": "\n \n \n \n \n \n \n\n", "comments": "", "outputs": 1, "x": 1680.3334350585938, "y": 1177.0004206895828, "z": "4842829a.c92f5c", "wires": [ [ "224b80f9.f7e8e", "8f7eca2d.7a5ac8" ] ] }, { "id": "ab4a3566.1d4448", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1940.0311298370361, "y": 1053.531129360199, "z": "4842829a.c92f5c", "wires": [ [ "9e31b20.ec7145", "24b71c25.bdf914" ] ] }, { "id": "4ad4efb2.b5354", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1466.0316848754883, "y": 1500.5313200950623, "z": "4842829a.c92f5c", "wires": [ [ "f89715ac.25dc68", "6e129b4e.95cc44", "5de3f774.9f5298", "153d05d.db3defa" ] ] }, { "id": "19a68b02.3eedc5", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1576.6673126220703, "y": 1367.6670924425125, "z": "4842829a.c92f5c", "wires": [ [ "532b87f6.cba248" ] ] }, { "id": "f041a5c4.8e5ff8", "type": "block", "name": "block atmoic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1802.0023765563965, "y": 1904.6676589250565, "z": "4842829a.c92f5c", "wires": [ [ "3ce210b6.91582" ] ] }, { "id": "c531c63.7b95a38", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2163.031629562378, "y": 1460.531430363655, "z": "4842829a.c92f5c", "wires": [ [ "bd704489.7274d8", "95926f9f.7a56d" ] ] }, { "id": "61033198.2b1b8", "type": "set", "name": "set prop.attach.siteId", "xml": "\n\n\n", "comments": "", "x": 2054.668918609619, "y": 1978.333869099617, "z": "4842829a.c92f5c", "wires": [] }, { "id": "24aa0f5e.31356", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2234.259433746338, "y": 1759.0044165849686, "z": "4842829a.c92f5c", "wires": [ [ "e2678b6.a3e2078", "322f0f47.8e765" ] ] }, { "id": "b1ee9c99.2aacf", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1857.759853363037, "y": 2004.7543412446976, "z": "4842829a.c92f5c", "wires": [ [ "61033198.2b1b8", "cbb60b59.d98d48", "96db890b.9cff38" ] ] }, { "id": "4041fa5f.8f6984", "type": "call", "name": "call sdwan-wanport-vnf-topology-operation-underlay", "xml": "\n", "comments": "", "outputs": 1, "x": 713.757890701294, "y": 1359.2539811134338, "z": "4842829a.c92f5c", "wires": [ [] ] }, { "id": "1587faed.a593f5", "type": "comment", "name": "underlay", "info": "1. Get consumed AR from service data\n2. for all the AR id's get the respective AR from MDSAL\n3. From MDSAL AR get parent service instance ID\n4. Get service data based in parent service instance ID to get parent service. i.e, SDWAN Infra service\n5. Get SDWAN connectivity from looping network and check for topology\n6. from parent service data get siteAttachInstance vnf and check the role\n7. from parent service data get wanportINstance vnf and check the transportNetworkName\n8. Get provided AR from the parent service data\n9. for each of the provided ARid get the AR from MDSAL\n10.in the AR check for hub\n\n", "comments": "", "x": 621.7268695831299, "y": 1324.2229199409485, "z": "4842829a.c92f5c", "wires": [] }, { "id": "585348e6.e28c68", "type": "set", "name": "set prop.siteAttachement_length=0", "xml": "\n\n\n\n\n\n", "comments": "", "x": 663.0038757324219, "y": 871.5311719179153, "z": "4842829a.c92f5c", "wires": [] }, { "id": "6e129b4e.95cc44", "type": "set", "name": "set prop.ar-service-instance-id", "xml": "\n\n", "comments": "", "x": 1826.0043029785156, "y": 1498.5312304496765, "z": "4842829a.c92f5c", "wires": [] }, { "id": "5de3f774.9f5298", "type": "execute", "name": "generate prop.ar-service-instance-id", "xml": "\n \n \n \n \n\n", "comments": "", "outputs": 1, "x": 1836.3365745544434, "y": 1539.409375667572, "z": "4842829a.c92f5c", "wires": [ [] ] }, { "id": "153d05d.db3defa", "type": "execute", "name": "execute RestApiCallNode - get service data", "xml": "\n \n \n \n \n \n \n\n", "comments": "", "outputs": 1, "x": 1865.3366394042969, "y": 1580.409375667572, "z": "4842829a.c92f5c", "wires": [ [ "9f007bfc.0c1338", "c288c029.05ff1" ] ] }, { "id": "9f007bfc.0c1338", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 2121.8563232421875, "y": 1589.597209095955, "z": "4842829a.c92f5c", "wires": [ [ "690363c.d28ea9c" ] ] }, { "id": "c288c029.05ff1", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 2124.003993988037, "y": 1628.5310813188553, "z": "4842829a.c92f5c", "wires": [ [ "d23e72e1.4c912" ] ] }, { "id": "690363c.d28ea9c", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2251.5045166015625, "y": 1583.0311690568924, "z": "4842829a.c92f5c", "wires": [ [] ] }, { "id": "d23e72e1.4c912", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1600.0037841796875, "y": 1679.531129002571, "z": "4842829a.c92f5c", "wires": [ [ "a9f31ecc.485fc" ] ] }, { "id": "54f08af3.c933d4", "type": "comment", "name": "TODO send Email", "info": "", "comments": "", "x": 963.0038928985596, "y": 1404.0313096046448, "z": "4842829a.c92f5c", "wires": [] }, { "id": "96db890b.9cff38", "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": 2137.253952026367, "y": 2091.7539863586426, "z": "4842829a.c92f5c", "wires": [] } ]