[ { "id": "c035ec04.94486", "type": "block", "name": "block : atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 412.03125, "y": 401.0742133259773, "z": "fe63ab05.2e2948", "wires": [ [ "2c0218a8.7af2b8", "1f6673b6.b9e2bc", "6a69d786.6240c8", "70fe077e.beb658", "f695d756.f5bf88", "6e84f4e0.63170c", "c05b3e2e.c56c2", "d49c55eb.f90268", "80c1b0f1.09ead", "875b58c1.722a88", "80c24ef7.49b8c", "c34bc647.720578", "b10288cf.50b828", "ebd64e1b.5f8b", "fb9080f.263d28", "1b602e84.4e29d1", "13c3d9c7.d7be26", "7cfc5672.5cd958", "e3dbbb08.e38228", "56d337a2.42bd48", "ac8c0e0b.c16e8", "b2116c6a.8c28d", "373e5110.89b67e" ] ] }, { "id": "104d1a5d.263766", "type": "dgstart", "name": "DGSTART", "outputs": 1, "x": 136.50391006469727, "y": 49.99999934434891, "z": "fe63ab05.2e2948", "wires": [ [ "f7c9184f.6b4338" ] ] }, { "id": "f7c9184f.6b4338", "type": "service-logic", "name": "GENERIC-RESOURCE-API ${project.version}", "module": "GENERIC-RESOURCE-API", "version": "${project.version}", "comments": "", "xml": "", "outputs": 1, "x": 267.78960037231445, "y": 99.23810797929764, "z": "fe63ab05.2e2948", "wires": [ [ "3243adac.5d74d2" ] ] }, { "id": "3243adac.5d74d2", "type": "method", "name": "method sdwan-vf-operation-wanport-activate", "xml": "\n", "comments": "", "outputs": 1, "x": 270.9325294494629, "y": 184.00003176927567, "z": "fe63ab05.2e2948", "wires": [ [ "c035ec04.94486" ] ] }, { "id": "1f6673b6.b9e2bc", "type": "for", "name": "for each vnf", "xml": "\n", "comments": "", "outputs": 1, "x": 732.0352430343628, "y": 206.07812786102295, "z": "fe63ab05.2e2948", "wires": [ [ "5147dcf9.72e104" ] ] }, { "id": "5147dcf9.72e104", "type": "switchNode", "name": "switch this vnf-id == input vnf-id", "xml": " \n", "comments": "", "outputs": 1, "x": 984.0353345870972, "y": 204.7447910308838, "z": "fe63ab05.2e2948", "wires": [ [ "9e1e4c5d.8f94b" ] ] }, { "id": "e1cf115f.fb631", "type": "set", "name": "set vnf-index", "xml": "\n\n", "comments": "", "x": 1355.701823234558, "y": 206.74479389190674, "z": "fe63ab05.2e2948", "wires": [] }, { "id": "9e1e4c5d.8f94b", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1202.3686513900757, "y": 206.74477291107178, "z": "fe63ab05.2e2948", "wires": [ [ "e1cf115f.fb631" ] ] }, { "id": "2c0218a8.7af2b8", "type": "switchNode", "name": "switch vnf_length", "xml": "\n", "comments": "", "outputs": 1, "x": 746.4558362960815, "y": 161.5819969177246, "z": "fe63ab05.2e2948", "wires": [ [ "c03192e4.9b0ca" ] ] }, { "id": "c03192e4.9b0ca", "type": "other", "name": "NULL", "xml": "\n", "comments": "", "outputs": 1, "x": 933.1225156784058, "y": 160.9152946472168, "z": "fe63ab05.2e2948", "wires": [ [ "e59b1c5.c6419e" ] ] }, { "id": "e59b1c5.c6419e", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1114.7891416549683, "y": 160.9152946472168, "z": "fe63ab05.2e2948", "wires": [] }, { "id": "64462554.f87c5c", "type": "for", "name": "for each existing vf-index", "xml": "\n", "comments": "", "outputs": 1, "x": 1385.0352506637573, "y": 376.0781182949431, "z": "fe63ab05.2e2948", "wires": [ [ "2b34d588.91d9ba" ] ] }, { "id": "4382a853.f690f8", "type": "switchNode", "name": "switch vf-module-id found", "xml": "\n", "comments": "", "outputs": 1, "x": 1860.321159362793, "y": 255.6496185963042, "z": "fe63ab05.2e2948", "wires": [ [ "a2ccd51e.6ab248" ] ] }, { "id": "2a399e1c.cfc832", "type": "set", "name": "set vf-module-length", "xml": "\n\n\n\n", "comments": "", "x": 1371.6068754196167, "y": 339.8560047149658, "z": "fe63ab05.2e2948", "wires": [] }, { "id": "a3a45f94.9b15b", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1175.9082708358765, "y": 353.2368898098357, "z": "fe63ab05.2e2948", "wires": [ [ "64462554.f87c5c", "2a399e1c.cfc832", "da9e03c9.e0425", "eaea3f61.2ed1c" ] ] }, { "id": "b2b8906.60ed47", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 1031.5512266159058, "y": 353.3003778164275, "z": "fe63ab05.2e2948", "wires": [ [ "a3a45f94.9b15b" ] ] }, { "id": "6a69d786.6240c8", "type": "switchNode", "name": "switch vf-modules.vf-module_length", "xml": "\n", "comments": "", "outputs": 1, "x": 795.5512084960938, "y": 280.3003902435303, "z": "fe63ab05.2e2948", "wires": [ [ "b2b8906.60ed47", "fba84335.d8b1d", "79ae37d1.662938" ] ] }, { "id": "fba84335.d8b1d", "type": "outcome", "name": "0", "xml": "\n", "comments": "", "outputs": 1, "x": 1037.0352449417114, "y": 252.0781192779541, "z": "fe63ab05.2e2948", "wires": [ [ "54644bad.709854" ] ] }, { "id": "79ae37d1.662938", "type": "other", "name": "Null", "xml": "\n", "comments": "", "outputs": 1, "x": 1039.0664339065552, "y": 289.10943031311035, "z": "fe63ab05.2e2948", "wires": [ [ "54644bad.709854" ] ] }, { "id": "54644bad.709854", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1196.8439493179321, "y": 269.9983787536621, "z": "fe63ab05.2e2948", "wires": [] }, { "id": "a2ccd51e.6ab248", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2064.035400390625, "y": 254.078125, "z": "fe63ab05.2e2948", "wires": [ [ "62040d29.f7cdb4" ] ] }, { "id": "62040d29.f7cdb4", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 2234.3786964416504, "y": 258.16426038742065, "z": "fe63ab05.2e2948", "wires": [ [ "fc1d3c79.aeeb2", "6bcbedec.395b24", "234f2dc2.1759a2" ] ] }, { "id": "fc1d3c79.aeeb2", "type": "set", "name": "set tmp.vidx and ctx.vnf-data", "xml": "\n\n\n", "comments": "", "x": 2490.2654457092285, "y": 225.5066914265044, "z": "fe63ab05.2e2948", "wires": [] }, { "id": "6bcbedec.395b24", "type": "set", "name": "set vf-module-request-input.", "xml": "\n\n\n", "comments": "", "x": 2484.711742401123, "y": 270.1643314361572, "z": "fe63ab05.2e2948", "wires": [] }, { "id": "d3ee2888.9d77a8", "type": "switchNode", "name": "switch ActivateSDWANDeviceInstance", "xml": "\n ", "comments": "", "outputs": 1, "x": 1726.5354919433594, "y": 330.0781478881836, "z": "fe63ab05.2e2948", "wires": [ [ "9fa9ec4f.79402" ] ] }, { "id": "9fa9ec4f.79402", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1943.5350036621094, "y": 327.078164100647, "z": "fe63ab05.2e2948", "wires": [ [ "77c02877.97d538" ] ] }, { "id": "77c02877.97d538", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 2084.9478454589844, "y": 325.0742874145508, "z": "fe63ab05.2e2948", "wires": [ [ "9f2a0eee.e853e" ] ] }, { "id": "9f2a0eee.e853e", "type": "for", "name": "for loop didx - Get deviceId from servicedata", "xml": "", "comments": "", "outputs": 1, "x": 2138.2817993164062, "y": 413.07432651519775, "z": "fe63ab05.2e2948", "wires": [ [ "8e4c1426.0eb8f8", "6f9f5d8c.8e78c4" ] ] }, { "id": "2b34d588.91d9ba", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 1653.5353622436523, "y": 259.07813262939453, "z": "fe63ab05.2e2948", "wires": [ [ "4382a853.f690f8" ] ] }, { "id": "1577b943.bcf897", "type": "comment", "name": "Get devices", "info": "", "comments": "", "x": 1650.5354309082031, "y": 292.0781021118164, "z": "fe63ab05.2e2948", "wires": [] }, { "id": "da9e03c9.e0425", "type": "set", "name": "set prop.site.deviceId_length", "xml": "\n\n", "comments": "", "x": 1398.0352430343628, "y": 304.07812786102295, "z": "fe63ab05.2e2948", "wires": [] }, { "id": "70fe077e.beb658", "type": "execute", "name": "execute Properties", "xml": "\n \n \n", "comments": "", "outputs": 1, "x": 747.03528881073, "y": 369.07813453674316, "z": "fe63ab05.2e2948", "wires": [ [] ] }, { "id": "6f9f5d8c.8e78c4", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2389.281581878662, "y": 358.07453441619873, "z": "fe63ab05.2e2948", "wires": [ [ "a8b37f6f.fba0e" ] ] }, { "id": "a8b37f6f.fba0e", "type": "switchNode", "name": "switch deviceId", "xml": "\n ", "comments": "", "outputs": 1, "x": 2549.281837463379, "y": 360.074387550354, "z": "fe63ab05.2e2948", "wires": [ [ "87989e81.e2271" ] ] }, { "id": "87989e81.e2271", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2701.282009124756, "y": 359.074387550354, "z": "fe63ab05.2e2948", "wires": [ [ "444a86d7.7e9688" ] ] }, { "id": "444a86d7.7e9688", "type": "set", "name": "set deviceId", "xml": "\n\n\n", "comments": "", "x": 2841.282012939453, "y": 358.67434215545654, "z": "fe63ab05.2e2948", "wires": [] }, { "id": "234f2dc2.1759a2", "type": "call", "name": "call sdwan-get-wan-param", "xml": "\n", "comments": "", "outputs": 1, "x": 2476.0081939697266, "y": 317.0039300918579, "z": "fe63ab05.2e2948", "wires": [ [] ] }, { "id": "384abebf.660182", "type": "switchNode", "name": "switch ActivateSiteInstance", "xml": "\n ", "comments": "", "outputs": 1, "x": 1658.5078411102295, "y": 460.753945350647, "z": "fe63ab05.2e2948", "wires": [ [ "c09587b7.5f9cf8" ] ] }, { "id": "c09587b7.5f9cf8", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1843.5077819824219, "y": 459.75391483306885, "z": "fe63ab05.2e2948", "wires": [ [ "5c175f4a.341cd" ] ] }, { "id": "5c175f4a.341cd", "type": "set", "name": "set tmp.siteVidx", "xml": "\n\n\n", "comments": "", "x": 1999.237880706787, "y": 459.1824731826782, "z": "fe63ab05.2e2948", "wires": [] }, { "id": "8e4c1426.0eb8f8", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 2407.7580223083496, "y": 437.00396156311035, "z": "fe63ab05.2e2948", "wires": [ [ "a980e0f8.0e044", "83ba6051.514ec" ] ] }, { "id": "a980e0f8.0e044", "type": "switchNode", "name": "switch name (DeviceName)", "xml": "\n", "comments": "", "outputs": 1, "x": 2633.4257316589355, "y": 438.3374605178833, "z": "fe63ab05.2e2948", "wires": [ [ "6ce07c96.ec5694" ] ] }, { "id": "6ce07c96.ec5694", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2835.426223754883, "y": 432.33752059936523, "z": "fe63ab05.2e2948", "wires": [ [ "b284daf0.15c368" ] ] }, { "id": "b284daf0.15c368", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 2725.7590866088867, "y": 532.3374004364014, "z": "fe63ab05.2e2948", "wires": [ [ "ff2db442.93cc88", "d9c35361.4cae6" ] ] }, { "id": "ff2db442.93cc88", "type": "switchNode", "name": "switch deviceName match", "xml": "\n\n\n", "comments": "", "outputs": 1, "x": 2949.4259338378906, "y": 553.3374767303467, "z": "fe63ab05.2e2948", "wires": [ [ "6c76f644.530508" ] ] }, { "id": "6c76f644.530508", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 3128.7598571777344, "y": 552.3375368118286, "z": "fe63ab05.2e2948", "wires": [ [ "4a207bb3.acbf84" ] ] }, { "id": "4a207bb3.acbf84", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 2977.0919761657715, "y": 622.3373546600342, "z": "fe63ab05.2e2948", "wires": [ [ "23329d72.a46fe2", "ec041845.3df8f8", "350746df.c7aa7a" ] ] }, { "id": "ec041845.3df8f8", "type": "set", "name": "set tmp.devicevidx", "xml": "\n\n\n", "comments": "", "x": 3227.847911834717, "y": 743.0104494094849, "z": "fe63ab05.2e2948", "wires": [] }, { "id": "bbbb9202.35efa", "type": "switchNode", "name": "switch deviceId", "xml": "\n", "comments": "", "outputs": 1, "x": 3526.5161094665527, "y": 683.6773900985718, "z": "fe63ab05.2e2948", "wires": [ [ "9b825598.e065f8" ] ] }, { "id": "9b825598.e065f8", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 3679.5164794921875, "y": 684.6774673461914, "z": "fe63ab05.2e2948", "wires": [ [ "535441.d4b46bc" ] ] }, { "id": "535441.d4b46bc", "type": "set", "name": "set prop.wan.deviceId", "xml": "\n\n", "comments": "", "x": 3848.5170860290527, "y": 683.2775020599365, "z": "fe63ab05.2e2948", "wires": [] }, { "id": "23329d72.a46fe2", "type": "for", "name": "for loop deviceidx - Get deviceId from servicedata", "xml": "\n \n \n", "comments": "", "outputs": 1, "x": 3270.0460090637207, "y": 618.0417184829712, "z": "fe63ab05.2e2948", "wires": [ [ "c7ebbbc9.4cdac8" ] ] }, { "id": "c7ebbbc9.4cdac8", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 3347.0467414855957, "y": 682.0418176651001, "z": "fe63ab05.2e2948", "wires": [ [ "bbbb9202.35efa" ] ] }, { "id": "9a0868fe.086fc8", "type": "comment", "name": "Get siteId from site resource created for this service", "info": "", "comments": "", "x": 845.7579207420349, "y": 425.0039300918579, "z": "fe63ab05.2e2948", "wires": [] }, { "id": "f695d756.f5bf88", "type": "for", "name": "for loop sidx - Get siteId from servicedata", "xml": "\n\n \n \n", "comments": "", "outputs": 1, "x": 808.7579183578491, "y": 463.670597076416, "z": "fe63ab05.2e2948", "wires": [ [ "a691d394.7222c" ] ] }, { "id": "a691d394.7222c", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 1070.7681112289429, "y": 464.34742164611816, "z": "fe63ab05.2e2948", "wires": [ [ "49b25c34.232f54" ] ] }, { "id": "49b25c34.232f54", "type": "switchNode", "name": "switch siteId", "xml": "\n", "comments": "", "outputs": 1, "x": 1239.758246421814, "y": 464.67072772979736, "z": "fe63ab05.2e2948", "wires": [ [ "e9f3d00d.b65c8" ] ] }, { "id": "e9f3d00d.b65c8", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1380.7587461471558, "y": 465.6708056330681, "z": "fe63ab05.2e2948", "wires": [ [ "40c977c1.d08e48" ] ] }, { "id": "40c977c1.d08e48", "type": "set", "name": "set prop.wan.siteId", "xml": "\n\n\n\n", "comments": "", "x": 1545.7588033676147, "y": 498.27067440748215, "z": "fe63ab05.2e2948", "wires": [] }, { "id": "ac8c0e0b.c16e8", "type": "get-resource", "name": "get-resource esr-thirdparty-sdnc", "xml": "\n\n", "comments": "", "outputs": 1, "x": 783.7578811645508, "y": 558.7539501190186, "z": "fe63ab05.2e2948", "wires": [ [ "c1fa285b.bc5508", "80c1b9db.ee9048", "b11a07e0.9253a8" ] ] }, { "id": "c1fa285b.bc5508", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 1015.7579650878906, "y": 522.7539730072021, "z": "fe63ab05.2e2948", "wires": [ [ "ce2c3219.0bfd4" ] ] }, { "id": "80c1b9db.ee9048", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, "x": 1018.2488479614258, "y": 558.3280096054077, "z": "fe63ab05.2e2948", "wires": [ [ "492200e7.6d98d" ] ] }, { "id": "b11a07e0.9253a8", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 1013.5818557739258, "y": 594.6613683700562, "z": "fe63ab05.2e2948", "wires": [ [ "8b634775.e65fc8" ] ] }, { "id": "8b634775.e65fc8", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n\t\n\t\n \n\n\n", "comments": "", "x": 1171.2580795288086, "y": 521.7538652420044, "z": "fe63ab05.2e2948", "wires": [] }, { "id": "b2116c6a.8c28d", "type": "execute", "name": "execute RestApiCallNode Get token", "xml": "\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 798.26806640625, "y": 645.4309692382812, "z": "fe63ab05.2e2948", "wires": [ [ "4c685461.5dffec", "d286ff7f.c649c" ] ] }, { "id": "4c685461.5dffec", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 1017.2681655883789, "y": 633.4309549331665, "z": "fe63ab05.2e2948", "wires": [ [ "f122de3.c7c352" ] ] }, { "id": "f122de3.c7c352", "type": "set", "name": "set token-id", "xml": "\n\n", "comments": "", "x": 1159.2681732177734, "y": 632.4309558868408, "z": "fe63ab05.2e2948", "wires": [] }, { "id": "62588c42.e35064", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1165.2681732177734, "y": 669.8239440917969, "z": "fe63ab05.2e2948", "wires": [] }, { "id": "d286ff7f.c649c", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 1016.5181655883789, "y": 669.0738620758057, "z": "fe63ab05.2e2948", "wires": [ [ "62588c42.e35064" ] ] }, { "id": "373e5110.89b67e", "type": "call", "name": "call sdwan-get-tenant-auth", "xml": "\n", "comments": "", "outputs": 1, "x": 770.2677612304688, "y": 688.7640700340271, "z": "fe63ab05.2e2948", "wires": [ [] ] }, { "id": "6e84f4e0.63170c", "type": "for", "name": "for loop idx - VF-module input parameters", "xml": "\n", "comments": "", "outputs": 1, "x": 811.4033203125, "y": 731.4549427032471, "z": "fe63ab05.2e2948", "wires": [ [ "740e16d5.3fe028" ] ] }, { "id": "740e16d5.3fe028", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1039.2993125915527, "y": 710.3769226074219, "z": "fe63ab05.2e2948", "wires": [ [ "2f0c006b.ded27" ] ] }, { "id": "2f0c006b.ded27", "type": "switchNode", "name": "switch portType", "xml": "\n", "comments": "", "outputs": 1, "x": 1188.4164733886719, "y": 713.350341796875, "z": "fe63ab05.2e2948", "wires": [ [ "66262e7a.e2046" ] ] }, { "id": "66262e7a.e2046", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1335.4164791107178, "y": 712.350341796875, "z": "fe63ab05.2e2948", "wires": [ [ "62d59258.9c5bfc" ] ] }, { "id": "62d59258.9c5bfc", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 1477.4031982421875, "y": 711.232666015625, "z": "fe63ab05.2e2948", "wires": [ [ "5ec692b5.0b935c", "b44ace5e.c0e25" ] ] }, { "id": "5ec692b5.0b935c", "type": "switchNode", "name": "switch portType GE match", "xml": "\n\n\n", "comments": "", "outputs": 1, "x": 1685.0698699951172, "y": 684.232780456543, "z": "fe63ab05.2e2948", "wires": [ [ "c5b687f3.857b88" ] ] }, { "id": "c5b687f3.857b88", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1862.4041595458984, "y": 685.232873916626, "z": "fe63ab05.2e2948", "wires": [ [ "378cca9b.a5b416" ] ] }, { "id": "b44ace5e.c0e25", "type": "switchNode", "name": "switch portType LTE match", "xml": "\n\n\n", "comments": "", "outputs": 1, "x": 1687.403305053711, "y": 744.2326622009277, "z": "fe63ab05.2e2948", "wires": [ [ "26e9f8af.0429a8" ] ] }, { "id": "26e9f8af.0429a8", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1865.4034271240234, "y": 745.2326927185059, "z": "fe63ab05.2e2948", "wires": [ [ "305bbeca.e00732" ] ] }, { "id": "670bf5eb.ea088c", "type": "comment", "name": "set linkType as Ethernet", "info": "", "comments": "", "x": 2521.403398513794, "y": 676.2328190803528, "z": "fe63ab05.2e2948", "wires": [] }, { "id": "b5df7be8.c4cd08", "type": "comment", "name": "set linkType as Cellular", "info": "", "comments": "", "x": 2150.625801086426, "y": 847.2327299118042, "z": "fe63ab05.2e2948", "wires": [] }, { "id": "48d30534.c6f1dc", "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": 2273.5155029296875, "y": 700.788872718811, "z": "fe63ab05.2e2948", "wires": [ [ "5041cf01.1a87f", "98a7c6cb.bee538" ] ] }, { "id": "98a7c6cb.bee538", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 2571.51513671875, "y": 715.7888793945312, "z": "fe63ab05.2e2948", "wires": [ [ "5dbd5d2b.58a3a4" ] ] }, { "id": "5041cf01.1a87f", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 2569.515333175659, "y": 763.7890648841858, "z": "fe63ab05.2e2948", "wires": [ [ "f3695bfd.383518" ] ] }, { "id": "5dbd5d2b.58a3a4", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 2715.5154705047607, "y": 714.7888789176941, "z": "fe63ab05.2e2948", "wires": [] }, { "id": "f3695bfd.383518", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 2716.515344619751, "y": 764.7889037132263, "z": "fe63ab05.2e2948", "wires": [ [] ] }, { "id": "2063a51e.4f858a", "type": "set", "name": "set prop.wan.linkType Ethernet", "xml": "\n\n\n", "comments": "", "x": 2232.181255340576, "y": 650.6770839691162, "z": "fe63ab05.2e2948", "wires": [] }, { "id": "47db832a.5a4cfc", "type": "set", "name": "set prop.wan.linkType Cellular", "xml": "\n", "comments": "", "x": 2223.1819915771484, "y": 740.6773319244385, "z": "fe63ab05.2e2948", "wires": [] }, { "id": "e3dbbb08.e38228", "type": "execute", "name": "execute RestApiCallNode get transport network info", "xml": "\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 849.5352249145508, "y": 865.0782594680786, "z": "fe63ab05.2e2948", "wires": [ [ "a500d0ed.62c", "861df4ee.035a68" ] ] }, { "id": "762c61a4.e1eb1", "type": "execute", "name": "execute RestApiCallNode wan port create", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 2334.535400390625, "y": 1095.078369140625, "z": "fe63ab05.2e2948", "wires": [ [ "37c3fbe5.914474", "6931e9af.4d41e8" ] ] }, { "id": "5756eb85.eba0a4", "type": "set", "name": "set prop.wan.transportNetworkId", "xml": "\n\n", "comments": "", "x": 1755.526222229004, "y": 932.0683574676514, "z": "fe63ab05.2e2948", "wires": [] }, { "id": "d49c55eb.f90268", "type": "execute", "name": "execute split ip and mask", "xml": "\n\n\n\n", "comments": "", "outputs": 1, "x": 773.5250129699707, "y": 1045.4012684822083, "z": "fe63ab05.2e2948", "wires": [ [ "383c4ac6.09fc66", "8e012e1c.09a21" ] ] }, { "id": "8e012e1c.09a21", "type": "failure", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 974.525032043457, "y": 1023.4012598991394, "z": "fe63ab05.2e2948", "wires": [ [ "cb5fc8fa.fa8e98" ] ] }, { "id": "383c4ac6.09fc66", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 974.5250358581543, "y": 1064.4012637138367, "z": "fe63ab05.2e2948", "wires": [ [ "817fc6e4.b6fae8" ] ] }, { "id": "cb5fc8fa.fa8e98", "type": "set", "name": "set ipAddress prefixLength", "xml": "\n\n", "comments": "", "x": 1171.5250511169434, "y": 1021.4012598991394, "z": "fe63ab05.2e2948", "wires": [] }, { "id": "817fc6e4.b6fae8", "type": "returnFailure", "name": "return failure", "xml": "\n\n\n", "comments": "", "x": 1129.5250434875488, "y": 1061.4012627601624, "z": "fe63ab05.2e2948", "wires": [] }, { "id": "53cc9234.85a59c", "type": "switchNode", "name": "switch transportNetworkName same", "xml": "\n\n", "comments": "", "outputs": 1, "x": 1305.5359115600586, "y": 932.7446822226048, "z": "fe63ab05.2e2948", "wires": [ [ "4fa94d3a.e537f4" ] ] }, { "id": "4fa94d3a.e537f4", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1552.5355110168457, "y": 931.7446208000183, "z": "fe63ab05.2e2948", "wires": [ [ "5756eb85.eba0a4" ] ] }, { "id": "98b0fb0a.11a348", "type": "set", "name": "set prop.wan.wanPortId", "xml": "\n\n", "comments": "", "x": 3017.859630584717, "y": 1167.735188484192, "z": "fe63ab05.2e2948", "wires": [] }, { "id": "c05b3e2e.c56c2", "type": "set", "name": "set prop.wan.devicePortId", "xml": "\n\n", "comments": "", "x": 768.5259780883789, "y": 813.0681133270264, "z": "fe63ab05.2e2948", "wires": [] }, { "id": "99969f83.61572", "type": "comment", "name": "Get network id", "info": "", "comments": "", "x": 957.5348739624023, "y": 830.4112663269043, "z": "fe63ab05.2e2948", "wires": [] }, { "id": "27fc10fd.3b3f1", "type": "comment", "name": "Create wan port", "info": "", "comments": "", "x": 757.5349006652832, "y": 1010.4114007949829, "z": "fe63ab05.2e2948", "wires": [] }, { "id": "6931e9af.4d41e8", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 2632.5352363586426, "y": 1123.077961921692, "z": "fe63ab05.2e2948", "wires": [ [ "ae57ad7a.32b7e" ] ] }, { "id": "37c3fbe5.914474", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 2630.53515625, "y": 1170.078125, "z": "fe63ab05.2e2948", "wires": [ [ "a5479d2b.17725" ] ] }, { "id": "a5479d2b.17725", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 2799.5351638793945, "y": 1170.0779618024826, "z": "fe63ab05.2e2948", "wires": [ [ "98b0fb0a.11a348" ] ] }, { "id": "559ead8e.df65a4", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 2971.535572052002, "y": 1124.0779609680176, "z": "fe63ab05.2e2948", "wires": [] }, { "id": "861df4ee.035a68", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 1151.5347290039062, "y": 844.0777535438538, "z": "fe63ab05.2e2948", "wires": [ [ "adf44e66.a9236" ] ] }, { "id": "a500d0ed.62c", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 1151.534725189209, "y": 884.0779185295105, "z": "fe63ab05.2e2948", "wires": [ [ "3bdf5a32.48ffc6" ] ] }, { "id": "3bdf5a32.48ffc6", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 1295.534740447998, "y": 883.0777554512024, "z": "fe63ab05.2e2948", "wires": [ [] ] }, { "id": "adf44e66.a9236", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1293.5350608825684, "y": 843.0777535438538, "z": "fe63ab05.2e2948", "wires": [] }, { "id": "44741458.9316ac", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1055.535514831543, "y": 931.4113087654114, "z": "fe63ab05.2e2948", "wires": [ [ "53cc9234.85a59c" ] ] }, { "id": "56d337a2.42bd48", "type": "for", "name": "for loop tidx - Get transportNetwork ID", "xml": "\n \n \n", "comments": "", "outputs": 1, "x": 811.5351943969727, "y": 934.4111309051514, "z": "fe63ab05.2e2948", "wires": [ [ "44741458.9316ac" ] ] }, { "id": "ae57ad7a.32b7e", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 2792.5389862060547, "y": 1121.5817041397095, "z": "fe63ab05.2e2948", "wires": [ [] ] }, { "id": "80c1b0f1.09ead", "type": "for", "name": "for loop idx - VF-module input parameters", "xml": "\n", "comments": "", "outputs": 1, "x": 816.8372001647949, "y": 1130.6666526794434, "z": "fe63ab05.2e2948", "wires": [ [ "df2b15e3.9b12e8" ] ] }, { "id": "df2b15e3.9b12e8", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1060.733154296875, "y": 1129.5886244773865, "z": "fe63ab05.2e2948", "wires": [ [ "e69d5573.0921e8" ] ] }, { "id": "e69d5573.0921e8", "type": "switchNode", "name": "switch IPMode", "xml": "\n", "comments": "", "outputs": 1, "x": 1208.850399017334, "y": 1131.562108039856, "z": "fe63ab05.2e2948", "wires": [ [ "65d16ab9.689c24" ] ] }, { "id": "65d16ab9.689c24", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1356.850383758545, "y": 1128.5620727539062, "z": "fe63ab05.2e2948", "wires": [ [ "b02a711.92b019" ] ] }, { "id": "b02a711.92b019", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 1513.837200164795, "y": 1130.444423675537, "z": "fe63ab05.2e2948", "wires": [ [ "c4bd3155.18d9f", "246c2fd8.8350c" ] ] }, { "id": "c4bd3155.18d9f", "type": "switchNode", "name": "switch IPMode Static match", "xml": "\n\n\n", "comments": "", "outputs": 1, "x": 1717.5041809082031, "y": 1104.4446493983269, "z": "fe63ab05.2e2948", "wires": [ [ "62c11f1c.a8387" ] ] }, { "id": "246c2fd8.8350c", "type": "switchNode", "name": "switch IPMode DHCP match", "xml": "\n\n\n", "comments": "", "outputs": 1, "x": 1717.8373489379883, "y": 1160.4445750117302, "z": "fe63ab05.2e2948", "wires": [ [ "81f33bac.e89fe8" ] ] }, { "id": "c34bc647.720578", "type": "returnSuccess", "name": "return success", "xml": "\n\n\n\n", "comments": "", "x": 737.4032592773438, "y": 1549.5665283203125, "z": "fe63ab05.2e2948", "wires": [] }, { "id": "875b58c1.722a88", "type": "set", "name": "set device PortId to service data", "xml": "\n\n\n", "comments": "", "x": 777.0597534179688, "y": 1174.2227783203125, "z": "fe63ab05.2e2948", "wires": [] }, { "id": "7cfc5672.5cd958", "type": "update", "name": "update SDWAN wan port instance configuration in AAI", "xml": "\n\n\n\n\n", "comments": "", "outputs": 1, "x": 854.7223510742188, "y": 1493.3707275390625, "z": "fe63ab05.2e2948", "wires": [ [] ] }, { "id": "80c24ef7.49b8c", "type": "set", "name": "set wan portId to service data", "xml": "\n\n\n", "comments": "", "x": 783.0687103271484, "y": 1264.4818954467773, "z": "fe63ab05.2e2948", "wires": [] }, { "id": "e72e5636.3932b8", "type": "set", "name": "set IP params", "xml": "\n\n\n\n\n\n", "comments": "", "x": 2257.29248046875, "y": 1043.8992919921875, "z": "fe63ab05.2e2948", "wires": [] }, { "id": "413a8e72.8c216", "type": "set", "name": "set IP params", "xml": "\n\n\n\n\n\n\n\n\n", "comments": "", "x": 2254.754150390625, "y": 1158, "z": "fe63ab05.2e2948", "wires": [] }, { "id": "eaea3f61.2ed1c", "type": "for", "name": "for each existing vf-index", "xml": "\n", "comments": "", "outputs": 1, "x": 1378.5039930343628, "y": 415.0000114440918, "z": "fe63ab05.2e2948", "wires": [ [ "d3ee2888.9d77a8", "384abebf.660182" ] ] }, { "id": "83ba6051.514ec", "type": "record", "name": "record", "xml": "\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 2584.837371826172, "y": 398.000057220459, "z": "fe63ab05.2e2948", "wires": [ [] ] }, { "id": "d9c35361.4cae6", "type": "record", "name": "record", "xml": "\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 2908.8371925354004, "y": 497.99996757507324, "z": "fe63ab05.2e2948", "wires": [ [] ] }, { "id": "350746df.c7aa7a", "type": "record", "name": "record", "xml": "\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 3207.837417602539, "y": 782.0000143051147, "z": "fe63ab05.2e2948", "wires": [ [] ] }, { "id": "62c11f1c.a8387", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1906.5040321350098, "y": 1104.666739165783, "z": "fe63ab05.2e2948", "wires": [ [ "a07e9d6c.b352" ] ] }, { "id": "81f33bac.e89fe8", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1905.5040283203125, "y": 1158.6667429804802, "z": "fe63ab05.2e2948", "wires": [ [ "d91929ad.827e18" ] ] }, { "id": "b10288cf.50b828", "type": "set", "name": "increment wan-port param length", "xml": "\n\n", "comments": "", "x": 785.5351791381836, "y": 1219.0313739776611, "z": "fe63ab05.2e2948", "wires": [] }, { "id": "ebd64e1b.5f8b", "type": "set", "name": "increment wan-port param length", "xml": "\n\n", "comments": "", "x": 793.5351791381836, "y": 1304.0313758850098, "z": "fe63ab05.2e2948", "wires": [] }, { "id": "1b602e84.4e29d1", "type": "set", "name": "set vf-module-id and vf-module-object-path", "xml": "\n\n\n\n", "comments": "", "x": 813.0351905822754, "y": 1406.0313718048856, "z": "fe63ab05.2e2948", "wires": [] }, { "id": "13c3d9c7.d7be26", "type": "set", "name": "set vf-module-level-oper-status", "xml": "\n\n\n", "comments": "", "x": 779.0351905822754, "y": 1454.5313727585599, "z": "fe63ab05.2e2948", "wires": [] }, { "id": "fb9080f.263d28", "type": "set", "name": "copy input data in service-data", "xml": "\n\n\n\n\n", "comments": "", "x": 777.0351448059082, "y": 1358.2813262939453, "z": "fe63ab05.2e2948", "wires": [] }, { "id": "378cca9b.a5b416", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 2008.0313453674316, "y": 687.0313034057617, "z": "fe63ab05.2e2948", "wires": [ [ "2063a51e.4f858a", "48d30534.c6f1dc" ] ] }, { "id": "305bbeca.e00732", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 2008.031234741211, "y": 768.0313053131104, "z": "fe63ab05.2e2948", "wires": [ [ "47db832a.5a4cfc", "82afc539.6a24f8" ] ] }, { "id": "82afc539.6a24f8", "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": 2271.03125, "y": 800.03125, "z": "fe63ab05.2e2948", "wires": [ [ "98a7c6cb.bee538", "5041cf01.1a87f" ] ] }, { "id": "a07e9d6c.b352", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 2073, "y": 1072, "z": "fe63ab05.2e2948", "wires": [ [ "e72e5636.3932b8", "762c61a4.e1eb1" ] ] }, { "id": "d91929ad.827e18", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 2069, "y": 1176, "z": "fe63ab05.2e2948", "wires": [ [ "413a8e72.8c216", "9127fd6f.551ca" ] ] }, { "id": "9127fd6f.551ca", "type": "execute", "name": "execute RestApiCallNode wan port create", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 2337, "y": 1198, "z": "fe63ab05.2e2948", "wires": [ [ "6931e9af.4d41e8", "37c3fbe5.914474" ] ] } ]