[ { "id": "2b7da8b.17ed9d8", "type": "dgstart", "name": "DGSTART", "outputs": 1, "x": 248, "y": 45, "z": "ab59e982.86c81", "wires": [ [ "970691bb.ddc15" ] ] }, { "id": "970691bb.ddc15", "type": "service-logic", "name": "GENERIC-RESOURCE-API ${project.version}", "module": "GENERIC-RESOURCE-API", "version": "${project.version}", "comments": "", "xml": "", "outputs": 1, "x": 532.2856903076172, "y": 106.23810863494873, "z": "ab59e982.86c81", "wires": [ [ "60aef583.9235ac" ] ] }, { "id": "60aef583.9235ac", "type": "method", "name": "method cll-vnf-topology-operation-cll-F1", "xml": "\n", "comments": "", "outputs": 1, "x": 448.4285888671875, "y": 184.00003051757812, "z": "ab59e982.86c81", "wires": [ [ "aea204d6.6a791" ] ] }, { "id": "aea204d6.6a791", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 182.238037109375, "y": 687.6666870117188, "z": "ab59e982.86c81", "wires": [ [ "8d663f65.8f74e8", "8c3bad0a.2ae1e", "7334fea3.c843f", "322c901e.38e458", "363053e.3c7802c", "6a3e2f90.eef6e", "65e8fb60.0959f4", "af2be5de.84caa8" ] ] }, { "id": "8d663f65.8f74e8", "type": "set", "name": "set query_param", "xml": "\n\n\n", "comments": "", "x": 455, "y": 642, "z": "ab59e982.86c81", "wires": [] }, { "id": "8c3bad0a.2ae1e", "type": "call", "name": "call GENERIC-RESOURCE-API:tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof", "xml": "\n\n", "comments": "", "outputs": 1, "x": 676, "y": 710, "z": "ab59e982.86c81", "wires": [ [] ] }, { "id": "7334fea3.c843f", "type": "execute", "name": "execute printContext", "xml": "\n \n", "comments": "", "outputs": 1, "x": 466, "y": 756, "z": "ab59e982.86c81", "wires": [ [] ] }, { "id": "6a3e2f90.eef6e", "type": "call", "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-find-maximum-used-tpn", "xml": "\n\n", "comments": "", "outputs": 1, "x": 659, "y": 820, "z": "ab59e982.86c81", "wires": [ [] ] }, { "id": "65e8fb60.0959f4", "type": "for", "name": "for vidx..tmp.otninfo_length[]", "xml": "", "comments": "", "outputs": 1, "x": 751, "y": 1199, "z": "ab59e982.86c81", "wires": [ [ "c2ebc420.8ee88" ] ] }, { "id": "c2ebc420.8ee88", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 972.9999694824219, "y": 1211, "z": "ab59e982.86c81", "wires": [ [ "2cc97555.3fad02", "78caef7b.ab95f8", "9c05f571.1eb168", "eda8e4ad.92ee8", "a27c8181.cf517", "e500131.d3db37", "b4245913.ae7bb", "ac5e1496.5bc93", "6299b58a.3a41b4", "6cd61101.45105" ] ] }, { "id": "2cc97555.3fad02", "type": "execute", "name": "execute UUID generator for vpn-binding $otnidx", "xml": "\n\n", "comments": "", "outputs": 1, "x": 1648, "y": 790, "z": "ab59e982.86c81", "wires": [ [] ] }, { "id": "78caef7b.ab95f8", "type": "switchNode", "name": "switch dstPort == NULL", "xml": "\n\n", "comments": "", "outputs": 1, "x": 1362, "y": 880, "z": "ab59e982.86c81", "wires": [ [ "b4cf3f6b.7b5288", "f7c5eac6.57b338" ] ] }, { "id": "b4cf3f6b.7b5288", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1728, "y": 841, "z": "ab59e982.86c81", "wires": [ [ "7ef1427a.0fd4ac" ] ] }, { "id": "f7c5eac6.57b338", "type": "outcomeFalse", "name": "false", "xml": "\n", "comments": "", "outputs": 1, "x": 1729, "y": 887, "z": "ab59e982.86c81", "wires": [ [ "26ca350f.1d9a8a" ] ] }, { "id": "7ef1427a.0fd4ac", "type": "set", "name": "set access-provider-id and client-id", "xml": "\n\n\n\n\n", "comments": "", "x": 1942, "y": 840, "z": "ab59e982.86c81", "wires": [] }, { "id": "26ca350f.1d9a8a", "type": "set", "name": "set access-provider-id and client-id", "xml": "\n\n\n\n\n", "comments": "", "x": 1940, "y": 885, "z": "ab59e982.86c81", "wires": [] }, { "id": "9c05f571.1eb168", "type": "set", "name": "set srcdstpnf-name", "xml": "\n\n\n", "comments": "", "x": 1538, "y": 954, "z": "ab59e982.86c81", "wires": [] }, { "id": "eda8e4ad.92ee8", "type": "get-resource", "name": "get-resource tmp.srcdstpnf-name", "xml": "\n\n \n", "comments": "", "outputs": 1, "x": 1582, "y": 1002, "z": "ab59e982.86c81", "wires": [ [ "79ecfb4e.255ea4", "441f51df.f58208", "204f27c3.a07c18" ] ] }, { "id": "79ecfb4e.255ea4", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 1794.5, "y": 949, "z": "ab59e982.86c81", "wires": [ [ "eac32b1e.ec64f" ] ] }, { "id": "441f51df.f58208", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, "x": 1806.5, "y": 999, "z": "ab59e982.86c81", "wires": [ [ "4a1b3b6f.aa547c" ] ] }, { "id": "204f27c3.a07c18", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 1797.5, "y": 1054, "z": "ab59e982.86c81", "wires": [ [ "afa61155.e3e4f" ] ] }, { "id": "afa61155.e3e4f", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n\t\n\t\n \n", "comments": "", "outputs": 1, "x": 2081, "y": 957, "z": "ab59e982.86c81", "wires": [ [ "e187685d.0e36b8" ] ] }, { "id": "e187685d.0e36b8", "type": "switchNode", "name": "switch related-to", "xml": "\n", "comments": "", "outputs": 1, "x": 2276, "y": 957, "z": "ab59e982.86c81", "wires": [ [ "124aeba.98fab14" ] ] }, { "id": "48b536ea.5f9248", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 2656, "y": 953, "z": "ab59e982.86c81", "wires": [ [ "c8495fb1.c63f38", "9a0b489a.f82b3" ] ] }, { "id": "9a0b489a.f82b3", "type": "execute", "name": "get esr-thirdparty-sdnc", "xml": "", "comments": "", "outputs": 1, "x": 2864, "y": 960, "z": "ab59e982.86c81", "wires": [ [ "ff325fba.81a3f", "5e11cb23.ea8384", "435ef02b.e0a51" ] ] }, { "id": "c8495fb1.c63f38", "type": "set", "name": "set esr-thirdparty-sdnc domainG id", "xml": "\n\n", "comments": "", "x": 2894, "y": 908, "z": "ab59e982.86c81", "wires": [] }, { "id": "ff325fba.81a3f", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 3074, "y": 951, "z": "ab59e982.86c81", "wires": [ [ "3437139a.bfdd9c" ] ] }, { "id": "5e11cb23.ea8384", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, "x": 3066, "y": 1006, "z": "ab59e982.86c81", "wires": [ [ "db1340d4.287d2" ] ] }, { "id": "435ef02b.e0a51", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 3071, "y": 1063, "z": "ab59e982.86c81", "wires": [ [ "c8c2b440.36c658" ] ] }, { "id": "c8c2b440.36c658", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n\t\n\t\n \n", "comments": "", "outputs": 1, "x": 2479, "y": 961, "z": "ab59e982.86c81", "wires": [ [ "48b536ea.5f9248" ] ] }, { "id": "e7684b.19d5f7b8", "type": "set", "name": "set controller domainA data", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "x": 3433, "y": 945, "z": "ab59e982.86c81", "wires": [] }, { "id": "a27c8181.cf517", "type": "switchNode", "name": "switch dmnsidx == 0 (domainA)", "xml": "\n", "comments": "", "outputs": 1, "x": 1552, "y": 1171, "z": "ab59e982.86c81", "wires": [ [ "55f451b.c21bcb", "148790b5.591b8f" ] ] }, { "id": "55f451b.c21bcb", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1753, "y": 1169, "z": "ab59e982.86c81", "wires": [ [ "190bbee0.fdc3a1" ] ] }, { "id": "a4ef5898.fcc6d8", "type": "set", "name": "set pce-src-node", "xml": "\n", "comments": "", "x": 2034, "y": 1119, "z": "ab59e982.86c81", "wires": [] }, { "id": "82a35f7.532ff2", "type": "switchNode", "name": "switch dmnsidx == last (domainB)", "xml": "\n", "comments": "", "outputs": 1, "x": 1970, "y": 1220, "z": "ab59e982.86c81", "wires": [ [ "151d6bac.6b36ac", "e7ce23ad.f63438" ] ] }, { "id": "151d6bac.6b36ac", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2200, "y": 1216, "z": "ab59e982.86c81", "wires": [ [ "1bd30175.73854f" ] ] }, { "id": "148790b5.591b8f", "type": "outcomeFalse", "name": "false", "xml": "\n", "comments": "", "outputs": 1, "x": 1753, "y": 1218, "z": "ab59e982.86c81", "wires": [ [ "82a35f7.532ff2" ] ] }, { "id": "e7ce23ad.f63438", "type": "outcomeFalse", "name": "false", "xml": "\n", "comments": "", "outputs": 1, "x": 2201, "y": 1262, "z": "ab59e982.86c81", "wires": [ [ "3d6b9433.a347bc" ] ] }, { "id": "3d6b9433.a347bc", "type": "set", "name": "set attachment_param domain G", "xml": "\n\n", "comments": "", "x": 2415, "y": 1262, "z": "ab59e982.86c81", "wires": [] }, { "id": "308a9211.a77236", "type": "set", "name": "set attachment_param domain A", "xml": "\n\n", "comments": "", "x": 2089, "y": 1166, "z": "ab59e982.86c81", "wires": [] }, { "id": "190bbee0.fdc3a1", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1877, "y": 1160, "z": "ab59e982.86c81", "wires": [ [ "308a9211.a77236" ] ] }, { "id": "1bd30175.73854f", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2333, "y": 1192, "z": "ab59e982.86c81", "wires": [ [ "9e7d0c9c.28922" ] ] }, { "id": "9261980e.04515", "type": "set", "name": "set pce-src-node", "xml": "\n", "comments": "", "x": 2489, "y": 1208, "z": "ab59e982.86c81", "wires": [] }, { "id": "9e7d0c9c.28922", "type": "set", "name": "set attachment_param domain B", "xml": "\n\n", "comments": "", "x": 2537, "y": 1160, "z": "ab59e982.86c81", "wires": [] }, { "id": "363053e.3c7802c", "type": "set", "name": "unset parameters", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "x": 423.99993896484375, "y": 3813.000244140625, "z": "ab59e982.86c81", "wires": [] }, { "id": "322c901e.38e458", "type": "set", "name": "set srcTtp OTN layer", "xml": "\n\n\n\n\n\n\n\n", "comments": "", "x": 463, "y": 898, "z": "ab59e982.86c81", "wires": [] }, { "id": "e500131.d3db37", "type": "set", "name": "set srcTtp+dstTtp pair", "xml": "\n\n\n\n", "comments": "", "x": 1528, "y": 1251, "z": "ab59e982.86c81", "wires": [] }, { "id": "ac5e1496.5bc93", "type": "call", "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-connectivity", "xml": "\n\n", "comments": "", "outputs": 1, "x": 1719.9999694824219, "y": 1349, "z": "ab59e982.86c81", "wires": [ [] ] }, { "id": "b4245913.ae7bb", "type": "set", "name": "set current-provider-id and current-cvlan-id", "xml": "\n\n\n\n", "comments": "", "x": 1592, "y": 1302, "z": "ab59e982.86c81", "wires": [] }, { "id": "6299b58a.3a41b4", "type": "switchNode", "name": "switch found-connectivity?", "xml": "\n\n\n", "comments": "", "outputs": 1, "x": 1401, "y": 1503, "z": "ab59e982.86c81", "wires": [ [ "2ae1d3e2.c44d5c", "7342444f.5f3ea4" ] ] }, { "id": "2ae1d3e2.c44d5c", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1687, "y": 2322, "z": "ab59e982.86c81", "wires": [ [ "27e9b59e.2795c2" ] ] }, { "id": "8ba690d8.c6505", "type": "comment", "name": "call string.contains to check if the cache has srcTtpdstTtpPair", "info": "if it had: then no new otn/vpn-binding is needed\n ==> find the otn. ==>look into the relationships of this connectivity and find the one that has same srcTtp and dstTtp\n ==> increase the bw\nif not, create a new vpn-binding, attach this vpn-binding into the founded connectivity, and attach it to the middle-man-conn as well.", "comments": "", "x": 2113, "y": 2267, "z": "ab59e982.86c81", "wires": [] }, { "id": "6f1cf403.6bf7dc", "type": "comment", "name": "create a new connectivity - (for dummy connectivity)", "info": "(this should not be for LEAF side or ROOT side, otherwise error)\n\ncreate a new vpn-binding (done here)\ncreate a new connectivity (done below)\nadd srcTtpdstTtpPair into the cache in this connectivity\nattach the vpn-binding into the connectivity relationship\nattach this connectivity into the middle man\nattach this connectivity into the service-instance", "comments": "", "x": 1979.9999694824219, "y": 1465, "z": "ab59e982.86c81", "wires": [] }, { "id": "570cc158.1e1d08", "type": "save", "name": "save vpn-binding otnIdx resource (aka. OTN) in AAI", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 2027, "y": 1515, "z": "ab59e982.86c81", "wires": [ [ "e9e323ca.2e498" ] ] }, { "id": "e9e323ca.2e498", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 2315, "y": 1516, "z": "ab59e982.86c81", "wires": [ [ "f5fef51a.3d04f8" ] ] }, { "id": "f5fef51a.3d04f8", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2498.5, "y": 1514.25390625, "z": "ab59e982.86c81", "wires": [ [] ] }, { "id": "12f528da.eadc7f", "type": "execute", "name": "execute string.contains srcTtpdstTtpPair", "xml": "\n\n\n\n", "comments": "", "outputs": 1, "x": 2101, "y": 2319, "z": "ab59e982.86c81", "wires": [ [ "8dd1e788.b5dd4", "6a3cb15d.6fc0f8" ] ] }, { "id": "8dd1e788.b5dd4", "type": "outcomeFalse", "name": "false", "xml": "\n", "comments": "", "outputs": 1, "x": 2274, "y": 2167, "z": "ab59e982.86c81", "wires": [ [] ] }, { "id": "6a3cb15d.6fc0f8", "type": "outcomeFalse", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2306, "y": 2426, "z": "ab59e982.86c81", "wires": [ [ "7ecab95b.cd5a18" ] ] }, { "id": "82bc647c.2cf778", "type": "save", "name": "save vpn-binding otnIdx resource (aka. OTN) in AAI", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 2713, "y": 1957, "z": "ab59e982.86c81", "wires": [ [ "6754cf0f.d24068" ] ] }, { "id": "6754cf0f.d24068", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 3017, "y": 1954, "z": "ab59e982.86c81", "wires": [ [ "a854224c.98a058" ] ] }, { "id": "a854224c.98a058", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 3167.5, "y": 1961.25390625, "z": "ab59e982.86c81", "wires": [ [] ] }, { "id": "87b5ce3b.8ef938", "type": "execute", "name": "execute UUID generator for connectivity domain otnidx", "xml": "\n\n", "comments": "", "outputs": 1, "x": 2007, "y": 1570, "z": "ab59e982.86c81", "wires": [ [] ] }, { "id": "6a69c0c.0beb14", "type": "save", "name": "save connectivity resource in AAI", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 1945, "y": 1620, "z": "ab59e982.86c81", "wires": [ [] ] }, { "id": "a4e3ab7a.498dc8", "type": "save", "name": "save middle-man-conn relationship to connectivity-otnidx, in AAI", "xml": "\n\n\n\n", "comments": "", "outputs": 1, "x": 2046, "y": 1665, "z": "ab59e982.86c81", "wires": [ [] ] }, { "id": "909dac00.1cdf4", "type": "save", "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 2082, "y": 1719, "z": "ab59e982.86c81", "wires": [ [] ] }, { "id": "30650806.4cf508", "type": "save", "name": "save connectivity-otnidx relationship to vpn-binding-otnidx, in AAI", "xml": "\n\n\n\n", "comments": "", "outputs": 1, "x": 2050, "y": 1778, "z": "ab59e982.86c81", "wires": [ [] ] }, { "id": "a06d70ba.206bf", "type": "comment", "name": "find middle-man's eth-srv-name", "info": "", "comments": "", "x": 1508, "y": 1394, "z": "ab59e982.86c81", "wires": [] }, { "id": "6cd61101.45105", "type": "set", "name": "set prop.ethernet-service-name", "xml": "\n\n\n", "comments": "", "x": 1530, "y": 1438, "z": "ab59e982.86c81", "wires": [] }, { "id": "78936cec.4008d4", "type": "save", "name": "save middle-man-conn relationship to tmp.the-connectivity, in AAI", "xml": "\n\n\n\n", "comments": "", "outputs": 1, "x": 2737, "y": 2174, "z": "ab59e982.86c81", "wires": [ [] ] }, { "id": "8c815ed6.372fa", "type": "save", "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 2768, "y": 2213, "z": "ab59e982.86c81", "wires": [ [] ] }, { "id": "add6fed7.67e35", "type": "save", "name": "save tmp.the-connectivity relationship to vpn-binding-otnidx, in AAI", "xml": "\n\n\n\n", "comments": "", "outputs": 1, "x": 2739, "y": 2286, "z": "ab59e982.86c81", "wires": [ [] ] }, { "id": "8ad8acf7.e8e67", "type": "comment", "name": "update the founded connectivity to have a new coupling-flag", "info": "", "comments": "", "x": 2709, "y": 2002, "z": "ab59e982.86c81", "wires": [] }, { "id": "8ca2b693.c50608", "type": "set", "name": "set newFlag", "xml": "\n\n\n\n", "comments": "", "x": 2595, "y": 2041, "z": "ab59e982.86c81", "wires": [] }, { "id": "9f51b095.94fd08", "type": "save", "name": "update connectivity resource in AAI", "xml": "\n\n\n\n\n", "comments": "", "outputs": 1, "x": 2659, "y": 2086, "z": "ab59e982.86c81", "wires": [ [] ] }, { "id": "58d04196.f5778", "type": "comment", "name": "the following two relationships should have already been there; if not => error", "info": "", "comments": "", "x": 2751, "y": 2136, "z": "ab59e982.86c81", "wires": [] }, { "id": "832e8c75.f85478", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1737, "y": 1503, "z": "ab59e982.86c81", "wires": [ [ "570cc158.1e1d08", "87b5ce3b.8ef938", "6a69c0c.0beb14", "a4e3ab7a.498dc8", "909dac00.1cdf4", "30650806.4cf508" ] ] }, { "id": "7342444f.5f3ea4", "type": "outcomeFalse", "name": "false", "xml": "\n", "comments": "", "outputs": 1, "x": 1599, "y": 1499, "z": "ab59e982.86c81", "wires": [ [ "832e8c75.f85478" ] ] }, { "id": "27e9b59e.2795c2", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 2397, "y": 1966, "z": "ab59e982.86c81", "wires": [ [ "82bc647c.2cf778", "8ca2b693.c50608", "9f51b095.94fd08", "add6fed7.67e35" ] ] }, { "id": "ddcfbda0.672cc", "type": "comment", "name": "loop through the relationships of this founded connectivity, then", "info": "then find the vpn-binding that has same src ttp and dst ttp as this one", "comments": "", "x": 2402, "y": 2391, "z": "ab59e982.86c81", "wires": [] }, { "id": "86c04fbf.f3fdf8", "type": "for", "name": "for each relationship", "xml": "\n\n", "comments": "", "outputs": 1, "x": 2744, "y": 2427, "z": "ab59e982.86c81", "wires": [ [ "d9d55075.06cb88" ] ] }, { "id": "d9d55075.06cb88", "type": "switchNode", "name": "switch related-to", "xml": "\n", "comments": "", "outputs": 1, "x": 2956, "y": 2425, "z": "ab59e982.86c81", "wires": [ [ "b5809f3c.79c17" ] ] }, { "id": "b5809f3c.79c17", "type": "outcome", "name": "vpn-binding", "xml": "\n", "comments": "", "outputs": 1, "x": 3140, "y": 2423, "z": "ab59e982.86c81", "wires": [ [ "17f341d4.56b9ee" ] ] }, { "id": "17f341d4.56b9ee", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 3319, "y": 2428, "z": "ab59e982.86c81", "wires": [ [ "77bff99b.403968", "813820e1.d9db2" ] ] }, { "id": "813820e1.d9db2", "type": "set", "name": "unset tmp.aai.vpn-binding", "xml": "\n\n", "comments": "", "x": 3536, "y": 2359, "z": "ab59e982.86c81", "wires": [] }, { "id": "77bff99b.403968", "type": "save", "name": "get vpn-binding from aai", "xml": "\n", "comments": "", "outputs": 1, "x": 3529, "y": 2445, "z": "ab59e982.86c81", "wires": [ [ "574e7a35.7acb64", "72ff429d.0f84dc", "d88724e6.b16bd8" ] ] }, { "id": "72ff429d.0f84dc", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, "x": 3742.490966796875, "y": 2429.5740356445312, "z": "ab59e982.86c81", "wires": [ [ "47df6bef.c00ec4" ] ] }, { "id": "47df6bef.c00ec4", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n\n\n", "comments": "", "x": 3906, "y": 2474, "z": "ab59e982.86c81", "wires": [] }, { "id": "d88724e6.b16bd8", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 3738, "y": 2474, "z": "ab59e982.86c81", "wires": [ [ "25a6a90d.740966" ] ] }, { "id": "574e7a35.7acb64", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 3740, "y": 2534, "z": "ab59e982.86c81", "wires": [ [ "fafaf735.33502" ] ] }, { "id": "fafaf735.33502", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 3909, "y": 2533, "z": "ab59e982.86c81", "wires": [ [ "dbd3b6f8.ffc688" ] ] }, { "id": "7ecab95b.cd5a18", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2533, "y": 2425, "z": "ab59e982.86c81", "wires": [ [ "86c04fbf.f3fdf8", "3d93e24d.201056", "18210d7a.52f32b" ] ] }, { "id": "dbd3b6f8.ffc688", "type": "switchNode", "name": "switch srcTtp", "xml": "\n", "comments": "", "outputs": 1, "x": 4108, "y": 2534, "z": "ab59e982.86c81", "wires": [ [ "f13865e2.850a98" ] ] }, { "id": "f13865e2.850a98", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 4271, "y": 2532, "z": "ab59e982.86c81", "wires": [ [ "9cbb1279.26e6c" ] ] }, { "id": "9cbb1279.26e6c", "type": "switchNode", "name": "switch dstTtp", "xml": "\n", "comments": "", "outputs": 1, "x": 4452, "y": 2532, "z": "ab59e982.86c81", "wires": [ [ "9f041833.a96178" ] ] }, { "id": "9f041833.a96178", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 4615, "y": 2530, "z": "ab59e982.86c81", "wires": [ [ "7a99f43e.47072c" ] ] }, { "id": "3d307538.ff5302", "type": "set", "name": "set tmp.the-vpn-binding", "xml": "\n\n", "comments": "", "x": 4972, "y": 2537, "z": "ab59e982.86c81", "wires": [] }, { "id": "7a99f43e.47072c", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 4754, "y": 2529, "z": "ab59e982.86c81", "wires": [ [ "3d307538.ff5302", "9c163e19.5e2778" ] ] }, { "id": "9c163e19.5e2778", "type": "break", "name": "break", "xml": "\n", "comments": "", "x": 4918, "y": 2581, "z": "ab59e982.86c81", "wires": [] }, { "id": "3d93e24d.201056", "type": "set", "name": "unset tmp.the-vpn-binding", "xml": "\n\n", "comments": "", "x": 2754, "y": 2388, "z": "ab59e982.86c81", "wires": [] }, { "id": "ad919177.04496", "type": "comment", "name": "increase the bw of the-vpn-binding and change status to modified", "info": "increase the bw of the-vpn-binding\nchange status to modified\n", "comments": "", "x": 2843, "y": 2562, "z": "ab59e982.86c81", "wires": [] }, { "id": "18210d7a.52f32b", "type": "save", "name": "update vpn-binding otnIdx resource (aka. OTN) in AAI", "xml": "\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 2813, "y": 2622, "z": "ab59e982.86c81", "wires": [ [] ] }, { "id": "af2be5de.84caa8", "type": "switchNode", "name": "switch otninfoProtect exists", "xml": " 0`\">\n\n", "comments": "", "outputs": 1, "x": 579.1166381835938, "y": 2488, "z": "ab59e982.86c81", "wires": [ [ "bdb88dff.a2cfc8" ] ] }, { "id": "bdb88dff.a2cfc8", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 800.1166381835938, "y": 2489, "z": "ab59e982.86c81", "wires": [ [ "62f58207.69b144" ] ] }, { "id": "4da32200.1a505", "type": "for", "name": "for vidx..tmp.otninfoProtect_length[]", "xml": "", "comments": "", "outputs": 1, "x": 615.6666870117188, "y": 3269.89990234375, "z": "ab59e982.86c81", "wires": [ [ "78d123a7.ebdd04" ] ] }, { "id": "78d123a7.ebdd04", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 875.6666564941406, "y": 3262.89990234375, "z": "ab59e982.86c81", "wires": [ [ "655b0cf9.434f14", "2cbd342f.008e4c", "af443653.16e2a", "b4328c41.7c5e68", "54752c5a.7588d4", "88c79ac5.392298", "f442f477.1b9ac", "1b1a37df.8ffb38", "40d5cce.138f1b4", "17ca39fd.1576de" ] ] }, { "id": "2cbd342f.008e4c", "type": "switchNode", "name": "switch dstPort == NULL", "xml": "\n\n", "comments": "", "outputs": 1, "x": 1264.6666870117188, "y": 2931.89990234375, "z": "ab59e982.86c81", "wires": [ [ "390f0f63.f5713", "a481fb54.252848" ] ] }, { "id": "a481fb54.252848", "type": "outcomeFalse", "name": "false", "xml": "\n", "comments": "", "outputs": 1, "x": 1631.6666870117188, "y": 2938.89990234375, "z": "ab59e982.86c81", "wires": [ [ "accd9965.551cc" ] ] }, { "id": "accd9965.551cc", "type": "set", "name": "set access-provider-id and client-id", "xml": "\n\n\n\n\n", "comments": "", "x": 1842.6666870117188, "y": 2936.89990234375, "z": "ab59e982.86c81", "wires": [] }, { "id": "af443653.16e2a", "type": "set", "name": "set srcdstpnf-name", "xml": "\n\n\n", "comments": "", "x": 1440.6666870117188, "y": 3005.89990234375, "z": "ab59e982.86c81", "wires": [] }, { "id": "b4328c41.7c5e68", "type": "get-resource", "name": "get-resource tmp.srcdstpnf-name", "xml": "\n\n \n", "comments": "", "outputs": 1, "x": 1484.6666870117188, "y": 3053.89990234375, "z": "ab59e982.86c81", "wires": [ [ "2ab1cad2.cc8df6", "95061116.66953", "d118596c.c8a1b" ] ] }, { "id": "2ab1cad2.cc8df6", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 1697.1666870117188, "y": 3000.89990234375, "z": "ab59e982.86c81", "wires": [ [ "9a46b094.250a1" ] ] }, { "id": "95061116.66953", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, "x": 1709.1666870117188, "y": 3050.89990234375, "z": "ab59e982.86c81", "wires": [ [ "a8bbbf3c.490288" ] ] }, { "id": "d118596c.c8a1b", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 1700.1666870117188, "y": 3105.89990234375, "z": "ab59e982.86c81", "wires": [ [ "c4cf4a50.357dd" ] ] }, { "id": "c4cf4a50.357dd", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n\t\n\t\n \n", "comments": "", "outputs": 1, "x": 1983.6666870117188, "y": 3008.89990234375, "z": "ab59e982.86c81", "wires": [ [ "a8c602fe.1de83" ] ] }, { "id": "a8c602fe.1de83", "type": "switchNode", "name": "switch related-to", "xml": "\n", "comments": "", "outputs": 1, "x": 2178.6666870117188, "y": 3008.89990234375, "z": "ab59e982.86c81", "wires": [ [ "92605acf.b6eae" ] ] }, { "id": "3d5fc5da.8209c2", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 2558.6666870117188, "y": 3004.89990234375, "z": "ab59e982.86c81", "wires": [ [ "f1e62050.aa9b48", "142adcaa.53768b" ] ] }, { "id": "142adcaa.53768b", "type": "execute", "name": "get esr-thirdparty-sdnc", "xml": "", "comments": "", "outputs": 1, "x": 2766.6666870117188, "y": 3011.89990234375, "z": "ab59e982.86c81", "wires": [ [ "b0f57546.a572f8", "f4d8ee18.503d6", "6cf185fa.032e7c" ] ] }, { "id": "f1e62050.aa9b48", "type": "set", "name": "set esr-thirdparty-sdnc domainG id", "xml": "\n\n", "comments": "", "x": 2796.6666870117188, "y": 2959.89990234375, "z": "ab59e982.86c81", "wires": [] }, { "id": "b0f57546.a572f8", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 2976.6666870117188, "y": 3002.89990234375, "z": "ab59e982.86c81", "wires": [ [ "8af042ca.abce2" ] ] }, { "id": "f4d8ee18.503d6", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, "x": 2968.6666870117188, "y": 3057.89990234375, "z": "ab59e982.86c81", "wires": [ [ "14e1063f.bcaa12" ] ] }, { "id": "6cf185fa.032e7c", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 2973.6666870117188, "y": 3114.89990234375, "z": "ab59e982.86c81", "wires": [ [ "88d269ff.2a4e78" ] ] }, { "id": "88d269ff.2a4e78", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n\t\n\t\n \n", "comments": "", "outputs": 1, "x": 2381.6666870117188, "y": 3012.89990234375, "z": "ab59e982.86c81", "wires": [ [ "3d5fc5da.8209c2" ] ] }, { "id": "6ee06c7f.e87634", "type": "set", "name": "set controller domainA data", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "x": 3335.6666870117188, "y": 2996.89990234375, "z": "ab59e982.86c81", "wires": [] }, { "id": "54752c5a.7588d4", "type": "switchNode", "name": "switch dmnsidx == 0 (domainA)", "xml": "\n", "comments": "", "outputs": 1, "x": 1454.6666870117188, "y": 3222.89990234375, "z": "ab59e982.86c81", "wires": [ [ "a23826d9.6cbf8", "ca79965c.c43c5" ] ] }, { "id": "a23826d9.6cbf8", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1655.6666870117188, "y": 3220.89990234375, "z": "ab59e982.86c81", "wires": [ [ "1188399c.8e417e" ] ] }, { "id": "5f0d00e5.7b1628", "type": "set", "name": "set pce-src-node", "xml": "\n", "comments": "", "x": 1936.6666870117188, "y": 3170.89990234375, "z": "ab59e982.86c81", "wires": [] }, { "id": "f4e7389.48dcac8", "type": "switchNode", "name": "switch dmnsidx == last (domainC)", "xml": "\n", "comments": "", "outputs": 1, "x": 1872.6666870117188, "y": 3271.89990234375, "z": "ab59e982.86c81", "wires": [ [ "1eeda518.bbd863", "25bb7e68.eed552" ] ] }, { "id": "1eeda518.bbd863", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2102.6666870117188, "y": 3267.89990234375, "z": "ab59e982.86c81", "wires": [ [ "19cc5bd6.d13bb4" ] ] }, { "id": "ca79965c.c43c5", "type": "outcomeFalse", "name": "false", "xml": "\n", "comments": "", "outputs": 1, "x": 1655.6666870117188, "y": 3269.89990234375, "z": "ab59e982.86c81", "wires": [ [ "f4e7389.48dcac8" ] ] }, { "id": "25bb7e68.eed552", "type": "outcomeFalse", "name": "false", "xml": "\n", "comments": "", "outputs": 1, "x": 2103.6666870117188, "y": 3313.89990234375, "z": "ab59e982.86c81", "wires": [ [ "ff457a93.22142" ] ] }, { "id": "ff457a93.22142", "type": "set", "name": "set attachment_param domain G", "xml": "\n\n", "comments": "", "x": 2317.6666870117188, "y": 3313.89990234375, "z": "ab59e982.86c81", "wires": [] }, { "id": "a5bfc25b.24a798", "type": "set", "name": "set attachment_param domain A", "xml": "\n\n", "comments": "", "x": 1991.6666870117188, "y": 3217.89990234375, "z": "ab59e982.86c81", "wires": [] }, { "id": "1188399c.8e417e", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1779.6666870117188, "y": 3211.89990234375, "z": "ab59e982.86c81", "wires": [ [ "a5bfc25b.24a798" ] ] }, { "id": "19cc5bd6.d13bb4", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2235.6666870117188, "y": 3243.89990234375, "z": "ab59e982.86c81", "wires": [ [ "ecfd7b03.8cb46" ] ] }, { "id": "f9df9d2f.f6b57", "type": "set", "name": "set pce-src-node", "xml": "\n", "comments": "", "x": 2391.6666870117188, "y": 3259.89990234375, "z": "ab59e982.86c81", "wires": [] }, { "id": "ecfd7b03.8cb46", "type": "set", "name": "set attachment_param domain C", "xml": "\n\n", "comments": "", "x": 2439.6666870117188, "y": 3211.89990234375, "z": "ab59e982.86c81", "wires": [] }, { "id": "88c79ac5.392298", "type": "set", "name": "set srcTtp+dstTtp pair", "xml": "\n\n\n\n", "comments": "", "x": 1430.6666870117188, "y": 3302.89990234375, "z": "ab59e982.86c81", "wires": [] }, { "id": "1b1a37df.8ffb38", "type": "call", "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-connectivity", "xml": "\n\n", "comments": "", "outputs": 1, "x": 1622.6666564941406, "y": 3400.89990234375, "z": "ab59e982.86c81", "wires": [ [] ] }, { "id": "f442f477.1b9ac", "type": "set", "name": "set current-provider-id and current-cvlan-id", "xml": "\n\n\n\n", "comments": "", "x": 1494.6666870117188, "y": 3353.89990234375, "z": "ab59e982.86c81", "wires": [] }, { "id": "40d5cce.138f1b4", "type": "switchNode", "name": "switch found-connectivity?", "xml": "\n\n\n", "comments": "", "outputs": 1, "x": 1303.6666870117188, "y": 3554.89990234375, "z": "ab59e982.86c81", "wires": [ [ "e841833f.a5b018", "1d9dc789.fabfa" ] ] }, { "id": "e841833f.a5b018", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1589.6666870117188, "y": 4373.89990234375, "z": "ab59e982.86c81", "wires": [ [ "5f9745ba.8cabdc" ] ] }, { "id": "40e5d82c.0988c", "type": "comment", "name": "call string.contains to check if the cache has srcTtpdstTtpPair", "info": "if it had: then no new otn/vpn-binding is needed\n ==> find the otn. ==>look into the relationships of this connectivity and find the one that has same srcTtp and dstTtp\n ==> increase the bw\nif not, create a new vpn-binding, attach this vpn-binding into the founded connectivity, and attach it to the middle-man-conn as well.", "comments": "", "x": 2015.6666870117188, "y": 4318.89990234375, "z": "ab59e982.86c81", "wires": [] }, { "id": "37b719a7.3177d6", "type": "comment", "name": "create a new connectivity - (for dummy connectivity)", "info": "(this should not be for LEAF side or ROOT side, otherwise error)\n\ncreate a new vpn-binding (done here)\ncreate a new connectivity (done below)\nadd srcTtpdstTtpPair into the cache in this connectivity\nattach the vpn-binding into the connectivity relationship\nattach this connectivity into the middle man\nattach this connectivity into the service-instance", "comments": "", "x": 1882.6666564941406, "y": 3516.89990234375, "z": "ab59e982.86c81", "wires": [] }, { "id": "f0f8f4ff.e42fa", "type": "save", "name": "save vpn-binding otnIdx resource (aka. OTN) in AAI", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 1929.6666870117188, "y": 3566.89990234375, "z": "ab59e982.86c81", "wires": [ [ "37e8875.87c3378" ] ] }, { "id": "37e8875.87c3378", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 2217.6666870117188, "y": 3567.89990234375, "z": "ab59e982.86c81", "wires": [ [ "90a3277d.c4bfc" ] ] }, { "id": "90a3277d.c4bfc", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2401.1666870117188, "y": 3566.15380859375, "z": "ab59e982.86c81", "wires": [ [] ] }, { "id": "4b046e56.9a1b9", "type": "execute", "name": "execute string.contains srcTtpdstTtpPair", "xml": "\n\n\n\n", "comments": "", "outputs": 1, "x": 2003.6666870117188, "y": 4370.89990234375, "z": "ab59e982.86c81", "wires": [ [ "779ce37e.93a47c", "f1f0cfe.10d413" ] ] }, { "id": "779ce37e.93a47c", "type": "outcomeFalse", "name": "false", "xml": "\n", "comments": "", "outputs": 1, "x": 2176.6666870117188, "y": 4218.89990234375, "z": "ab59e982.86c81", "wires": [ [] ] }, { "id": "f1f0cfe.10d413", "type": "outcomeFalse", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2208.6666870117188, "y": 4477.89990234375, "z": "ab59e982.86c81", "wires": [ [ "9f0cdaa9.449a9" ] ] }, { "id": "58dad5a1.4283d4", "type": "save", "name": "save vpn-binding otnIdx resource (aka. OTN) in AAI", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 2615.6666870117188, "y": 4008.89990234375, "z": "ab59e982.86c81", "wires": [ [ "ca0562a9.f9dfa" ] ] }, { "id": "ca0562a9.f9dfa", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 2919.6666870117188, "y": 4005.89990234375, "z": "ab59e982.86c81", "wires": [ [ "21917e0f.61cb02" ] ] }, { "id": "21917e0f.61cb02", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 3070.1666870117188, "y": 4013.15380859375, "z": "ab59e982.86c81", "wires": [ [] ] }, { "id": "c456d560.e56b4", "type": "execute", "name": "execute UUID generator for connectivity domain otnidx", "xml": "\n\n", "comments": "", "outputs": 1, "x": 1909.6666870117188, "y": 3621.89990234375, "z": "ab59e982.86c81", "wires": [ [] ] }, { "id": "1c6b3c2b.a8cfe4", "type": "save", "name": "save connectivity resource in AAI", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 1847.6666870117188, "y": 3671.89990234375, "z": "ab59e982.86c81", "wires": [ [] ] }, { "id": "883e63bc.f1bf9", "type": "save", "name": "save middle-man-conn relationship to connectivity-otnidx, in AAI", "xml": "\n\n\n\n", "comments": "", "outputs": 1, "x": 1948.6666870117188, "y": 3716.89990234375, "z": "ab59e982.86c81", "wires": [ [] ] }, { "id": "67b90a5f.a2bde4", "type": "save", "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 1984.6666870117188, "y": 3770.89990234375, "z": "ab59e982.86c81", "wires": [ [] ] }, { "id": "44633bde.4c2f24", "type": "save", "name": "save connectivity-otnidx relationship to vpn-binding-otnidx, in AAI", "xml": "\n\n\n\n", "comments": "", "outputs": 1, "x": 1952.6666870117188, "y": 3829.89990234375, "z": "ab59e982.86c81", "wires": [ [] ] }, { "id": "ad055e93.cbffc8", "type": "comment", "name": "find middle-man's eth-srv-name", "info": "", "comments": "", "x": 1410.6666870117188, "y": 3445.89990234375, "z": "ab59e982.86c81", "wires": [] }, { "id": "17ca39fd.1576de", "type": "set", "name": "set prop.ethernet-service-name", "xml": "\n\n\n", "comments": "", "x": 1432.6666870117188, "y": 3489.89990234375, "z": "ab59e982.86c81", "wires": [] }, { "id": "91cb3623.bfa508", "type": "save", "name": "save middle-man-conn relationship to tmp.the-connectivity, in AAI", "xml": "\n\n\n\n", "comments": "", "outputs": 1, "x": 2639.6666870117188, "y": 4225.89990234375, "z": "ab59e982.86c81", "wires": [ [] ] }, { "id": "749face3.2a032c", "type": "save", "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 2670.6666870117188, "y": 4264.89990234375, "z": "ab59e982.86c81", "wires": [ [] ] }, { "id": "d1e29877.e2638", "type": "save", "name": "save tmp.the-connectivity relationship to vpn-binding-otnidx, in AAI", "xml": "\n\n\n\n", "comments": "", "outputs": 1, "x": 2641.6666870117188, "y": 4337.89990234375, "z": "ab59e982.86c81", "wires": [ [] ] }, { "id": "ca553073.a3999", "type": "comment", "name": "update the founded connectivity to have a new coupling-flag", "info": "", "comments": "", "x": 2611.6666870117188, "y": 4053.89990234375, "z": "ab59e982.86c81", "wires": [] }, { "id": "30b58e5f.9a5412", "type": "set", "name": "set newFlag", "xml": "\n\n\n\n", "comments": "", "x": 2497.6666870117188, "y": 4092.89990234375, "z": "ab59e982.86c81", "wires": [] }, { "id": "b32f2c11.a0cbd", "type": "save", "name": "update connectivity resource in AAI", "xml": "\n\n\n\n\n", "comments": "", "outputs": 1, "x": 2561.6666870117188, "y": 4137.89990234375, "z": "ab59e982.86c81", "wires": [ [] ] }, { "id": "b26dba6c.6455b", "type": "comment", "name": "the following two relationships should have already been there; if not => error", "info": "", "comments": "", "x": 2653.6666870117188, "y": 4187.89990234375, "z": "ab59e982.86c81", "wires": [] }, { "id": "f615578d.11ca3", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1639.6666870117188, "y": 3554.89990234375, "z": "ab59e982.86c81", "wires": [ [ "f0f8f4ff.e42fa", "c456d560.e56b4", "1c6b3c2b.a8cfe4", "883e63bc.f1bf9", "67b90a5f.a2bde4", "44633bde.4c2f24" ] ] }, { "id": "1d9dc789.fabfa", "type": "outcomeFalse", "name": "false", "xml": "\n", "comments": "", "outputs": 1, "x": 1501.6666870117188, "y": 3550.89990234375, "z": "ab59e982.86c81", "wires": [ [ "f615578d.11ca3" ] ] }, { "id": "5f9745ba.8cabdc", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 2299.6666870117188, "y": 4017.89990234375, "z": "ab59e982.86c81", "wires": [ [ "58dad5a1.4283d4", "30b58e5f.9a5412", "b32f2c11.a0cbd", "d1e29877.e2638" ] ] }, { "id": "fe407594.64cba8", "type": "comment", "name": "loop through the relationships of this founded connectivity, then", "info": "then find the vpn-binding that has same src ttp and dst ttp as this one", "comments": "", "x": 2304.6666870117188, "y": 4442.89990234375, "z": "ab59e982.86c81", "wires": [] }, { "id": "c41409e5.b5d3c", "type": "for", "name": "for each relationship", "xml": "\n\n", "comments": "", "outputs": 1, "x": 2646.6666870117188, "y": 4478.89990234375, "z": "ab59e982.86c81", "wires": [ [ "edec3f37.241e6" ] ] }, { "id": "edec3f37.241e6", "type": "switchNode", "name": "switch related-to", "xml": "\n", "comments": "", "outputs": 1, "x": 2858.6666870117188, "y": 4476.89990234375, "z": "ab59e982.86c81", "wires": [ [ "1919beb6.7cb971" ] ] }, { "id": "1919beb6.7cb971", "type": "outcome", "name": "vpn-binding", "xml": "\n", "comments": "", "outputs": 1, "x": 3042.6666870117188, "y": 4474.89990234375, "z": "ab59e982.86c81", "wires": [ [ "df4bf19a.978d2" ] ] }, { "id": "df4bf19a.978d2", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 3221.6666870117188, "y": 4479.89990234375, "z": "ab59e982.86c81", "wires": [ [ "89ff485c.8db648", "2bf1f71c.a919d" ] ] }, { "id": "2bf1f71c.a919d", "type": "set", "name": "unset tmp.aai.vpn-binding", "xml": "\n\n", "comments": "", "x": 3438.6666870117188, "y": 4410.89990234375, "z": "ab59e982.86c81", "wires": [] }, { "id": "89ff485c.8db648", "type": "save", "name": "get vpn-binding from aai", "xml": "\n", "comments": "", "outputs": 1, "x": 3431.6666870117188, "y": 4496.89990234375, "z": "ab59e982.86c81", "wires": [ [ "5ee5ca48.dc9864", "e1c034fb.99a648", "c5ac5c6f.6f9258" ] ] }, { "id": "e1c034fb.99a648", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, "x": 3645.1576538085938, "y": 4481.473937988281, "z": "ab59e982.86c81", "wires": [ [ "6e271c06.d0d73c" ] ] }, { "id": "6e271c06.d0d73c", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n\n\n", "comments": "", "x": 3808.6666870117188, "y": 4525.89990234375, "z": "ab59e982.86c81", "wires": [] }, { "id": "c5ac5c6f.6f9258", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 3640.6666870117188, "y": 4525.89990234375, "z": "ab59e982.86c81", "wires": [ [ "38e2891f.3394ee" ] ] }, { "id": "5ee5ca48.dc9864", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 3642.6666870117188, "y": 4585.89990234375, "z": "ab59e982.86c81", "wires": [ [ "e13c4300.ac87f" ] ] }, { "id": "e13c4300.ac87f", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 3811.6666870117188, "y": 4584.89990234375, "z": "ab59e982.86c81", "wires": [ [ "3fedffc1.068a9" ] ] }, { "id": "9f0cdaa9.449a9", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2435.6666870117188, "y": 4476.89990234375, "z": "ab59e982.86c81", "wires": [ [ "c41409e5.b5d3c", "ef03524f.322ab", "a41cf4f1.35b988" ] ] }, { "id": "3fedffc1.068a9", "type": "switchNode", "name": "switch srcTtp", "xml": "\n", "comments": "", "outputs": 1, "x": 4010.6666870117188, "y": 4585.89990234375, "z": "ab59e982.86c81", "wires": [ [ "46797ae5.8f5fdc" ] ] }, { "id": "46797ae5.8f5fdc", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 4173.666687011719, "y": 4583.89990234375, "z": "ab59e982.86c81", "wires": [ [ "26801daf.757d4a" ] ] }, { "id": "26801daf.757d4a", "type": "switchNode", "name": "switch dstTtp", "xml": "\n", "comments": "", "outputs": 1, "x": 4354.666687011719, "y": 4583.89990234375, "z": "ab59e982.86c81", "wires": [ [ "4ecd0d28.02b6dc" ] ] }, { "id": "4ecd0d28.02b6dc", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 4517.666687011719, "y": 4581.89990234375, "z": "ab59e982.86c81", "wires": [ [ "2b446601.7eb632" ] ] }, { "id": "efbe91c3.9535c8", "type": "set", "name": "set tmp.the-vpn-binding", "xml": "\n\n", "comments": "", "x": 4874.666687011719, "y": 4588.89990234375, "z": "ab59e982.86c81", "wires": [] }, { "id": "2b446601.7eb632", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 4656.666687011719, "y": 4580.89990234375, "z": "ab59e982.86c81", "wires": [ [ "efbe91c3.9535c8", "1b35126e.c915be" ] ] }, { "id": "1b35126e.c915be", "type": "break", "name": "break", "xml": "\n", "comments": "", "x": 4820.666687011719, "y": 4632.89990234375, "z": "ab59e982.86c81", "wires": [] }, { "id": "ef03524f.322ab", "type": "set", "name": "unset tmp.the-vpn-binding", "xml": "\n\n", "comments": "", "x": 2656.6666870117188, "y": 4439.89990234375, "z": "ab59e982.86c81", "wires": [] }, { "id": "bb2c64f6.a88498", "type": "comment", "name": "increase the bw of the-vpn-binding and change status to modified", "info": "increase the bw of the-vpn-binding\nchange status to modified\n", "comments": "", "x": 2745.6666870117188, "y": 4613.89990234375, "z": "ab59e982.86c81", "wires": [] }, { "id": "a41cf4f1.35b988", "type": "save", "name": "update vpn-binding otnIdx resource (aka. OTN) in AAI", "xml": "\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 2715.6666870117188, "y": 4673.89990234375, "z": "ab59e982.86c81", "wires": [ [] ] }, { "id": "655b0cf9.434f14", "type": "execute", "name": "execute UUID generator for vpn-binding $otnidx", "xml": "\n\n", "comments": "", "outputs": 1, "x": 1550.6666870117188, "y": 2841.89990234375, "z": "ab59e982.86c81", "wires": [ [] ] }, { "id": "390f0f63.f5713", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1630.6666870117188, "y": 2892.89990234375, "z": "ab59e982.86c81", "wires": [ [ "46e17225.a2db0c" ] ] }, { "id": "46e17225.a2db0c", "type": "set", "name": "set access-provider-id and client-id", "xml": "\n\n\n\n\n", "comments": "", "x": 1844.6666870117188, "y": 2891.89990234375, "z": "ab59e982.86c81", "wires": [] }, { "id": "2286c595.dee83a", "type": "set", "name": "unset parameters", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "x": 1210.5665893554688, "y": 2476.89990234375, "z": "ab59e982.86c81", "wires": [] }, { "id": "62f58207.69b144", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 985.2000122070312, "y": 2493.13330078125, "z": "ab59e982.86c81", "wires": [ [ "2286c595.dee83a", "4da32200.1a505" ] ] } ]