[ { "id": "c9dff872.319c28", "type": "dgstart", "name": "DGSTART", "outputs": 1, "x": 182.03125, "y": 193.0103907585144, "z": "8546294e.bbf628", "wires": [ [ "f599176a.0162d8" ] ] }, { "id": "f599176a.0162d8", "type": "service-logic", "name": "GENERIC-RESOURCE-API ${project.version}", "module": "GENERIC-RESOURCE-API", "version": "${project.version}", "comments": "", "xml": "", "outputs": 1, "x": 257.31695556640625, "y": 233.24850225448608, "z": "8546294e.bbf628", "wires": [ [ "6ef8717d.0a89a" ] ] }, { "id": "6ef8717d.0a89a", "type": "method", "name": "method site-vnf-topology-operation-activate", "xml": "\n", "comments": "", "outputs": 1, "x": 278.4598693847656, "y": 323.0103907585144, "z": "8546294e.bbf628", "wires": [ [ "e4c81f6e.49ef7" ] ] }, { "id": "e4c81f6e.49ef7", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 266.69798278808594, "y": 512.6771693229675, "z": "8546294e.bbf628", "wires": [ [ "cd35c02d.85245", "cbc96af.e7a6b98", "f380f867.7d6998", "be9b1521.3244d8", "8699a911.00b498", "640f5d20.cfa064", "e28c053e.d4c358", "c2b356f7.cb66f8", "cfdaefb3.97c88", "de98d30f.d2fa5" ] ] }, { "id": "cd35c02d.85245", "type": "switchNode", "name": "switch service-data.vnfs.vnf_length", "xml": "\n", "comments": "", "outputs": 1, "x": 706.0209121704102, "y": 141.99998569488525, "z": "8546294e.bbf628", "wires": [ [ "e72f24a3.7e9cf8", "56a6c4e8.1f860c", "7ce3d5f2.723dec" ] ] }, { "id": "e72f24a3.7e9cf8", "type": "other", "name": "Null", "xml": "\n", "comments": "", "outputs": 1, "x": 937.0208892822266, "y": 144.0000491142273, "z": "8546294e.bbf628", "wires": [ [ "edb6abe2.7bba78" ] ] }, { "id": "edb6abe2.7bba78", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1094.7984046936035, "y": 124.88899755477905, "z": "8546294e.bbf628", "wires": [] }, { "id": "56a6c4e8.1f860c", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 929.0213165283203, "y": 179.00007104873657, "z": "8546294e.bbf628", "wires": [ [ "28abc688.86ccda" ] ] }, { "id": "28abc688.86ccda", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 1095.290786743164, "y": 170.55460453033447, "z": "8546294e.bbf628", "wires": [ [ "13d47e80.4e6022", "5d523d19.4e3534", "63f3d384.29d3ac" ] ] }, { "id": "13d47e80.4e6022", "type": "for", "name": "for vidx..service-data.vnfs.vnf_length[]", "xml": "\n", "comments": "", "outputs": 1, "x": 1365.3068771362305, "y": 114.42860555648804, "z": "8546294e.bbf628", "wires": [ [ "9845da61.98a1c8" ] ] }, { "id": "5d523d19.4e3534", "type": "switchNode", "name": "switch tmp.vidx ", "xml": "\n\n", "comments": "", "outputs": 1, "x": 1301.6082305908203, "y": 165.41179418563843, "z": "8546294e.bbf628", "wires": [ [ "26cec9c2.9bd426" ] ] }, { "id": "26cec9c2.9bd426", "type": "outcome", "name": "NULL", "xml": "\n", "comments": "", "outputs": 1, "x": 1453.0370330810547, "y": 165.98322439193726, "z": "8546294e.bbf628", "wires": [ [ "a0a7bb4c.608bd8" ] ] }, { "id": "90e8fa4e.9e0b88", "type": "switchNode", "name": "switch vnfid found", "xml": "\n\n", "comments": "", "outputs": 1, "x": 1762.7356185913086, "y": 74.67872762680054, "z": "8546294e.bbf628", "wires": [ [ "b847bf38.a4e72" ] ] }, { "id": "a0a7bb4c.608bd8", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1591.465431213379, "y": 167.12604665756226, "z": "8546294e.bbf628", "wires": [] }, { "id": "b847bf38.a4e72", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1936.6880989074707, "y": 74.57144784927368, "z": "8546294e.bbf628", "wires": [ [ "fe37a50e.9b06e8" ] ] }, { "id": "7ce3d5f2.723dec", "type": "outcome", "name": "0", "xml": "\n", "comments": "", "outputs": 1, "x": 934.9897003173828, "y": 106.96873807907104, "z": "8546294e.bbf628", "wires": [ [ "edb6abe2.7bba78" ] ] }, { "id": "be9b1521.3244d8", "type": "returnSuccess", "name": "return success", "xml": "\n\n\n\n", "comments": "", "x": 650.3649482727051, "y": 695.344174861908, "z": "8546294e.bbf628", "wires": [] }, { "id": "c2b356f7.cb66f8", "type": "set", "name": "set vnf-level-oper-status to Active", "xml": "\n\n\n\n", "comments": "", "x": 712.8451385498047, "y": 529.6816143989563, "z": "8546294e.bbf628", "wires": [] }, { "id": "e28c053e.d4c358", "type": "set", "name": "set vnf-index and vnf-object-path", "xml": "\n\n", "comments": "", "x": 712.53173828125, "y": 486.3441491127014, "z": "8546294e.bbf628", "wires": [] }, { "id": "5369a88f.c265a8", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 1570.531826019287, "y": 431.00039863586426, "z": "8546294e.bbf628", "wires": [ [ "e11a3e97.9a4cf" ] ] }, { "id": "e11a3e97.9a4cf", "type": "set", "name": "set controller data", "xml": "\n\n\n\n", "comments": "", "x": 1759.0319213867188, "y": 425.0004082918167, "z": "8546294e.bbf628", "wires": [] }, { "id": "a5222a28.6f55b8", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, "x": 1574.022792816162, "y": 478.5744342803955, "z": "8546294e.bbf628", "wires": [ [ "ea233a49.a94538" ] ] }, { "id": "ea233a49.a94538", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "outputs": 1, "x": 1566.355800628662, "y": 519.9077472686768, "z": "8546294e.bbf628", "wires": [ [ "28e9f15e.a3f2ce" ] ] }, { "id": "28e9f15e.a3f2ce", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n\n", "comments": "", "outputs": 1, "x": 1303.53173828125, "y": 479.00040447711945, "z": "8546294e.bbf628", "wires": [ [ "5369a88f.c265a8", "a5222a28.6f55b8", "42b5e401.e14b8c" ] ] }, { "id": "d2ea4d7a.0f7bc", "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": 1326.031852722168, "y": 636.0003986358643, "z": "8546294e.bbf628", "wires": [ [ "f57bd183.9204c" ] ] }, { "id": "b5c8e88e.b71a98", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 1746.6983757019043, "y": 637.8892993927002, "z": "8546294e.bbf628", "wires": [ [] ] }, { "id": "db67aff2.ce7ea", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1732.1429595947266, "y": 697.4446468353271, "z": "8546294e.bbf628", "wires": [] }, { "id": "8e3552db.71c4c", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 1587.1429500579834, "y": 694.4446449279785, "z": "8546294e.bbf628", "wires": [ [ "db67aff2.ce7ea" ] ] }, { "id": "f57bd183.9204c", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 1587.587287902832, "y": 638.1114530563354, "z": "8546294e.bbf628", "wires": [ [ "b5c8e88e.b71a98" ] ] }, { "id": "cfdaefb3.97c88", "type": "set", "name": "copy input data to service data", "xml": "\n\n\n\n", "comments": "", "x": 701.0316848754883, "y": 572.0005831718445, "z": "8546294e.bbf628", "wires": [] }, { "id": "b24b0990.f29818", "type": "execute", "name": "execute RestApiCallNode Get token", "xml": "\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 1304.7858352661133, "y": 572.0044652223587, "z": "8546294e.bbf628", "wires": [ [ "289de783.f62c58", "794b6e1c.8d635" ] ] }, { "id": "289de783.f62c58", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 1569.785717010498, "y": 557.0043603181839, "z": "8546294e.bbf628", "wires": [ [ "9a259234.042bd" ] ] }, { "id": "794b6e1c.8d635", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 1562.035717010498, "y": 598.6472436189651, "z": "8546294e.bbf628", "wires": [ [ "abdc5f44.099" ] ] }, { "id": "abdc5f44.099", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1688.119213104248, "y": 598.8932763338089, "z": "8546294e.bbf628", "wires": [ [] ] }, { "id": "9a259234.042bd", "type": "set", "name": "set token-id", "xml": "\n\n", "comments": "", "x": 1706.785717010498, "y": 557.0043603181839, "z": "8546294e.bbf628", "wires": [] }, { "id": "6db7dcff.bc7ce4", "type": "comment", "name": "tmp.thirdparty-sdnc-id is hardcoded value?", "info": "", "comments": "", "x": 1352.0356369018555, "y": 433.004376411438, "z": "8546294e.bbf628", "wires": [] }, { "id": "640f5d20.cfa064", "type": "set", "name": "set vnf-index to service data", "xml": "\n\n\n\n\n\n", "comments": "", "x": 702.0354537963867, "y": 448.00424432754517, "z": "8546294e.bbf628", "wires": [] }, { "id": "3d75d87b.d2ff28", "type": "switchNode", "name": "switch ActivateSDWANDeviceInstance", "xml": "\n\n \n \n\n", "comments": "", "outputs": 1, "x": 1830.2855911254883, "y": 144.00390481948853, "z": "8546294e.bbf628", "wires": [ [ "628cbd2.1a1aa44" ] ] }, { "id": "628cbd2.1a1aa44", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2057.285446166992, "y": 143.0039038658142, "z": "8546294e.bbf628", "wires": [ [ "b1822ffa.bc97b" ] ] }, { "id": "9845da61.98a1c8", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1600.285415649414, "y": 115.00389051437378, "z": "8546294e.bbf628", "wires": [ [ "3d75d87b.d2ff28", "90e8fa4e.9e0b88" ] ] }, { "id": "fab4e8d5.eaaa38", "type": "comment", "name": "Get devices", "info": "", "comments": "", "x": 1864.0356063842773, "y": 164.7539200782776, "z": "8546294e.bbf628", "wires": [] }, { "id": "cbc96af.e7a6b98", "type": "set", "name": "set prop.site.sdwan false", "xml": "\n\n\n", "comments": "", "x": 685.0312652587891, "y": 83.0000352859497, "z": "8546294e.bbf628", "wires": [] }, { "id": "8699a911.00b498", "type": "switchNode", "name": "switch prop.site.sdwan", "xml": "\n", "comments": "", "outputs": 1, "x": 681.0313720703125, "y": 390.666624546051, "z": "8546294e.bbf628", "wires": [ [ "ace66bf6.fc6f18" ] ] }, { "id": "ace66bf6.fc6f18", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 860.031421661377, "y": 387.666624546051, "z": "8546294e.bbf628", "wires": [ [ "70ebd8ae.1dd798" ] ] }, { "id": "70ebd8ae.1dd798", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 1016.0316467285156, "y": 384.6669464111328, "z": "8546294e.bbf628", "wires": [ [ "2f462de2.0453e2", "2f8e9052.03ea2", "d2ea4d7a.0f7bc", "e43f8602.8d7af8", "b24b0990.f29818" ] ] }, { "id": "b1822ffa.bc97b", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 2010.6982822418213, "y": 212.00003480911255, "z": "8546294e.bbf628", "wires": [ [ "f8a73d95.16c95" ] ] }, { "id": "f8a73d95.16c95", "type": "for", "name": "for loop deviceidx - Get deviceId from servicedata", "xml": "", "comments": "", "outputs": 1, "x": 2294.0321140289307, "y": 215.00006532669067, "z": "8546294e.bbf628", "wires": [ [ "f4aaaa9b.0e63e8" ] ] }, { "id": "f4aaaa9b.0e63e8", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2410.031898498535, "y": 266.0002508163452, "z": "8546294e.bbf628", "wires": [ [ "560efc8.407e904" ] ] }, { "id": "560efc8.407e904", "type": "switchNode", "name": "switch deviceId", "xml": "\n", "comments": "", "outputs": 1, "x": 2570.032154083252, "y": 268.0001039505005, "z": "8546294e.bbf628", "wires": [ [ "364ea14b.4737ce" ] ] }, { "id": "364ea14b.4737ce", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2722.032325744629, "y": 267.0001039505005, "z": "8546294e.bbf628", "wires": [ [ "57bae08d.5682f" ] ] }, { "id": "57bae08d.5682f", "type": "set", "name": "set deviceId", "xml": "\n\n\n", "comments": "", "x": 2862.032329559326, "y": 266.600058555603, "z": "8546294e.bbf628", "wires": [] }, { "id": "63f3d384.29d3ac", "type": "set", "name": "set prop.site.deviceId_length", "xml": "\n\n", "comments": "", "x": 1338.031322479248, "y": 69.99999761581421, "z": "8546294e.bbf628", "wires": [] }, { "id": "de98d30f.d2fa5", "type": "save", "name": "update siteInstance configuration in AAI", "xml": "\n \n \n\n", "comments": "", "outputs": 1, "x": 731.0313720703125, "y": 633.0000977516174, "z": "8546294e.bbf628", "wires": [ [] ] }, { "id": "f380f867.7d6998", "type": "execute", "name": "execute Properties", "xml": "\n \n \n", "comments": "", "outputs": 1, "x": 677.0312881469727, "y": 279.99999952316284, "z": "8546294e.bbf628", "wires": [ [] ] }, { "id": "2f462de2.0453e2", "type": "set", "name": "set siteId", "xml": "\n\n\n", "comments": "", "x": 1225.0315856933594, "y": 375.0001050233841, "z": "8546294e.bbf628", "wires": [] }, { "id": "e43a0564.6e85b8", "type": "comment", "name": "should be null in request", "info": "", "comments": "", "x": 1234.031509399414, "y": 346.0000592470169, "z": "8546294e.bbf628", "wires": [] }, { "id": "fe37a50e.9b06e8", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 2107.031394958496, "y": 78.65758323669434, "z": "8546294e.bbf628", "wires": [ [ "4bd89f7e.9676d", "9ff83ab.3d923c8", "523d9c1d.3e7a14", "471b0999.b03818" ] ] }, { "id": "9ff83ab.3d923c8", "type": "set", "name": "set vnf-request-input.", "xml": "\n\n\n", "comments": "", "x": 2359.364402770996, "y": 95.65763854980469, "z": "8546294e.bbf628", "wires": [] }, { "id": "4bd89f7e.9676d", "type": "set", "name": "set tmp.vidx and ctx.vnf-data", "xml": "\n\n\n", "comments": "", "x": 2386.918113708496, "y": 49.00000286102295, "z": "8546294e.bbf628", "wires": [] }, { "id": "523d9c1d.3e7a14", "type": "call", "name": "call sdwan-get-site-param", "xml": "\n", "comments": "", "outputs": 1, "x": 2358.005081176758, "y": 131.10712242126465, "z": "8546294e.bbf628", "wires": [ [] ] }, { "id": "2f8e9052.03ea2", "type": "for", "name": "for cpidx..prop.site.controlpoints", "xml": "\n\t\t\t\t\t\t\t\t\t\n", "comments": "", "outputs": 1, "x": 1285.0318603515625, "y": 276.0313186645508, "z": "8546294e.bbf628", "wires": [ [ "5d6d521c.a38a7c" ] ] }, { "id": "5d6d521c.a38a7c", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 1528.0313720703125, "y": 274.03125762939453, "z": "8546294e.bbf628", "wires": [ [ "a5905cec.9f577" ] ] }, { "id": "a5905cec.9f577", "type": "for", "name": "for cpvidx..service-data.vnfs.vnf_length[]", "xml": "\n", "comments": "", "outputs": 1, "x": 1777.0313720703125, "y": 272.031289100647, "z": "8546294e.bbf628", "wires": [ [ "c5914904.7dd248" ] ] }, { "id": "c5914904.7dd248", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1630.531322479248, "y": 338.03128933906555, "z": "8546294e.bbf628", "wires": [ [ "81562a69.669098" ] ] }, { "id": "81562a69.669098", "type": "switchNode", "name": "switch ActivateSiteInstance", "xml": "\n\n \n \n\n", "comments": "", "outputs": 1, "x": 1826.5317573547363, "y": 337.0312900543213, "z": "8546294e.bbf628", "wires": [ [ "4dd0f132.ac22d" ] ] }, { "id": "4dd0f132.ac22d", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2015.5316467285156, "y": 336.031259059906, "z": "8546294e.bbf628", "wires": [ [ "c19716c9.bf16e8" ] ] }, { "id": "c19716c9.bf16e8", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 2169.874858856201, "y": 352.1174783706665, "z": "8546294e.bbf628", "wires": [ [ "b380d74e.7f6938" ] ] }, { "id": "b380d74e.7f6938", "type": "for", "name": "for loop sidx - Get siteId from servicedata", "xml": "", "comments": "", "outputs": 1, "x": 2415.5315895080566, "y": 354.0313606262207, "z": "8546294e.bbf628", "wires": [ [ "586aef3f.c2594" ] ] }, { "id": "586aef3f.c2594", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2141.531894683838, "y": 451.0313949584961, "z": "8546294e.bbf628", "wires": [ [ "6ca3ced4.b496f" ] ] }, { "id": "6ca3ced4.b496f", "type": "switchNode", "name": "switch name", "xml": "\n", "comments": "", "outputs": 1, "x": 2301.5321502685547, "y": 453.03124809265137, "z": "8546294e.bbf628", "wires": [ [ "e4e196a3.719d08" ] ] }, { "id": "e4e196a3.719d08", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2453.5323219299316, "y": 452.03124809265137, "z": "8546294e.bbf628", "wires": [ [ "79a83f73.ae9af" ] ] }, { "id": "9f3ec9f2.b22258", "type": "switchNode", "name": "switch name match with controlPoint", "xml": "\n", "comments": "", "outputs": 1, "x": 2690.0319023132324, "y": 462.031436920166, "z": "8546294e.bbf628", "wires": [ [ "2d878bd7.4ff264" ] ] }, { "id": "2d878bd7.4ff264", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2899.031665802002, "y": 455.03130531311035, "z": "8546294e.bbf628", "wires": [ [ "3590859d.52442a" ] ] }, { "id": "95b453fd.ee43a", "type": "for", "name": "for loop lidx - Get siteId from servicedata", "xml": "", "comments": "", "outputs": 1, "x": 2483.0317192077637, "y": 566.0313177108765, "z": "8546294e.bbf628", "wires": [ [ "29fb7e8d.917742" ] ] }, { "id": "29fb7e8d.917742", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2273.0313606262207, "y": 640.0315551757812, "z": "8546294e.bbf628", "wires": [ [ "43fe6c1f.7a83e4" ] ] }, { "id": "43fe6c1f.7a83e4", "type": "switchNode", "name": "switch siteId", "xml": "\n", "comments": "", "outputs": 1, "x": 2419.0316047668457, "y": 643.0313415527344, "z": "8546294e.bbf628", "wires": [ [ "48abb19b.d8fe" ] ] }, { "id": "48abb19b.d8fe", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2566.031913757324, "y": 641.0313110351562, "z": "8546294e.bbf628", "wires": [ [ "2780c7bb.98f1c8" ] ] }, { "id": "2780c7bb.98f1c8", "type": "set", "name": "set siteId in control point", "xml": "\n\n\n", "comments": "", "x": 2745.0322227478027, "y": 643.631411075592, "z": "8546294e.bbf628", "wires": [] }, { "id": "3590859d.52442a", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 2227.0316123962402, "y": 566.0313024520874, "z": "8546294e.bbf628", "wires": [ [ "95b453fd.ee43a" ] ] }, { "id": "471b0999.b03818", "type": "record", "name": "record", "xml": "\n\n\n\n\n", "comments": "", "outputs": 1, "x": 2300.0313873291016, "y": 177.03126049041748, "z": "8546294e.bbf628", "wires": [ [] ] }, { "id": "79a83f73.ae9af", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 2720.5314903259277, "y": 401.031286239624, "z": "8546294e.bbf628", "wires": [ [ "9f3ec9f2.b22258" ] ] } ]