[ { "id": "df1ca662.8747b8", "type": "dgstart", "name": "DGSTART", "outputs": 1, "x": 92, "y": 26, "z": "ea31d3f9.c58ce", "wires": [ [ "f03eb016.75be2" ] ] }, { "id": "f03eb016.75be2", "type": "service-logic", "name": "GENERIC-RESOURCE-API ${project.version}", "module": "GENERIC-RESOURCE-API", "version": "${project.version}", "comments": "", "xml": "", "outputs": 1, "x": 208.2856903076172, "y": 77.23810768127441, "z": "ea31d3f9.c58ce", "wires": [ [ "d1c55e79.a107d" ] ] }, { "id": "d1c55e79.a107d", "type": "method", "name": "method sdwan-wanport-vnf-topology-operation-underlay", "xml": "\n", "comments": "", "outputs": 1, "x": 211.42861938476562, "y": 162.00003147125244, "z": "ea31d3f9.c58ce", "wires": [ [ "39b0cbc5.a6e634" ] ] }, { "id": "39b0cbc5.a6e634", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 143.66668701171875, "y": 270.66673278808594, "z": "ea31d3f9.c58ce", "wires": [ [ "6e5ac20d.e60c4c", "b99b3963.4b1368", "962ad5c3.0da1a8", "da982ae7.c19088", "546d6174.f994f" ] ] }, { "id": "6e5ac20d.e60c4c", "type": "for", "name": "for cidx..service-data.consumed-allotted-resources.consumed-allotted-resource[]", "xml": "\n", "comments": "", "outputs": 1, "x": 578.000431060791, "y": 409.6668539047241, "z": "ea31d3f9.c58ce", "wires": [ [ "ad0a3663.ab8598" ] ] }, { "id": "2acab811.c13ee8", "type": "set", "name": "set prop.ar.allotted-resource-id", "xml": "\n\n", "comments": "", "x": 1368.0013427734375, "y": 98.96877861022949, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "4102e103.78e0d", "type": "comment", "name": "Query MDSAL for AR", "info": "", "comments": "", "x": 1693.3340148925781, "y": 122.96864795684814, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "2988c3dc.9f08bc", "type": "comment", "name": "Query MDSAL to get parent service based on service instance id from AR", "info": "", "comments": "", "x": 2163.334873199463, "y": 141.96862697601318, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "43ba54c6.bea31c", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 1942.66841506958, "y": 177.63526725769043, "z": "ea31d3f9.c58ce", "wires": [ [ "90fef119.efb27" ] ] }, { "id": "90fef119.efb27", "type": "block", "name": "block: atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2097.668254852295, "y": 177.13510036468506, "z": "ea31d3f9.c58ce", "wires": [ [ "3f50e700.ebbfb8" ] ] }, { "id": "22fe4487.ea79bc", "type": "other", "name": "outcome 1", "xml": "\n", "comments": "", "outputs": 1, "x": 2421.3587913513184, "y": 173.75424098968506, "z": "ea31d3f9.c58ce", "wires": [ [ "eb3089e9.bab518" ] ] }, { "id": "202db162.ce306e", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n \n", "comments": "", "x": 2567.1275672912598, "y": 213.20122909545898, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "b9e47095.da1a3", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 1935.5201416015625, "y": 224.70127391815186, "z": "ea31d3f9.c58ce", "wires": [ [ "1559b306.93fa9d" ] ] }, { "id": "1559b306.93fa9d", "type": "block", "name": "block: atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2085.5199851989746, "y": 225.36782932281494, "z": "ea31d3f9.c58ce", "wires": [ [ "6807513b.840e7" ] ] }, { "id": "d76066f5.ec2ac8", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 2409.6867446899414, "y": 211.03460121154785, "z": "ea31d3f9.c58ce", "wires": [ [ "202db162.ce306e" ] ] }, { "id": "3f50e700.ebbfb8", "type": "switchNode", "name": "switch cr length", "xml": "\n", "comments": "", "outputs": 1, "x": 2261.668430328369, "y": 177.6352834701538, "z": "ea31d3f9.c58ce", "wires": [ [ "22fe4487.ea79bc", "d76066f5.ec2ac8" ] ] }, { "id": "1ecae18f.8c5d6e", "type": "set", "name": "set parent-service-instance-id", "xml": "\n\n\n", "comments": "", "x": 2817.0020294189453, "y": 174.63526439666748, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "eb3089e9.bab518", "type": "block", "name": "block: atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2571.4778213500977, "y": 173.80180072784424, "z": "ea31d3f9.c58ce", "wires": [ [ "1ecae18f.8c5d6e", "c22c6bf7.654618" ] ] }, { "id": "6807513b.840e7", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n \n", "comments": "", "x": 2253.001438140869, "y": 223.63520526885986, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "bc09ac7e.2dfa1", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 2040.303554534912, "y": 495.7709312438965, "z": "ea31d3f9.c58ce", "wires": [ [ "4a6d5f3.c343ea" ] ] }, { "id": "f0b156c6.5db3a8", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 2032.1553573608398, "y": 530.8370161056519, "z": "ea31d3f9.c58ce", "wires": [ [ "22ca566e.18afda" ] ] }, { "id": "22ca566e.18afda", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n \n", "comments": "", "x": 2178.304130554199, "y": 531.1045122146606, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "4a6d5f3.c343ea", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2160.3038024902344, "y": 495.771014213562, "z": "ea31d3f9.c58ce", "wires": [ [] ] }, { "id": "c9fcea4f.295c68", "type": "for", "name": "for pnidx.. mdsal-psd.networks.network_length[]", "xml": "\n", "comments": "", "outputs": 1, "x": 1723.6683502197266, "y": 595.3028893470764, "z": "ea31d3f9.c58ce", "wires": [ [ "d063fbaf.bf9cb8" ] ] }, { "id": "4b3c3b19.b12c44", "type": "switchNode", "name": "switch ActivateSDWANConnectivityInstance", "xml": "\n \n \n\n", "comments": "", "outputs": 1, "x": 2253.3349838256836, "y": 564.3028907775879, "z": "ea31d3f9.c58ce", "wires": [ [ "353c03be.8a3dec" ] ] }, { "id": "353c03be.8a3dec", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2505.334518432617, "y": 565.3028283119202, "z": "ea31d3f9.c58ce", "wires": [ [ "8948df3b.5b4e8" ] ] }, { "id": "8948df3b.5b4e8", "type": "set", "name": "set tmp.pnidx ", "xml": "\n\n\n", "comments": "", "x": 2661.3342056274414, "y": 565.3028283119202, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "f17464be.205b38", "type": "for", "name": "for loop paramidx - Get topology from servicedata", "xml": "\n \n \n", "comments": "", "outputs": 1, "x": 1655.3351593017578, "y": 680.3025188446045, "z": "ea31d3f9.c58ce", "wires": [ [ "a24202ba.c8c7c" ] ] }, { "id": "1134832c.af388d", "type": "switchNode", "name": "switch topology", "xml": "\n", "comments": "", "outputs": 1, "x": 2107.335250854492, "y": 659.3024244308472, "z": "ea31d3f9.c58ce", "wires": [ [ "b4638122.81f25" ] ] }, { "id": "b4638122.81f25", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2258.335262298584, "y": 657.3024663925171, "z": "ea31d3f9.c58ce", "wires": [ [ "6ab1ecb6.c4b6a4" ] ] }, { "id": "6ab1ecb6.c4b6a4", "type": "set", "name": "set topology", "xml": "\n\n", "comments": "", "x": 2399.334991455078, "y": 656.9024000167847, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "427fd71a.a641b8", "type": "switchNode", "name": "switch tmp.pnidx ", "xml": "\n\n", "comments": "", "outputs": 1, "x": 1626.334976196289, "y": 639.9690914154053, "z": "ea31d3f9.c58ce", "wires": [ [ "3b308668.883fda" ] ] }, { "id": "3b308668.883fda", "type": "outcome", "name": "NULL", "xml": "\n", "comments": "", "outputs": 1, "x": 1781.7636489868164, "y": 638.5404710769653, "z": "ea31d3f9.c58ce", "wires": [ [ "1025ab31.d734f5" ] ] }, { "id": "1025ab31.d734f5", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1922.1922721862793, "y": 639.6835603713989, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "3aec24fb.014f5c", "type": "switchNode", "name": "switch topology hub-spoke", "xml": "\n", "comments": "", "outputs": 1, "x": 1534.3348426818848, "y": 742.3023405075073, "z": "ea31d3f9.c58ce", "wires": [ [ "11a1e34f.7c4fdd", "32341b46.a26b84" ] ] }, { "id": "11a1e34f.7c4fdd", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1724.334529876709, "y": 767.3028259277344, "z": "ea31d3f9.c58ce", "wires": [ [ "26c0cc7e.899014" ] ] }, { "id": "32341b46.a26b84", "type": "outcomeTrue", "name": "false", "xml": "\n", "comments": "", "outputs": 1, "x": 1718.3354568481445, "y": 728.3024883270264, "z": "ea31d3f9.c58ce", "wires": [ [ "92373ae3.dba458" ] ] }, { "id": "92373ae3.dba458", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1854.3354606628418, "y": 728.3024272918701, "z": "ea31d3f9.c58ce", "wires": [ [] ] }, { "id": "26c0cc7e.899014", "type": "block", "name": "block: atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1729.66748046875, "y": 835.3020601272583, "z": "ea31d3f9.c58ce", "wires": [ [ "a5cfaff.0a25c5" ] ] }, { "id": "a5cfaff.0a25c5", "type": "for", "name": "for ppidx.. mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource[]", "xml": "\n", "comments": "", "outputs": 1, "x": 2137.000732421875, "y": 835.6356782913208, "z": "ea31d3f9.c58ce", "wires": [ [ "528bb6e8.287b28" ] ] }, { "id": "45c7f2c8.9bbc9c", "type": "set", "name": "set prop.ar.provided-allotted-resource-id", "xml": "\n\n\n", "comments": "", "x": 2228.0018463134766, "y": 913.6359763145447, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "d3076636.df66e8", "type": "for", "name": "for loop aridx - Get role from allotted resource", "xml": "\n \n \n", "comments": "", "outputs": 1, "x": 2246.0025482177734, "y": 1024.302767753601, "z": "ea31d3f9.c58ce", "wires": [ [ "94a7fcab.3f18" ] ] }, { "id": "e9ad6cc9.abb1", "type": "switchNode", "name": "switch Role", "xml": "\n", "comments": "", "outputs": 1, "x": 2655.002658843994, "y": 1027.3028545379639, "z": "ea31d3f9.c58ce", "wires": [ [ "356c0745.261588" ] ] }, { "id": "356c0745.261588", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2796.0029907226562, "y": 1026.3028535842896, "z": "ea31d3f9.c58ce", "wires": [ [ "2ecc17c9.bbea08" ] ] }, { "id": "2ecc17c9.bbea08", "type": "set", "name": "set prop.role", "xml": "\n\n", "comments": "", "x": 2937.0030250549316, "y": 1027.9027452468872, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "7d6e3904.ff8ae8", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 2732.0020446777344, "y": 930.969269990921, "z": "ea31d3f9.c58ce", "wires": [ [ "92d1a6eb.dd91a8" ] ] }, { "id": "b0148b51.89ec18", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 2728.8537673950195, "y": 985.0353531837463, "z": "ea31d3f9.c58ce", "wires": [ [ "c6ccd14a.96548" ] ] }, { "id": "59d6c0f4.defd7", "type": "switchNode", "name": "switch role hub", "xml": "\n", "comments": "", "outputs": 1, "x": 2112.3351821899414, "y": 1089.6358079910278, "z": "ea31d3f9.c58ce", "wires": [ [ "d2d633b9.72ffd", "10c92564.7d8f7b" ] ] }, { "id": "a9370615.1e0a18", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2428.3345680236816, "y": 1065.6354112625122, "z": "ea31d3f9.c58ce", "wires": [ [] ] }, { "id": "f944f364.78c47", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 2838.3042030334473, "y": 1161.1045179367065, "z": "ea31d3f9.c58ce", "wires": [ [ "b250bb74.e941e8" ] ] }, { "id": "e08d96d8.e1bd48", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 2840.155773162842, "y": 1221.170599937439, "z": "ea31d3f9.c58ce", "wires": [ [ "d9301d98.96024" ] ] }, { "id": "d9301d98.96024", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n \n", "comments": "", "x": 2984.304546356201, "y": 1183.4380140304565, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "b250bb74.e941e8", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2968.3042221069336, "y": 1150.1046781539917, "z": "ea31d3f9.c58ce", "wires": [ [] ] }, { "id": "31ca4096.fa657", "type": "set", "name": "set prop.ar-service-instance-id", "xml": "\n\n", "comments": "", "x": 2440.3356018066406, "y": 1149.6360107660294, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "3250db4e.aae6c4", "type": "for", "name": "for arvidx.. mdsal-arsd.service-data.vnfs.vnf_length[]", "xml": "\n", "comments": "", "outputs": 1, "x": 2484.0020751953125, "y": 1271.6358003616333, "z": "ea31d3f9.c58ce", "wires": [ [ "5be088b1.9bd9d8" ] ] }, { "id": "5be088b1.9bd9d8", "type": "block", "name": "block atmoic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2830.6683959960938, "y": 1261.6357765197754, "z": "ea31d3f9.c58ce", "wires": [ [ "b0a1b0f0.1cd88", "64161d13.320da4", "a305e869.75b198" ] ] }, { "id": "b0a1b0f0.1cd88", "type": "switchNode", "name": "switch ActivateSDWANPortInstance", "xml": "\n \n\n", "comments": "", "outputs": 1, "x": 3092.668504714966, "y": 1232.6367359161377, "z": "ea31d3f9.c58ce", "wires": [ [ "f4aa7045.eb114" ] ] }, { "id": "494b8c51.d5a454", "type": "switchNode", "name": "switch tmp.wanportvidx ", "xml": "\n\n", "comments": "", "outputs": 1, "x": 2565.668212890625, "y": 1316.3024454116821, "z": "ea31d3f9.c58ce", "wires": [ [ "a2447b78.519d38" ] ] }, { "id": "273881de.ee082e", "type": "for", "name": "for loop wportidx - Get wan port ID from servicedata", "xml": "\n \n \n", "comments": "", "outputs": 1, "x": 3747.6689834594727, "y": 1225.6369161605835, "z": "ea31d3f9.c58ce", "wires": [ [ "b8659698.4fa9a8" ] ] }, { "id": "a2447b78.519d38", "type": "outcome", "name": "NULL", "xml": "\n", "comments": "", "outputs": 1, "x": 2737.096935272217, "y": 1319.8741512298584, "z": "ea31d3f9.c58ce", "wires": [ [ "f6e26890.4d8a38" ] ] }, { "id": "f6e26890.4d8a38", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 2881.525650024414, "y": 1322.0174312591553, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "f4aa7045.eb114", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 3320.66819190979, "y": 1230.636736869812, "z": "ea31d3f9.c58ce", "wires": [ [ "ab1ef1f9.e54ea" ] ] }, { "id": "b8659698.4fa9a8", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 3699.6701984405518, "y": 1309.6374425888062, "z": "ea31d3f9.c58ce", "wires": [ [ "79f89faa.fb19f" ] ] }, { "id": "79f89faa.fb19f", "type": "switchNode", "name": "switch transportNetworkName", "xml": "\n", "comments": "", "outputs": 1, "x": 3917.6711139678955, "y": 1307.6379308700562, "z": "ea31d3f9.c58ce", "wires": [ [ "863adb79.9947c8" ] ] }, { "id": "564bf8e9.5ea9e8", "type": "set", "name": "set tmp.portvidx ", "xml": "\n\n\n", "comments": "", "x": 3644.667995452881, "y": 1183.6369037628174, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "863adb79.9947c8", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 4114.671541213989, "y": 1306.6380996704102, "z": "ea31d3f9.c58ce", "wires": [ [ "896da4ec.a5e9f8" ] ] }, { "id": "662f75a8.5b0d6c", "type": "set", "name": "set prop.hub.transportNetworkName", "xml": "\n\n", "comments": "", "x": 4371.6733751297, "y": 1506.2391166687012, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "372c4b67.d587a4", "type": "switchNode", "name": "switch prop.hub.transportNetworkName==prop.spoke.transportNetworkName", "xml": "\n", "comments": "", "outputs": 1, "x": 2564.00431060791, "y": 1466.3046674728394, "z": "ea31d3f9.c58ce", "wires": [ [ "ad67f3dd.ea7da", "f32a34f9.fa2a88" ] ] }, { "id": "ad67f3dd.ea7da", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2910.0038414001465, "y": 1503.3047413825989, "z": "ea31d3f9.c58ce", "wires": [ [ "6ddb13cd.d02b7c" ] ] }, { "id": "f32a34f9.fa2a88", "type": "outcomeTrue", "name": "false", "xml": "\n", "comments": "", "outputs": 1, "x": 2904.004650115967, "y": 1440.3046016693115, "z": "ea31d3f9.c58ce", "wires": [ [ "93fee3b6.b53b4" ] ] }, { "id": "93fee3b6.b53b4", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 3034.004837036133, "y": 1440.3047542572021, "z": "ea31d3f9.c58ce", "wires": [ [] ] }, { "id": "528bb6e8.287b28", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1879.0322265625, "y": 944.8333101272583, "z": "ea31d3f9.c58ce", "wires": [ [ "45c7f2c8.9bbc9c", "9540984f.e97fb8", "b384d688.b2dd28", "59d6c0f4.defd7", "d3076636.df66e8" ] ] }, { "id": "e393fec8.f9974", "type": "switchNode", "name": "switch vpnId", "xml": "\n", "comments": "", "outputs": 1, "x": 2097.001266479492, "y": 703.6354351043701, "z": "ea31d3f9.c58ce", "wires": [ [ "d6a90986.8eb118" ] ] }, { "id": "d6a90986.8eb118", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2241.001277923584, "y": 703.6354761123657, "z": "ea31d3f9.c58ce", "wires": [ [ "c1f6fc9b.d909f" ] ] }, { "id": "c1f6fc9b.d909f", "type": "set", "name": "set prop.vpnId", "xml": "\n\n", "comments": "", "x": 2399.0009994506836, "y": 702.2354106903076, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "56fbb125.4613b", "type": "set", "name": "Set prop.hubTnpId", "xml": "\n\n\n", "comments": "", "x": 2616.3368072509766, "y": 1739.6364259719849, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "7c9721cc.23414", "type": "execute", "name": "execute RestApiCallNode underlay route", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 3437.33624458313, "y": 2571.9708592891693, "z": "ea31d3f9.c58ce", "wires": [ [ "f29c10b7.ab96c", "d1ca729c.637d" ] ] }, { "id": "d1ca729c.637d", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 3704.3361530303955, "y": 2599.970888853073, "z": "ea31d3f9.c58ce", "wires": [ [ "4079a316.d4531c" ] ] }, { "id": "f29c10b7.ab96c", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 3702.335832595825, "y": 2555.97087931633, "z": "ea31d3f9.c58ce", "wires": [ [ "7b4a5da7.783c64" ] ] }, { "id": "31f4dc9.4459824", "type": "set", "name": "Add prop.hub.route", "xml": "\n\n\n\n\n\n\n\n\n\n", "comments": "", "x": 3381.6696243286133, "y": 2528.637367248535, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "bd1192a1.70e0b", "type": "execute", "name": "execute RestApiCallNode underlay route", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 3456.6696243286133, "y": 2670.637832403183, "z": "ea31d3f9.c58ce", "wires": [ [ "1372bf53.f8d271", "7d49f976.fe2c38" ] ] }, { "id": "7d49f976.fe2c38", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 3708.669771194458, "y": 2699.6381289958954, "z": "ea31d3f9.c58ce", "wires": [ [ "a38da1c5.3c2df" ] ] }, { "id": "1372bf53.f8d271", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 3706.6694507598877, "y": 2655.638119459152, "z": "ea31d3f9.c58ce", "wires": [ [ "ae6e8595.d05358" ] ] }, { "id": "1618d5.6f61e72c", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 3996.6703186035156, "y": 2649.6383113861084, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "64161d13.320da4", "type": "switchNode", "name": "switch ActivateSDWANDeviceInstance", "xml": "\n \n \n\n", "comments": "", "outputs": 1, "x": 3103.532081604004, "y": 1265.8336944580078, "z": "ea31d3f9.c58ce", "wires": [ [ "9f32e086.83793" ] ] }, { "id": "c2ac42b9.22b8d", "type": "switchNode", "name": "switch tmp.devicevidx ", "xml": "\n\n", "comments": "", "outputs": 1, "x": 2571.5316314697266, "y": 1358.4999265670776, "z": "ea31d3f9.c58ce", "wires": [ [ "e36692fe.8d819" ] ] }, { "id": "e36692fe.8d819", "type": "outcome", "name": "NULL", "xml": "\n", "comments": "", "outputs": 1, "x": 2737.9600677490234, "y": 1358.0714597702026, "z": "ea31d3f9.c58ce", "wires": [ [ "3d811052.fd24c" ] ] }, { "id": "3d811052.fd24c", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 2878.388999938965, "y": 1360.2144346237183, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "9f32e086.83793", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 3331.531768798828, "y": 1263.8336954116821, "z": "ea31d3f9.c58ce", "wires": [ [ "869ea93a.54ef48" ] ] }, { "id": "869ea93a.54ef48", "type": "set", "name": "set tmp.devicevidx ", "xml": "\n\n\n", "comments": "", "x": 3486.531452178955, "y": 1263.8336944580078, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "a305e869.75b198", "type": "switchNode", "name": "switch ActivateSiteInstance", "xml": "\n \n \n\n", "comments": "", "outputs": 1, "x": 3066.5321521759033, "y": 1299.833758354187, "z": "ea31d3f9.c58ce", "wires": [ [ "ab60af44.1fc14" ] ] }, { "id": "aae2a2df.f7cc", "type": "switchNode", "name": "switch tmp.sitevidx ", "xml": "\n\n", "comments": "", "outputs": 1, "x": 2570.5315017700195, "y": 1396.4998044967651, "z": "ea31d3f9.c58ce", "wires": [ [ "834ee4ef.5fe588" ] ] }, { "id": "834ee4ef.5fe588", "type": "outcome", "name": "NULL", "xml": "\n", "comments": "", "outputs": 1, "x": 2730.959966659546, "y": 1396.0713243484497, "z": "ea31d3f9.c58ce", "wires": [ [ "4979a718.8325b8" ] ] }, { "id": "4979a718.8325b8", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 2879.388921737671, "y": 1398.2143306732178, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "ab60af44.1fc14", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 3254.531717300415, "y": 1299.833924293518, "z": "ea31d3f9.c58ce", "wires": [ [ "1aaf3b5d.3c7645" ] ] }, { "id": "1aaf3b5d.3c7645", "type": "set", "name": "set tmp.sitevidx ", "xml": "\n\n\n", "comments": "", "x": 3409.531400680542, "y": 1299.8339233398438, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "409305d5.93be5c", "type": "for", "name": "for loop deviceidx - Get wan port ID from servicedata", "xml": "\n \n \n", "comments": "", "outputs": 1, "x": 2703.5333099365234, "y": 1781.8342418670654, "z": "ea31d3f9.c58ce", "wires": [ [ "f3da0084.2ed3d" ] ] }, { "id": "490623bf.f5be2c", "type": "switchNode", "name": "switch deviceId", "xml": "\n", "comments": "", "outputs": 1, "x": 3188.5345611572266, "y": 1712.8350954055786, "z": "ea31d3f9.c58ce", "wires": [ [ "fe8795f9.d93fb8" ] ] }, { "id": "fe8795f9.d93fb8", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 3339.5349349975586, "y": 1709.8353395462036, "z": "ea31d3f9.c58ce", "wires": [ [ "9a7de836.6030f8" ] ] }, { "id": "9a7de836.6030f8", "type": "set", "name": "set prop.hub.deviceId", "xml": "\n\n", "comments": "", "x": 3514.535182952881, "y": 1709.4358644485474, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "e6c5f470.5c1408", "type": "for", "name": "for loop siteidx - Get site ID from servicedata", "xml": "\n \n \n", "comments": "", "outputs": 1, "x": 2670.0331268310547, "y": 1843.8342113494873, "z": "ea31d3f9.c58ce", "wires": [ [ "ee5b33c3.334cb" ] ] }, { "id": "f647b09c.a81c", "type": "comment", "name": "Add route src->dst, dst->src", "info": "", "comments": "", "x": 3005.668716430664, "y": 1860.6360301971436, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "2ed283b9.4ced6c", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2115.334228515625, "y": 1221.968747138977, "z": "ea31d3f9.c58ce", "wires": [ [ "3250db4e.aae6c4", "372c4b67.d587a4", "8238d072.258df", "31ca4096.fa657", "a06e1b02.e2dcb8", "5f595aa8.cf14c4" ] ] }, { "id": "8238d072.258df", "type": "block", "name": "block atmoic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2370.333984375, "y": 1358.3021211624146, "z": "ea31d3f9.c58ce", "wires": [ [ "c2ac42b9.22b8d", "aae2a2df.f7cc", "494b8c51.d5a454" ] ] }, { "id": "6ddb13cd.d02b7c", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2390.3350219726562, "y": 1730.635643005371, "z": "ea31d3f9.c58ce", "wires": [ [ "56fbb125.4613b", "409305d5.93be5c", "e6c5f470.5c1408", "74f0a419.baab7c", "f5ec2256.55a71" ] ] }, { "id": "53da0cfd.4e5c84", "type": "set", "name": "Add prop.spoke.route", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "x": 3391.533639907837, "y": 2639.3345935344696, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "b99b3963.4b1368", "type": "returnSuccess", "name": "return success", "xml": "\n\n\n\n", "comments": "", "x": 340.3343048095703, "y": 1096.3343391418457, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "9692ac6c.5b398", "type": "execute", "name": "generate connection attachment AR url ", "xml": "\n \n \n \n \n", "comments": "", "outputs": 1, "x": 1389.6672058105469, "y": 158.30183696746826, "z": "ea31d3f9.c58ce", "wires": [ [] ] }, { "id": "a88c4be0.5a96c8", "type": "execute", "name": "execute RestApiCallNode - get-resource connection-attachment-allotted-resource", "xml": "\n \n \n \n \n \n \n\n", "comments": "", "outputs": 1, "x": 1516.667236328125, "y": 206.3018274307251, "z": "ea31d3f9.c58ce", "wires": [ [ "43ba54c6.bea31c", "b9e47095.da1a3" ] ] }, { "id": "fa697270.9a4c6", "type": "execute", "name": "execute RestApiCallNode - get parent service data", "xml": "\n \n \n \n \n \n \n\n", "comments": "", "outputs": 1, "x": 1741.0013885498047, "y": 540.3021411895752, "z": "ea31d3f9.c58ce", "wires": [ [ "bc09ac7e.2dfa1", "f0b156c6.5db3a8" ] ] }, { "id": "9c710564.f70308", "type": "execute", "name": "generate connection attachment parent url ", "xml": "\n \n \n \n \n", "comments": "", "outputs": 1, "x": 1718.0010375976562, "y": 486.30206871032715, "z": "ea31d3f9.c58ce", "wires": [ [] ] }, { "id": "b113d667.018288", "type": "comment", "name": "full mesh do nothing", "info": "", "comments": "", "x": 1552.667839050293, "y": 697.3021068572998, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "9c493d3a.013fd", "type": "comment", "name": "hub-spoke", "info": "", "comments": "", "x": 2553.6672401428223, "y": 794.3019967079163, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "9540984f.e97fb8", "type": "execute", "name": "generate connection attachment AR url ", "xml": "\n \n \n \n \n", "comments": "", "outputs": 1, "x": 2226.0003929138184, "y": 945.3019919395447, "z": "ea31d3f9.c58ce", "wires": [ [] ] }, { "id": "b384d688.b2dd28", "type": "execute", "name": "execute RestApiCallNode - get-resource connection-attachment-allotted-resource", "xml": "\n \n \n \n \n \n \n\n", "comments": "", "outputs": 1, "x": 2357.000473022461, "y": 984.9686217308044, "z": "ea31d3f9.c58ce", "wires": [ [ "7d6e3904.ff8ae8", "b0148b51.89ec18" ] ] }, { "id": "a06e1b02.e2dcb8", "type": "execute", "name": "generate service data url", "xml": "\n \n \n \n \n", "comments": "", "outputs": 1, "x": 2407.504367828369, "y": 1186.3058919906616, "z": "ea31d3f9.c58ce", "wires": [ [] ] }, { "id": "5f595aa8.cf14c4", "type": "execute", "name": "execute RestApiCallNode - get service data of allotted resource", "xml": "\n \n \n \n \n \n \n\n", "comments": "", "outputs": 1, "x": 2523.5045013427734, "y": 1223.3057832717896, "z": "ea31d3f9.c58ce", "wires": [ [ "f944f364.78c47", "e08d96d8.e1bd48" ] ] }, { "id": "10c92564.7d8f7b", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2287.5000648498535, "y": 1108.8018560409546, "z": "ea31d3f9.c58ce", "wires": [ [ "2ed283b9.4ced6c" ] ] }, { "id": "d2d633b9.72ffd", "type": "outcomeFalse", "name": "false", "xml": "\n", "comments": "", "outputs": 1, "x": 2293.500312805176, "y": 1065.801947593689, "z": "ea31d3f9.c58ce", "wires": [ [ "a9370615.1e0a18" ] ] }, { "id": "c22c6bf7.654618", "type": "for", "name": "for loop roleidx - Get role from allotted resource", "xml": "\n \n \n", "comments": "", "outputs": 1, "x": 2868.5008697509766, "y": 213.30177307128906, "z": "ea31d3f9.c58ce", "wires": [ [ "1e62939f.a940cc" ] ] }, { "id": "1e62939f.a940cc", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 3127.5011825561523, "y": 212.3020887374878, "z": "ea31d3f9.c58ce", "wires": [ [ "6368cbef.0c0714" ] ] }, { "id": "6368cbef.0c0714", "type": "switchNode", "name": "switch Role", "xml": "\n", "comments": "", "outputs": 1, "x": 3276.501194000244, "y": 213.3019256591797, "z": "ea31d3f9.c58ce", "wires": [ [ "602b9a1d.1f8fa4" ] ] }, { "id": "9865389f.19f678", "type": "set", "name": "set prop.spoke.role", "xml": "\n\n", "comments": "", "x": 3581.501754760742, "y": 210.90183353424072, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "602b9a1d.1f8fa4", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 3412.00101852417, "y": 210.30176544189453, "z": "ea31d3f9.c58ce", "wires": [ [ "9865389f.19f678" ] ] }, { "id": "c78c1bff.286648", "type": "switchNode", "name": "switch spoke", "xml": "\n", "comments": "", "outputs": 1, "x": 1304.000373840332, "y": 357.301700592041, "z": "ea31d3f9.c58ce", "wires": [ [ "45674b4e.4d0684" ] ] }, { "id": "45674b4e.4d0684", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1445.000129699707, "y": 358.30173778533936, "z": "ea31d3f9.c58ce", "wires": [ [ "44bfeb73.8a2794" ] ] }, { "id": "c6974a98.f8b038", "type": "for", "name": "for i.. service-data.vnfs.vnf_length[]", "xml": "\n", "comments": "", "outputs": 1, "x": 1717.5006561279297, "y": 412.3017330169678, "z": "ea31d3f9.c58ce", "wires": [ [ "74ae021f.4e878c" ] ] }, { "id": "74ae021f.4e878c", "type": "block", "name": "block atmoic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2051.166847229004, "y": 356.3016633987427, "z": "ea31d3f9.c58ce", "wires": [ [ "e5568bc9.6c4a18", "10bef5c5.4c95ea", "d2557f72.d615e" ] ] }, { "id": "e5568bc9.6c4a18", "type": "switchNode", "name": "switch ActivateSDWANPortInstance", "xml": "\n \n \n\n", "comments": "", "outputs": 1, "x": 2322.1668853759766, "y": 302.3025498390198, "z": "ea31d3f9.c58ce", "wires": [ [ "730af204.11fefc" ] ] }, { "id": "730af204.11fefc", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2535.166648864746, "y": 303.3025527000427, "z": "ea31d3f9.c58ce", "wires": [ [ "90e7c80d.95a148" ] ] }, { "id": "90e7c80d.95a148", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2684.0003929138184, "y": 305.3017420768738, "z": "ea31d3f9.c58ce", "wires": [ [ "993b2158.a7204" ] ] }, { "id": "993b2158.a7204", "type": "for", "name": "for loop widx - Get wan port ID from servicedata", "xml": "\n \n \n", "comments": "", "outputs": 1, "x": 2957.000343322754, "y": 303.6689600944519, "z": "ea31d3f9.c58ce", "wires": [ [ "a8fb6ac2.404148" ] ] }, { "id": "a8fb6ac2.404148", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 3226.0012702941895, "y": 302.66920614242554, "z": "ea31d3f9.c58ce", "wires": [ [ "f56203d5.44648", "844331fb.21709", "c8a276bd.330448", "878dc9b3.754498" ] ] }, { "id": "f56203d5.44648", "type": "switchNode", "name": "switch transportNetworkName", "xml": "\n", "comments": "", "outputs": 1, "x": 3469.0023040771484, "y": 257.6697793006897, "z": "ea31d3f9.c58ce", "wires": [ [ "c1622f74.5acec" ] ] }, { "id": "c1622f74.5acec", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 3669.0020790100098, "y": 257.6699414253235, "z": "ea31d3f9.c58ce", "wires": [ [ "484c0f29.65918" ] ] }, { "id": "484c0f29.65918", "type": "set", "name": "set prop.spoke.transportNetworkName", "xml": "\n\n", "comments": "", "x": 3896.002815246582, "y": 259.2705235481262, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "44bfeb73.8a2794", "type": "block", "name": "block: atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1197.9694213867188, "y": 668.2706489562988, "z": "ea31d3f9.c58ce", "wires": [ [ "c6974a98.f8b038", "9c710564.f70308", "fa697270.9a4c6", "c9fcea4f.295c68", "f17464be.205b38", "3aec24fb.014f5c", "427fd71a.a641b8", "3da7a5e7.865d8a" ] ] }, { "id": "10bef5c5.4c95ea", "type": "switchNode", "name": "switch ActivateSDWANDeviceInstance", "xml": "\n \n \n\n", "comments": "", "outputs": 1, "x": 2314.5003204345703, "y": 376.3017544746399, "z": "ea31d3f9.c58ce", "wires": [ [ "3b1b3b34.55a514" ] ] }, { "id": "3b1b3b34.55a514", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2533.5000705718994, "y": 377.30173921585083, "z": "ea31d3f9.c58ce", "wires": [ [ "371f6a10.c50d56" ] ] }, { "id": "371f6a10.c50d56", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2684.3340606689453, "y": 383.3009305000305, "z": "ea31d3f9.c58ce", "wires": [ [ "53996c8e.9b7f34" ] ] }, { "id": "53996c8e.9b7f34", "type": "for", "name": "for loop didx - Get device ID from servicedata", "xml": "\n \n \n", "comments": "", "outputs": 1, "x": 2943.334312438965, "y": 385.66822576522827, "z": "ea31d3f9.c58ce", "wires": [ [ "f263db9e.f44158" ] ] }, { "id": "f263db9e.f44158", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 3229.334819793701, "y": 418.66841077804565, "z": "ea31d3f9.c58ce", "wires": [ [ "5249df60.eaa65" ] ] }, { "id": "5249df60.eaa65", "type": "switchNode", "name": "switch deviceId", "xml": "\n", "comments": "", "outputs": 1, "x": 3412.3357315063477, "y": 418.66902112960815, "z": "ea31d3f9.c58ce", "wires": [ [ "78ddeb0.2bf8314" ] ] }, { "id": "78ddeb0.2bf8314", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 3612.335506439209, "y": 418.66918325424194, "z": "ea31d3f9.c58ce", "wires": [ [ "842e3e5c.4cad" ] ] }, { "id": "842e3e5c.4cad", "type": "set", "name": "set prop.spoke.deviceId", "xml": "\n\n", "comments": "", "x": 3807.3361892700195, "y": 415.26976442337036, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "d2557f72.d615e", "type": "switchNode", "name": "switch ActivateSiteInstance", "xml": "\n \n \n\n", "comments": "", "outputs": 1, "x": 2293.5004348754883, "y": 437.30178594589233, "z": "ea31d3f9.c58ce", "wires": [ [ "1c713318.89265d" ] ] }, { "id": "1c713318.89265d", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2527.500072479248, "y": 438.3017258644104, "z": "ea31d3f9.c58ce", "wires": [ [ "ed702e21.07c0b" ] ] }, { "id": "ed702e21.07c0b", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2679.3340606689453, "y": 460.30096197128296, "z": "ea31d3f9.c58ce", "wires": [ [ "8ec1a47c.55b508", "68bdc58a.c36e2c" ] ] }, { "id": "8ec1a47c.55b508", "type": "for", "name": "for loop widx - Get wan site ID from servicedata", "xml": "\n \n \n", "comments": "", "outputs": 1, "x": 2960.3338928222656, "y": 459.668164730072, "z": "ea31d3f9.c58ce", "wires": [ [ "edd6a6a1.36e3f8" ] ] }, { "id": "edd6a6a1.36e3f8", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 3229.334819793701, "y": 458.66841077804565, "z": "ea31d3f9.c58ce", "wires": [ [ "12472c4.5235bd4", "96a23bd5.060968", "af471c20.d9cb7" ] ] }, { "id": "12472c4.5235bd4", "type": "switchNode", "name": "switch siteId", "xml": "\n", "comments": "", "outputs": 1, "x": 3418.33602142334, "y": 508.66908264160156, "z": "ea31d3f9.c58ce", "wires": [ [ "3940a3b0.f06d3c" ] ] }, { "id": "3940a3b0.f06d3c", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 3618.3354988098145, "y": 496.66919708251953, "z": "ea31d3f9.c58ce", "wires": [ [ "bc674b05.78b928" ] ] }, { "id": "bc674b05.78b928", "type": "set", "name": "set prop.spoke.siteId", "xml": "\n\n", "comments": "", "x": 3811.336452484131, "y": 503.26982736587524, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "844331fb.21709", "type": "switchNode", "name": "switch wanPortId", "xml": "\n", "comments": "", "outputs": 1, "x": 3442.5, "y": 294.3018355369568, "z": "ea31d3f9.c58ce", "wires": [ [ "6b71a698.d33fe8" ] ] }, { "id": "6b71a698.d33fe8", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 3672.5000038146973, "y": 294.3019471168518, "z": "ea31d3f9.c58ce", "wires": [ [ "92bbf4e4.47a9a8" ] ] }, { "id": "92bbf4e4.47a9a8", "type": "set", "name": "set prop.spoke.wanPortId", "xml": "\n\n", "comments": "", "x": 3899.5007400512695, "y": 295.90252923965454, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "c8a276bd.330448", "type": "switchNode", "name": "switch providerIpAddress", "xml": "\n", "comments": "", "outputs": 1, "x": 3460.500160217285, "y": 338.30178594589233, "z": "ea31d3f9.c58ce", "wires": [ [ "adb74c6c.ec9a" ] ] }, { "id": "adb74c6c.ec9a", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 3660.4999351501465, "y": 338.3019480705261, "z": "ea31d3f9.c58ce", "wires": [ [ "1ca4e423.ffe23c" ] ] }, { "id": "1ca4e423.ffe23c", "type": "set", "name": "set prop.spoke.providerIpAddress", "xml": "\n\n", "comments": "", "x": 3887.5006713867188, "y": 339.90253019332886, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "878dc9b3.754498", "type": "switchNode", "name": "switch ipAddress", "xml": "\n", "comments": "", "outputs": 1, "x": 3440.499988555908, "y": 377.30182218551636, "z": "ea31d3f9.c58ce", "wires": [ [ "728cf41e.771a8c" ] ] }, { "id": "728cf41e.771a8c", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 3664.4998168945312, "y": 377.3019394874573, "z": "ea31d3f9.c58ce", "wires": [ [ "dd2dd25f.6f587" ] ] }, { "id": "dd2dd25f.6f587", "type": "set", "name": "set prop.spoke.ipAddress", "xml": "\n\n", "comments": "", "x": 3891.5005531311035, "y": 378.90252161026, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "ad0a3663.ab8598", "type": "block", "name": "block: atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1007.9999008178711, "y": 236.50004196166992, "z": "ea31d3f9.c58ce", "wires": [ [ "2acab811.c13ee8", "9692ac6c.5b398", "a88c4be0.5a96c8", "c78c1bff.286648" ] ] }, { "id": "688f910f.1fade", "type": "comment", "name": "get spoke device,site,wanport info", "info": "", "comments": "", "x": 1764.96875, "y": 359.96874713897705, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "74cacf6d.c151", "type": "comment", "name": "Add routes only on activation of spoke Attach site", "info": "", "comments": "", "x": 1425.4999160766602, "y": 303.00006103515625, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "3d6571cf.a0a37e", "type": "comment", "name": "Loop for all the hub allotted resources, get respective service data and get vnfs info", "info": "", "comments": "", "x": 2181.5, "y": 798.500057220459, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "ee5b33c3.334cb", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2945.4998321533203, "y": 1819.000135421753, "z": "ea31d3f9.c58ce", "wires": [ [ "c17add8f.67a28", "229bba7c.508e96" ] ] }, { "id": "f3da0084.2ed3d", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 3012.4998321533203, "y": 1715.0000114440918, "z": "ea31d3f9.c58ce", "wires": [ [ "490623bf.f5be2c" ] ] }, { "id": "c17add8f.67a28", "type": "switchNode", "name": "switch siteId", "xml": "\n", "comments": "", "outputs": 1, "x": 3122.499641418457, "y": 1790.9998016357422, "z": "ea31d3f9.c58ce", "wires": [ [ "dbd1bbe9.db4a58" ] ] }, { "id": "dbd1bbe9.db4a58", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 3273.500011444092, "y": 1789.999984741211, "z": "ea31d3f9.c58ce", "wires": [ [ "5c117986.38cf28" ] ] }, { "id": "5c117986.38cf28", "type": "set", "name": "set prop.hub.siteId", "xml": "\n\n", "comments": "", "x": 3445.5000190734863, "y": 1787.6005535125732, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "74f0a419.baab7c", "type": "switchNode", "name": "switch request-action", "xml": "\n", "comments": "", "outputs": 1, "x": 2598.9997482299805, "y": 2143.0004453659058, "z": "ea31d3f9.c58ce", "wires": [ [ "8a79d931.696778", "c7717ba5.717ea8" ] ] }, { "id": "8a79d931.696778", "type": "outcome", "name": "ActivateSDWANAttachmentInstance", "xml": "", "comments": "", "outputs": 1, "x": 2869.0271530151367, "y": 1954.0314779281616, "z": "ea31d3f9.c58ce", "wires": [ [ "c591ad14.b9dd7" ] ] }, { "id": "a7156e9f.23a1b", "type": "execute", "name": "execute RestApiCallNode underlay route", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 3457.500099182129, "y": 1883.0003824234009, "z": "ea31d3f9.c58ce", "wires": [ [ "3761bb2b.afc314", "4ebe8079.3f11c" ] ] }, { "id": "4ebe8079.3f11c", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 3704.499927520752, "y": 1862.0002145767212, "z": "ea31d3f9.c58ce", "wires": [ [ "78300110.b43b4" ] ] }, { "id": "3761bb2b.afc314", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 3702.4996070861816, "y": 1818.000205039978, "z": "ea31d3f9.c58ce", "wires": [ [ "722e84e9.8ab54c" ] ] }, { "id": "e4f1543b.8ca618", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 3980.500762939453, "y": 1796.0005054473877, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "54f01fb1.eab0c", "type": "set", "name": "Add prop.hub.route", "xml": "\n\n\n\n\n\n\n\n\n", "comments": "", "x": 3392.8337020874023, "y": 1853.666922569275, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "b0e30676.c2a618", "type": "execute", "name": "execute RestApiCallNode underlay route", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 3474.834144592285, "y": 2088.6675004959106, "z": "ea31d3f9.c58ce", "wires": [ [ "ad299c2d.b630e", "51decbd4.61a7c4" ] ] }, { "id": "51decbd4.61a7c4", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 3726.83424949646, "y": 2076.667459964752, "z": "ea31d3f9.c58ce", "wires": [ [ "b3f4e792.e33638" ] ] }, { "id": "ad299c2d.b630e", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 3724.8339290618896, "y": 2032.667450428009, "z": "ea31d3f9.c58ce", "wires": [ [ "e6f4e702.6d5b68" ] ] }, { "id": "c9cf02e0.97d29", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 3879.8350524902344, "y": 1982.6677513122559, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "2726f205.443f6e", "type": "set", "name": "Add prop.spoke.route", "xml": "\n\n\n\n\n \n\n\n\n", "comments": "", "x": 3415.6980171203613, "y": 2051.3642127513885, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "72173b95.fc02b4", "type": "set", "name": "set prop.underlay.routeIds", "xml": "\n\n\n\n\n\n\n\n", "comments": "", "x": 3425.665542602539, "y": 2211.0309886932373, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "c591ad14.b9dd7", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 3104.999671936035, "y": 1951.4999113082886, "z": "ea31d3f9.c58ce", "wires": [ [ "54f01fb1.eab0c", "2726f205.443f6e", "72173b95.fc02b4", "b0e30676.c2a618", "a7156e9f.23a1b", "541b6902.dd6b58", "77b69608.7345f8", "75459c33.78c964", "d5a685ee.a4f698", "f073f95f.7848a8" ] ] }, { "id": "58ea94fe.88fe4c", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 3136.9997749328613, "y": 2593.5002613067627, "z": "ea31d3f9.c58ce", "wires": [ [ "31f4dc9.4459824", "53da0cfd.4e5c84", "7c9721cc.23414", "bd1192a1.70e0b", "de488f87.4a5ee", "cc49685f.b2d5d8", "7b57d512.398e6c" ] ] }, { "id": "c7717ba5.717ea8", "type": "outcome", "name": "DeactivateSDWANAttachmentInstance", "xml": "", "comments": "", "outputs": 1, "x": 2885.4998321533203, "y": 2587.500072479248, "z": "ea31d3f9.c58ce", "wires": [ [ "58ea94fe.88fe4c" ] ] }, { "id": "77b69608.7345f8", "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\n\n", "comments": "", "x": 3430.0318298339844, "y": 2336.0318689346313, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "fd537752.3855d8", "type": "comment", "name": "save hubsiteIds and spoke siteIds for provision", "info": "", "comments": "", "x": 3462.0322036743164, "y": 2292.0317430496216, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "96a23bd5.060968", "type": "switchNode", "name": "switch name", "xml": "\n", "comments": "", "outputs": 1, "x": 3419.031005859375, "y": 458.03125, "z": "ea31d3f9.c58ce", "wires": [ [ "7dad2dd.add95d4" ] ] }, { "id": "7dad2dd.add95d4", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 3619.0307807922363, "y": 458.0314121246338, "z": "ea31d3f9.c58ce", "wires": [ [ "deeabd26.1be7b" ] ] }, { "id": "deeabd26.1be7b", "type": "set", "name": "set prop.spoke.siteName", "xml": "\n\n", "comments": "", "x": 3807.0315856933594, "y": 456.63202571868896, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "229bba7c.508e96", "type": "switchNode", "name": "switch name", "xml": "\n", "comments": "", "outputs": 1, "x": 3121.0310287475586, "y": 1757.5311088562012, "z": "ea31d3f9.c58ce", "wires": [ [ "980f0d4f.cfeac" ] ] }, { "id": "980f0d4f.cfeac", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 3272.0313987731934, "y": 1756.53129196167, "z": "ea31d3f9.c58ce", "wires": [ [ "bc242aa.e7cd1d8" ] ] }, { "id": "bc242aa.e7cd1d8", "type": "set", "name": "set prop.hub.siteName", "xml": "\n\n", "comments": "", "x": 3444.031406402588, "y": 1754.1318607330322, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "962ad5c3.0da1a8", "type": "set", "name": "set prop.provision.siteIds_length=0", "xml": "\n\n\n\n\n", "comments": "", "x": 444.03126525878906, "y": 344.0312547683716, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "ba15291d.217778", "type": "execute", "name": "execute RestApiCallNode site provision urls", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 796.0312957763672, "y": 776.0314712524414, "z": "ea31d3f9.c58ce", "wires": [ [ "863c45b0.87f298", "e8831f50.130f7" ] ] }, { "id": "e8831f50.130f7", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 1060.0315551757812, "y": 798.0315160751343, "z": "ea31d3f9.c58ce", "wires": [ [] ] }, { "id": "863c45b0.87f298", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 1061.0313415527344, "y": 755.0314540863037, "z": "ea31d3f9.c58ce", "wires": [ [ "f11e1d9d.f9f63" ] ] }, { "id": "f11e1d9d.f9f63", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1206.0318641662598, "y": 753.0314922332764, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "da982ae7.c19088", "type": "for", "name": "for providx..prop.provision.siteIds[]", "xml": "\n", "comments": "", "outputs": 1, "x": 437.0312957763672, "y": 548.0312948226929, "z": "ea31d3f9.c58ce", "wires": [ [ "2d873e7f.4b1bc2" ] ] }, { "id": "2d873e7f.4b1bc2", "type": "block", "name": "block atmoic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 461.0313377380371, "y": 758.031268119812, "z": "ea31d3f9.c58ce", "wires": [ [ "50fee5f7.6d296c", "ba15291d.217778", "89a54eb6.e2142" ] ] }, { "id": "50fee5f7.6d296c", "type": "set", "name": "set prop.spoke.hubSiteId, spokeSiteId", "xml": "\n\n\n\n\n\n", "comments": "", "x": 772.0339965820312, "y": 634.6329832077026, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "89a54eb6.e2142", "type": "record", "name": "record provision url response to the file", "xml": "\n\n\n\n\n", "comments": "", "outputs": 1, "x": 768.0313720703125, "y": 870.0313358306885, "z": "ea31d3f9.c58ce", "wires": [ [] ] }, { "id": "94a7fcab.3f18", "type": "block", "name": "block atmoic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2510.031482696533, "y": 1025.0313262939453, "z": "ea31d3f9.c58ce", "wires": [ [ "e9ad6cc9.abb1" ] ] }, { "id": "d063fbaf.bf9cb8", "type": "block", "name": "block atmoic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1990.0311584472656, "y": 588.0313091278076, "z": "ea31d3f9.c58ce", "wires": [ [ "4b3c3b19.b12c44" ] ] }, { "id": "a24202ba.c8c7c", "type": "block", "name": "block atmoic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1934.0313262939453, "y": 679.0312175750732, "z": "ea31d3f9.c58ce", "wires": [ [ "1134832c.af388d", "e393fec8.f9974" ] ] }, { "id": "541b6902.dd6b58", "type": "set", "name": "set prop.underlay.routeIds_length++", "xml": "\n\n\n\n\n\n", "comments": "", "x": 3455.0011596679688, "y": 2247.250065803528, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "75459c33.78c964", "type": "set", "name": "Update prop.provision.siteIds_length", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "x": 3438.5009002685547, "y": 2371.2501611709595, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "68bdc58a.c36e2c", "type": "set", "name": "set prop.spoke.siteidx", "xml": "\n\n\n", "comments": "", "x": 2878.7501907348633, "y": 424.0000286102295, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "8706bf22.e777d", "type": "set", "name": "set underlay route ids to service data", "xml": "\n\n\n\n\n", "comments": "", "x": 1901.0006408691406, "y": 1911.0003986358643, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "546d6174.f994f", "type": "set", "name": "set prop.underlay.routeIds_length=0", "xml": "\n\n\n\n\n", "comments": "", "x": 448.9961242675781, "y": 295.9961128234863, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "de488f87.4a5ee", "type": "for", "name": "for loop uidx - Get route Id from prop.underlay.routeIds", "xml": "\n \n \n", "comments": "", "outputs": 1, "x": 3492.6630325317383, "y": 2466.3295001983643, "z": "ea31d3f9.c58ce", "wires": [ [ "b94dca1b.799658" ] ] }, { "id": "b94dca1b.799658", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 3784.3297271728516, "y": 2466.3295001983643, "z": "ea31d3f9.c58ce", "wires": [ [ "f30a5bcf.2eba98" ] ] }, { "id": "f30a5bcf.2eba98", "type": "switchNode", "name": "switch prop.hub.siteId", "xml": "\n", "comments": "", "outputs": 1, "x": 3973.3297424316406, "y": 2466.3296632766724, "z": "ea31d3f9.c58ce", "wires": [ [ "9e731b50.667688" ] ] }, { "id": "9e731b50.667688", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 4144.329177856445, "y": 2466.329662322998, "z": "ea31d3f9.c58ce", "wires": [ [ "34e4e4e1.bf23ec" ] ] }, { "id": "34e4e4e1.bf23ec", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 4298.329177856445, "y": 2470.3296699523926, "z": "ea31d3f9.c58ce", "wires": [ [ "7f01b9d0.ef7bc8" ] ] }, { "id": "7f01b9d0.ef7bc8", "type": "set", "name": "set prop.hubRouteId prop.spokeRouteId", "xml": "\n\n\n", "comments": "", "x": 4384.32918548584, "y": 2542.32967376709, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "af471c20.d9cb7", "type": "switchNode", "name": "switch underlayRouteIds", "xml": "\n", "comments": "", "outputs": 1, "x": 3423.99609375, "y": 562.6627197265625, "z": "ea31d3f9.c58ce", "wires": [ [ "3c3b3752.f46c08" ] ] }, { "id": "3c3b3752.f46c08", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 3623.9955711364746, "y": 550.6628341674805, "z": "ea31d3f9.c58ce", "wires": [ [ "981ac32e.958e4" ] ] }, { "id": "a4a704fd.090458", "type": "set", "name": "set prop.underlay.routeIds", "xml": "\n\n", "comments": "", "x": 3994.996971130371, "y": 550.2635440826416, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "3da7a5e7.865d8a", "type": "switchNode", "name": "switch request-action", "xml": "\n", "comments": "", "outputs": 1, "x": 1110.9963836669922, "y": 2002.329628944397, "z": "ea31d3f9.c58ce", "wires": [ [ "1f1cb6fc.4dc6b9", "a206c36a.2d39f" ] ] }, { "id": "1f1cb6fc.4dc6b9", "type": "outcome", "name": "ActivateSDWANAttachmentInstance", "xml": "", "comments": "", "outputs": 1, "x": 1374.9964294433594, "y": 1957.329626083374, "z": "ea31d3f9.c58ce", "wires": [ [ "3f4012bd.4d4d2e" ] ] }, { "id": "3f4012bd.4d4d2e", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1616.9689407348633, "y": 1953.7983770370483, "z": "ea31d3f9.c58ce", "wires": [ [ "8706bf22.e777d", "cb472a7b.dc7d38", "879af91.a400b08", "93dcb194.e6988" ] ] }, { "id": "1834840f.e68edc", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1620.9689292907715, "y": 2037.7985458374023, "z": "ea31d3f9.c58ce", "wires": [ [ "92497dd5.46538" ] ] }, { "id": "a206c36a.2d39f", "type": "outcome", "name": "DeactivateSDWANAttachmentInstance", "xml": "", "comments": "", "outputs": 1, "x": 1372.4690704345703, "y": 2039.7983827590942, "z": "ea31d3f9.c58ce", "wires": [ [ "1834840f.e68edc" ] ] }, { "id": "92497dd5.46538", "type": "set", "name": "set input parameter length -1", "xml": "\n\n\n\n\n\n", "comments": "", "x": 1849.6626281738281, "y": 2036.32963180542, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "9af7165e.2d5758", "type": "comment", "name": "Get route routes IDs", "info": "", "comments": "", "x": 3392.3294982910156, "y": 2427.6627368927, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "cb472a7b.dc7d38", "type": "set", "name": "set underlay route ids to service data", "xml": "\n\n\n\n\n\n", "comments": "", "x": 1890.329574584961, "y": 1985.662672996521, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "879af91.a400b08", "type": "for", "name": "for jidx paramidx - Get topology from servicedata", "xml": "\n \n \n", "comments": "", "outputs": 1, "x": 1979.3294982910156, "y": 1532.329444885254, "z": "ea31d3f9.c58ce", "wires": [ [ "cdfd8790.f983d8" ] ] }, { "id": "3e5fe1f4.4771be", "type": "execute", "name": "execute concat", "xml": "\n \n \n \n\n\n", "comments": "", "outputs": 1, "x": 2163.329833984375, "y": 1665.9966478347778, "z": "ea31d3f9.c58ce", "wires": [ [] ] }, { "id": "328df7f4.d9d5f8", "type": "execute", "name": "execute concat", "xml": "\n \n \n \n\n\n", "comments": "", "outputs": 1, "x": 2173.3298263549805, "y": 1618.6629858016968, "z": "ea31d3f9.c58ce", "wires": [ [] ] }, { "id": "cdfd8790.f983d8", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1886.329517364502, "y": 1717.6627750396729, "z": "ea31d3f9.c58ce", "wires": [ [ "328df7f4.d9d5f8", "3e5fe1f4.4771be", "413e65c4.2ce4ac", "ce595947.f7b1e8", "41c2276f.7ab7c8", "a2941eac.dd47a" ] ] }, { "id": "413e65c4.2ce4ac", "type": "execute", "name": "execute concat", "xml": "\n \n \n \n\n\n", "comments": "", "outputs": 1, "x": 2170.3295364379883, "y": 1705.6628789901733, "z": "ea31d3f9.c58ce", "wires": [ [] ] }, { "id": "ce595947.f7b1e8", "type": "execute", "name": "execute concat", "xml": "\n \n \n \n\n\n", "comments": "", "outputs": 1, "x": 2170.3295364379883, "y": 1741.6628789901733, "z": "ea31d3f9.c58ce", "wires": [ [] ] }, { "id": "41c2276f.7ab7c8", "type": "execute", "name": "execute concat", "xml": "\n \n \n \n\n\n", "comments": "", "outputs": 1, "x": 2163.3295364379883, "y": 1781.9962530136108, "z": "ea31d3f9.c58ce", "wires": [ [] ] }, { "id": "a2941eac.dd47a", "type": "execute", "name": "execute concat", "xml": "\n \n \n \n\n\n", "comments": "", "outputs": 1, "x": 2166.329475402832, "y": 1836.6627922058105, "z": "ea31d3f9.c58ce", "wires": [ [] ] }, { "id": "93dcb194.e6988", "type": "set", "name": "Set tmp.routeString", "xml": "\n\n\n", "comments": "", "x": 1883.3294982910156, "y": 1473.6627759933472, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "981ac32e.958e4", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 3771.9963188171387, "y": 596.9961318969727, "z": "ea31d3f9.c58ce", "wires": [ [ "a4a704fd.090458", "474a807.5a3348" ] ] }, { "id": "474a807.5a3348", "type": "execute", "name": "execute split |", "xml": "\n\n\n\n", "comments": "", "outputs": 1, "x": 3949.9963302612305, "y": 616.9961318969727, "z": "ea31d3f9.c58ce", "wires": [ [ "5c929964.4b8ce8", "acedb986.795fa8" ] ] }, { "id": "acedb986.795fa8", "type": "failure", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 4126.9963455200195, "y": 597.9961309432983, "z": "ea31d3f9.c58ce", "wires": [ [ "96ac3ef1.0da81" ] ] }, { "id": "5c929964.4b8ce8", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 4115.9963455200195, "y": 645.996132850647, "z": "ea31d3f9.c58ce", "wires": [ [ "90fc0aec.112218" ] ] }, { "id": "62992e2c.a242f", "type": "set", "name": "set ipAddress prefixLength", "xml": "\n\n\n", "comments": "", "x": 5312.997211456299, "y": 531.9963731765747, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "90fc0aec.112218", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 4245.996349334717, "y": 645.996132850647, "z": "ea31d3f9.c58ce", "wires": [ [] ] }, { "id": "96ac3ef1.0da81", "type": "for", "name": "for loop ridx ", "xml": "\n \n \n", "comments": "", "outputs": 1, "x": 4272.996032714844, "y": 595.9961309432983, "z": "ea31d3f9.c58ce", "wires": [ [ "94fe12e4.b3272" ] ] }, { "id": "94fe12e4.b3272", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 4451.329044342041, "y": 592.9961318969727, "z": "ea31d3f9.c58ce", "wires": [ [ "bc1b307a.e9066" ] ] }, { "id": "bc1b307a.e9066", "type": "execute", "name": "execute split ,", "xml": "\n\n\n\n", "comments": "", "outputs": 1, "x": 4626.329055786133, "y": 591.996129989624, "z": "ea31d3f9.c58ce", "wires": [ [ "479c7699.d03df8", "992b4620.1b2238" ] ] }, { "id": "479c7699.d03df8", "type": "failure", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 4783.32905960083, "y": 568.9961376190186, "z": "ea31d3f9.c58ce", "wires": [ [ "bee08918.a3dfe8" ] ] }, { "id": "992b4620.1b2238", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 4772.32905960083, "y": 616.9961395263672, "z": "ea31d3f9.c58ce", "wires": [ [ "1506d77b.2e8159" ] ] }, { "id": "1506d77b.2e8159", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 4902.329063415527, "y": 616.9961395263672, "z": "ea31d3f9.c58ce", "wires": [ [] ] }, { "id": "16eea4b9.2fb1ab", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 5105.661590576172, "y": 547.9962916374207, "z": "ea31d3f9.c58ce", "wires": [ [ "62992e2c.a242f", "2107fdbe.561112" ] ] }, { "id": "2107fdbe.561112", "type": "set", "name": "set ipAddress prefixLength", "xml": "\n\n", "comments": "", "x": 5305.329250335693, "y": 573.996169090271, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "bee08918.a3dfe8", "type": "switchNode", "name": "switch prop.underlay.routeIdsValues_length", "xml": "\n", "comments": "", "outputs": 1, "x": 4981.663215637207, "y": 449.9961624145508, "z": "ea31d3f9.c58ce", "wires": [ [ "17f5531.c69dcad", "9cd3fd30.65304" ] ] }, { "id": "17f5531.c69dcad", "type": "outcome", "name": "3", "xml": "\n", "comments": "", "outputs": 1, "x": 5216.632148742676, "y": 486.9648895263672, "z": "ea31d3f9.c58ce", "wires": [ [ "16eea4b9.2fb1ab" ] ] }, { "id": "9cd3fd30.65304", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 5233.663074493408, "y": 368.99610328674316, "z": "ea31d3f9.c58ce", "wires": [ [ "ae2b29d0.cafa18" ] ] }, { "id": "ae2b29d0.cafa18", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 5394.66259765625, "y": 408.99609375, "z": "ea31d3f9.c58ce", "wires": [ [] ] }, { "id": "c6ccd14a.96548", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n \n", "comments": "", "x": 2874.002540588379, "y": 982.3028502464294, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "92d1a6eb.dd91a8", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2860.0020484924316, "y": 930.9692711830139, "z": "ea31d3f9.c58ce", "wires": [ [] ] }, { "id": "d5a685ee.a4f698", "type": "set", "name": "hardcode hub route", "xml": "\n\n\n\n\n", "comments": "", "x": 3394.0038681030273, "y": 1822.0039892196655, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "f073f95f.7848a8", "type": "set", "name": "hardcode spoke route", "xml": "\n\n", "comments": "", "x": 3409.004409790039, "y": 2020.0039653778076, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "cc49685f.b2d5d8", "type": "set", "name": "hardcode hub route", "xml": "\n\n\n\n\n", "comments": "", "x": 3425.3335723876953, "y": 2496.000065803528, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "7b57d512.398e6c", "type": "set", "name": "hardcode spoke route", "xml": "\n\n", "comments": "", "x": 3450.333251953125, "y": 2608, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "ab1ef1f9.e54ea", "type": "block", "name": "block atmoic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 3461.0041694641113, "y": 1227.5040493011475, "z": "ea31d3f9.c58ce", "wires": [ [ "564bf8e9.5ea9e8", "273881de.ee082e" ] ] }, { "id": "896da4ec.a5e9f8", "type": "block", "name": "block atmoic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 3791.2541217803955, "y": 1395.0040378570557, "z": "ea31d3f9.c58ce", "wires": [ [ "9ec9fc87.5d09e" ] ] }, { "id": "9ec9fc87.5d09e", "type": "switchNode", "name": "switch transportNetworkName==prop.spoke.transportNetworkName", "xml": "\n", "comments": "", "outputs": 1, "x": 4124.004144668579, "y": 1397.004313468933, "z": "ea31d3f9.c58ce", "wires": [ [ "3f80722d.d94e9e" ] ] }, { "id": "3f80722d.d94e9e", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 3991.0055894851685, "y": 1493.0042219161987, "z": "ea31d3f9.c58ce", "wires": [ [ "473f2da5.df7aa4" ] ] }, { "id": "473f2da5.df7aa4", "type": "block", "name": "block atmoic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 4146.755597114563, "y": 1485.0042219161987, "z": "ea31d3f9.c58ce", "wires": [ [ "662f75a8.5b0d6c", "d2c57b63.a72078" ] ] }, { "id": "d2c57b63.a72078", "type": "set", "name": "set tmp.wanportvidx ", "xml": "\n\n\n", "comments": "", "x": 4324.2565660476685, "y": 1461.004343032837, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "f5ec2256.55a71", "type": "for", "name": "for loop wanportvidx - Get wan port ID from servicedata", "xml": "\n \n \n", "comments": "", "outputs": 1, "x": 2732.5042877197266, "y": 1673.0043449401855, "z": "ea31d3f9.c58ce", "wires": [ [ "a355c702.37b978" ] ] }, { "id": "a355c702.37b978", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 3035.5056915283203, "y": 1631.004680633545, "z": "ea31d3f9.c58ce", "wires": [ [ "4841755.e7a768c", "7ff6e951.a32b78", "803020cc.5b481" ] ] }, { "id": "4841755.e7a768c", "type": "switchNode", "name": "switch wanPortId", "xml": "\n", "comments": "", "outputs": 1, "x": 3234.8393783569336, "y": 1588.0048933029175, "z": "ea31d3f9.c58ce", "wires": [ [ "2cb90465.e59cdc" ] ] }, { "id": "2cb90465.e59cdc", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 3395.8397064208984, "y": 1589.00497341156, "z": "ea31d3f9.c58ce", "wires": [ [ "406b564f.be2668" ] ] }, { "id": "406b564f.be2668", "type": "set", "name": "set prop.hub.wanPortId", "xml": "\n\n", "comments": "", "x": 3585.8401679992676, "y": 1588.6052494049072, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "7ff6e951.a32b78", "type": "switchNode", "name": "switch providerIpAddress", "xml": "\n", "comments": "", "outputs": 1, "x": 3256.367862701416, "y": 1625.2011981010437, "z": "ea31d3f9.c58ce", "wires": [ [ "de4c4cc0.abc22" ] ] }, { "id": "de4c4cc0.abc22", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 3432.3688468933105, "y": 1625.2013206481934, "z": "ea31d3f9.c58ce", "wires": [ [ "409dc8c5.eeb998" ] ] }, { "id": "409dc8c5.eeb998", "type": "set", "name": "set prop.hub.providerIpAddress", "xml": "\n\n", "comments": "", "x": 3634.368885040283, "y": 1625.8012409210205, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "803020cc.5b481", "type": "switchNode", "name": "switch ipAddress", "xml": "\n", "comments": "", "outputs": 1, "x": 3228.867944717407, "y": 1662.701283454895, "z": "ea31d3f9.c58ce", "wires": [ [ "25fd164b.117a3a" ] ] }, { "id": "25fd164b.117a3a", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 3432.868885040283, "y": 1662.701235294342, "z": "ea31d3f9.c58ce", "wires": [ [ "10522aa8.f003c5" ] ] }, { "id": "10522aa8.f003c5", "type": "set", "name": "set prop.hub.ipAddress", "xml": "\n\n", "comments": "", "x": 3627.8688888549805, "y": 1662.3012108802795, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "722e84e9.8ab54c", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 3837.254180908203, "y": 1815.2539224624634, "z": "ea31d3f9.c58ce", "wires": [ [] ] }, { "id": "78300110.b43b4", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 3849.25390625, "y": 1859.25390625, "z": "ea31d3f9.c58ce", "wires": [ [] ] }, { "id": "e6f4e702.6d5b68", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 3860.2543621063232, "y": 2026.2540483474731, "z": "ea31d3f9.c58ce", "wires": [ [] ] }, { "id": "b3f4e792.e33638", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 3861.254119873047, "y": 2073.2540493011475, "z": "ea31d3f9.c58ce", "wires": [ [] ] }, { "id": "7b4a5da7.783c64", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 3852.2542991638184, "y": 2554.0039710998535, "z": "ea31d3f9.c58ce", "wires": [ [] ] }, { "id": "4079a316.d4531c", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 3853.254056930542, "y": 2601.003972053528, "z": "ea31d3f9.c58ce", "wires": [ [] ] }, { "id": "2a5c753b.10964a", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 4005.336700439453, "y": 2555.9710121154785, "z": "ea31d3f9.c58ce", "wires": [] }, { "id": "ae6e8595.d05358", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 3852.25390625, "y": 2645.00390625, "z": "ea31d3f9.c58ce", "wires": [ [] ] }, { "id": "a38da1c5.3c2df", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 3853.2536640167236, "y": 2692.0039072036743, "z": "ea31d3f9.c58ce", "wires": [ [] ] } ]