[ { "id": "317d0413.97b404", "type": "dgstart", "name": "DGSTART", "outputs": 1, "x": 125, "y": 61, "z": "3b47dc40.0a0c44", "wires": [ [ "56043ae0.d8ae54" ] ] }, { "id": "56043ae0.d8ae54", "type": "service-logic", "name": "GENERIC-RESOURCE-API ${project.version}", "module": "GENERIC-RESOURCE-API", "version": "${project.version}", "comments": "", "xml": "", "outputs": 1, "x": 239, "y": 164.00003051757812, "z": "3b47dc40.0a0c44", "wires": [ [ "1b0e9fc8.fec538" ] ] }, { "id": "1b0e9fc8.fec538", "type": "method", "name": "sotn-create-otn-tunnel", "xml": "\n", "comments": "", "outputs": 1, "x": 250.0001220703125, "y": 336, "z": "3b47dc40.0a0c44", "wires": [ [ "c6ff1d9b.4f5f78" ] ] }, { "id": "95a2379b.0d1ce", "type": "comment", "name": "get cross-domain-link information", "info": "", "comments": "", "x": 482.5001220703125, "y": 70.28646850585938, "z": "3b47dc40.0a0c44", "wires": [] }, { "id": "c6ff1d9b.4f5f78", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 369.9688720703125, "y": 464.74163818359375, "z": "3b47dc40.0a0c44", "wires": [ [ "26b2f75.3503708", "f64991bb.7d2d3", "f13f2135.894b48" ] ] }, { "id": "26b2f75.3503708", "type": "switchNode", "name": "switch prop.sdncRestApi.token_id", "xml": "\n\n", "comments": "", "outputs": 1, "x": 616, "y": 1203, "z": "3b47dc40.0a0c44", "wires": [ [ "6717edba.dd315c", "9d26d203.bf1448" ] ] }, { "id": "6717edba.dd315c", "type": "other", "name": "Null", "xml": "\n", "comments": "", "outputs": 1, "x": 912.8438110351562, "y": 1158.1218872070312, "z": "3b47dc40.0a0c44", "wires": [ [ "921b5877.d781b" ] ] }, { "id": "9d26d203.bf1448", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 911.5, "y": 1237, "z": "3b47dc40.0a0c44", "wires": [ [ "5ee72a4.dae15d4" ] ] }, { "id": "2182e897.132d8", "type": "execute", "name": "execute RestconfApiCallNode Create OTN tunnel with token", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 1223, "y": 1239, "z": "3b47dc40.0a0c44", "wires": [ [ "1b911a1d.a19f46", "ab8d3cb8.cfa08" ] ] }, { "id": "84d1cb1a.eb2fc8", "type": "execute", "name": "execute RestconfApiCallNode Creat OTN tunnel without token", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 1235, "y": 1162, "z": "3b47dc40.0a0c44", "wires": [ [ "ab8d3cb8.cfa08", "1b911a1d.a19f46" ] ] }, { "id": "1b911a1d.a19f46", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 1656.5, "y": 1230, "z": "3b47dc40.0a0c44", "wires": [ [ "21fe6b2e.6608f4" ] ] }, { "id": "21fe6b2e.6608f4", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 1851, "y": 1223, "z": "3b47dc40.0a0c44", "wires": [ [] ] }, { "id": "3680634b.3b9a5c", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1825.5, "y": 1161, "z": "3b47dc40.0a0c44", "wires": [] }, { "id": "ab8d3cb8.cfa08", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 1641.5, "y": 1165, "z": "3b47dc40.0a0c44", "wires": [ [ "3680634b.3b9a5c" ] ] }, { "id": "161d9ba6.9cb994", "type": "switchNode", "name": "switch eth topo's provider-id", "xml": "\n", "comments": "", "outputs": 1, "x": 627, "y": 212, "z": "3b47dc40.0a0c44", "wires": [ [ "5e06ab69.dbc5bc", "85ad793.798f588" ] ] }, { "id": "5e06ab69.dbc5bc", "type": "outcome", "name": "domain A's OTN topo's provider ID", "xml": "", "comments": "", "outputs": 1, "x": 930.285888671875, "y": 147.82177734375, "z": "3b47dc40.0a0c44", "wires": [ [ "319f4a6b.cd0bbe" ] ] }, { "id": "319f4a6b.cd0bbe", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 1187.117431640625, "y": 146.34027099609375, "z": "3b47dc40.0a0c44", "wires": [ [ "a3bb1ab9.1257c" ] ] }, { "id": "85ad793.798f588", "type": "outcome", "name": "domain B's OTN topo's provider ID", "xml": "", "comments": "", "outputs": 1, "x": 928, "y": 251, "z": "3b47dc40.0a0c44", "wires": [ [ "91623acb.3dd5b" ] ] }, { "id": "a3bb1ab9.1257c", "type": "set", "name": "set otn domain node", "xml": "\n\n", "comments": "", "x": 1392, "y": 145, "z": "3b47dc40.0a0c44", "wires": [] }, { "id": "91623acb.3dd5b", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 1183, "y": 248, "z": "3b47dc40.0a0c44", "wires": [ [ "95015654.a72998" ] ] }, { "id": "95015654.a72998", "type": "set", "name": "set otn domain node", "xml": "\n\n", "comments": "", "x": 1387.882568359375, "y": 246.65972900390625, "z": "3b47dc40.0a0c44", "wires": [] }, { "id": "990d58ad.7400d8", "type": "switchNode", "name": "switch eth node ID", "xml": "\n", "comments": "", "outputs": 1, "x": 639, "y": 711, "z": "3b47dc40.0a0c44", "wires": [ [ "2ce24094.f713b", "7ec071d2.b7a1f8" ] ] }, { "id": "2ce24094.f713b", "type": "outcome", "name": "source eth node", "xml": "", "comments": "", "outputs": 1, "x": 879.285888671875, "y": 632.82177734375, "z": "3b47dc40.0a0c44", "wires": [ [ "dd4b02f7.01e688" ] ] }, { "id": "dd4b02f7.01e688", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 1083.117431640625, "y": 632.3402709960938, "z": "3b47dc40.0a0c44", "wires": [ [ "aa1fe07a.cf8d18" ] ] }, { "id": "ddb0a3f1.d5a138", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 1085, "y": 752, "z": "3b47dc40.0a0c44", "wires": [ [ "da3e33dd.52f4e8" ] ] }, { "id": "7ec071d2.b7a1f8", "type": "outcome", "name": "dest eth node", "xml": "", "comments": "", "outputs": 1, "x": 880, "y": 752, "z": "3b47dc40.0a0c44", "wires": [ [ "ddb0a3f1.d5a138" ] ] }, { "id": "aa1fe07a.cf8d18", "type": "set", "name": "set attachment_param", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "x": 1325, "y": 633, "z": "3b47dc40.0a0c44", "wires": [] }, { "id": "163a9a7c.f94c4e", "type": "comment", "name": "cross domain OTN node is the dest of OTN tunnel", "info": "", "comments": "", "x": 984, "y": 589, "z": "3b47dc40.0a0c44", "wires": [] }, { "id": "295b6b41.b99cfc", "type": "comment", "name": "cross domain OTN node is the source of OTN tunnel", "info": "", "comments": "", "x": 993, "y": 712, "z": "3b47dc40.0a0c44", "wires": [] }, { "id": "da3e33dd.52f4e8", "type": "set", "name": "set attachment_param", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "x": 1333, "y": 757, "z": "3b47dc40.0a0c44", "wires": [] }, { "id": "78e806c9.b8028", "type": "failure", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 877, "y": 828, "z": "3b47dc40.0a0c44", "wires": [ [ "a1380a33.f7da" ] ] }, { "id": "f64991bb.7d2d3", "type": "execute", "name": "uni-tp-id contains src-pnf-name", "xml": "\n \n \n", "comments": "", "outputs": 1, "x": 663, "y": 827, "z": "3b47dc40.0a0c44", "wires": [ [ "78e806c9.b8028", "c58e7233.0e544" ] ] }, { "id": "c58e7233.0e544", "type": "failure", "name": "false", "xml": "\n", "comments": "", "outputs": 1, "x": 878, "y": 876, "z": "3b47dc40.0a0c44", "wires": [ [ "716e2d25.6fe90c" ] ] }, { "id": "716e2d25.6fe90c", "type": "execute", "name": "uni-tp-id contains dst-pnf-name", "xml": "\n \n \n", "comments": "", "outputs": 1, "x": 1087, "y": 874, "z": "3b47dc40.0a0c44", "wires": [ [ "b2082b04.764078" ] ] }, { "id": "b2082b04.764078", "type": "failure", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1301, "y": 875, "z": "3b47dc40.0a0c44", "wires": [ [ "facf7dd6.b833c" ] ] }, { "id": "a1380a33.f7da", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 1057, "y": 825, "z": "3b47dc40.0a0c44", "wires": [ [ "77be498b.1e80d" ] ] }, { "id": "facf7dd6.b833c", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 1470, "y": 872, "z": "3b47dc40.0a0c44", "wires": [ [ "5ad550e4.a3ef2" ] ] }, { "id": "2fce99ef.66ce96", "type": "failure", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 858, "y": 373, "z": "3b47dc40.0a0c44", "wires": [ [ "62b7c2e9.915bfc" ] ] }, { "id": "f13f2135.894b48", "type": "execute", "name": "uni-tp-id contains domain-A.network-id", "xml": "\n \n \n", "comments": "", "outputs": 1, "x": 623, "y": 372, "z": "3b47dc40.0a0c44", "wires": [ [ "2fce99ef.66ce96", "c8a39e1a.853cd" ] ] }, { "id": "c8a39e1a.853cd", "type": "failure", "name": "false", "xml": "\n", "comments": "", "outputs": 1, "x": 830, "y": 423, "z": "3b47dc40.0a0c44", "wires": [ [ "9c03510d.95d8f8" ] ] }, { "id": "84bd363f.cecab", "type": "failure", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1282, "y": 420, "z": "3b47dc40.0a0c44", "wires": [ [ "319183ef.947ad4" ] ] }, { "id": "62b7c2e9.915bfc", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 1038, "y": 370, "z": "3b47dc40.0a0c44", "wires": [ [ "feb246e9.3add2" ] ] }, { "id": "feb246e9.3add2", "type": "set", "name": "set otn domain node", "xml": "\n\n", "comments": "", "x": 1242.882568359375, "y": 368.65972900390625, "z": "3b47dc40.0a0c44", "wires": [] }, { "id": "319183ef.947ad4", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 1451, "y": 417, "z": "3b47dc40.0a0c44", "wires": [ [ "5f5c2180.97a72" ] ] }, { "id": "5f5c2180.97a72", "type": "set", "name": "set otn domain node", "xml": "\n\n", "comments": "", "x": 1655.882568359375, "y": 415.65972900390625, "z": "3b47dc40.0a0c44", "wires": [] }, { "id": "77be498b.1e80d", "type": "set", "name": "set attachment_param", "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", "comments": "", "x": 1269, "y": 823, "z": "3b47dc40.0a0c44", "wires": [] }, { "id": "5ad550e4.a3ef2", "type": "set", "name": "set attachment_param", "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", "comments": "", "x": 1669, "y": 872, "z": "3b47dc40.0a0c44", "wires": [] }, { "id": "9c03510d.95d8f8", "type": "execute", "name": "uni-tp-id contains domain-B.network-id", "xml": "\n \n \n", "comments": "", "outputs": 1, "x": 1059, "y": 423, "z": "3b47dc40.0a0c44", "wires": [ [ "84bd363f.cecab" ] ] }, { "id": "921b5877.d781b", "type": "execute", "name": "execute RestApiCallNode Create OTN tunnel without token", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 1231, "y": 1112, "z": "3b47dc40.0a0c44", "wires": [ [ "ab8d3cb8.cfa08", "1b911a1d.a19f46" ] ] }, { "id": "5ee72a4.dae15d4", "type": "execute", "name": "execute RestApiCallNode Create OTN tunnel with token", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 1223, "y": 1285, "z": "3b47dc40.0a0c44", "wires": [ [ "ab8d3cb8.cfa08", "1b911a1d.a19f46" ] ] } ]