X-Git-Url: https://gerrit.onap.org/r/gitweb?p=sdnc%2Foam.git;a=blobdiff_plain;f=platform-logic%2Fgeneric-resource-api%2Fsrc%2Fmain%2Fjson%2Fsotn_nni%2FGENERIC-RESOURCE-API_sotn-create-otn-tunnel.json;h=8b19b0e4a247ad93984c6be7339557b29a7ec816;hp=26e9f8fec77740efff300744ae1b7afbefee0771;hb=f515a8831e0036414d69d73030e871dec88180f8;hpb=1df36cd2a20f26dfa1c80bc5c3baaa03140f1987 diff --git a/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-create-otn-tunnel.json b/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-create-otn-tunnel.json index 26e9f8fe..8b19b0e4 100644 --- a/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-create-otn-tunnel.json +++ b/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-create-otn-tunnel.json @@ -1,20 +1,20 @@ [ { - "id": "2d787bd1.a214b4", + "id": "317d0413.97b404", "type": "dgstart", "name": "DGSTART", "outputs": 1, - "x": 92, - "y": 22, - "z": "17040f2b.d4a821", + "x": 125, + "y": 61, + "z": "3b47dc40.0a0c44", "wires": [ [ - "99a6e8f9.6615a8" + "56043ae0.d8ae54" ] ] }, { - "id": "99a6e8f9.6615a8", + "id": "56043ae0.d8ae54", "type": "service-logic", "name": "GENERIC-RESOURCE-API ${project.version}", "module": "GENERIC-RESOURCE-API", @@ -22,427 +22,697 @@ "comments": "", "xml": "", "outputs": 1, - "x": 206, - "y": 125.00003051757812, - "z": "17040f2b.d4a821", + "x": 239, + "y": 164.00003051757812, + "z": "3b47dc40.0a0c44", "wires": [ [ - "d3f739cf.6d5a28" + "1b0e9fc8.fec538" ] ] }, { - "id": "d3f739cf.6d5a28", + "id": "1b0e9fc8.fec538", "type": "method", "name": "sotn-create-otn-tunnel", "xml": "\n", "comments": "", "outputs": 1, - "x": 217.0001220703125, - "y": 297, - "z": "17040f2b.d4a821", + "x": 250.0001220703125, + "y": 336, + "z": "3b47dc40.0a0c44", "wires": [ [ - "eb49715b.e15e8" + "c6ff1d9b.4f5f78" ] ] }, { - "id": "acad5285.a3e1a", + "id": "95a2379b.0d1ce", "type": "comment", "name": "get cross-domain-link information", "info": "", "comments": "", - "x": 449.5001220703125, - "y": 31.286468505859375, - "z": "17040f2b.d4a821", + "x": 482.5001220703125, + "y": 70.28646850585938, + "z": "3b47dc40.0a0c44", "wires": [] }, { - "id": "eb49715b.e15e8", + "id": "c6ff1d9b.4f5f78", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, - "x": 336.9688720703125, - "y": 425.74163818359375, - "z": "17040f2b.d4a821", + "x": 369.9688720703125, + "y": 464.74163818359375, + "z": "3b47dc40.0a0c44", "wires": [ [ - "96ed9e8f.b90f", - "f1e66bd.f624698", - "386c8b8a.515584" + "26b2f75.3503708", + "f64991bb.7d2d3", + "f13f2135.894b48" ] ] }, { - "id": "96ed9e8f.b90f", + "id": "26b2f75.3503708", "type": "switchNode", "name": "switch prop.sdncRestApi.token_id", "xml": "\n\n", "comments": "", "outputs": 1, - "x": 586, - "y": 625, - "z": "17040f2b.d4a821", + "x": 616, + "y": 1203, + "z": "3b47dc40.0a0c44", "wires": [ [ - "f9d6c529.483238", - "aec39761.70cfc8" + "6717edba.dd315c", + "9d26d203.bf1448" ] ] }, { - "id": "f9d6c529.483238", + "id": "6717edba.dd315c", "type": "other", "name": "Null", "xml": "\n", "comments": "", "outputs": 1, - "x": 882.8438110351562, - "y": 580.1218872070312, - "z": "17040f2b.d4a821", + "x": 912.8438110351562, + "y": 1158.1218872070312, + "z": "3b47dc40.0a0c44", "wires": [ [ - "cb912ed0.0c0a3" + "84d1cb1a.eb2fc8" ] ] }, { - "id": "aec39761.70cfc8", + "id": "9d26d203.bf1448", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, - "x": 881.5, - "y": 659, - "z": "17040f2b.d4a821", + "x": 911.5, + "y": 1237, + "z": "3b47dc40.0a0c44", "wires": [ [ - "a260c7eb.1e65d8" + "2182e897.132d8" ] ] }, { - "id": "a260c7eb.1e65d8", + "id": "2182e897.132d8", "type": "execute", - "name": "execute RestconfApiCallNode Create ethernet Service with token", + "name": "execute RestconfApiCallNode Create OTN tunnel with token", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, - "x": 1193, - "y": 661, - "z": "17040f2b.d4a821", + "x": 1223, + "y": 1239, + "z": "3b47dc40.0a0c44", "wires": [ [ - "b31b1f14.b450e", - "31c0814c.e11a0e" + "1b911a1d.a19f46", + "ab8d3cb8.cfa08" ] ] }, { - "id": "cb912ed0.0c0a3", + "id": "84d1cb1a.eb2fc8", "type": "execute", - "name": "execute RestconfApiCallNode Create ethernet Service without token", + "name": "execute RestconfApiCallNode Creat OTN tunnel without token", "xml": "\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, - "x": 1205, - "y": 584, - "z": "17040f2b.d4a821", + "x": 1235, + "y": 1162, + "z": "3b47dc40.0a0c44", "wires": [ [ - "31c0814c.e11a0e", - "b31b1f14.b450e" + "ab8d3cb8.cfa08", + "1b911a1d.a19f46" ] ] }, { - "id": "b31b1f14.b450e", + "id": "1b911a1d.a19f46", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, - "x": 1626.5, - "y": 652, - "z": "17040f2b.d4a821", + "x": 1656.5, + "y": 1230, + "z": "3b47dc40.0a0c44", "wires": [ [ - "6b799b05.9369c4" + "21fe6b2e.6608f4" ] ] }, { - "id": "6b799b05.9369c4", + "id": "21fe6b2e.6608f4", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, - "x": 1821, - "y": 645, - "z": "17040f2b.d4a821", + "x": 1851, + "y": 1223, + "z": "3b47dc40.0a0c44", "wires": [ [] ] }, { - "id": "401bdd4e.60ff34", + "id": "3680634b.3b9a5c", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", - "x": 1795.5, - "y": 583, - "z": "17040f2b.d4a821", + "x": 1825.5, + "y": 1161, + "z": "3b47dc40.0a0c44", "wires": [] }, { - "id": "31c0814c.e11a0e", + "id": "ab8d3cb8.cfa08", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, - "x": 1611.5, - "y": 587, - "z": "17040f2b.d4a821", + "x": 1641.5, + "y": 1165, + "z": "3b47dc40.0a0c44", "wires": [ [ - "401bdd4e.60ff34" + "3680634b.3b9a5c" ] ] }, { - "id": "f1e66bd.f624698", + "id": "161d9ba6.9cb994", "type": "switchNode", "name": "switch eth topo's provider-id", "xml": "\n", "comments": "", "outputs": 1, - "x": 594, - "y": 173, - "z": "17040f2b.d4a821", + "x": 627, + "y": 212, + "z": "3b47dc40.0a0c44", "wires": [ [ - "daa01201.b40fe", - "ffd4b2da.f2213" + "5e06ab69.dbc5bc", + "85ad793.798f588" ] ] }, { - "id": "daa01201.b40fe", + "id": "5e06ab69.dbc5bc", "type": "outcome", "name": "domain A's OTN topo's provider ID", - "xml": "\n\u0001", + "xml": "", "comments": "", "outputs": 1, - "x": 897.285888671875, - "y": 108.82177734375, - "z": "17040f2b.d4a821", + "x": 930.285888671875, + "y": 147.82177734375, + "z": "3b47dc40.0a0c44", "wires": [ [ - "647bcb79.cd9c24" + "319f4a6b.cd0bbe" ] ] }, { - "id": "647bcb79.cd9c24", + "id": "319f4a6b.cd0bbe", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, - "x": 1154.117431640625, - "y": 107.34027099609375, - "z": "17040f2b.d4a821", + "x": 1187.117431640625, + "y": 146.34027099609375, + "z": "3b47dc40.0a0c44", "wires": [ [ - "7c841c48.339f24" + "a3bb1ab9.1257c" ] ] }, { - "id": "ffd4b2da.f2213", + "id": "85ad793.798f588", "type": "outcome", "name": "domain B's OTN topo's provider ID", - "xml": "\n\u0001", + "xml": "", "comments": "", "outputs": 1, - "x": 895, - "y": 212, - "z": "17040f2b.d4a821", + "x": 928, + "y": 251, + "z": "3b47dc40.0a0c44", "wires": [ [ - "ada6a164.5b7e9" + "91623acb.3dd5b" ] ] }, { - "id": "7c841c48.339f24", + "id": "a3bb1ab9.1257c", "type": "set", "name": "set otn domain node", "xml": "\n\n", "comments": "", - "x": 1359, - "y": 106, - "z": "17040f2b.d4a821", + "x": 1392, + "y": 145, + "z": "3b47dc40.0a0c44", "wires": [] }, { - "id": "ada6a164.5b7e9", + "id": "91623acb.3dd5b", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, - "x": 1150, - "y": 209, - "z": "17040f2b.d4a821", + "x": 1183, + "y": 248, + "z": "3b47dc40.0a0c44", "wires": [ [ - "24ca0ba6.6ddfe4" + "95015654.a72998" ] ] }, { - "id": "24ca0ba6.6ddfe4", + "id": "95015654.a72998", "type": "set", "name": "set otn domain node", "xml": "\n\n", "comments": "", - "x": 1354.882568359375, - "y": 207.65972900390625, - "z": "17040f2b.d4a821", + "x": 1387.882568359375, + "y": 246.65972900390625, + "z": "3b47dc40.0a0c44", "wires": [] }, { - "id": "386c8b8a.515584", + "id": "990d58ad.7400d8", "type": "switchNode", "name": "switch eth node ID", "xml": "\n", "comments": "", "outputs": 1, - "x": 600, - "y": 427, - "z": "17040f2b.d4a821", + "x": 639, + "y": 711, + "z": "3b47dc40.0a0c44", "wires": [ [ - "d91602b.4cd09", - "c018f42b.2b1a68" + "2ce24094.f713b", + "7ec071d2.b7a1f8" ] ] }, { - "id": "d91602b.4cd09", + "id": "2ce24094.f713b", "type": "outcome", "name": "source eth node", - "xml": "\n\u0001", + "xml": "", "comments": "", "outputs": 1, - "x": 840.285888671875, - "y": 349.82177734375, - "z": "17040f2b.d4a821", + "x": 879.285888671875, + "y": 632.82177734375, + "z": "3b47dc40.0a0c44", "wires": [ [ - "fd2adb67.e7ca38" + "dd4b02f7.01e688" ] ] }, { - "id": "fd2adb67.e7ca38", + "id": "dd4b02f7.01e688", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, - "x": 1044.117431640625, - "y": 349.34027099609375, - "z": "17040f2b.d4a821", + "x": 1083.117431640625, + "y": 632.3402709960938, + "z": "3b47dc40.0a0c44", "wires": [ [ - "ad11583e.e14ea8" + "aa1fe07a.cf8d18" ] ] }, { - "id": "17b601bf.a39ace", + "id": "ddb0a3f1.d5a138", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, - "x": 1046, - "y": 469, - "z": "17040f2b.d4a821", + "x": 1085, + "y": 752, + "z": "3b47dc40.0a0c44", "wires": [ [ - "97fd4aa8.fd21b8" + "da3e33dd.52f4e8" ] ] }, { - "id": "c018f42b.2b1a68", + "id": "7ec071d2.b7a1f8", "type": "outcome", "name": "dest eth node", - "xml": "\n\u0001", + "xml": "", "comments": "", "outputs": 1, - "x": 841, - "y": 469, - "z": "17040f2b.d4a821", + "x": 880, + "y": 752, + "z": "3b47dc40.0a0c44", "wires": [ [ - "17b601bf.a39ace" + "ddb0a3f1.d5a138" ] ] }, { - "id": "ad11583e.e14ea8", + "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": 1286, - "y": 350, - "z": "17040f2b.d4a821", + "x": 1325, + "y": 633, + "z": "3b47dc40.0a0c44", "wires": [] }, { - "id": "4add26c3.ec74e8", + "id": "163a9a7c.f94c4e", "type": "comment", "name": "cross domain OTN node is the dest of OTN tunnel", "info": "", "comments": "", - "x": 945, - "y": 306, - "z": "17040f2b.d4a821", + "x": 984, + "y": 589, + "z": "3b47dc40.0a0c44", "wires": [] }, { - "id": "15de3156.c96c3f", + "id": "295b6b41.b99cfc", "type": "comment", "name": "cross domain OTN node is the source of OTN tunnel", "info": "", "comments": "", - "x": 954, - "y": 429, - "z": "17040f2b.d4a821", + "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", + "comments": "", + "x": 1269, + "y": 823, + "z": "3b47dc40.0a0c44", "wires": [] }, { - "id": "97fd4aa8.fd21b8", + "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", "comments": "", - "x": 1294, - "y": 474, - "z": "17040f2b.d4a821", + "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" + ] + ] } ] \ No newline at end of file