[ { "id": "4eb3c760.0f4e78", "type": "dgstart", "name": "DGSTART", "outputs": 1, "x": 91, "y": 47, "z": "5b3e3707.3aa6c8", "wires": [ [ "6dada1.f2c9326" ] ] }, { "id": "6dada1.f2c9326", "type": "service-logic", "name": "GENERIC-RESOURCE-API ${project.version}", "module": "GENERIC-RESOURCE-API", "version": "${project.version}", "comments": "", "xml": "", "outputs": 1, "x": 282.0000057220459, "y": 117.00001811981201, "z": "5b3e3707.3aa6c8", "wires": [ [ "280e7b0d.e2eef4" ] ] }, { "id": "280e7b0d.e2eef4", "type": "method", "name": "sdwan-attachment-topology-operation-activate", "xml": "\n", "comments": "", "outputs": 1, "x": 270.00012397766113, "y": 205.00000095367432, "z": "5b3e3707.3aa6c8", "wires": [ [ "3b8ff9db.6736b6" ] ] }, { "id": "3b8ff9db.6736b6", "type": "block", "name": "block : atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 172.00013732910156, "y": 891.0002890825272, "z": "5b3e3707.3aa6c8", "wires": [ [ "91ee02fa.b186a", "ba42cb5a.846d08", "b40f6fde.18743", "8171db6d.f63858", "e6936fb4.46122", "a02dc728.884b28", "210482d7.10d8ee", "b09356ce.de3e78", "b70e72ac.ac27d", "720d11d0.f67bc", "671de4e7.c5daec", "22826455.9296ec", "f959c075.1e7e6", "69260ab2.333c94", "1ebdd52f.25cc2b", "5f71dd6c.97cd84", "69e18ab9.627484", "bcfeb911.f55008", "19a39c5d.bf96f4", "c4f38bc0.54d238", "6a97289d.80a568", "f3ac87c7.5588f8", "c88d609e.257e3", "86fafd91.f4f2f", "df3f5d3a.29e2c", "55f46b97.799ce4" ] ] }, { "id": "91ee02fa.b186a", "type": "set", "name": "set tmp.ar.allotted-resource-id,etc", "xml": "\n\n\n\n\n", "comments": "", "x": 682.9935626983643, "y": 158.99348783493042, "z": "5b3e3707.3aa6c8", "wires": [] }, { "id": "fc6cccab.f6373", "type": "comment", "name": "set tmp ar-id to fetch resource from MDSAL", "info": "", "comments": "", "x": 711.9538745880127, "y": 123.02528381347656, "z": "5b3e3707.3aa6c8", "wires": [] }, { "id": "ba42cb5a.846d08", "type": "set", "name": "set tmp.ar.self-link", "xml": "\n\n\n", "comments": "", "x": 636.993501663208, "y": 251.99349308013916, "z": "5b3e3707.3aa6c8", "wires": [] }, { "id": "8171db6d.f63858", "type": "execute", "name": "execute Properties", "xml": "\n \n \n", "comments": "", "outputs": 1, "x": 643.255392074585, "y": 339.66022205352783, "z": "5b3e3707.3aa6c8", "wires": [ [] ] }, { "id": "b40f6fde.18743", "type": "execute", "name": "generate allotted-resource tmp.ar-url", "xml": "\n \n \n \n \n", "comments": "", "outputs": 1, "x": 690.255449295044, "y": 427.6602258682251, "z": "5b3e3707.3aa6c8", "wires": [ [] ] }, { "id": "8f7c2f3a.39068", "type": "comment", "name": "GET connection-attachment-allotted-resource from mdsal", "info": "", "comments": "", "x": 744.8084106445312, "y": 496.53865146636963, "z": "5b3e3707.3aa6c8", "wires": [] }, { "id": "6a9edb15.0372c4", "type": "comment", "name": "Used for setting output to API Handler", "info": "", "comments": "", "x": 690.9935321807861, "y": 218.99350261688232, "z": "5b3e3707.3aa6c8", "wires": [] }, { "id": "5d0ffaf8.eea164", "type": "comment", "name": "Obtain different URL, template location etc", "info": "For saving resource information to MDSAL & for AAI", "comments": "", "x": 708.9934978485107, "y": 304.8823833465576, "z": "5b3e3707.3aa6c8", "wires": [] }, { "id": "4c6a252e.949a4c", "type": "comment", "name": "Used to Get AR by id to MDSAL, same as self-link", "info": "", "comments": "", "x": 734.9935169219971, "y": 391.882342338562, "z": "5b3e3707.3aa6c8", "wires": [] }, { "id": "1df58ece.22a6f1", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 1198.6668224334717, "y": 509.99997901916504, "z": "5b3e3707.3aa6c8", "wires": [ [ "beb58fcf.0e694" ] ] }, { "id": "beb58fcf.0e694", "type": "block", "name": "block: atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1342.6669006347656, "y": 467.4998970031738, "z": "5b3e3707.3aa6c8", "wires": [ [ "b372be99.b158c" ] ] }, { "id": "b372be99.b158c", "type": "switchNode", "name": "switch cr length", "xml": "\n", "comments": "", "outputs": 1, "x": 1511.5243244171143, "y": 465.11906814575195, "z": "5b3e3707.3aa6c8", "wires": [ [ "553cf33f.abe66c", "efe7a59a.897c58" ] ] }, { "id": "553cf33f.abe66c", "type": "other", "name": "outcome 1", "xml": "\n", "comments": "", "outputs": 1, "x": 1666.8574600219727, "y": 437.1189832687378, "z": "5b3e3707.3aa6c8", "wires": [ [ "bb79446e.fd2a98" ] ] }, { "id": "bb79446e.fd2a98", "type": "block", "name": "block: atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1825.3812637329102, "y": 435.02383041381836, "z": "5b3e3707.3aa6c8", "wires": [ [ "c3367ce.c8b6f8", "6e235bab.f44c74", "fca0cf3f.e6c1c" ] ] }, { "id": "cad70d2f.866d6", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n \n", "comments": "", "x": 1765.5191955566406, "y": 542.0660648345947, "z": "5b3e3707.3aa6c8", "wires": [] }, { "id": "60f581d.8121d8", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 1190.5186252593994, "y": 545.0660638809204, "z": "5b3e3707.3aa6c8", "wires": [ [ "4541101a.4fcaa" ] ] }, { "id": "4541101a.4fcaa", "type": "block", "name": "block: atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1370.518575668335, "y": 545.7326145172119, "z": "5b3e3707.3aa6c8", "wires": [ [ "cad70d2f.866d6" ] ] }, { "id": "efe7a59a.897c58", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 1658.1854629516602, "y": 496.39935779571533, "z": "5b3e3707.3aa6c8", "wires": [ [ "cad70d2f.866d6" ] ] }, { "id": "c3367ce.c8b6f8", "type": "set", "name": "set connection-attachment-ar from get", "xml": "\n\n", "comments": "", "x": 2072.4447174072266, "y": 408.00008249282837, "z": "5b3e3707.3aa6c8", "wires": [] }, { "id": "6e235bab.f44c74", "type": "set", "name": "set oper-status", "xml": "\n\n\n\n\n", "comments": "", "x": 2021.4449863433838, "y": 510.4286185503006, "z": "5b3e3707.3aa6c8", "wires": [] }, { "id": "fca0cf3f.e6c1c", "type": "switchNode", "name": "switch order-status", "xml": "\n", "comments": "", "outputs": 1, "x": 2023.444803237915, "y": 450.0000435113907, "z": "5b3e3707.3aa6c8", "wires": [ [ "3fdfd73c.bfa0f8", "a02243dc.27d9" ] ] }, { "id": "a02243dc.27d9", "type": "outcome", "name": "outcome Created", "xml": "\n", "comments": "", "outputs": 1, "x": 2251.0451526641846, "y": 441.00010073184967, "z": "5b3e3707.3aa6c8", "wires": [ [ "efd48355.63c2" ] ] }, { "id": "3fdfd73c.bfa0f8", "type": "outcome", "name": "outcome Other", "xml": "\n", "comments": "", "outputs": 1, "x": 2245.759048461914, "y": 480.42865800857544, "z": "5b3e3707.3aa6c8", "wires": [ [ "e7841384.7d2f" ] ] }, { "id": "efd48355.63c2", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2410.515281677246, "y": 441.37570571899414, "z": "5b3e3707.3aa6c8", "wires": [ [] ] }, { "id": "e7841384.7d2f", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 2421.666862487793, "y": 479.000057220459, "z": "5b3e3707.3aa6c8", "wires": [] }, { "id": "28e25554.5dcffa", "type": "call", "name": "call GENERIC-RESOURCE-API:sdwan-get-saved-ar-param", "xml": "\n", "comments": "", "outputs": 1, "x": 915.3030433654785, "y": 616.4936294555664, "z": "5b3e3707.3aa6c8", "wires": [ [] ] }, { "id": "e6936fb4.46122", "type": "block", "name": "block: atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 609.3091430664062, "y": 617.5, "z": "5b3e3707.3aa6c8", "wires": [ [ "28e25554.5dcffa" ] ] }, { "id": "912e86c8.6df528", "type": "comment", "name": "GET parent-service-data from mdsal to check existence of other End point", "info": "", "comments": "", "x": 787.00048828125, "y": 688.53173828125, "z": "5b3e3707.3aa6c8", "wires": [] }, { "id": "bb953da4.20a6", "type": "comment", "name": "GET connection-attachment-ar to store AR data from mdsal", "info": "", "comments": "", "x": 2134.4727783203125, "y": 368.5039367675781, "z": "5b3e3707.3aa6c8", "wires": [] }, { "id": "a02dc728.884b28", "type": "set", "name": "set tmp.ar.parent-service-instance-id", "xml": "\n\n\n", "comments": "", "x": 672.9688110351562, "y": 718.0001220703125, "z": "5b3e3707.3aa6c8", "wires": [] }, { "id": "237a4084.caa97", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 1032.968978881836, "y": 775.0000915527344, "z": "5b3e3707.3aa6c8", "wires": [ [ "cb935d16.398af" ] ] }, { "id": "b92e648c.4237d8", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 1024.8207817077637, "y": 810.0661764144897, "z": "5b3e3707.3aa6c8", "wires": [ [ "3472a1b6.dd0c3e" ] ] }, { "id": "3472a1b6.dd0c3e", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n \n", "comments": "", "x": 1170.9695625305176, "y": 809.3335876464844, "z": "5b3e3707.3aa6c8", "wires": [] }, { "id": "cb935d16.398af", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1163.9690742492676, "y": 775.0001525878906, "z": "5b3e3707.3aa6c8", "wires": [ [] ] }, { "id": "a9379012.e6c67", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 846.7313137054443, "y": 2135.9540371894836, "z": "5b3e3707.3aa6c8", "wires": [ [ "be6d4648.608728" ] ] }, { "id": "be6d4648.608728", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1013.2551345825195, "y": 2162.5730443000793, "z": "5b3e3707.3aa6c8", "wires": [] }, { "id": "c2820f2f.b28f6", "type": "failure", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, "x": 848.8265419006348, "y": 2183.715879917145, "z": "5b3e3707.3aa6c8", "wires": [ [ "be6d4648.608728" ] ] }, { "id": "4982ee04.1cd2f", "type": "comment", "name": "Save Resource to AAI", "info": "", "comments": "", "x": 620.7789573669434, "y": 2124.3032002449036, "z": "5b3e3707.3aa6c8", "wires": [] }, { "id": "1ebdd52f.25cc2b", "type": "set", "name": "set output to api handler", "xml": "\n\n\n\n \n", "comments": "", "x": 635.5466537475586, "y": 2045.8286814689636, "z": "5b3e3707.3aa6c8", "wires": [] }, { "id": "5f71dd6c.97cd84", "type": "returnSuccess", "name": "return success", "xml": "\n\n\n\n", "comments": "", "x": 595.9598255157471, "y": 2231.4444699287415, "z": "5b3e3707.3aa6c8", "wires": [] }, { "id": "69260ab2.333c94", "type": "execute", "name": "execute RestApiCallNode - PUT AR by id", "xml": "\n \n \n \n \n \n \n \n\n", "comments": "", "outputs": 1, "x": 688.278736114502, "y": 1970.4695343971252, "z": "5b3e3707.3aa6c8", "wires": [ [ "61914fb2.5848f", "913cab50.d379e8", "247de1a.a91111e" ] ] }, { "id": "61914fb2.5848f", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, "x": 942.9201583862305, "y": 2014.8009285926819, "z": "5b3e3707.3aa6c8", "wires": [ [ "63853616.80d768" ] ] }, { "id": "913cab50.d379e8", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 944.9201812744141, "y": 1973.3008927330375, "z": "5b3e3707.3aa6c8", "wires": [ [ "63853616.80d768" ] ] }, { "id": "247de1a.a91111e", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 948.6702651977539, "y": 1924.6580452919006, "z": "5b3e3707.3aa6c8", "wires": [ [ "e8b97cec.a52d7" ] ] }, { "id": "63853616.80d768", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1103.6702842712402, "y": 1993.05095911026, "z": "5b3e3707.3aa6c8", "wires": [] }, { "id": "e8b97cec.a52d7", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1076.3262100219727, "y": 1926.8502135276794, "z": "5b3e3707.3aa6c8", "wires": [ [] ] }, { "id": "720d11d0.f67bc", "type": "set", "name": "set ar-data", "xml": "\n\n\n\n\n\n\n", "comments": "", "x": 590.4923515319824, "y": 1804.8504354953766, "z": "5b3e3707.3aa6c8", "wires": [] }, { "id": "22826455.9296ec", "type": "execute", "name": "execute getTime", "xml": "\n \n\n", "comments": "", "outputs": 1, "x": 607.7781944274902, "y": 1877.4700331687927, "z": "5b3e3707.3aa6c8", "wires": [ [] ] }, { "id": "f959c075.1e7e6", "type": "set", "name": "set allotted-resource-oper-status", "xml": "\n\n\n\n\n\n", "comments": "", "x": 657.7652740478516, "y": 1914.4211134910583, "z": "5b3e3707.3aa6c8", "wires": [] }, { "id": "671de4e7.c5daec", "type": "set", "name": "set model-data", "xml": "\n", "comments": "", "x": 604.3338928222656, "y": 1844.025085926056, "z": "5b3e3707.3aa6c8", "wires": [] }, { "id": "33b4dd9d.575162", "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": 715.6673889160156, "y": 1766.0250434875488, "z": "5b3e3707.3aa6c8", "wires": [] }, { "id": "ad8abb41.f27f98", "type": "comment", "name": "Add to allotted-resources in mdsal", "info": "", "comments": "", "x": 659.2471809387207, "y": 1732.4383397102356, "z": "5b3e3707.3aa6c8", "wires": [] }, { "id": "c88d609e.257e3", "type": "update", "name": "update AAI allotted-resource", "xml": "\n\t\n\t\n\t\n\t\n", "comments": "", "outputs": 1, "x": 647.2232360839844, "y": 2161.7553429603577, "z": "5b3e3707.3aa6c8", "wires": [ [ "a9379012.e6c67", "c2820f2f.b28f6" ] ] }, { "id": "210482d7.10d8ee", "type": "execute", "name": "execute RestApiCallNode - get-resource connection-attachment-allotted-resource", "xml": "\n \n \n \n \n \n \n\n", "comments": "", "outputs": 1, "x": 819.0039672851562, "y": 528.00390625, "z": "5b3e3707.3aa6c8", "wires": [ [ "1df58ece.22a6f1", "60f581d.8121d8" ] ] }, { "id": "b09356ce.de3e78", "type": "execute", "name": "execute RestApiCallNode - get-resource parent service data", "xml": "\n \n \n \n \n \n \n\n", "comments": "", "outputs": 1, "x": 742.0040893554688, "y": 791.0040893554688, "z": "5b3e3707.3aa6c8", "wires": [ [ "237a4084.caa97", "b92e648c.4237d8" ] ] }, { "id": "b70e72ac.ac27d", "type": "execute", "name": "get parent-service-data url", "xml": "\n \n \n \n \n", "comments": "", "outputs": 1, "x": 642.0039978027344, "y": 754.0039224624634, "z": "5b3e3707.3aa6c8", "wires": [ [] ] }, { "id": "32321857.9b87a8", "type": "set", "name": "set prop.ar.provided-allotted-resource-id", "xml": "\n\n\n", "comments": "", "x": 1499.9964752197266, "y": 843.1218557357788, "z": "5b3e3707.3aa6c8", "wires": [] }, { "id": "b156e259.c2b83", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 2005.9970703125, "y": 937.4551391601562, "z": "5b3e3707.3aa6c8", "wires": [ [ "7bcfda30.e9f8d4" ] ] }, { "id": "9ffe3ec9.11aa8", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 2009.848445892334, "y": 899.52121925354, "z": "5b3e3707.3aa6c8", "wires": [ [ "66958c0e.e9ae64" ] ] }, { "id": "edc31606.488c38", "type": "for", "name": "for arvidx.. mdsal-sd.service-data.vnfs.vnf_length[]", "xml": "\n", "comments": "", "outputs": 1, "x": 1901.9976425170898, "y": 1665.1222692728043, "z": "5b3e3707.3aa6c8", "wires": [ [ "4a985c04.ef4f84" ] ] }, { "id": "4a985c04.ef4f84", "type": "block", "name": "block atmoic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1661.6641387939453, "y": 1737.1224619150162, "z": "5b3e3707.3aa6c8", "wires": [ [ "f49161ce.7951e" ] ] }, { "id": "f49161ce.7951e", "type": "switchNode", "name": "switch ActivateSiteInstance", "xml": "\n\n \n \n\n", "comments": "", "outputs": 1, "x": 1874.5293731689453, "y": 1738.3203302621841, "z": "5b3e3707.3aa6c8", "wires": [ [ "ba99c3de.16d52" ] ] }, { "id": "ba99c3de.16d52", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2079.52872467041, "y": 1741.3203264474869, "z": "5b3e3707.3aa6c8", "wires": [ [ "81072e73.36a9b" ] ] }, { "id": "fe54ca75.073228", "type": "set", "name": "set tmp.sitevidx ", "xml": "\n\n\n", "comments": "", "x": 2423.528896331787, "y": 1721.3206740617752, "z": "5b3e3707.3aa6c8", "wires": [] }, { "id": "fca98070.131e", "type": "set", "name": "set prop.ar-parent-service-instance-id", "xml": "\n \n", "comments": "", "x": 1650.9970703125, "y": 1084.1221185922623, "z": "5b3e3707.3aa6c8", "wires": [] }, { "id": "3615b198.912bde", "type": "for", "name": "for loop aridx - Get role from allotted resource", "xml": "\n \n \n", "comments": "", "outputs": 1, "x": 1677.9965839385986, "y": 1041.6217069625854, "z": "5b3e3707.3aa6c8", "wires": [ [ "ff4ce46e.aa5008" ] ] }, { "id": "17a801cc.ffa25e", "type": "switchNode", "name": "switch Role", "xml": "\n", "comments": "", "outputs": 1, "x": 2108.9968280792236, "y": 1007.621829032898, "z": "5b3e3707.3aa6c8", "wires": [ [ "4be35b76.6b2a54" ] ] }, { "id": "4be35b76.6b2a54", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2248.9970722198486, "y": 1005.6219511032104, "z": "5b3e3707.3aa6c8", "wires": [ [ "7e234298.9ccc3c" ] ] }, { "id": "7e234298.9ccc3c", "type": "set", "name": "set prop.role", "xml": "\n\n", "comments": "", "x": 2392.9978046417236, "y": 1005.2218046188354, "z": "5b3e3707.3aa6c8", "wires": [] }, { "id": "c26e60ea.9b07b", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 1956.9968872070312, "y": 1184.1219259500504, "z": "5b3e3707.3aa6c8", "wires": [ [ "dcf01c19.ab4ec" ] ] }, { "id": "21194342.fd75ac", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 1954.8492164611816, "y": 1145.18805372715, "z": "5b3e3707.3aa6c8", "wires": [ [ "26a61e2a.3b4ee2" ] ] }, { "id": "66958c0e.e9ae64", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2135.996570587158, "y": 896.6216526031494, "z": "5b3e3707.3aa6c8", "wires": [ [] ] }, { "id": "7bcfda30.e9f8d4", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1301.496524810791, "y": 1076.6217823028564, "z": "5b3e3707.3aa6c8", "wires": [ [ "3615b198.912bde", "fca98070.131e", "d8ea80f8.53dca", "f11b05ac.5891b8" ] ] }, { "id": "26a61e2a.3b4ee2", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2084.4974098205566, "y": 1138.6220136880875, "z": "5b3e3707.3aa6c8", "wires": [ [] ] }, { "id": "dcf01c19.ab4ec", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1683.4971466064453, "y": 1263.6221548318863, "z": "5b3e3707.3aa6c8", "wires": [ [ "6973f8af.870f38" ] ] }, { "id": "452db2df.70966c", "type": "for", "name": "for loop siteidx - Get site ID from servicedata", "xml": "\n \n \n", "comments": "", "outputs": 1, "x": 2502.4985961914062, "y": 1771.6224666833878, "z": "5b3e3707.3aa6c8", "wires": [ [ "5784939.f29e76c" ] ] }, { "id": "200a6173.10b10e", "type": "switchNode", "name": "switch siteId", "xml": "\n\n", "comments": "", "outputs": 1, "x": 1973.501958847046, "y": 1885.6239286661148, "z": "5b3e3707.3aa6c8", "wires": [ [ "91222197.1f508" ] ] }, { "id": "91222197.1f508", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2128.5023288726807, "y": 1887.6242953538895, "z": "5b3e3707.3aa6c8", "wires": [ [ "ea7d1279.422d1" ] ] }, { "id": "62f62c1c.d1f314", "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", "comments": "", "x": 2106.0009231567383, "y": 2020.1228910684586, "z": "5b3e3707.3aa6c8", "wires": [] }, { "id": "f3ac87c7.5588f8", "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": 698.9997272491455, "y": 1553.6235390901566, "z": "5b3e3707.3aa6c8", "wires": [ [ "b3354b35.0339d8", "83e6dff5.c0823" ] ] }, { "id": "83e6dff5.c0823", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 942.9996814727783, "y": 1574.6233559846878, "z": "5b3e3707.3aa6c8", "wires": [ [ "5884381c.754b78" ] ] }, { "id": "5884381c.754b78", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 1112.999620437622, "y": 1577.6233559846878, "z": "5b3e3707.3aa6c8", "wires": [ [] ] }, { "id": "3a834e9e.d6b4c2", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1112.9997425079346, "y": 1533.6233559846878, "z": "5b3e3707.3aa6c8", "wires": [] }, { "id": "b3354b35.0339d8", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 945.9996204376221, "y": 1533.6233559846878, "z": "5b3e3707.3aa6c8", "wires": [ [ "3a834e9e.d6b4c2" ] ] }, { "id": "97a06baa.a4df68", "type": "set", "name": "set controller data", "xml": "\n\n\n\n", "comments": "", "x": 1061.5652923583984, "y": 928.2990293502808, "z": "5b3e3707.3aa6c8", "wires": [] }, { "id": "c4f38bc0.54d238", "type": "get-resource", "name": "get-resource esr-thirdparty-sdnc", "xml": "\n\n", "comments": "", "outputs": 1, "x": 658.0650634765625, "y": 954.2993497848511, "z": "5b3e3707.3aa6c8", "wires": [ [ "b1ed8af2.ff9cc8", "64af3109.c43ba", "b545c5fe.0aa818" ] ] }, { "id": "b1ed8af2.ff9cc8", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 896.0651664733887, "y": 928.2989978790283, "z": "5b3e3707.3aa6c8", "wires": [ [ "97a06baa.a4df68" ] ] }, { "id": "64af3109.c43ba", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, "x": 892.5559043884277, "y": 964.8731408119202, "z": "5b3e3707.3aa6c8", "wires": [ [ "84eeaaa5.5de4f8" ] ] }, { "id": "b545c5fe.0aa818", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 886.8889579772949, "y": 1001.2064542770386, "z": "5b3e3707.3aa6c8", "wires": [ [ "4396ff0e.50b9e" ] ] }, { "id": "84eeaaa5.5de4f8", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n\t\n\t\n \n", "comments": "", "outputs": 1, "x": 1991.4972763061523, "y": 1263.122277855873, "z": "5b3e3707.3aa6c8", "wires": [ [ "86298d2a.4e81d" ] ] }, { "id": "9e5424eb.2e5b98", "type": "switchNode", "name": "switch ActivateSDWANConnectivityInstance", "xml": "\n \n \n\n", "comments": "", "outputs": 1, "x": 1838.165672302246, "y": 1352.1222940683365, "z": "5b3e3707.3aa6c8", "wires": [ [ "7568a55.272e35c" ] ] }, { "id": "7568a55.272e35c", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2094.1651248931885, "y": 1350.1222330331802, "z": "5b3e3707.3aa6c8", "wires": [ [ "e1df3461.3efed8" ] ] }, { "id": "34f69c4e.e0acb4", "type": "for", "name": "for loop paramidx - Get topology from servicedata", "xml": "\n \n \n", "comments": "", "outputs": 1, "x": 1881.1637878417969, "y": 1443.1214720010757, "z": "5b3e3707.3aa6c8", "wires": [ [ "1b29b6f3.84c7e9" ] ] }, { "id": "9dd144dd.7929d8", "type": "switchNode", "name": "switch topology", "xml": "\n", "comments": "", "outputs": 1, "x": 2335.1641483306885, "y": 1430.121761918068, "z": "5b3e3707.3aa6c8", "wires": [ [ "e3be96aa.c2c8a8" ] ] }, { "id": "e3be96aa.c2c8a8", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2484.1639041900635, "y": 1425.1218839883804, "z": "5b3e3707.3aa6c8", "wires": [ [ "23ce8dd3.49fc12" ] ] }, { "id": "23ce8dd3.49fc12", "type": "set", "name": "set topology", "xml": "\n\n", "comments": "", "x": 2624.1640911102295, "y": 1422.721799492836, "z": "5b3e3707.3aa6c8", "wires": [] }, { "id": "ecf33c6a.0e252", "type": "switchNode", "name": "switch vpnId", "xml": "\n", "comments": "", "outputs": 1, "x": 2322.8300952911377, "y": 1468.454986691475, "z": "5b3e3707.3aa6c8", "wires": [ [ "3bf645ac.c4019a" ] ] }, { "id": "3bf645ac.c4019a", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2462.8300380706787, "y": 1468.454803109169, "z": "5b3e3707.3aa6c8", "wires": [ [ "f947fdb0.d1a3c" ] ] }, { "id": "f947fdb0.d1a3c", "type": "set", "name": "set prop.vpn1Id", "xml": "\n\n", "comments": "", "x": 2610.830041885376, "y": 1468.054870724678, "z": "5b3e3707.3aa6c8", "wires": [] }, { "id": "6a97289d.80a568", "type": "execute", "name": "execute RestApiCallNode create vpn ", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 667.9981231689453, "y": 1462.1229600906372, "z": "5b3e3707.3aa6c8", "wires": [ [ "5ffc81bd.b86cd", "2fd24486.c6bc7c" ] ] }, { "id": "2fd24486.c6bc7c", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 887.998025894165, "y": 1458.1229249238968, "z": "5b3e3707.3aa6c8", "wires": [ [ "10a20cb7.762a63" ] ] }, { "id": "10a20cb7.762a63", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 1057.9979648590088, "y": 1461.1229249238968, "z": "5b3e3707.3aa6c8", "wires": [ [] ] }, { "id": "bb44545a.967818", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1057.9980869293213, "y": 1417.1229249238968, "z": "5b3e3707.3aa6c8", "wires": [] }, { "id": "5ffc81bd.b86cd", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 890.9979648590088, "y": 1417.1229249238968, "z": "5b3e3707.3aa6c8", "wires": [ [ "bb44545a.967818" ] ] }, { "id": "c6900049.d4f2a", "type": "set", "name": "set prop.name", "xml": "\n\n", "comments": "", "x": 2467.9968280792236, "y": 1057.1214628219604, "z": "5b3e3707.3aa6c8", "wires": [] }, { "id": "6d71d4d6.b3bfec", "type": "switchNode", "name": "switch sdwanVpnName", "xml": "\n", "comments": "", "outputs": 1, "x": 2147.4965839385986, "y": 1062.1214628219604, "z": "5b3e3707.3aa6c8", "wires": [ [ "95235e68.5208b" ] ] }, { "id": "95235e68.5208b", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2324.4968280792236, "y": 1059.1214628219604, "z": "5b3e3707.3aa6c8", "wires": [ [ "c6900049.d4f2a" ] ] }, { "id": "5dc928bc.725628", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1237.0269775390625, "y": 880.3190307617188, "z": "5b3e3707.3aa6c8", "wires": [ [ "32321857.9b87a8", "8e15f4fa.e90f28", "9fc5f700.68a778" ] ] }, { "id": "69e18ab9.627484", "type": "for", "name": "for pidx..mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource[]", "xml": "\n", "comments": "", "outputs": 1, "x": 830.18115234375, "y": 889.0944213867188, "z": "5b3e3707.3aa6c8", "wires": [ [ "5dc928bc.725628" ] ] }, { "id": "8e15f4fa.e90f28", "type": "execute", "name": "generate tmp.ar-url-connection url", "xml": "\n \n \n \n \n", "comments": "", "outputs": 1, "x": 1485.9962997436523, "y": 878.6668090820312, "z": "5b3e3707.3aa6c8", "wires": [ [] ] }, { "id": "9fc5f700.68a778", "type": "execute", "name": "execute RestApiCallNode - get-resource connection-attachment-allotted-resource", "xml": "\n \n \n \n \n \n \n\n", "comments": "", "outputs": 1, "x": 1634.99609375, "y": 917.3333740234375, "z": "5b3e3707.3aa6c8", "wires": [ [ "9ffe3ec9.11aa8", "b156e259.c2b83" ] ] }, { "id": "d8ea80f8.53dca", "type": "execute", "name": "generate prop.ar-parent-service-instance-id", "xml": "\n \n \n \n \n\n", "comments": "", "outputs": 1, "x": 1665.3295593261719, "y": 1126.0003362894058, "z": "5b3e3707.3aa6c8", "wires": [ [] ] }, { "id": "f11b05ac.5891b8", "type": "execute", "name": "execute RestApiCallNode - get parent service data", "xml": "\n \n \n \n \n \n \n\n", "comments": "", "outputs": 1, "x": 1684.3295288085938, "y": 1160.0004221200943, "z": "5b3e3707.3aa6c8", "wires": [ [ "21194342.fd75ac", "c26e60ea.9b07b" ] ] }, { "id": "ff4ce46e.aa5008", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1944.0272235870361, "y": 1036.5311307907104, "z": "5b3e3707.3aa6c8", "wires": [ [ "17a801cc.ffa25e", "6d71d4d6.b3bfec" ] ] }, { "id": "e1df3461.3efed8", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1470.0277786254883, "y": 1483.5313215255737, "z": "5b3e3707.3aa6c8", "wires": [ [ "34f69c4e.e0acb4", "f53c2301.9407e", "c3f7512e.84f81", "334c603e.da8c8" ] ] }, { "id": "86298d2a.4e81d", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1580.6634063720703, "y": 1350.667093873024, "z": "5b3e3707.3aa6c8", "wires": [ [ "9e5424eb.2e5b98" ] ] }, { "id": "5784939.f29e76c", "type": "block", "name": "block atmoic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1805.9984703063965, "y": 1887.667660355568, "z": "5b3e3707.3aa6c8", "wires": [ [ "200a6173.10b10e" ] ] }, { "id": "1b29b6f3.84c7e9", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2167.027723312378, "y": 1443.5314317941666, "z": "5b3e3707.3aa6c8", "wires": [ [ "9dd144dd.7929d8", "ecf33c6a.0e252" ] ] }, { "id": "5c15538f.0d810c", "type": "set", "name": "set prop.attach.siteId", "xml": "\n\n\n", "comments": "", "x": 2058.665012359619, "y": 1961.3338705301285, "z": "5b3e3707.3aa6c8", "wires": [] }, { "id": "81072e73.36a9b", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2238.255527496338, "y": 1742.00441801548, "z": "5b3e3707.3aa6c8", "wires": [ [ "fe54ca75.073228", "452db2df.70966c" ] ] }, { "id": "ea7d1279.422d1", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1861.755947113037, "y": 1987.754342675209, "z": "5b3e3707.3aa6c8", "wires": [ [ "5c15538f.0d810c", "62f62c1c.d1f314", "9f8585c2.03c528" ] ] }, { "id": "19a39c5d.bf96f4", "type": "call", "name": "call sdwan-wanport-vnf-topology-operation-underlay", "xml": "\n", "comments": "", "outputs": 1, "x": 717.7540149688721, "y": 1670.254198551178, "z": "5b3e3707.3aa6c8", "wires": [ [] ] }, { "id": "497d8e2c.0cabf", "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": 625.722993850708, "y": 1635.2231373786926, "z": "5b3e3707.3aa6c8", "wires": [] }, { "id": "bcfeb911.f55008", "type": "set", "name": "set prop.siteAttachement_length=0", "xml": "\n\n\n\n\n\n", "comments": "", "x": 666.9999694824219, "y": 854.5311733484268, "z": "5b3e3707.3aa6c8", "wires": [] }, { "id": "f53c2301.9407e", "type": "set", "name": "set prop.ar-service-instance-id", "xml": "\n\n", "comments": "", "x": 1830.0003967285156, "y": 1481.531231880188, "z": "5b3e3707.3aa6c8", "wires": [] }, { "id": "c3f7512e.84f81", "type": "execute", "name": "generate prop.ar-service-instance-id", "xml": "\n \n \n \n \n\n", "comments": "", "outputs": 1, "x": 1840.3326683044434, "y": 1522.4093770980835, "z": "5b3e3707.3aa6c8", "wires": [ [] ] }, { "id": "334c603e.da8c8", "type": "execute", "name": "execute RestApiCallNode - get service data", "xml": "\n \n \n \n \n \n \n\n", "comments": "", "outputs": 1, "x": 1869.3327331542969, "y": 1563.4093770980835, "z": "5b3e3707.3aa6c8", "wires": [ [ "c3928a9a.4b87b8", "3258f9bd.5d9236" ] ] }, { "id": "c3928a9a.4b87b8", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 2125.8524169921875, "y": 1572.5972105264664, "z": "5b3e3707.3aa6c8", "wires": [ [ "8e2c2a42.ebc3b8" ] ] }, { "id": "3258f9bd.5d9236", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 2128.000087738037, "y": 1611.5310827493668, "z": "5b3e3707.3aa6c8", "wires": [ [ "db1a6308.98167" ] ] }, { "id": "8e2c2a42.ebc3b8", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2255.5006103515625, "y": 1566.0311704874039, "z": "5b3e3707.3aa6c8", "wires": [ [] ] }, { "id": "db1a6308.98167", "type": "block", "name": "block atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1603.9998779296875, "y": 1662.5311304330826, "z": "5b3e3707.3aa6c8", "wires": [ [ "edc31606.488c38" ] ] }, { "id": "1a500d64.c038a3", "type": "comment", "name": "TODO send Email", "info": "", "comments": "", "x": 967.0000171661377, "y": 1715.031527042389, "z": "5b3e3707.3aa6c8", "wires": [] }, { "id": "9f8585c2.03c528", "type": "set", "name": "Add site attachement to list and update length", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "x": 2141.250045776367, "y": 2074.753987789154, "z": "5b3e3707.3aa6c8", "wires": [] }, { "id": "86fafd91.f4f2f", "type": "execute", "name": "execute RestApiCallNode Get token", "xml": "\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 655.0038986206055, "y": 1072.0041399002075, "z": "5b3e3707.3aa6c8", "wires": [ [ "6e49d8b7.8b66c8", "d4d84dda.9a08b" ] ] }, { "id": "6e49d8b7.8b66c8", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 907.0040245056152, "y": 1053.003957748413, "z": "5b3e3707.3aa6c8", "wires": [ [ "2d072571.88985a" ] ] }, { "id": "d4d84dda.9a08b", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 899.2540588378906, "y": 1088.6470804214478, "z": "5b3e3707.3aa6c8", "wires": [ [ "e6862503.c2ac28" ] ] }, { "id": "e6862503.c2ac28", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1047.004051208496, "y": 1086.3972024917603, "z": "5b3e3707.3aa6c8", "wires": [] }, { "id": "2d072571.88985a", "type": "set", "name": "set token-id", "xml": "\n\n", "comments": "", "x": 1056.0040245056152, "y": 1052.003927230835, "z": "5b3e3707.3aa6c8", "wires": [] }, { "id": "df3f5d3a.29e2c", "type": "get-resource", "name": "get-resource service-subscription", "xml": " ", "comments": "", "outputs": 1, "x": 645.8993682861328, "y": 1184.5660381317139, "z": "5b3e3707.3aa6c8", "wires": [ [ "a39bcd10.58925", "2937722a.892cce" ] ] }, { "id": "601b10b0.92d6e", "type": "switchNode", "name": "switch temp-ub-sub-account-id", "xml": "\n", "comments": "", "outputs": 1, "x": 1057.8994598388672, "y": 1149.3161191940308, "z": "5b3e3707.3aa6c8", "wires": [ [ "9400efe1.833e2", "af14c507.1fb9e8" ] ] }, { "id": "9400efe1.833e2", "type": "outcome", "name": "NULL", "xml": "", "comments": "", "outputs": 1, "x": 1250.6139106750488, "y": 1123.3161602020264, "z": "5b3e3707.3aa6c8", "wires": [ [ "97ca3fa8.80b92" ] ] }, { "id": "af14c507.1fb9e8", "type": "other", "name": "Other", "xml": "", "comments": "", "outputs": 1, "x": 1203.8994903564453, "y": 1217.3162384033203, "z": "5b3e3707.3aa6c8", "wires": [ [ "98cbe213.a0ab5" ] ] }, { "id": "a39bcd10.58925", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 856.3992309570312, "y": 1157.3120965957642, "z": "5b3e3707.3aa6c8", "wires": [ [ "601b10b0.92d6e" ] ] }, { "id": "2937722a.892cce", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 850.0778198242188, "y": 1209.5264081954956, "z": "5b3e3707.3aa6c8", "wires": [ [ "b04b740c.a6ef58" ] ] }, { "id": "b04b740c.a6ef58", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1002.8278198242188, "y": 1209.2764692306519, "z": "5b3e3707.3aa6c8", "wires": [] }, { "id": "98cbe213.a0ab5", "type": "set", "name": "set prop.tenant-id", "xml": "\n\n", "comments": "", "x": 1372.7566719055176, "y": 1215.423252105713, "z": "5b3e3707.3aa6c8", "wires": [] }, { "id": "55f46b97.799ce4", "type": "execute", "name": "execute RestApiCallNode Create tenant auth", "xml": "\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 683.3994293212891, "y": 1251.4588842391968, "z": "5b3e3707.3aa6c8", "wires": [ [] ] }, { "id": "97ca3fa8.80b92", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1363.042236328125, "y": 1168.1375246047974, "z": "5b3e3707.3aa6c8", "wires": [] } ]