[ { "id": "62a2b375.b0142c", "type": "switchNode", "name": "switch vf-modules.vf-module_length", "xml": "\n", "comments": "", "outputs": 1, "x": 631.00390625, "y": 358.9999910593033, "z": "54b5b8b7.025628", "wires": [ [ "2ce296c7.89a92a", "286b40a1.270d8", "a5e09c26.33e85" ] ] }, { "id": "274a6c23.93af74", "type": "dgstart", "name": "DGSTART", "outputs": 1, "x": 185.00391006469727, "y": 38.00000190734863, "z": "54b5b8b7.025628", "wires": [ [ "d19a3d29.13e6c" ] ] }, { "id": "d19a3d29.13e6c", "type": "service-logic", "name": "GENERIC-RESOURCE-API ${project.version}", "module": "GENERIC-RESOURCE-API", "version": "${project.version}", "comments": "", "xml": "", "outputs": 1, "x": 237.28960418701172, "y": 113.2381101846695, "z": "54b5b8b7.025628", "wires": [ [ "f2cc8408.469028" ] ] }, { "id": "f2cc8408.469028", "type": "method", "name": "method sdwan-vf-operation-lanport-activate", "xml": "\n", "comments": "", "outputs": 1, "x": 249.00389862060547, "y": 207.5863424539566, "z": "54b5b8b7.025628", "wires": [ [ "b1463b24.6fe0e8" ] ] }, { "id": "b1463b24.6fe0e8", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 249.67057037353516, "y": 463.6667095422745, "z": "54b5b8b7.025628", "wires": [ [ "303d2cf.b399dd4", "d51e952d.52f938", "62a2b375.b0142c", "c2a7f215.4af7c", "e1a9154.b1471e8", "67323544.ab409c", "b8bc82a8.8f71c", "af677f19.b868e", "5684b01b.2cc86", "3b06c257.27b87e", "f005bd73.83921", "e03228a1.7c0b08", "b83326ad.562c28", "d5b2bc3d.8d9a6", "292717fc.ce9118", "a812fb94.72ecd8", "b9762c75.21e69", "c04f18a6.eec778", "bb7f5a63.9f3828", "a98e7add.71df78", "955e1b88.3ac648", "f78f25c0.9e44a8", "e3c5f502.462e18", "2a5aae1a.c1b0a2", "b74ec81a.384238" ] ] }, { "id": "d51e952d.52f938", "type": "for", "name": "for each vnf", "xml": "\n", "comments": "", "outputs": 1, "x": 596.0352668762207, "y": 229.26914656162262, "z": "54b5b8b7.025628", "wires": [ [ "1705b3b3.be9e2c" ] ] }, { "id": "303d2cf.b399dd4", "type": "switchNode", "name": "switch vnf_length", "xml": "\n", "comments": "", "outputs": 1, "x": 601.0039215087891, "y": 168.0000158548355, "z": "54b5b8b7.025628", "wires": [ [ "ae5f28f0.d5a908" ] ] }, { "id": "ae5f28f0.d5a908", "type": "outcome", "name": "NULL", "xml": "\n", "comments": "", "outputs": 1, "x": 781.0039024353027, "y": 167.00000536441803, "z": "54b5b8b7.025628", "wires": [ [ "60302d9b.78d214" ] ] }, { "id": "60302d9b.78d214", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 930.4326286315918, "y": 168.14292299747467, "z": "54b5b8b7.025628", "wires": [] }, { "id": "1705b3b3.be9e2c", "type": "switchNode", "name": "switch this vnf-id == input vnf-id", "xml": " \n", "comments": "", "outputs": 1, "x": 819.0039176940918, "y": 230.0000115633011, "z": "54b5b8b7.025628", "wires": [ [ "1f9e74ab.0ce8fb" ] ] }, { "id": "1f9e74ab.0ce8fb", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1034.0039024353027, "y": 228.00000536441803, "z": "54b5b8b7.025628", "wires": [ [ "67d2b453.3ade6c" ] ] }, { "id": "67d2b453.3ade6c", "type": "set", "name": "set vnf-index", "xml": "\n\n", "comments": "", "x": 1198.0039024353027, "y": 223.00000536441803, "z": "54b5b8b7.025628", "wires": [] }, { "id": "286b40a1.270d8", "type": "outcome", "name": "NULL", "xml": "\n", "comments": "", "outputs": 1, "x": 853.0038986206055, "y": 393.00000059604645, "z": "54b5b8b7.025628", "wires": [ [ "9beeb53f.32d368" ] ] }, { "id": "2ce296c7.89a92a", "type": "outcome", "name": "0", "xml": "\n", "comments": "", "outputs": 1, "x": 858.0038948059082, "y": 339.99999964237213, "z": "54b5b8b7.025628", "wires": [ [ "9beeb53f.32d368" ] ] }, { "id": "9beeb53f.32d368", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1016.0038986206055, "y": 353.00000059604645, "z": "54b5b8b7.025628", "wires": [] }, { "id": "a5e09c26.33e85", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 853.0038986206055, "y": 454.00000059604645, "z": "54b5b8b7.025628", "wires": [ [ "e1d84972.4ad0c8" ] ] }, { "id": "fd2ead86.4408b", "type": "set", "name": "set vf-module_length", "xml": "\n\n\n", "comments": "", "x": 1207.0039138793945, "y": 452.0000145435333, "z": "54b5b8b7.025628", "wires": [] }, { "id": "e1d84972.4ad0c8", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 1014.0039443969727, "y": 450.9999920129776, "z": "54b5b8b7.025628", "wires": [ [ "fd2ead86.4408b", "a0db8178.b9fc1" ] ] }, { "id": "a0db8178.b9fc1", "type": "for", "name": "for each existing vf-index", "xml": "\n", "comments": "", "outputs": 1, "x": 1226.0038833618164, "y": 504.9999910593033, "z": "54b5b8b7.025628", "wires": [ [ "d2a74f27.76a7b" ] ] }, { "id": "d2a74f27.76a7b", "type": "switchNode", "name": "switch vf-module-id found", "xml": "\n", "comments": "", "outputs": 1, "x": 1469.0038986206055, "y": 500.00000059604645, "z": "54b5b8b7.025628", "wires": [ [ "b730478a.e23168" ] ] }, { "id": "b730478a.e23168", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1667.003927230835, "y": 487.00000727176666, "z": "54b5b8b7.025628", "wires": [ [ "e50ff701.4c8a98" ] ] }, { "id": "e50ff701.4c8a98", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 1819.0038986206055, "y": 489.00000059604645, "z": "54b5b8b7.025628", "wires": [ [ "9ab17191.831f", "5290285b.0a9238", "718a2bc4.09e914" ] ] }, { "id": "9ab17191.831f", "type": "set", "name": "set tmp.vidx and ctx.vnf-data", "xml": "\n\n\n", "comments": "", "x": 2047.0040130615234, "y": 431.0000044107437, "z": "54b5b8b7.025628", "wires": [] }, { "id": "5290285b.0a9238", "type": "set", "name": "set vf-module-request-input.", "xml": "\n\n\n", "comments": "", "x": 2051.0040130615234, "y": 485.0000044107437, "z": "54b5b8b7.025628", "wires": [] }, { "id": "c2a7f215.4af7c", "type": "returnSuccess", "name": "return success", "xml": "\n\n\n\n", "comments": "", "x": 580.0040740966797, "y": 2308.5012640953064, "z": "54b5b8b7.025628", "wires": [] }, { "id": "718a2bc4.09e914", "type": "call", "name": "call sdwan-get-vf-module-lanport-param", "xml": "\n", "comments": "", "outputs": 1, "x": 2081.4590377807617, "y": 536.0104967355728, "z": "54b5b8b7.025628", "wires": [ [] ] }, { "id": "8567646d.1060f8", "type": "for", "name": "for vf-modules.vf-module_length", "xml": "\n", "comments": "", "outputs": 1, "x": 1338.2580871582031, "y": 564.0040813684464, "z": "54b5b8b7.025628", "wires": [ [ "ac4f7552.ac0308" ] ] }, { "id": "80043aea.5219e8", "type": "switchNode", "name": "switch this deviceName == vf-input", "xml": "\n", "comments": "", "outputs": 1, "x": 1409.25830078125, "y": 637.0042110681534, "z": "54b5b8b7.025628", "wires": [ [ "2efabc06.34d0a4" ] ] }, { "id": "ac4f7552.ac0308", "type": "for", "name": "for vf-module-input-param length", "xml": "\n", "comments": "", "outputs": 1, "x": 1624.2579345703125, "y": 566.0041652917862, "z": "54b5b8b7.025628", "wires": [ [ "fb5d6670.5ef758" ] ] }, { "id": "2efabc06.34d0a4", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1629.2580242156982, "y": 638.0042186975479, "z": "54b5b8b7.025628", "wires": [ [ "f29692e0.539f3" ] ] }, { "id": "f29692e0.539f3", "type": "for", "name": "for vf-modules.vf-module_length", "xml": "\n", "comments": "", "outputs": 1, "x": 1874.2581024169922, "y": 638.0041362047195, "z": "54b5b8b7.025628", "wires": [ [ "da95560e.179868" ] ] }, { "id": "da95560e.179868", "type": "switchNode", "name": "switch deviceId == input vf-id", "xml": "\n \n\n\n", "comments": "", "outputs": 1, "x": 2182.2583770751953, "y": 621.00410425663, "z": "54b5b8b7.025628", "wires": [ [ "78aec0a1.e1723" ] ] }, { "id": "78aec0a1.e1723", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2391.258415222168, "y": 623.0040966272354, "z": "54b5b8b7.025628", "wires": [ [ "df2e3f53.8ca7" ] ] }, { "id": "df6bb2fa.c17ef", "type": "set", "name": "set prop.lan.deviceId", "xml": "\n\n", "comments": "", "x": 2764.258441925049, "y": 559.0042743682861, "z": "54b5b8b7.025628", "wires": [] }, { "id": "e1a9154.b1471e8", "type": "for", "name": "for service-data.vnfs.vnf_length", "xml": "\n", "comments": "", "outputs": 1, "x": 592.2578125, "y": 431.0040432214737, "z": "54b5b8b7.025628", "wires": [ [ "ae8078e2.85aab8" ] ] }, { "id": "cea7983f.defeb8", "type": "switchNode", "name": "switch ActivateSDWANSiteInstance", "xml": "\n", "comments": "", "outputs": 1, "x": 1229.008186340332, "y": 748.0039888620377, "z": "54b5b8b7.025628", "wires": [ [ "aa05a333.09241" ] ] }, { "id": "1a7b39b6.722626", "type": "for", "name": "for vf-modules.vf-module_length", "xml": "\n", "comments": "", "outputs": 1, "x": 875.0080261230469, "y": 715.004028916359, "z": "54b5b8b7.025628", "wires": [ [ "6936e75f.9c21b8" ] ] }, { "id": "292717fc.ce9118", "type": "for", "name": "for service-data.vnfs.vnf_length", "xml": "\n", "comments": "", "outputs": 1, "x": 626.0078811645508, "y": 646.0039087533951, "z": "54b5b8b7.025628", "wires": [ [ "1a7b39b6.722626" ] ] }, { "id": "aa05a333.09241", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1451.0081024169922, "y": 748.0040704011917, "z": "54b5b8b7.025628", "wires": [ [ "45b20afa.d404e4" ] ] }, { "id": "5020b41b.37af8c", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 3003.2584648132324, "y": 835.5040974617004, "z": "54b5b8b7.025628", "wires": [ [ "285e8b02.5f5364" ] ] }, { "id": "f8bdb397.3f361", "type": "set", "name": "set prop.attach.siteId", "xml": "\n\n", "comments": "", "x": 3394.259147644043, "y": 788.5041995048523, "z": "54b5b8b7.025628", "wires": [] }, { "id": "285e8b02.5f5364", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 3162.5086555480957, "y": 831.0041375160217, "z": "54b5b8b7.025628", "wires": [ [ "f8bdb397.3f361", "ca69f782.4f6db8", "91acccd4.f9b4d" ] ] }, { "id": "b9762c75.21e69", "type": "execute", "name": "execute RestApiCallNode device port create", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 669.0351696014404, "y": 1681.0783828496933, "z": "54b5b8b7.025628", "wires": [ [ "2da7ca99.c33e76", "294e6b7c.164174" ] ] }, { "id": "2da7ca99.c33e76", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 915.035228729248, "y": 1695.0785164833069, "z": "54b5b8b7.025628", "wires": [ [ "78f113d9.71ae5c" ] ] }, { "id": "294e6b7c.164174", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 915.035228729248, "y": 1657.0783519744873, "z": "54b5b8b7.025628", "wires": [ [ "bdca7d72.89f35" ] ] }, { "id": "bdca7d72.89f35", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1059.0355625152588, "y": 1656.0783514976501, "z": "54b5b8b7.025628", "wires": [] }, { "id": "78f113d9.71ae5c", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 1062.0352401733398, "y": 1696.0783553123474, "z": "54b5b8b7.025628", "wires": [ [] ] }, { "id": "67323544.ab409c", "type": "set", "name": "set prop.lan.devicePortId", "xml": "\n\n", "comments": "", "x": 608.6924304962158, "y": 1734.179515361786, "z": "54b5b8b7.025628", "wires": [] }, { "id": "52d8036.d8251fc", "type": "comment", "name": "Create port", "info": "", "comments": "", "x": 567.7011089324951, "y": 1647.522334575653, "z": "54b5b8b7.025628", "wires": [] }, { "id": "a812fb94.72ecd8", "type": "call", "name": "call sdwan-get-tenant-auth", "xml": "\n", "comments": "", "outputs": 1, "x": 606.7011108398438, "y": 1418.1887378692627, "z": "54b5b8b7.025628", "wires": [ [] ] }, { "id": "49f7e1ca.47a1d", "type": "execute", "name": "execute RestApiCallNode bridge domain create", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 1088.6854190826416, "y": 1776.188939332962, "z": "54b5b8b7.025628", "wires": [ [ "90e9cae2.8856e8", "e415727a.32568" ] ] }, { "id": "90e9cae2.8856e8", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 1409.6854457855225, "y": 1793.1892597675323, "z": "54b5b8b7.025628", "wires": [ [ "e9c18e15.5844e" ] ] }, { "id": "e415727a.32568", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 1412.6854724884033, "y": 1758.189041376114, "z": "54b5b8b7.025628", "wires": [ [ "7758ee8.0aa2e1" ] ] }, { "id": "7758ee8.0aa2e1", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1615.6858615875244, "y": 1754.1891486644745, "z": "54b5b8b7.025628", "wires": [] }, { "id": "e9c18e15.5844e", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 1616.6854267120361, "y": 1789.1890151500702, "z": "54b5b8b7.025628", "wires": [ [] ] }, { "id": "5596dd8.d4db124", "type": "comment", "name": "Create bridge domain", "info": "", "comments": "", "x": 1032.351312637329, "y": 1742.6331651210785, "z": "54b5b8b7.025628", "wires": [] }, { "id": "b8bc82a8.8f71c", "type": "switchNode", "name": "switch portSwitch", "xml": "\n\n", "comments": "", "outputs": 1, "x": 588.4628849029541, "y": 1777.855571269989, "z": "54b5b8b7.025628", "wires": [ [ "9b68044d.8003c8" ] ] }, { "id": "9b68044d.8003c8", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 767.4629154205322, "y": 1777.9668936729431, "z": "54b5b8b7.025628", "wires": [ [ "49f7e1ca.47a1d" ] ] }, { "id": "af677f19.b868e", "type": "execute", "name": "execute split ip and mask", "xml": "\n\n\n\n", "comments": "", "outputs": 1, "x": 610.0079498291016, "y": 1125.75403881073, "z": "54b5b8b7.025628", "wires": [ [ "818ce376.62233", "94450d41.00936" ] ] }, { "id": "94450d41.00936", "type": "failure", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 811.0079689025879, "y": 1103.7540302276611, "z": "54b5b8b7.025628", "wires": [ [ "bdf6adef.1a65c" ] ] }, { "id": "818ce376.62233", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 811.0079727172852, "y": 1144.7540340423584, "z": "54b5b8b7.025628", "wires": [ [ "9306915f.667d1" ] ] }, { "id": "bdf6adef.1a65c", "type": "set", "name": "set ipAddress prefixLength", "xml": "\n\n", "comments": "", "x": 1008.0079879760742, "y": 1101.7540302276611, "z": "54b5b8b7.025628", "wires": [] }, { "id": "9306915f.667d1", "type": "returnFailure", "name": "return failure", "xml": "\n\n\n", "comments": "", "x": 966.0079803466797, "y": 1141.754033088684, "z": "54b5b8b7.025628", "wires": [] }, { "id": "a7eaad12.8d234", "type": "comment", "name": "Create wan port", "info": "", "comments": "", "x": 586.0177555084229, "y": 1830.7641711235046, "z": "54b5b8b7.025628", "wires": [] }, { "id": "1c53f052.63589", "type": "comment", "name": "TODO: split ip/mask", "info": "", "comments": "", "x": 1010.0175495147705, "y": 1815.9343848228455, "z": "54b5b8b7.025628", "wires": [] }, { "id": "b74ec81a.384238", "type": "execute", "name": "execute RestApiCallNode IPSubnets create", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 676.7792358398438, "y": 1898.8749904632568, "z": "54b5b8b7.025628", "wires": [ [ "23e6b6aa.7344ca", "c063d0d7.3d16a" ] ] }, { "id": "c063d0d7.3d16a", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 945.7792663574219, "y": 1885.8749628067017, "z": "54b5b8b7.025628", "wires": [ [ "8e16c4db.999008" ] ] }, { "id": "23e6b6aa.7344ca", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 942.779239654541, "y": 1920.8751811981201, "z": "54b5b8b7.025628", "wires": [ [ "c72550d5.e3c3a" ] ] }, { "id": "8e16c4db.999008", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1098.7796478271484, "y": 1881.8751888275146, "z": "54b5b8b7.025628", "wires": [] }, { "id": "c72550d5.e3c3a", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 1089.7792205810547, "y": 1921.8749370574951, "z": "54b5b8b7.025628", "wires": [ [ "4df7140a.3b523c" ] ] }, { "id": "4df7140a.3b523c", "type": "set", "name": "set prop.lan.lanPortId", "xml": "\n\n", "comments": "", "x": 1296.6683235168457, "y": 1924.2084035873413, "z": "54b5b8b7.025628", "wires": [] }, { "id": "bb7f5a63.9f3828", "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": 674.2896537780762, "y": 1587.5840225219727, "z": "54b5b8b7.025628", "wires": [ [ "5f34ded5.63106", "676b6124.5f3ce" ] ] }, { "id": "676b6124.5f3ce", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 922.2895374298096, "y": 1613.5833998918533, "z": "54b5b8b7.025628", "wires": [ [ "f979e24a.e1f45" ] ] }, { "id": "f979e24a.e1f45", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 1092.2894763946533, "y": 1616.5833998918533, "z": "54b5b8b7.025628", "wires": [ [] ] }, { "id": "cc2c04a4.b165e8", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1092.2895984649658, "y": 1572.5833998918533, "z": "54b5b8b7.025628", "wires": [] }, { "id": "5f34ded5.63106", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 925.2894763946533, "y": 1572.5833998918533, "z": "54b5b8b7.025628", "wires": [ [ "cc2c04a4.b165e8" ] ] }, { "id": "c04f18a6.eec778", "type": "execute", "name": "execute RestApiCallNode create vpn ", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 645.2879791259766, "y": 1498.0830821990967, "z": "54b5b8b7.025628", "wires": [ [ "97764cff.1f5ea", "ea83fcec.06662" ] ] }, { "id": "ea83fcec.06662", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 866.2878818511963, "y": 1520.0830479860306, "z": "54b5b8b7.025628", "wires": [ [ "70ae34b5.54dd0c" ] ] }, { "id": "70ae34b5.54dd0c", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 1036.28782081604, "y": 1523.0830479860306, "z": "54b5b8b7.025628", "wires": [ [] ] }, { "id": "98836605.c54338", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1036.2879428863525, "y": 1479.0830479860306, "z": "54b5b8b7.025628", "wires": [] }, { "id": "97764cff.1f5ea", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 869.28782081604, "y": 1479.0830479860306, "z": "54b5b8b7.025628", "wires": [ [ "98836605.c54338" ] ] }, { "id": "51c264bd.1cd0cc", "type": "switchNode", "name": "switch ActivateSDWANVpnInstance", "xml": "\n", "comments": "", "outputs": 1, "x": 1235.2898559570312, "y": 900.3332679271698, "z": "54b5b8b7.025628", "wires": [ [ "425067a.9f0ee98" ] ] }, { "id": "6936e75f.9c21b8", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 964.6229438781738, "y": 798.3333374261856, "z": "54b5b8b7.025628", "wires": [ [ "cea7983f.defeb8", "51c264bd.1cd0cc" ] ] }, { "id": "425067a.9f0ee98", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1330.9563674926758, "y": 974.3333489894867, "z": "54b5b8b7.025628", "wires": [ [ "c1956959.4be878" ] ] }, { "id": "c1956959.4be878", "type": "for", "name": "for vf-modules.vf-module_length", "xml": "\n", "comments": "", "outputs": 1, "x": 1545.2062530517578, "y": 975.8333256244659, "z": "54b5b8b7.025628", "wires": [ [ "d2a805b2.ac7b88" ] ] }, { "id": "2b39b5dd.e8366a", "type": "switchNode", "name": "switch vpn-id", "xml": "\n \n\n\n", "comments": "", "outputs": 1, "x": 1942.2064056396484, "y": 993.8333772420883, "z": "54b5b8b7.025628", "wires": [ [ "3ae5efa1.57a7" ] ] }, { "id": "3ae5efa1.57a7", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2092.9563598632812, "y": 995.3332928419113, "z": "54b5b8b7.025628", "wires": [ [ "3180f641.87c8ba" ] ] }, { "id": "3180f641.87c8ba", "type": "set", "name": "set prop.vpnId", "xml": "\n\n", "comments": "", "x": 2266.9571075439453, "y": 995.3333512544632, "z": "54b5b8b7.025628", "wires": [] }, { "id": "ca69f782.4f6db8", "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": 3430.290397644043, "y": 843.333466053009, "z": "54b5b8b7.025628", "wires": [] }, { "id": "91acccd4.f9b4d", "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": 3461.2902221679688, "y": 893.3334164619446, "z": "54b5b8b7.025628", "wires": [] }, { "id": "5684b01b.2cc86", "type": "set", "name": "set prop.siteAttachement_length=0", "xml": "\n\n\n\n\n\n", "comments": "", "x": 636.2896194458008, "y": 595.3333307504654, "z": "54b5b8b7.025628", "wires": [] }, { "id": "e157d21e.75dc", "type": "switchNode", "name": "switch role", "xml": "\n \n\n\n", "comments": "", "outputs": 1, "x": 2172.956443786621, "y": 731.3333559036255, "z": "54b5b8b7.025628", "wires": [ [ "91af0190.6f383" ] ] }, { "id": "91af0190.6f383", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2336.9564476013184, "y": 731.3333559036255, "z": "54b5b8b7.025628", "wires": [ [ "71599403.d1a60c" ] ] }, { "id": "71599403.d1a60c", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 2524.956615447998, "y": 716.3333549499512, "z": "54b5b8b7.025628", "wires": [ [ "7213abe2.551d54", "f3a9e626.ca5db8", "a1885c07.3d09a" ] ] }, { "id": "f3a9e626.ca5db8", "type": "switchNode", "name": "switch sd-wan-edge", "xml": "\n\n", "comments": "", "outputs": 1, "x": 2719.956745147705, "y": 677.3333463668823, "z": "54b5b8b7.025628", "wires": [ [ "de11bb23.ad1648" ] ] }, { "id": "7213abe2.551d54", "type": "switchNode", "name": "switch dsvpn-hub", "xml": "\n \n\n\n", "comments": "", "outputs": 1, "x": 2716.9568519592285, "y": 732.33336186409, "z": "54b5b8b7.025628", "wires": [ [ "19121485.c6be8b" ] ] }, { "id": "cab86296.3a26c", "type": "set", "name": "set spoke role", "xml": "\n\n", "comments": "", "x": 3049.9568672180176, "y": 671.3333921432495, "z": "54b5b8b7.025628", "wires": [] }, { "id": "856c6a7c.0a9268", "type": "set", "name": "set hub role", "xml": "\n\n", "comments": "", "x": 3048.95662689209, "y": 726.3333759307861, "z": "54b5b8b7.025628", "wires": [] }, { "id": "de11bb23.ad1648", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2889.956714630127, "y": 673.000020980835, "z": "54b5b8b7.025628", "wires": [ [ "cab86296.3a26c" ] ] }, { "id": "19121485.c6be8b", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2893.956714630127, "y": 728.000020980835, "z": "54b5b8b7.025628", "wires": [ [ "856c6a7c.0a9268" ] ] }, { "id": "a98e7add.71df78", "type": "update", "name": "update SDWAN VPN status to AAI", "xml": "\n\n\n\n", "comments": "", "outputs": 1, "x": 635.3209457397461, "y": 2227.0313925743103, "z": "54b5b8b7.025628", "wires": [ [] ] }, { "id": "e03228a1.7c0b08", "type": "set", "name": "set vf-module-level-oper-status", "xml": "\n\n\n", "comments": "", "x": 629.9559669494629, "y": 2172.1263179779053, "z": "54b5b8b7.025628", "wires": [] }, { "id": "f005bd73.83921", "type": "set", "name": "set vf-module-id and vf-module-object-path", "xml": "\n\n\n\n", "comments": "", "x": 665.9559669494629, "y": 2125.626256942749, "z": "54b5b8b7.025628", "wires": [] }, { "id": "3b06c257.27b87e", "type": "set", "name": "copy input data in service-data", "xml": "\n\n\n\n\n", "comments": "", "x": 629.9559173583984, "y": 2073.8761768341064, "z": "54b5b8b7.025628", "wires": [] }, { "id": "d5b2bc3d.8d9a6", "type": "set", "name": "set device PortId to service data", "xml": "\n\n\n", "comments": "", "x": 636.3209838867188, "y": 1967.0315761566162, "z": "54b5b8b7.025628", "wires": [] }, { "id": "b83326ad.562c28", "type": "set", "name": "set lan PortId to service data", "xml": "\n\n\n", "comments": "", "x": 622.3209075927734, "y": 2021.0313892364502, "z": "54b5b8b7.025628", "wires": [] }, { "id": "b435bcc5.258", "type": "switchNode", "name": "switch vf-modules.vf-module_length", "xml": "= '0'`\">\n\n\n", "comments": "", "outputs": 1, "x": 851.5038909912109, "y": 518.2539068460464, "z": "54b5b8b7.025628", "wires": [ [ "6bafbe6f.aa9fa" ] ] }, { "id": "6bafbe6f.aa9fa", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 957.50390625, "y": 569.2539068460464, "z": "54b5b8b7.025628", "wires": [ [ "6df05552.51f26c" ] ] }, { "id": "ae8078e2.85aab8", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 651.7539138793945, "y": 479.003905415535, "z": "54b5b8b7.025628", "wires": [ [ "b435bcc5.258" ] ] }, { "id": "6df05552.51f26c", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 1109.753890991211, "y": 566.0039287805557, "z": "54b5b8b7.025628", "wires": [ [ "8567646d.1060f8" ] ] }, { "id": "fb5d6670.5ef758", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 1853.5039710998535, "y": 564.0039125680923, "z": "54b5b8b7.025628", "wires": [ [ "80043aea.5219e8" ] ] }, { "id": "6484dde4.eec674", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 889.2539329528809, "y": 1200.7540191113949, "z": "54b5b8b7.025628", "wires": [ [ "a1390712.a62bc8" ] ] }, { "id": "ad9df864.da7a08", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, "x": 892.7448997497559, "y": 1248.3280547559261, "z": "54b5b8b7.025628", "wires": [ [ "90fe71ad.3f6b8" ] ] }, { "id": "eb0b9e44.3ab32", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 888.0779075622559, "y": 1289.6613677442074, "z": "54b5b8b7.025628", "wires": [ [ "71113a16.58bf04" ] ] }, { "id": "90fe71ad.3f6b8", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n\t\n\t\n \n", "comments": "", "outputs": 1, "x": 891.2540054321289, "y": 1343.7540493011475, "z": "54b5b8b7.025628", "wires": [ [ "511dbf29.862b4" ] ] }, { "id": "1b95ad69.b293e3", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 883.5040054321289, "y": 1397.3969326019287, "z": "54b5b8b7.025628", "wires": [ [ "b6fcc0f6.ed652" ] ] }, { "id": "511dbf29.862b4", "type": "set", "name": "set token-id", "xml": "\n\n", "comments": "", "x": 1041.2539329528809, "y": 1344.754017829895, "z": "54b5b8b7.025628", "wires": [] }, { "id": "b6fcc0f6.ed652", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1036.254005432129, "y": 1397.146993637085, "z": "54b5b8b7.025628", "wires": [] }, { "id": "a1390712.a62bc8", "type": "set", "name": "set controller data", "xml": "\n\n\n\n", "comments": "", "x": 1084.7540130615234, "y": 1195.754023551941, "z": "54b5b8b7.025628", "wires": [] }, { "id": "f78f25c0.9e44a8", "type": "execute", "name": "execute RestApiCallNode Get token", "xml": "\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 642.2539825439453, "y": 1366.754126548767, "z": "54b5b8b7.025628", "wires": [ [ "dee3d47e.3afa78", "1b95ad69.b293e3" ] ] }, { "id": "955e1b88.3ac648", "type": "get-resource", "name": "get-resource esr-thirdparty-sdnc", "xml": "\n\n", "comments": "", "outputs": 1, "x": 627.2540512084961, "y": 1247.75403881073, "z": "54b5b8b7.025628", "wires": [ [ "6484dde4.eec674", "ad9df864.da7a08", "eb0b9e44.3ab32" ] ] }, { "id": "e3c5f502.462e18", "type": "execute", "name": "execute Properties", "xml": "\n \n \n", "comments": "", "outputs": 1, "x": 611.00390625, "y": 298.50390684604645, "z": "54b5b8b7.025628", "wires": [ [] ] }, { "id": "df2e3f53.8ca7", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 2552.5039863586426, "y": 587.7539157867432, "z": "54b5b8b7.025628", "wires": [ [ "df6bb2fa.c17ef", "f982878a.d924a8" ] ] }, { "id": "f982878a.d924a8", "type": "set", "name": "set site-vnf-index", "xml": "\n\n", "comments": "", "x": 2761.50390625, "y": 605.75390625, "z": "54b5b8b7.025628", "wires": [] }, { "id": "2a5aae1a.c1b0a2", "type": "for", "name": "for vf-modules.vf-module_length", "xml": "\n", "comments": "", "outputs": 1, "x": 631.0000305175781, "y": 954.6667243242264, "z": "54b5b8b7.025628", "wires": [ [ "a16d9ee5.ca4f8" ] ] }, { "id": "a16d9ee5.ca4f8", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 732.614933013916, "y": 1050.9960061311722, "z": "54b5b8b7.025628", "wires": [ [ "b25dce73.2318a" ] ] }, { "id": "b25dce73.2318a", "type": "switchNode", "name": "switch ActivateSDWANSiteInstance", "xml": "\n", "comments": "", "outputs": 1, "x": 997.0001754760742, "y": 1000.6666575670242, "z": "54b5b8b7.025628", "wires": [ [ "d392cd81.71967" ] ] }, { "id": "d392cd81.71967", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1219.0000915527344, "y": 1000.6667391061783, "z": "54b5b8b7.025628", "wires": [ [ "fbfbcd34.6e005" ] ] }, { "id": "fbfbcd34.6e005", "type": "for", "name": "for vf-modules.vf-module_length", "xml": "\n", "comments": "", "outputs": 1, "x": 1300.250099182129, "y": 1075.1667405366898, "z": "54b5b8b7.025628", "wires": [ [ "14eee879.fb0a98" ] ] }, { "id": "14eee879.fb0a98", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1517.6152648925781, "y": 1075.9960051774979, "z": "54b5b8b7.025628", "wires": [ [ "3e0dbda2.f3d102" ] ] }, { "id": "3e0dbda2.f3d102", "type": "switchNode", "name": "switch siteId", "xml": "\n \n\n\n", "comments": "", "outputs": 1, "x": 1683.2504577636719, "y": 1082.1668478250504, "z": "54b5b8b7.025628", "wires": [ [ "d2a4cdf0.bc75d" ] ] }, { "id": "d2a4cdf0.bc75d", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1860.2504768371582, "y": 1085.1666880846024, "z": "54b5b8b7.025628", "wires": [ [ "62ddf11d.87106" ] ] }, { "id": "62ddf11d.87106", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 2019.5006675720215, "y": 1080.6667281389236, "z": "54b5b8b7.025628", "wires": [ [ "f40c1288.f6e07" ] ] }, { "id": "f40c1288.f6e07", "type": "set", "name": "set prop.attach.siteId", "xml": "\n\n", "comments": "", "x": 2244.2509841918945, "y": 1059.1667395830154, "z": "54b5b8b7.025628", "wires": [] }, { "id": "d2a805b2.ac7b88", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1768.0000610351562, "y": 972.3333503007889, "z": "54b5b8b7.025628", "wires": [ [ "2b39b5dd.e8366a", "15adf9ee.e16a86", "2697c7b2.0ecdf8" ] ] }, { "id": "15adf9ee.e16a86", "type": "switchNode", "name": "switch name", "xml": "\n \n", "comments": "", "outputs": 1, "x": 1943.000015258789, "y": 942.333323597908, "z": "54b5b8b7.025628", "wires": [ [ "76044b62.8da524" ] ] }, { "id": "76044b62.8da524", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2093.749969482422, "y": 943.833239197731, "z": "54b5b8b7.025628", "wires": [ [ "dfeb8378.a414f" ] ] }, { "id": "dfeb8378.a414f", "type": "set", "name": "set prop.name", "xml": "\n\n", "comments": "", "x": 2267.750717163086, "y": 943.8332976102829, "z": "54b5b8b7.025628", "wires": [] }, { "id": "3e65957b.505a7a", "type": "for", "name": "for vf-modules.vf-module_length", "xml": "\n", "comments": "", "outputs": 1, "x": 1935.2583618164062, "y": 730.5041723251343, "z": "54b5b8b7.025628", "wires": [ [ "e157d21e.75dc" ] ] }, { "id": "6306e7ef.6a3048", "type": "switchNode", "name": "switch siteId", "xml": "\n \n\n\n", "comments": "", "outputs": 1, "x": 2826.258445739746, "y": 832.5042572021484, "z": "54b5b8b7.025628", "wires": [ [ "5020b41b.37af8c" ] ] }, { "id": "45b20afa.d404e4", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1649.5312805175781, "y": 756.0312795639038, "z": "54b5b8b7.025628", "wires": [ [ "3e65957b.505a7a" ] ] }, { "id": "a1885c07.3d09a", "type": "for", "name": "for vf-modules.vf-module_length", "xml": "\n", "comments": "", "outputs": 1, "x": 2579.5310440063477, "y": 826.0312752723694, "z": "54b5b8b7.025628", "wires": [ [ "6306e7ef.6a3048" ] ] }, { "id": "2697c7b2.0ecdf8", "type": "switchNode", "name": "switch topology", "xml": "\n \n", "comments": "", "outputs": 1, "x": 1941.50390625, "y": 882.75390625, "z": "54b5b8b7.025628", "wires": [ [ "55a98d99.b2ebc4" ] ] }, { "id": "55a98d99.b2ebc4", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2092.253860473633, "y": 884.253821849823, "z": "54b5b8b7.025628", "wires": [ [ "115c12c5.b366ad" ] ] }, { "id": "115c12c5.b366ad", "type": "set", "name": "set prop.topology", "xml": "\n\n", "comments": "", "x": 2266.254608154297, "y": 884.2538802623749, "z": "54b5b8b7.025628", "wires": [] } ]