[ { "id": "80dd667e.b96f28", "type": "dgstart", "name": "DGSTART", "outputs": 1, "x": 113, "y": 41, "z": "dffc6494.bbb2d8", "wires": [ [ "7472205c.aef1a" ] ] }, { "id": "7472205c.aef1a", "type": "service-logic", "name": "GENERIC-RESOURCE-API ${project.version}", "module": "GENERIC-RESOURCE-API", "version": "${project.version}", "comments": "", "xml": "", "outputs": 1, "x": 304.0000057220459, "y": 111.00001811981201, "z": "dffc6494.bbb2d8", "wires": [ [ "37ba3eae.275d42" ] ] }, { "id": "37ba3eae.275d42", "type": "method", "name": "sdwan-attachment-topology-operation-activate", "xml": "\n", "comments": "", "outputs": 1, "x": 292.00012397766113, "y": 199.00000095367432, "z": "dffc6494.bbb2d8", "wires": [ [ "ee5288e.f42de78" ] ] }, { "id": "ee5288e.f42de78", "type": "block", "name": "block : atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 194.00013732910156, "y": 885.0002890825272, "z": "dffc6494.bbb2d8", "wires": [ [ "b85a45bf.0bc7a8", "1151bd20.7a3e23", "9037088f.df5478", "dae5e077.3dcd8", "5bfd91ae.4a06", "4bcdea66.6625d4", "3d8eaf9a.38bd9", "1c9f2051.6c4ec", "5bbd58f7.5f7198", "40c05ce.b6f2ba4", "c934c812.741518", "cfd66b10.01cc08", "5daf20a3.56c58", "235295.bc1afd6c", "9bb2f2c0.a869e", "78a5dd87.45acf4", "12273108.2aad0f", "989cf904.9df618", "38de1063.b6c52", "1b86e032.9e8d5", "27476583.31719a", "6f11d9b9.d9b5a8", "d462299e.954ef8" ] ] }, { "id": "b85a45bf.0bc7a8", "type": "set", "name": "set tmp.ar.allotted-resource-id,etc", "xml": "\n\n\n\n\n", "comments": "", "x": 704.9935626983643, "y": 152.99348783493042, "z": "dffc6494.bbb2d8", "wires": [] }, { "id": "7b859e23.ef0a6", "type": "comment", "name": "set tmp ar-id to fetch resource from MDSAL", "info": "", "comments": "", "x": 733.9538745880127, "y": 117.02528381347656, "z": "dffc6494.bbb2d8", "wires": [] }, { "id": "1151bd20.7a3e23", "type": "set", "name": "set tmp.ar.self-link", "xml": "\n\n\n", "comments": "", "x": 658.993501663208, "y": 245.99349308013916, "z": "dffc6494.bbb2d8", "wires": [] }, { "id": "dae5e077.3dcd8", "type": "execute", "name": "execute Properties", "xml": "\n \n \n", "comments": "", "outputs": 1, "x": 665.255392074585, "y": 333.66022205352783, "z": "dffc6494.bbb2d8", "wires": [ [] ] }, { "id": "9037088f.df5478", "type": "execute", "name": "generate allotted-resource tmp.ar-url", "xml": "\n \n \n \n \n", "comments": "", "outputs": 1, "x": 712.255449295044, "y": 421.6602258682251, "z": "dffc6494.bbb2d8", "wires": [ [] ] }, { "id": "8334555.85225a8", "type": "comment", "name": "GET connection-attachment-allotted-resource from mdsal", "info": "", "comments": "", "x": 766.8084106445312, "y": 490.53865146636963, "z": "dffc6494.bbb2d8", "wires": [] }, { "id": "3f9851c.f3967ae", "type": "comment", "name": "Used for setting output to API Handler", "info": "", "comments": "", "x": 712.9935321807861, "y": 212.99350261688232, "z": "dffc6494.bbb2d8", "wires": [] }, { "id": "1e81abbc.616b14", "type": "comment", "name": "Obtain different URL, template location etc", "info": "For saving resource information to MDSAL & for AAI", "comments": "", "x": 730.9934978485107, "y": 298.8823833465576, "z": "dffc6494.bbb2d8", "wires": [] }, { "id": "72dc7ecf.95a62", "type": "comment", "name": "Used to Get AR by id to MDSAL, same as self-link", "info": "", "comments": "", "x": 756.9935169219971, "y": 385.882342338562, "z": "dffc6494.bbb2d8", "wires": [] }, { "id": "e6ee5327.c0d68", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 1220.6668224334717, "y": 503.99997901916504, "z": "dffc6494.bbb2d8", "wires": [ [ "8c680853.310ea8" ] ] }, { "id": "8c680853.310ea8", "type": "block", "name": "block: atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1364.6669006347656, "y": 461.4998970031738, "z": "dffc6494.bbb2d8", "wires": [ [ "925fb80e.34f158" ] ] }, { "id": "925fb80e.34f158", "type": "switchNode", "name": "switch cr length", "xml": "\n", "comments": "", "outputs": 1, "x": 1533.5243244171143, "y": 459.11906814575195, "z": "dffc6494.bbb2d8", "wires": [ [ "26b8d340.46df1c", "7a829be2.af0124" ] ] }, { "id": "26b8d340.46df1c", "type": "other", "name": "outcome 1", "xml": "\n", "comments": "", "outputs": 1, "x": 1688.8574600219727, "y": 431.1189832687378, "z": "dffc6494.bbb2d8", "wires": [ [ "1395b904.dff867" ] ] }, { "id": "1395b904.dff867", "type": "block", "name": "block: atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1847.3812637329102, "y": 429.02383041381836, "z": "dffc6494.bbb2d8", "wires": [ [ "bca835dc.03acf8", "60209a3f.8f2c74", "20e59893.8ce128" ] ] }, { "id": "a8ed7d7b.3441", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n \n", "comments": "", "x": 1787.5191955566406, "y": 536.0660648345947, "z": "dffc6494.bbb2d8", "wires": [] }, { "id": "2e147334.04188c", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 1212.5186252593994, "y": 539.0660638809204, "z": "dffc6494.bbb2d8", "wires": [ [ "b263ea5d.751198" ] ] }, { "id": "b263ea5d.751198", "type": "block", "name": "block: atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1392.518575668335, "y": 539.7326145172119, "z": "dffc6494.bbb2d8", "wires": [ [ "a8ed7d7b.3441" ] ] }, { "id": "7a829be2.af0124", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 1680.1854629516602, "y": 490.39935779571533, "z": "dffc6494.bbb2d8", "wires": [ [ "a8ed7d7b.3441" ] ] }, { "id": "bca835dc.03acf8", "type": "set", "name": "set connection-attachment-ar from get", "xml": "\n\n", "comments": "", "x": 2094.4447174072266, "y": 402.00008249282837, "z": "dffc6494.bbb2d8", "wires": [] }, { "id": "60209a3f.8f2c74", "type": "set", "name": "set oper-status", "xml": "\n\n\n\n\n", "comments": "", "x": 2043.4449863433838, "y": 504.4286185503006, "z": "dffc6494.bbb2d8", "wires": [] }, { "id": "20e59893.8ce128", "type": "switchNode", "name": "switch order-status", "xml": "\n", "comments": "", "outputs": 1, "x": 2045.444803237915, "y": 444.0000435113907, "z": "dffc6494.bbb2d8", "wires": [ [ "c22325f7.252dc8", "892b7c23.01481" ] ] }, { "id": "c22325f7.252dc8", "type": "outcome", "name": "outcome Created", "xml": "\n", "comments": "", "outputs": 1, "x": 2273.0451526641846, "y": 435.00010073184967, "z": "dffc6494.bbb2d8", "wires": [ [ "8f64788b.479f58" ] ] }, { "id": "892b7c23.01481", "type": "outcome", "name": "outcome Other", "xml": "\n", "comments": "", "outputs": 1, "x": 2267.759048461914, "y": 474.42865800857544, "z": "dffc6494.bbb2d8", "wires": [ [ "7e065517.d9cffc" ] ] }, { "id": "8f64788b.479f58", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2432.515281677246, "y": 435.37570571899414, "z": "dffc6494.bbb2d8", "wires": [ [] ] }, { "id": "7e065517.d9cffc", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 2443.666862487793, "y": 473.000057220459, "z": "dffc6494.bbb2d8", "wires": [] }, { "id": "6f92ad01.bceb24", "type": "call", "name": "call GENERIC-RESOURCE-API:sdwan-get-saved-ar-param", "xml": "\n", "comments": "", "outputs": 1, "x": 937.3030433654785, "y": 610.4936294555664, "z": "dffc6494.bbb2d8", "wires": [ [] ] }, { "id": "5bfd91ae.4a06", "type": "block", "name": "block: atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 631.3091430664062, "y": 611.5, "z": "dffc6494.bbb2d8", "wires": [ [ "6f92ad01.bceb24" ] ] }, { "id": "ab12c387.518e3", "type": "comment", "name": "GET parent-service-data from mdsal to check existence of other End point", "info": "", "comments": "", "x": 809.00048828125, "y": 682.53173828125, "z": "dffc6494.bbb2d8", "wires": [] }, { "id": "20314e6c.dff2b2", "type": "comment", "name": "GET connection-attachment-ar to store AR data from mdsal", "info": "", "comments": "", "x": 2156.4727783203125, "y": 362.5039367675781, "z": "dffc6494.bbb2d8", "wires": [] }, { "id": "4bcdea66.6625d4", "type": "set", "name": "set tmp.ar.parent-service-instance-id", "xml": "\n\n\n", "comments": "", "x": 694.9688110351562, "y": 712.0001220703125, "z": "dffc6494.bbb2d8", "wires": [] }, { "id": "15984952.556e87", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 1054.968978881836, "y": 769.0000915527344, "z": "dffc6494.bbb2d8", "wires": [ [ "de6674d7.fb4908" ] ] }, { "id": "6badb4c9.fd121c", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 1046.8207817077637, "y": 804.0661764144897, "z": "dffc6494.bbb2d8", "wires": [ [ "d2de38fb.c9bd98" ] ] }, { "id": "d2de38fb.c9bd98", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n \n", "comments": "", "x": 1192.9695625305176, "y": 803.3335876464844, "z": "dffc6494.bbb2d8", "wires": [] }, { "id": "de6674d7.fb4908", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1185.9690742492676, "y": 769.0001525878906, "z": "dffc6494.bbb2d8", "wires": [ [] ] }, { "id": "3fee618.47cf19e", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 868.7312831878662, "y": 1801.953821182251, "z": "dffc6494.bbb2d8", "wires": [ [ "ce560694.4e0568" ] ] }, { "id": "ce560694.4e0568", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1035.2551040649414, "y": 1828.5728282928467, "z": "dffc6494.bbb2d8", "wires": [] }, { "id": "c68d8601.616f38", "type": "failure", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, "x": 870.8265113830566, "y": 1849.715663909912, "z": "dffc6494.bbb2d8", "wires": [ [ "ce560694.4e0568" ] ] }, { "id": "4f78f27.2aadb0c", "type": "comment", "name": "Save Resource to AAI", "info": "", "comments": "", "x": 642.7789268493652, "y": 1790.302984237671, "z": "dffc6494.bbb2d8", "wires": [] }, { "id": "9bb2f2c0.a869e", "type": "set", "name": "set output to api handler", "xml": "\n\n\n\n \n", "comments": "", "x": 657.5466232299805, "y": 1711.828465461731, "z": "dffc6494.bbb2d8", "wires": [] }, { "id": "12273108.2aad0f", "type": "returnSuccess", "name": "return success", "xml": "\n\n\n\n", "comments": "", "x": 617.959794998169, "y": 1897.4442539215088, "z": "dffc6494.bbb2d8", "wires": [] }, { "id": "235295.bc1afd6c", "type": "execute", "name": "execute RestApiCallNode - PUT AR by id", "xml": "\n \n \n \n \n \n \n \n\n", "comments": "", "outputs": 1, "x": 710.2787055969238, "y": 1636.4693183898926, "z": "dffc6494.bbb2d8", "wires": [ [ "fbd9f3da.ac92e", "d531264d.6e9598", "ceab622e.44add" ] ] }, { "id": "fbd9f3da.ac92e", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, "x": 964.9201278686523, "y": 1680.8007125854492, "z": "dffc6494.bbb2d8", "wires": [ [ "6996a4e1.52814c" ] ] }, { "id": "d531264d.6e9598", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 966.9201507568359, "y": 1639.3006767258048, "z": "dffc6494.bbb2d8", "wires": [ [ "6996a4e1.52814c" ] ] }, { "id": "ceab622e.44add", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 970.6702346801758, "y": 1590.657829284668, "z": "dffc6494.bbb2d8", "wires": [ [ "a90a3596.a63828" ] ] }, { "id": "6996a4e1.52814c", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1125.670253753662, "y": 1659.0507431030273, "z": "dffc6494.bbb2d8", "wires": [] }, { "id": "a90a3596.a63828", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1098.3261795043945, "y": 1592.8499975204468, "z": "dffc6494.bbb2d8", "wires": [ [] ] }, { "id": "40c05ce.b6f2ba4", "type": "set", "name": "set ar-data", "xml": "\n\n\n\n\n\n\n", "comments": "", "x": 612.4923210144043, "y": 1470.850219488144, "z": "dffc6494.bbb2d8", "wires": [] }, { "id": "cfd66b10.01cc08", "type": "execute", "name": "execute getTime", "xml": "\n \n\n", "comments": "", "outputs": 1, "x": 629.7781639099121, "y": 1543.46981716156, "z": "dffc6494.bbb2d8", "wires": [ [] ] }, { "id": "5daf20a3.56c58", "type": "set", "name": "set allotted-resource-oper-status", "xml": "\n\n\n\n\n\n", "comments": "", "x": 679.7652435302734, "y": 1580.4208974838257, "z": "dffc6494.bbb2d8", "wires": [] }, { "id": "c934c812.741518", "type": "set", "name": "set model-data", "xml": "\n", "comments": "", "x": 626.3338623046875, "y": 1510.0248699188232, "z": "dffc6494.bbb2d8", "wires": [] }, { "id": "39e69165.d7e96e", "type": "comment", "name": "Prepare data for allotted-resource addition to MDSAL", "info": "This will add to allotted-resource which is present inside service.", "comments": "", "x": 739.6673240661621, "y": 1431.0248219966888, "z": "dffc6494.bbb2d8", "wires": [] }, { "id": "76218215.a6538c", "type": "comment", "name": "Add to allotted-resources in mdsal", "info": "", "comments": "", "x": 681.2471504211426, "y": 1398.438123703003, "z": "dffc6494.bbb2d8", "wires": [] }, { "id": "78a5dd87.45acf4", "type": "update", "name": "update AAI allotted-resource", "xml": "\n\t\n\t\n\t\n\t\n\t\n", "comments": "", "outputs": 1, "x": 669.2232055664062, "y": 1827.755126953125, "z": "dffc6494.bbb2d8", "wires": [ [ "3fee618.47cf19e", "c68d8601.616f38" ] ] }, { "id": "3d8eaf9a.38bd9", "type": "execute", "name": "execute RestApiCallNode - get-resource connection-attachment-allotted-resource", "xml": "\n \n \n \n \n \n \n\n", "comments": "", "outputs": 1, "x": 841.0039672851562, "y": 522.00390625, "z": "dffc6494.bbb2d8", "wires": [ [ "e6ee5327.c0d68", "2e147334.04188c" ] ] }, { "id": "1c9f2051.6c4ec", "type": "execute", "name": "execute RestApiCallNode - get-resource parent service data", "xml": "\n \n \n \n \n \n \n\n", "comments": "", "outputs": 1, "x": 764.0040893554688, "y": 785.0040893554688, "z": "dffc6494.bbb2d8", "wires": [ [ "15984952.556e87", "6badb4c9.fd121c" ] ] }, { "id": "5bbd58f7.5f7198", "type": "execute", "name": "get parent-service-data url", "xml": "\n \n \n \n \n", "comments": "", "outputs": 1, "x": 664.0039978027344, "y": 748.0039224624634, "z": "dffc6494.bbb2d8", "wires": [ [] ] }, { "id": "f4b4f93.ed2c608", "type": "set", "name": "set prop.ar.provided-allotted-resource-id", "xml": "\n\n\n", "comments": "", "x": 1521.9964752197266, "y": 837.1218557357788, "z": "dffc6494.bbb2d8", "wires": [] }, { "id": "a15a79a.36a3388", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 2027.9970703125, "y": 931.4551391601562, "z": "dffc6494.bbb2d8", "wires": [ [ "a3fba491.823078" ] ] }, { "id": "9877a25.829156", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 2031.848445892334, "y": 893.52121925354, "z": "dffc6494.bbb2d8", "wires": [ [ "7dae3a54.790c34" ] ] }, { "id": "70d2ed6a.c33784", "type": "for", "name": "for arvidx.. mdsal-sd.service-data.vnfs.vnf_length[]", "xml": "\n", "comments": "", "outputs": 1, "x": 1923.9976425170898, "y": 1659.1222692728043, "z": "dffc6494.bbb2d8", "wires": [ [ "3299d5bb.c8fffa" ] ] }, { "id": "3299d5bb.c8fffa", "type": "block", "name": "block atmoic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1683.6641387939453, "y": 1731.1224619150162, "z": "dffc6494.bbb2d8", "wires": [ [ "9c72dcbf.2f4d8" ] ] }, { "id": "9c72dcbf.2f4d8", "type": "switchNode", "name": "switch ActivateSiteInstance", "xml": "\n \n \n\n", "comments": "", "outputs": 1, "x": 1896.5293731689453, "y": 1732.3203302621841, "z": "dffc6494.bbb2d8", "wires": [ [ "d6c2e1ad.856bf" ] ] }, { "id": "d6c2e1ad.856bf", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2101.52872467041, "y": 1735.3203264474869, "z": "dffc6494.bbb2d8", "wires": [ [ "1deec432.31ab3c" ] ] }, { "id": "6d2e1c61.8e7884", "type": "set", "name": "set tmp.sitevidx ", "xml": "\n\n\n", "comments": "", "x": 2445.528896331787, "y": 1715.3206740617752, "z": "dffc6494.bbb2d8", "wires": [] }, { "id": "eb1ab4ec.5e2dc8", "type": "set", "name": "set prop.ar-parent-service-instance-id", "xml": "\n\n", "comments": "", "x": 1672.9970703125, "y": 1078.1221185922623, "z": "dffc6494.bbb2d8", "wires": [] }, { "id": "57da3fea.264e9", "type": "for", "name": "for loop aridx - Get role from allotted resource", "xml": "\n \n \n", "comments": "", "outputs": 1, "x": 1699.9965839385986, "y": 1035.6217069625854, "z": "dffc6494.bbb2d8", "wires": [ [ "cee99943.fb3588" ] ] }, { "id": "509849b3.d30508", "type": "switchNode", "name": "switch Role", "xml": "\n", "comments": "", "outputs": 1, "x": 2130.9968280792236, "y": 1001.621829032898, "z": "dffc6494.bbb2d8", "wires": [ [ "934da16.2ecff6" ] ] }, { "id": "934da16.2ecff6", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2270.9970722198486, "y": 999.6219511032104, "z": "dffc6494.bbb2d8", "wires": [ [ "e881355e.f5e048" ] ] }, { "id": "e881355e.f5e048", "type": "set", "name": "set prop.role", "xml": "\n\n", "comments": "", "x": 2414.9978046417236, "y": 999.2218046188354, "z": "dffc6494.bbb2d8", "wires": [] }, { "id": "c3c5524a.3faea", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 1978.9968872070312, "y": 1178.1219259500504, "z": "dffc6494.bbb2d8", "wires": [ [ "694081b0.40c87" ] ] }, { "id": "a5b86b7b.af84c8", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 1976.8492164611816, "y": 1139.18805372715, "z": "dffc6494.bbb2d8", "wires": [ [ "2179a00d.ce49" ] ] }, { "id": "7dae3a54.790c34", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2157.996570587158, "y": 890.6216526031494, "z": "dffc6494.bbb2d8", "wires": [ [] ] }, { "id": "a3fba491.823078", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1323.496524810791, "y": 1070.6217823028564, "z": "dffc6494.bbb2d8", "wires": [ [ "57da3fea.264e9", "eb1ab4ec.5e2dc8", "e782e2ca.8bf82", "1cdc5d42.9a95b3" ] ] }, { "id": "2179a00d.ce49", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2106.4974098205566, "y": 1132.6220136880875, "z": "dffc6494.bbb2d8", "wires": [ [] ] }, { "id": "694081b0.40c87", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1705.4971466064453, "y": 1257.6221548318863, "z": "dffc6494.bbb2d8", "wires": [ [ "96cc2adb.55b7e8" ] ] }, { "id": "ac9bfac3.fa8558", "type": "for", "name": "for loop siteidx - Get site ID from servicedata", "xml": "\n \n \n", "comments": "", "outputs": 1, "x": 2524.4985961914062, "y": 1765.6224666833878, "z": "dffc6494.bbb2d8", "wires": [ [ "a2ba66c.8ff5498" ] ] }, { "id": "8bbd7692.ac8cd8", "type": "switchNode", "name": "switch siteId", "xml": "\n\n", "comments": "", "outputs": 1, "x": 1995.501958847046, "y": 1879.6239286661148, "z": "dffc6494.bbb2d8", "wires": [ [ "4610475a.073248" ] ] }, { "id": "4610475a.073248", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2150.5023288726807, "y": 1881.6242953538895, "z": "dffc6494.bbb2d8", "wires": [ [ "feeed51.dea6e28" ] ] }, { "id": "4e949727.dc9598", "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\n\n", "comments": "", "x": 2128.0009231567383, "y": 2014.1228910684586, "z": "dffc6494.bbb2d8", "wires": [] }, { "id": "d462299e.954ef8", "type": "execute", "name": "execute RestApiCallNode create vpn topology", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 720.9996967315674, "y": 1219.623323082924, "z": "dffc6494.bbb2d8", "wires": [ [ "eedd5dfa.0c3ec", "8a2fbc0b.ebcbf" ] ] }, { "id": "8a2fbc0b.ebcbf", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 964.9996509552002, "y": 1240.6231399774551, "z": "dffc6494.bbb2d8", "wires": [ [ "d213fa13.f05e78" ] ] }, { "id": "d213fa13.f05e78", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 1134.999589920044, "y": 1243.6231399774551, "z": "dffc6494.bbb2d8", "wires": [ [] ] }, { "id": "c3f37303.c62e9", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1134.9997119903564, "y": 1199.6231399774551, "z": "dffc6494.bbb2d8", "wires": [] }, { "id": "eedd5dfa.0c3ec", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 967.999589920044, "y": 1199.6231399774551, "z": "dffc6494.bbb2d8", "wires": [ [ "c3f37303.c62e9" ] ] }, { "id": "d4efb2ad.bacb3", "type": "set", "name": "set controller data", "xml": "\n\n\n\n", "comments": "", "x": 1139.565273284912, "y": 932.2990169525146, "z": "dffc6494.bbb2d8", "wires": [] }, { "id": "27476583.31719a", "type": "get-resource", "name": "get-resource esr-thirdparty-sdnc", "xml": "\n\n", "comments": "", "outputs": 1, "x": 676.0650634765625, "y": 981.29931640625, "z": "dffc6494.bbb2d8", "wires": [ [ "62080e5d.ec8ce", "dfaa962c.3e1378", "bbba9586.9afb98" ] ] }, { "id": "62080e5d.ec8ce", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 942.0652122497559, "y": 944.2990169525146, "z": "dffc6494.bbb2d8", "wires": [ [ "d4efb2ad.bacb3" ] ] }, { "id": "dfaa962c.3e1378", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, "x": 938.55592918396, "y": 982.8731136322021, "z": "dffc6494.bbb2d8", "wires": [ [ "663ca3f0.5f815c" ] ] }, { "id": "bbba9586.9afb98", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 933.88893699646, "y": 1024.2064266204834, "z": "dffc6494.bbb2d8", "wires": [ [ "936e384d.44b2d8" ] ] }, { "id": "663ca3f0.5f815c", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n\t\n\t\n \n", "comments": "", "outputs": 1, "x": 2013.4972763061523, "y": 1257.122277855873, "z": "dffc6494.bbb2d8", "wires": [ [ "b7189ec7.b6673" ] ] }, { "id": "86cf34ff.454008", "type": "switchNode", "name": "switch ActivateSDWANConnectivityInstance", "xml": "\n \n \n\n", "comments": "", "outputs": 1, "x": 1860.165672302246, "y": 1346.1222940683365, "z": "dffc6494.bbb2d8", "wires": [ [ "9f2ef89f.648238" ] ] }, { "id": "9f2ef89f.648238", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2116.1651248931885, "y": 1344.1222330331802, "z": "dffc6494.bbb2d8", "wires": [ [ "e8091f90.d8758" ] ] }, { "id": "ea7febcc.253688", "type": "for", "name": "for loop paramidx - Get topology from servicedata", "xml": "\n \n \n", "comments": "", "outputs": 1, "x": 1903.1637878417969, "y": 1437.1214720010757, "z": "dffc6494.bbb2d8", "wires": [ [ "a261c913.e49f08" ] ] }, { "id": "c9c5e103.2dba", "type": "switchNode", "name": "switch topology", "xml": "\n", "comments": "", "outputs": 1, "x": 2357.1641483306885, "y": 1424.121761918068, "z": "dffc6494.bbb2d8", "wires": [ [ "d03c47e7.2291b8" ] ] }, { "id": "d03c47e7.2291b8", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2506.1639041900635, "y": 1419.1218839883804, "z": "dffc6494.bbb2d8", "wires": [ [ "6f44a2b9.64d87c" ] ] }, { "id": "6f44a2b9.64d87c", "type": "set", "name": "set topology", "xml": "\n\n", "comments": "", "x": 2646.1640911102295, "y": 1416.721799492836, "z": "dffc6494.bbb2d8", "wires": [] }, { "id": "2f06a667.74729a", "type": "switchNode", "name": "switch vpnId", "xml": "\n", "comments": "", "outputs": 1, "x": 2344.8300952911377, "y": 1462.454986691475, "z": "dffc6494.bbb2d8", "wires": [ [ "26cdcacc.68bc96" ] ] }, { "id": "26cdcacc.68bc96", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2484.8300380706787, "y": 1462.454803109169, "z": "dffc6494.bbb2d8", "wires": [ [ "b29eb112.7e5e6" ] ] }, { "id": "b29eb112.7e5e6", "type": "set", "name": "set prop.vpn1Id", "xml": "\n\n", "comments": "", "x": 2632.830041885376, "y": 1462.054870724678, "z": "dffc6494.bbb2d8", "wires": [] }, { "id": "6f11d9b9.d9b5a8", "type": "execute", "name": "execute RestApiCallNode create vpn ", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 689.9980926513672, "y": 1128.1227440834045, "z": "dffc6494.bbb2d8", "wires": [ [ "65b6f0f3.2d5de", "76008493.6f9b6c" ] ] }, { "id": "76008493.6f9b6c", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 909.9979953765869, "y": 1124.1227089166641, "z": "dffc6494.bbb2d8", "wires": [ [ "3a95c7bc.96e9b8" ] ] }, { "id": "3a95c7bc.96e9b8", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 1079.9979343414307, "y": 1127.1227089166641, "z": "dffc6494.bbb2d8", "wires": [ [] ] }, { "id": "daf3ded5.68f9c", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1079.9980564117432, "y": 1083.1227089166641, "z": "dffc6494.bbb2d8", "wires": [] }, { "id": "65b6f0f3.2d5de", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 912.9979343414307, "y": 1083.1227089166641, "z": "dffc6494.bbb2d8", "wires": [ [ "daf3ded5.68f9c" ] ] }, { "id": "643b6a4a.e81654", "type": "set", "name": "set prop.name", "xml": "\n\n", "comments": "", "x": 2489.9968280792236, "y": 1051.1214628219604, "z": "dffc6494.bbb2d8", "wires": [] }, { "id": "607a7459.cb7aac", "type": "switchNode", "name": "switch sdwanVpnName", "xml": "\n", "comments": "", "outputs": 1, "x": 2169.4965839385986, "y": 1056.1214628219604, "z": "dffc6494.bbb2d8", "wires": [ [ "5340c76b.84ae08" ] ] }, { "id": "5340c76b.84ae08", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2346.4968280792236, "y": 1053.1214628219604, "z": "dffc6494.bbb2d8", "wires": [ [ "643b6a4a.e81654" ] ] }, { "id": "6b6508e8.a91ff8", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1259.0269775390625, "y": 874.3190307617188, "z": "dffc6494.bbb2d8", "wires": [ [ "f4b4f93.ed2c608", "62278433.5ef6cc", "f022812b.da229" ] ] }, { "id": "989cf904.9df618", "type": "for", "name": "for pidx..mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource[]", "xml": "\n", "comments": "", "outputs": 1, "x": 852.18115234375, "y": 883.0944213867188, "z": "dffc6494.bbb2d8", "wires": [ [ "6b6508e8.a91ff8" ] ] }, { "id": "62278433.5ef6cc", "type": "execute", "name": "generate tmp.ar-url-connection url", "xml": "\n \n \n \n \n", "comments": "", "outputs": 1, "x": 1507.9962997436523, "y": 872.6668090820312, "z": "dffc6494.bbb2d8", "wires": [ [] ] }, { "id": "f022812b.da229", "type": "execute", "name": "execute RestApiCallNode - get-resource connection-attachment-allotted-resource", "xml": "\n \n \n \n \n \n \n\n", "comments": "", "outputs": 1, "x": 1656.99609375, "y": 911.3333740234375, "z": "dffc6494.bbb2d8", "wires": [ [ "9877a25.829156", "a15a79a.36a3388" ] ] }, { "id": "e782e2ca.8bf82", "type": "execute", "name": "generate prop.ar-parent-service-instance-id", "xml": "\n \n \n \n \n\n", "comments": "", "outputs": 1, "x": 1687.3295593261719, "y": 1120.0003362894058, "z": "dffc6494.bbb2d8", "wires": [ [] ] }, { "id": "1cdc5d42.9a95b3", "type": "execute", "name": "execute RestApiCallNode - get parent service data", "xml": "\n \n \n \n \n \n \n\n", "comments": "", "outputs": 1, "x": 1706.3295288085938, "y": 1154.0004221200943, "z": "dffc6494.bbb2d8", "wires": [ [ "a5b86b7b.af84c8", "c3c5524a.3faea" ] ] }, { "id": "cee99943.fb3588", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1966.0272235870361, "y": 1030.5311307907104, "z": "dffc6494.bbb2d8", "wires": [ [ "509849b3.d30508", "607a7459.cb7aac" ] ] }, { "id": "e8091f90.d8758", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1492.0277786254883, "y": 1477.5313215255737, "z": "dffc6494.bbb2d8", "wires": [ [ "ea7febcc.253688", "2c101b23.e11c54", "390e0e98.c0e052", "64a3b63d.2b1de8" ] ] }, { "id": "b7189ec7.b6673", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1602.6634063720703, "y": 1344.667093873024, "z": "dffc6494.bbb2d8", "wires": [ [ "86cf34ff.454008" ] ] }, { "id": "a2ba66c.8ff5498", "type": "block", "name": "block atmoic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1827.9984703063965, "y": 1881.667660355568, "z": "dffc6494.bbb2d8", "wires": [ [ "8bbd7692.ac8cd8" ] ] }, { "id": "a261c913.e49f08", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2189.027723312378, "y": 1437.5314317941666, "z": "dffc6494.bbb2d8", "wires": [ [ "c9c5e103.2dba", "2f06a667.74729a" ] ] }, { "id": "aa76b9db.55ac58", "type": "set", "name": "set prop.attach.siteId", "xml": "\n\n\n", "comments": "", "x": 2080.665012359619, "y": 1955.3338705301285, "z": "dffc6494.bbb2d8", "wires": [] }, { "id": "1deec432.31ab3c", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2260.255527496338, "y": 1736.00441801548, "z": "dffc6494.bbb2d8", "wires": [ [ "6d2e1c61.8e7884", "ac9bfac3.fa8558" ] ] }, { "id": "feeed51.dea6e28", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1883.755947113037, "y": 1981.754342675209, "z": "dffc6494.bbb2d8", "wires": [ [ "aa76b9db.55ac58", "4e949727.dc9598" ] ] }, { "id": "1b86e032.9e8d5", "type": "call", "name": "call sdwan-wanport-vnf-topology-operation-underlay", "xml": "\n", "comments": "", "outputs": 1, "x": 739.753984451294, "y": 1336.2539825439453, "z": "dffc6494.bbb2d8", "wires": [ [] ] }, { "id": "7f6d52f3.6e394c", "type": "comment", "name": "underlay", "info": "1. Get consumed AR from service data\n2. for all the AR id's get the respective AR from MDSAL\n3. From MDSAL AR get parent service instance ID\n4. Get service data based in parent service instance ID to get parent service. i.e, SDWAN Infra service\n5. Get SDWAN connectivity from looping network and check for topology\n6. from parent service data get siteAttachInstance vnf and check the role\n7. from parent service data get wanportINstance vnf and check the transportNetworkName\n8. Get provided AR from the parent service data\n9. for each of the provided ARid get the AR from MDSAL\n10.in the AR check for hub\n\n", "comments": "", "x": 647.7229633331299, "y": 1301.22292137146, "z": "dffc6494.bbb2d8", "wires": [] }, { "id": "38de1063.b6c52", "type": "set", "name": "set prop.siteAttachement_length=0", "xml": "\n\n\n\n\n\n", "comments": "", "x": 688.9999694824219, "y": 848.5311733484268, "z": "dffc6494.bbb2d8", "wires": [] }, { "id": "2c101b23.e11c54", "type": "set", "name": "set prop.ar-service-instance-id", "xml": "\n\n", "comments": "", "x": 1852.0003967285156, "y": 1475.531231880188, "z": "dffc6494.bbb2d8", "wires": [] }, { "id": "390e0e98.c0e052", "type": "execute", "name": "generate prop.ar-service-instance-id", "xml": "\n \n \n \n \n\n", "comments": "", "outputs": 1, "x": 1862.3326683044434, "y": 1516.4093770980835, "z": "dffc6494.bbb2d8", "wires": [ [] ] }, { "id": "64a3b63d.2b1de8", "type": "execute", "name": "execute RestApiCallNode - get service data", "xml": "\n \n \n \n \n \n \n\n", "comments": "", "outputs": 1, "x": 1891.3327331542969, "y": 1557.4093770980835, "z": "dffc6494.bbb2d8", "wires": [ [ "989a92da.0b198", "30bf8c06.3702c4" ] ] }, { "id": "989a92da.0b198", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 2147.8524169921875, "y": 1566.5972105264664, "z": "dffc6494.bbb2d8", "wires": [ [ "337ed6c3.e36fba" ] ] }, { "id": "30bf8c06.3702c4", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 2150.000087738037, "y": 1605.5310827493668, "z": "dffc6494.bbb2d8", "wires": [ [ "8b4ff7.5f205008" ] ] }, { "id": "337ed6c3.e36fba", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2277.5006103515625, "y": 1560.0311704874039, "z": "dffc6494.bbb2d8", "wires": [ [] ] }, { "id": "8b4ff7.5f205008", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1625.9998779296875, "y": 1656.5311304330826, "z": "dffc6494.bbb2d8", "wires": [ [ "70d2ed6a.c33784" ] ] }, { "id": "94e25478.dfdfd8", "type": "comment", "name": "TODO send Email", "info": "", "comments": "", "x": 988.9999866485596, "y": 1381.0313110351562, "z": "dffc6494.bbb2d8", "wires": [] } ]