[ { "id": "a0039ac7.2c7d88", "type": "method", "name": "sdwan-vf-operation-site-activate", "xml": "\n", "comments": "", "outputs": 1, "x": 265.00390625, "y": 238.9999939496629, "z": "85485d1c.bbd62", "wires": [ [ "c22d3a60.7ddaa8" ] ] }, { "id": "27e9fc06.1c68a4", "type": "service-logic", "name": "GENERIC-RESOURCE-API ${project.version}", "module": "GENERIC-RESOURCE-API", "version": "${project.version}", "comments": "", "xml": "", "outputs": 1, "x": 266.00390625, "y": 138.9999939496629, "z": "85485d1c.bbd62", "wires": [ [ "a0039ac7.2c7d88" ] ] }, { "id": "d5e4bca4.474e7", "type": "dgstart", "name": "DGSTART", "outputs": 1, "x": 107.50391006469727, "y": 52.999998688697815, "z": "85485d1c.bbd62", "wires": [ [ "27e9fc06.1c68a4" ] ] }, { "id": "c22d3a60.7ddaa8", "type": "block", "name": "block : atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 321.00390625, "y": 394.9999939496629, "z": "85485d1c.bbd62", "wires": [ [ "f1b7432.96d6cc", "4d30068b.cb8248", "a5fa8ed1.f351a", "81999ef9.7a265", "9e668e87.35152", "c78d235f.ab387", "887e324d.70c37", "bbecde3.6ca5b2", "4023f188.867be", "536ee31e.2dbb9c", "8570b81.0d01d48", "a5bc4e1c.1202d", "d5f9133b.45a0f" ] ] }, { "id": "f1b7432.96d6cc", "type": "set", "name": "set prop.site.sdwan false", "xml": "\n\n\n", "comments": "", "x": 712.5078086853027, "y": 178.0039163827896, "z": "85485d1c.bbd62", "wires": [] }, { "id": "a5fa8ed1.f351a", "type": "for", "name": "for each vnf", "xml": "\n", "comments": "", "outputs": 1, "x": 674.0078315734863, "y": 296.00391483306885, "z": "85485d1c.bbd62", "wires": [ [ "35074f40.98b9b" ] ] }, { "id": "35074f40.98b9b", "type": "switchNode", "name": "switch this vnf-id == input vnf-id", "xml": " \n", "comments": "", "outputs": 1, "x": 927.0079040527344, "y": 287.67056906223297, "z": "85485d1c.bbd62", "wires": [ [ "501cda7c.262744" ] ] }, { "id": "58a08191.616f9", "type": "set", "name": "set vnf-index", "xml": "\n\n", "comments": "", "x": 1298.6743927001953, "y": 289.6705719232559, "z": "85485d1c.bbd62", "wires": [] }, { "id": "501cda7c.262744", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1145.341220855713, "y": 289.67055094242096, "z": "85485d1c.bbd62", "wires": [ [ "58a08191.616f9" ] ] }, { "id": "4d30068b.cb8248", "type": "switchNode", "name": "switch vnf_length", "xml": "\n", "comments": "", "outputs": 1, "x": 689.4284057617188, "y": 244.5077749490738, "z": "85485d1c.bbd62", "wires": [ [ "7bd5f4ce.76777c" ] ] }, { "id": "7bd5f4ce.76777c", "type": "other", "name": "NULL", "xml": "\n", "comments": "", "outputs": 1, "x": 876.095085144043, "y": 243.84107267856598, "z": "85485d1c.bbd62", "wires": [ [ "7b0f629c.5a07fc" ] ] }, { "id": "7b0f629c.5a07fc", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1057.7617111206055, "y": 243.84107267856598, "z": "85485d1c.bbd62", "wires": [] }, { "id": "a81de15.ac0e82", "type": "for", "name": "for each existing vf-index", "xml": "\n", "comments": "", "outputs": 1, "x": 1328.0078201293945, "y": 459.0038963262923, "z": "85485d1c.bbd62", "wires": [ [ "7b05dd5f.af6d94" ] ] }, { "id": "25ac2ea9.1fa992", "type": "switchNode", "name": "switch vf-module-id found", "xml": "\n", "comments": "", "outputs": 1, "x": 1603.2935409545898, "y": 458.5753990118392, "z": "85485d1c.bbd62", "wires": [ [ "ac802e50.23445" ] ] }, { "id": "50990900.1946a8", "type": "set", "name": "set vf-module-length", "xml": "\n\n\n\n", "comments": "", "x": 1314.579444885254, "y": 422.781782746315, "z": "85485d1c.bbd62", "wires": [] }, { "id": "39f64e9a.4cae32", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1118.8808403015137, "y": 436.1626678411849, "z": "85485d1c.bbd62", "wires": [ [ "a81de15.ac0e82", "50990900.1946a8", "6433e94c.b18f68" ] ] }, { "id": "c412715b.35f49", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 974.523796081543, "y": 436.2261558477767, "z": "85485d1c.bbd62", "wires": [ [ "39f64e9a.4cae32" ] ] }, { "id": "81999ef9.7a265", "type": "switchNode", "name": "switch vf-modules.vf-module_length", "xml": "\n", "comments": "", "outputs": 1, "x": 738.523777961731, "y": 363.22616827487946, "z": "85485d1c.bbd62", "wires": [ [ "c412715b.35f49", "c7523305.ecaa5", "87107744.973288" ] ] }, { "id": "c7523305.ecaa5", "type": "outcome", "name": "0", "xml": "\n", "comments": "", "outputs": 1, "x": 980.0078144073486, "y": 335.0038973093033, "z": "85485d1c.bbd62", "wires": [ [ "c77fefd.df0431" ] ] }, { "id": "87107744.973288", "type": "other", "name": "Null", "xml": "\n", "comments": "", "outputs": 1, "x": 982.0390033721924, "y": 372.03520834445953, "z": "85485d1c.bbd62", "wires": [ [ "c77fefd.df0431" ] ] }, { "id": "c77fefd.df0431", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1139.8165187835693, "y": 352.9241567850113, "z": "85485d1c.bbd62", "wires": [] }, { "id": "ac802e50.23445", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1807.0077819824219, "y": 457.003905415535, "z": "85485d1c.bbd62", "wires": [ [ "62b8a185.3b8a2" ] ] }, { "id": "62b8a185.3b8a2", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 1977.3510780334473, "y": 461.0900408029556, "z": "85485d1c.bbd62", "wires": [ [ "d0800c3d.a149d", "c55d54ef.05e398", "934abf0d.9c8f4" ] ] }, { "id": "d0800c3d.a149d", "type": "set", "name": "set tmp.vidx and ctx.vnf-data", "xml": "\n\n\n", "comments": "", "x": 2219.2377700805664, "y": 431.43245470523834, "z": "85485d1c.bbd62", "wires": [] }, { "id": "c55d54ef.05e398", "type": "set", "name": "set vf-module-request-input.", "xml": "\n\n\n", "comments": "", "x": 2222.6840286254883, "y": 476.0900937318802, "z": "85485d1c.bbd62", "wires": [] }, { "id": "934abf0d.9c8f4", "type": "call", "name": "call sdwan-get-vf-module-site-param", "xml": "\n", "comments": "", "outputs": 1, "x": 2252.324935913086, "y": 519.5395450592041, "z": "85485d1c.bbd62", "wires": [ [] ] }, { "id": "e56ea967.0d64a8", "type": "switchNode", "name": "switch ActivateSDWANDeviceInstance", "xml": "\n ", "comments": "", "outputs": 1, "x": 1635.5079193115234, "y": 525.0039278268814, "z": "85485d1c.bbd62", "wires": [ [ "7a4ace3.f95e93" ] ] }, { "id": "7a4ace3.f95e93", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1864.507667541504, "y": 524.0039049386978, "z": "85485d1c.bbd62", "wires": [ [ "7ca1b13d.5aea" ] ] }, { "id": "7ca1b13d.5aea", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 1819.920581817627, "y": 586.0000458955765, "z": "85485d1c.bbd62", "wires": [ [ "3b148280.e830fe" ] ] }, { "id": "3b148280.e830fe", "type": "for", "name": "for loop deviceidx - Get deviceId from servicedata", "xml": "", "comments": "", "outputs": 1, "x": 2101.2543354034424, "y": 596.0000663995743, "z": "85485d1c.bbd62", "wires": [ [ "c30dfd09.aeccc" ] ] }, { "id": "c30dfd09.aeccc", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2217.254119873047, "y": 647.0002518892288, "z": "85485d1c.bbd62", "wires": [ [ "81c39ef4.3376e" ] ] }, { "id": "81c39ef4.3376e", "type": "switchNode", "name": "switch deviceId", "xml": "\n ", "comments": "", "outputs": 1, "x": 2377.2543754577637, "y": 649.0001050233841, "z": "85485d1c.bbd62", "wires": [ [ "52222e22.86b7" ] ] }, { "id": "52222e22.86b7", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2529.2545471191406, "y": 648.0001050233841, "z": "85485d1c.bbd62", "wires": [ [ "86b2a0ab.20409" ] ] }, { "id": "86b2a0ab.20409", "type": "set", "name": "set deviceId", "xml": "\n\n\n", "comments": "", "x": 2669.254550933838, "y": 647.6000596284866, "z": "85485d1c.bbd62", "wires": [] }, { "id": "7b05dd5f.af6d94", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 1390.5078125, "y": 504.00390589237213, "z": "85485d1c.bbd62", "wires": [ [ "25ac2ea9.1fa992", "e56ea967.0d64a8" ] ] }, { "id": "b93cb489.5e32b8", "type": "comment", "name": "Get devices", "info": "", "comments": "", "x": 1627.5078125, "y": 495.00390589237213, "z": "85485d1c.bbd62", "wires": [] }, { "id": "6433e94c.b18f68", "type": "set", "name": "set prop.site.deviceId_length", "xml": "\n\n", "comments": "", "x": 1341.0078125, "y": 387.00390589237213, "z": "85485d1c.bbd62", "wires": [] }, { "id": "9e668e87.35152", "type": "execute", "name": "execute Properties", "xml": "\n \n \n", "comments": "", "outputs": 1, "x": 690.0078582763672, "y": 452.00391256809235, "z": "85485d1c.bbd62", "wires": [ [] ] }, { "id": "b14da696.802af8", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 1486.0043601989746, "y": 868.7539058923721, "z": "85485d1c.bbd62", "wires": [ [ "715b60bd.6f62c" ] ] }, { "id": "715b60bd.6f62c", "type": "set", "name": "set controller data", "xml": "\n\n\n\n", "comments": "", "x": 1674.5044555664062, "y": 862.7539155483246, "z": "85485d1c.bbd62", "wires": [] }, { "id": "cda4261b.975c18", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, "x": 1489.4953269958496, "y": 916.3279415369034, "z": "85485d1c.bbd62", "wires": [ [ "5d5ef9c3.e66358" ] ] }, { "id": "5d5ef9c3.e66358", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "outputs": 1, "x": 1481.8283348083496, "y": 957.6612545251846, "z": "85485d1c.bbd62", "wires": [ [ "10b242b1.35021d" ] ] }, { "id": "10b242b1.35021d", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n\n", "comments": "", "outputs": 1, "x": 1219.0042724609375, "y": 916.7539117336273, "z": "85485d1c.bbd62", "wires": [ [ "b14da696.802af8", "cda4261b.975c18", "15ce450b.53d72b" ] ] }, { "id": "ef61bc2f.e72cb", "type": "execute", "name": "execute RestApiCallNode Create SDWAN site", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 1246.5043334960938, "y": 1106.7538763284683, "z": "85485d1c.bbd62", "wires": [ [ "1bbca445.afcd4c", "dd7810f4.d9827" ] ] }, { "id": "4382528a.72cf7c", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 1662.1709098815918, "y": 1075.642806649208, "z": "85485d1c.bbd62", "wires": [ [] ] }, { "id": "e4a16c90.a1073", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1647.615493774414, "y": 1135.198154091835, "z": "85485d1c.bbd62", "wires": [] }, { "id": "dd7810f4.d9827", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 1502.615484237671, "y": 1132.1981521844864, "z": "85485d1c.bbd62", "wires": [ [ "e4a16c90.a1073" ] ] }, { "id": "1bbca445.afcd4c", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 1503.0598220825195, "y": 1075.8649603128433, "z": "85485d1c.bbd62", "wires": [ [ "4382528a.72cf7c" ] ] }, { "id": "28c40fdc.d8ec", "type": "execute", "name": "execute RestApiCallNode Get token", "xml": "\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 1220.2583694458008, "y": 1009.7579724788666, "z": "85485d1c.bbd62", "wires": [ [ "745b648e.d351dc", "de446705.d7ff98" ] ] }, { "id": "745b648e.d351dc", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 1485.2582511901855, "y": 994.7578675746918, "z": "85485d1c.bbd62", "wires": [ [ "7f55ea12.ac1244" ] ] }, { "id": "de446705.d7ff98", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 1477.5082511901855, "y": 1036.400750875473, "z": "85485d1c.bbd62", "wires": [ [ "a8040204.8ea56" ] ] }, { "id": "a8040204.8ea56", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1603.5917472839355, "y": 1036.6467835903168, "z": "85485d1c.bbd62", "wires": [ [] ] }, { "id": "7f55ea12.ac1244", "type": "set", "name": "set token-id", "xml": "\n\n", "comments": "", "x": 1622.2582511901855, "y": 994.7578675746918, "z": "85485d1c.bbd62", "wires": [] }, { "id": "d0e6b60f.9d8498", "type": "comment", "name": "tmp.thirdparty-sdnc-id is hardcoded value?", "info": "", "comments": "", "x": 1267.508171081543, "y": 870.7578836679459, "z": "85485d1c.bbd62", "wires": [] }, { "id": "f3e2e0b8.aff3b", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 943.5041809082031, "y": 845.4204959869385, "z": "85485d1c.bbd62", "wires": [ [ "fdcbc7bd.a13598", "49ca1a6b.47d2b4", "e838c5da.a148e8", "28c40fdc.d8ec", "e1072ab4.4292c8", "ef61bc2f.e72cb" ] ] }, { "id": "fdcbc7bd.a13598", "type": "set", "name": "set siteId", "xml": "\n\n\n", "comments": "", "x": 1160.5041847229004, "y": 831.753604888916, "z": "85485d1c.bbd62", "wires": [] }, { "id": "47307892.eb80f8", "type": "for", "name": "for cpidx..prop.site.controlpoints", "xml": "\n\t\t\t\t\t\t\t\t\t\n", "comments": "", "outputs": 1, "x": 1236.504379272461, "y": 781.7848201990128, "z": "85485d1c.bbd62", "wires": [ [ "6433e5be.2bdc0c" ] ] }, { "id": "6433e5be.2bdc0c", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 1443.50390625, "y": 711.7847648859024, "z": "85485d1c.bbd62", "wires": [ [ "9d85c0cd.f74a", "6f1b0298.c2014c" ] ] }, { "id": "dddca1ae.0aa96", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 1885.500316619873, "y": 705.7535845041275, "z": "85485d1c.bbd62", "wires": [ [ "5f3e8ab6.51b064" ] ] }, { "id": "26937b29.826f14", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 1887.7501602172852, "y": 744.3964706659317, "z": "85485d1c.bbd62", "wires": [ [ "a5bc087a.7a1fa8" ] ] }, { "id": "9d85c0cd.f74a", "type": "set", "name": "set prop.controlPtId", "xml": "\n\n\n", "comments": "", "x": 1632.5000076293945, "y": 684.7535415887833, "z": "85485d1c.bbd62", "wires": [] }, { "id": "e1072ab4.4292c8", "type": "call", "name": "call sdwan-get-tenant-auth", "xml": "\n", "comments": "", "outputs": 1, "x": 1198.7894897460938, "y": 1054.7535101175308, "z": "85485d1c.bbd62", "wires": [ [] ] }, { "id": "49ca1a6b.47d2b4", "type": "switchNode", "name": "switch prop.site.controlpoints ", "xml": "\n\n", "comments": "", "outputs": 1, "x": 1093.7894897460938, "y": 664.7535101175308, "z": "85485d1c.bbd62", "wires": [ [ "1e813b9c.d1bb24", "5e874fed.35cf3" ] ] }, { "id": "5e874fed.35cf3", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 1281.7894897460938, "y": 686.7535101175308, "z": "85485d1c.bbd62", "wires": [ [ "8ca15cae.d821b" ] ] }, { "id": "85141f25.2d6e", "type": "comment", "name": "should be null in request", "info": "", "comments": "", "x": 1330.5040740966797, "y": 824.7535778284073, "z": "85485d1c.bbd62", "wires": [] }, { "id": "8ca15cae.d821b", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 1090.7933807373047, "y": 729.7574154138565, "z": "85485d1c.bbd62", "wires": [ [ "47307892.eb80f8", "5fd810ad.7ad7a" ] ] }, { "id": "5fd810ad.7ad7a", "type": "set", "name": "set template file spoke", "xml": "\n\n\n", "comments": "", "x": 1269.7933959960938, "y": 748.7574754953384, "z": "85485d1c.bbd62", "wires": [] }, { "id": "1e813b9c.d1bb24", "type": "other", "name": "Null", "xml": "\n", "comments": "", "outputs": 1, "x": 1289.7894897460938, "y": 637.7535101175308, "z": "85485d1c.bbd62", "wires": [ [ "41d50201.d63e2c" ] ] }, { "id": "41d50201.d63e2c", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1427.7894897460938, "y": 639.7535101175308, "z": "85485d1c.bbd62", "wires": [ [ "aa5fa9ea.6d1fe8" ] ] }, { "id": "aa5fa9ea.6d1fe8", "type": "set", "name": "set template file hub", "xml": "\n\n\n", "comments": "", "x": 1596.7934875488281, "y": 642.7574306726456, "z": "85485d1c.bbd62", "wires": [] }, { "id": "c26bdc53.ff98c", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 775.5039558410645, "y": 825.4201318025589, "z": "85485d1c.bbd62", "wires": [ [ "f3e2e0b8.aff3b" ] ] }, { "id": "c78d235f.ab387", "type": "switchNode", "name": "switch prop.site.sdwan", "xml": "\n", "comments": "", "outputs": 1, "x": 681.5039215087891, "y": 708.4201065301895, "z": "85485d1c.bbd62", "wires": [ [ "c26bdc53.ff98c" ] ] }, { "id": "5f3e8ab6.51b064", "type": "set", "name": "set siteId in control point", "xml": "\n\n\n", "comments": "", "x": 2064.1666679382324, "y": 706.75370657444, "z": "85485d1c.bbd62", "wires": [] }, { "id": "a5bc087a.7a1fa8", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2028.1665077209473, "y": 742.7535272836685, "z": "85485d1c.bbd62", "wires": [ [] ] }, { "id": "bbecde3.6ca5b2", "type": "returnSuccess", "name": "return success", "xml": "\n\n\n\n", "comments": "", "x": 675.5079383850098, "y": 1382.2541280984879, "z": "85485d1c.bbd62", "wires": [] }, { "id": "887e324d.70c37", "type": "set", "name": "set siteId to service data", "xml": "\n\n\n", "comments": "", "x": 713.1783866882324, "y": 1060.9140511751175, "z": "85485d1c.bbd62", "wires": [] }, { "id": "4023f188.867be", "type": "set", "name": "set vf-module-id and vf-module-object-path", "xml": "\n\n\n\n", "comments": "", "x": 763.5078964233398, "y": 1211.7539602518082, "z": "85485d1c.bbd62", "wires": [] }, { "id": "8570b81.0d01d48", "type": "set", "name": "set vf-module-level-oper-status", "xml": "\n\n\n", "comments": "", "x": 729.5078964233398, "y": 1260.2539612054825, "z": "85485d1c.bbd62", "wires": [] }, { "id": "d5f9133b.45a0f", "type": "update", "name": "update SDWAN VPN status to AAI", "xml": "\n\n \n\n", "comments": "", "outputs": 1, "x": 734.6154022216797, "y": 1314.8460041284561, "z": "85485d1c.bbd62", "wires": [ [] ] }, { "id": "536ee31e.2dbb9c", "type": "set", "name": "copy input data in service-data", "xml": "\n\n\n\n\n", "comments": "", "x": 727.5078506469727, "y": 1164.003914740868, "z": "85485d1c.bbd62", "wires": [] }, { "id": "6f1b0298.c2014c", "type": "get-resource", "name": "get-resource control pts for sideId", "xml": "\n\n", "comments": "", "outputs": 1, "x": 1670.8334999084473, "y": 748.7536220550537, "z": "85485d1c.bbd62", "wires": [ [ "dddca1ae.0aa96", "26937b29.826f14" ] ] }, { "id": "a5bc4e1c.1202d", "type": "set", "name": "increment param length", "xml": "\n\n", "comments": "", "x": 717.6667060852051, "y": 1112.6666584014893, "z": "85485d1c.bbd62", "wires": [] } ]