[ { "id": "ca266b03.5b0c68", "type": "dgstart", "name": "DGSTART", "outputs": 1, "x": 91.4998779296875, "y": 34, "z": "cb55ab48.d781c8", "wires": [ [ "9db70ac2.5a0448" ] ] }, { "id": "9db70ac2.5a0448", "type": "service-logic", "name": "GENERIC-RESOURCE-API ${project.version}", "module": "GENERIC-RESOURCE-API", "version": "${project.version}", "comments": "", "xml": "", "outputs": 1, "x": 216.4998779296875, "y": 360.00001525878906, "z": "cb55ab48.d781c8", "wires": [ [ "f6e8674b.eb6ef8" ] ] }, { "id": "f6e8674b.eb6ef8", "type": "method", "name": "sotn-get-otn-tunnel-path-from-oof", "xml": "\n", "comments": "", "outputs": 1, "x": 280.5, "y": 453, "z": "cb55ab48.d781c8", "wires": [ [ "d8a649df.dd5438" ] ] }, { "id": "4cb8a9dc.c82628", "type": "execute", "name": "execute RestApiCallNode getPath from OOF", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 763.4729614257812, "y": 111.99600219726562, "z": "cb55ab48.d781c8", "wires": [ [ "c9ad9647.3c4fa8", "65b028f1.fd8198" ] ] }, { "id": "c9ad9647.3c4fa8", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 1003.4731025695801, "y": 135.9959716796875, "z": "cb55ab48.d781c8", "wires": [ [ "43f1fecc.bf7f" ] ] }, { "id": "b1305a70.64e458", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1142.4731369018555, "y": 84.99606323242188, "z": "cb55ab48.d781c8", "wires": [] }, { "id": "65b028f1.fd8198", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 1002.4728889465332, "y": 84.99606227874756, "z": "cb55ab48.d781c8", "wires": [ [ "b1305a70.64e458" ] ] }, { "id": "13911536.3440bb", "type": "comment", "name": "OTN tunnel path computation", "info": "TODO: check input parameters -- they should be\nthe source and destination of ETH node+tp.", "comments": "", "x": 734.9767608642578, "y": 68.00000190734863, "z": "cb55ab48.d781c8", "wires": [] }, { "id": "7480efc5.dbe2e", "type": "for", "name": "for vidx..otn-oof.otn-links_length[]", "xml": "", "comments": "", "outputs": 1, "x": 754.4727783203125, "y": 421.2457275390625, "z": "cb55ab48.d781c8", "wires": [ [ "b98c91e0.3766f" ] ] }, { "id": "689331c8.a7329", "type": "comment", "name": "Loop through OTN links", "info": "", "comments": "", "x": 837.9730834960938, "y": 500.74609375, "z": "cb55ab48.d781c8", "wires": [] }, { "id": "b98c91e0.3766f", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 859, "y": 612.2864990234375, "z": "cb55ab48.d781c8", "wires": [ [ "3a76e5ee.5f99aa", "a8939d2.521b76" ] ] }, { "id": "3a76e5ee.5f99aa", "type": "get-resource", "name": "get-resource cross-link", "xml": "\n\n\n", "comments": "", "outputs": 1, "x": 1126, "y": 532.2864685058594, "z": "cb55ab48.d781c8", "wires": [ [ "74ae6f25.c8093", "d101f4ee.f9f8d8", "7558125c.21685c" ] ] }, { "id": "74ae6f25.c8093", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 1356.5, "y": 477.2864685058594, "z": "cb55ab48.d781c8", "wires": [ [ "a0d35b9e.4c4448" ] ] }, { "id": "d101f4ee.f9f8d8", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, "x": 1367.5, "y": 534.2864685058594, "z": "cb55ab48.d781c8", "wires": [ [ "aab3f9be.7515c8" ] ] }, { "id": "7558125c.21685c", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 1361.5, "y": 584.2864685058594, "z": "cb55ab48.d781c8", "wires": [ [ "c5929dad.e1e45" ] ] }, { "id": "aab3f9be.7515c8", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n\t\n\t\n \n\n", "comments": "", "x": 2318, "y": 396.2864685058594, "z": "cb55ab48.d781c8", "wires": [] }, { "id": "c5a99f90.0d85b", "type": "comment", "name": "get cross-domain-link information", "info": "", "comments": "", "x": 1127, "y": 493.2864685058594, "z": "cb55ab48.d781c8", "wires": [] }, { "id": "a8939d2.521b76", "type": "set", "name": "set otn-oof.link-name", "xml": "\n", "comments": "", "x": 1108.5, "y": 442.2864685058594, "z": "cb55ab48.d781c8", "wires": [] }, { "id": "43f1fecc.bf7f", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1148.5001487731934, "y": 133.74145698547363, "z": "cb55ab48.d781c8", "wires": [ [] ] }, { "id": "d8a649df.dd5438", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 521.4687614440918, "y": 379.74163722991943, "z": "cb55ab48.d781c8", "wires": [ [ "4cb8a9dc.c82628", "7480efc5.dbe2e" ] ] }, { "id": "a0d35b9e.4c4448", "type": "switchNode", "name": "test cross-domain-link", "xml": "\n", "comments": "", "outputs": 1, "x": 1562, "y": 476, "z": "cb55ab48.d781c8", "wires": [ [ "9c05dfa6.ba207" ] ] }, { "id": "9c05dfa6.ba207", "type": "outcome", "name": "outcome cross-domain-link", "xml": "\n", "comments": "", "outputs": 1, "x": 1809, "y": 477, "z": "cb55ab48.d781c8", "wires": [ [ "ff68def.188c12" ] ] }, { "id": "1ed1e43f.527cac", "type": "break", "name": "break", "xml": "\n", "comments": "", "x": 2154, "y": 955, "z": "cb55ab48.d781c8", "wires": [] }, { "id": "ff68def.188c12", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 2028, "y": 479, "z": "cb55ab48.d781c8", "wires": [ [ "1ed1e43f.527cac", "51d46963.f916e8", "44b19c4e.886594", "5702d427.f65a4c" ] ] }, { "id": "2017012b.18bf6e", "type": "comment", "name": "setup variables", "info": "", "comments": "", "x": 2286, "y": 335, "z": "cb55ab48.d781c8", "wires": [] }, { "id": "44b19c4e.886594", "type": "get-resource", "name": "get-resource src tp", "xml": "\n\n\n", "comments": "", "outputs": 1, "x": 2315, "y": 485, "z": "cb55ab48.d781c8", "wires": [ [ "675b31ba.fc29c", "e7ba827c.7802e", "3d3ce0b1.c355d" ] ] }, { "id": "675b31ba.fc29c", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 2548.5, "y": 446, "z": "cb55ab48.d781c8", "wires": [ [ "8f945f43.0f6a1", "35d184a7.0348bc" ] ] }, { "id": "e7ba827c.7802e", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, "x": 2545.5, "y": 504, "z": "cb55ab48.d781c8", "wires": [ [ "9bcbfa8e.5a3ae8" ] ] }, { "id": "3d3ce0b1.c355d", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 2548.5, "y": 556, "z": "cb55ab48.d781c8", "wires": [ [ "c82ee5b.1546f18" ] ] }, { "id": "9bcbfa8e.5a3ae8", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n\t\n\t\n \n", "comments": "", "x": 2749, "y": 393, "z": "cb55ab48.d781c8", "wires": [] }, { "id": "35d184a7.0348bc", "type": "get-resource", "name": "get-resource src pnf", "xml": "\n\n\n", "comments": "", "outputs": 1, "x": 2739, "y": 448, "z": "cb55ab48.d781c8", "wires": [ [ "9ea9cbf0.fa9328", "aa8e1680.d1d798", "dd38a5b5.866808" ] ] }, { "id": "9ea9cbf0.fa9328", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 3022.5, "y": 401, "z": "cb55ab48.d781c8", "wires": [ [ "899a7ec6.41ab2" ] ] }, { "id": "aa8e1680.d1d798", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, "x": 3014.5, "y": 456, "z": "cb55ab48.d781c8", "wires": [ [ "56667146.5a8cd" ] ] }, { "id": "dd38a5b5.866808", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 3019.5, "y": 513, "z": "cb55ab48.d781c8", "wires": [ [ "49c4c4a9.a9af7c" ] ] }, { "id": "56667146.5a8cd", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n\t\n\t\n \n", "comments": "", "x": 4234, "y": 262, "z": "cb55ab48.d781c8", "wires": [] }, { "id": "6baf1c09.23f524", "type": "get-resource", "name": "get-resource src TTP", "xml": "\n\n\n", "comments": "", "outputs": 1, "x": 4223, "y": 333, "z": "cb55ab48.d781c8", "wires": [ [ "e53fa55a.80c878" ] ] }, { "id": "e53fa55a.80c878", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 4414.5, "y": 330, "z": "cb55ab48.d781c8", "wires": [ [ "fb4eb6f8.67d008" ] ] }, { "id": "fb4eb6f8.67d008", "type": "set", "name": "set domain A node ttp-id", "xml": "\n\n", "comments": "", "x": 4627, "y": 329, "z": "cb55ab48.d781c8", "wires": [] }, { "id": "151d93fd.7167ec", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 4019, "y": 512, "z": "cb55ab48.d781c8", "wires": [ [ "fb4c025e.b4687", "2b826247.b8392e" ] ] }, { "id": "a6f18660.f8abe8", "type": "outcome", "name": "tunnel-termination-point", "xml": "\n", "comments": "", "outputs": 1, "x": 3815.16845703125, "y": 325.48150634765625, "z": "cb55ab48.d781c8", "wires": [ [ "45ebcf03.0e118" ] ] }, { "id": "1ff26720.4f6889", "type": "for", "name": "for each relationship", "xml": "\n", "comments": "", "outputs": 1, "x": 3381.882568359375, "y": 398.65972900390625, "z": "cb55ab48.d781c8", "wires": [ [ "89b5166.0c594e8" ] ] }, { "id": "89b5166.0c594e8", "type": "switchNode", "name": "switch related-to", "xml": "\n", "comments": "", "outputs": 1, "x": 3607.882568359375, "y": 398.65972900390625, "z": "cb55ab48.d781c8", "wires": [ [ "a6f18660.f8abe8", "376f0574.e1601a" ] ] }, { "id": "899a7ec6.41ab2", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 3166.88232421875, "y": 398.6556701660156, "z": "cb55ab48.d781c8", "wires": [ [ "1ff26720.4f6889", "29ff2ed5.ef4af2" ] ] }, { "id": "29ff2ed5.ef4af2", "type": "set", "name": "set domain A node-id and tpn", "xml": "\n\n\n", "comments": "", "x": 3426, "y": 309, "z": "cb55ab48.d781c8", "wires": [] }, { "id": "376f0574.e1601a", "type": "outcome", "name": "network-resource", "xml": "\n", "comments": "", "outputs": 1, "x": 3806, "y": 511, "z": "cb55ab48.d781c8", "wires": [ [ "151d93fd.7167ec" ] ] }, { "id": "fb4c025e.b4687", "type": "set", "name": "set domain A network-id", "xml": "\n\n", "comments": "", "x": 4254, "y": 442, "z": "cb55ab48.d781c8", "wires": [] }, { "id": "45ebcf03.0e118", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 4017, "y": 321, "z": "cb55ab48.d781c8", "wires": [ [ "3a58b291.1cf89e", "6baf1c09.23f524" ] ] }, { "id": "2b826247.b8392e", "type": "get-resource", "name": "get-resource src network-resource", "xml": "\n\n\n", "comments": "", "outputs": 1, "x": 4262, "y": 523, "z": "cb55ab48.d781c8", "wires": [ [ "f37dd233.a3308" ] ] }, { "id": "f37dd233.a3308", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 4494.5, "y": 519, "z": "cb55ab48.d781c8", "wires": [ [ "5f1b14c5.d2a03c" ] ] }, { "id": "5f1b14c5.d2a03c", "type": "set", "name": "set domain A network-id, topo-id, client-id, etc", "xml": "\n\n\n\n\n\n\n\n", "comments": "", "x": 4736, "y": 513, "z": "cb55ab48.d781c8", "wires": [] }, { "id": "5702d427.f65a4c", "type": "get-resource", "name": "get-resource dst tp", "xml": "\n\n\n", "comments": "", "outputs": 1, "x": 2269, "y": 851, "z": "cb55ab48.d781c8", "wires": [ [ "a50293a4.5e79e", "b4058651.f77518", "b61d9ed.988616" ] ] }, { "id": "a50293a4.5e79e", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 2502.5, "y": 812, "z": "cb55ab48.d781c8", "wires": [ [ "46502cec.4be0b4", "a897aaea.70dd38" ] ] }, { "id": "b4058651.f77518", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, "x": 2499.5, "y": 870, "z": "cb55ab48.d781c8", "wires": [ [ "da3111af.853e5" ] ] }, { "id": "b61d9ed.988616", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 2502.5, "y": 922, "z": "cb55ab48.d781c8", "wires": [ [ "c09ee4e6.15ed68" ] ] }, { "id": "c09ee4e6.15ed68", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n\t\n\t\n \n\n\n", "comments": "", "outputs": 1, "x": 2693, "y": 814, "z": "cb55ab48.d781c8", "wires": [ [ "b6f4d1fe.0b8da", "46d13a0d.575974", "94eeb806.b26748" ] ] }, { "id": "46502cec.4be0b4", "type": "set", "name": "set tmp.dst-pnf-name", "xml": "\n\n", "comments": "", "x": 2703, "y": 759, "z": "cb55ab48.d781c8", "wires": [] }, { "id": "94eeb806.b26748", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 2973.5, "y": 879, "z": "cb55ab48.d781c8", "wires": [ [ "efc946ae.7bf158" ] ] }, { "id": "46d13a0d.575974", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, "x": 2968.5, "y": 822, "z": "cb55ab48.d781c8", "wires": [ [ "feb7d1d7.3486e" ] ] }, { "id": "b6f4d1fe.0b8da", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 2976.5, "y": 767, "z": "cb55ab48.d781c8", "wires": [ [ "100cc1d.c89dc3e" ] ] }, { "id": "feb7d1d7.3486e", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n\t\n\t\n \n", "comments": "", "outputs": 1, "x": 3335.882568359375, "y": 764.6597290039062, "z": "cb55ab48.d781c8", "wires": [ [ "c77ddef5.18c3e" ] ] }, { "id": "c77ddef5.18c3e", "type": "switchNode", "name": "switch related-to", "xml": "\n", "comments": "", "outputs": 1, "x": 3561.882568359375, "y": 764.6597290039062, "z": "cb55ab48.d781c8", "wires": [ [ "3576c9a1.155776", "131550c4.86635f" ] ] }, { "id": "b6c39e63.6b538", "type": "set", "name": "set domain B node-id and tpn", "xml": "\n\n\n", "comments": "", "x": 3380, "y": 675, "z": "cb55ab48.d781c8", "wires": [] }, { "id": "3f07ba63.1a2cc6", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 3973, "y": 878, "z": "cb55ab48.d781c8", "wires": [ [ "68ee333a.5e149c", "57b260c0.16164" ] ] }, { "id": "3576c9a1.155776", "type": "outcome", "name": "tunnel-termination-point", "xml": "\n", "comments": "", "outputs": 1, "x": 3769.16845703125, "y": 691.4815063476562, "z": "cb55ab48.d781c8", "wires": [ [ "63e95b18.c47c14" ] ] }, { "id": "131550c4.86635f", "type": "outcome", "name": "network-resource", "xml": "\n", "comments": "", "outputs": 1, "x": 3760, "y": 877, "z": "cb55ab48.d781c8", "wires": [ [ "3f07ba63.1a2cc6" ] ] }, { "id": "63e95b18.c47c14", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 3971, "y": 687, "z": "cb55ab48.d781c8", "wires": [ [ "e883466f.992618", "f5edbf24.92d52" ] ] }, { "id": "e883466f.992618", "type": "set", "name": "set domain B node ttp-id", "xml": "\n\n", "comments": "", "x": 4188, "y": 628, "z": "cb55ab48.d781c8", "wires": [] }, { "id": "f5edbf24.92d52", "type": "get-resource", "name": "get-resource dst TTP", "xml": "\n\n\n", "comments": "", "outputs": 1, "x": 4177, "y": 699, "z": "cb55ab48.d781c8", "wires": [ [ "70320551.17869c" ] ] }, { "id": "70320551.17869c", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 4368.5, "y": 696, "z": "cb55ab48.d781c8", "wires": [ [ "78931a0a.3bac14" ] ] }, { "id": "78931a0a.3bac14", "type": "set", "name": "set domain B node ttp-id", "xml": "\n\n", "comments": "", "x": 4581, "y": 695, "z": "cb55ab48.d781c8", "wires": [] }, { "id": "68ee333a.5e149c", "type": "set", "name": "set domain B network-id", "xml": "\n\n", "comments": "", "x": 4208, "y": 808, "z": "cb55ab48.d781c8", "wires": [] }, { "id": "57b260c0.16164", "type": "get-resource", "name": "get-resource dst network-resource", "xml": "\n\n\n", "comments": "", "outputs": 1, "x": 4216, "y": 889, "z": "cb55ab48.d781c8", "wires": [ [ "acb8778c.80c2b8" ] ] }, { "id": "acb8778c.80c2b8", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 4448.5, "y": 885, "z": "cb55ab48.d781c8", "wires": [ [ "24fd155e.59dcba" ] ] }, { "id": "24fd155e.59dcba", "type": "set", "name": "set domain B network-id, topo-id, client-id, etc", "xml": "\n\n\n\n\n\n\n\n", "comments": "", "x": 4690, "y": 879, "z": "cb55ab48.d781c8", "wires": [] } ]