X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=platform-logic%2Fgeneric-resource-api%2Fsrc%2Fmain%2Fjson%2Fsotn_nni%2FGENERIC-RESOURCE-API_sotn-vf-operation-uni-activate.json;h=658a04cdf53c1bd07a029b49ccb2027c577a0b7c;hb=f515a8831e0036414d69d73030e871dec88180f8;hp=4d9aad4b882cfa3de09a03e45c0d9423a9c1f68c;hpb=92555a71ca2c208d33cbbb043c755f0175c6decc;p=sdnc%2Foam.git diff --git a/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-vf-operation-uni-activate.json b/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-vf-operation-uni-activate.json index 4d9aad4b..658a04cd 100644 --- a/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-vf-operation-uni-activate.json +++ b/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-vf-operation-uni-activate.json @@ -1,20 +1,20 @@ [ { - "id": "b87fb992.37671", + "id": "7a5b2247.76a96c", "type": "dgstart", "name": "DGSTART", "outputs": 1, - "x": 179.8055419921875, - "y": 128.13888549804688, - "z": "28baf2a.ead510e", + "x": 115, + "y": 61, + "z": "9b26c8a0.a64c1", "wires": [ [ - "527522f9.ff69e4" + "8f393b9e.9e17b" ] ] }, { - "id": "527522f9.ff69e4", + "id": "8f393b9e.9e17b", "type": "service-logic", "name": "GENERIC-RESOURCE-API ${project.version}", "module": "GENERIC-RESOURCE-API", @@ -22,57 +22,1342 @@ "comments": "", "xml": "", "outputs": 1, - "x": 311.0912322998047, - "y": 177.3769941329956, - "z": "28baf2a.ead510e", + "x": 246.2856903076172, + "y": 110.23810863494873, + "z": "9b26c8a0.a64c1", "wires": [ [ - "74e85c6a.58678c" + "eff67602.0d4e4" ] ] }, { - "id": "74e85c6a.58678c", + "id": "eff67602.0d4e4", "type": "method", "name": "method sotn-vf-operation-uni-activate", "xml": "\n", "comments": "", "outputs": 1, - "x": 314.2341613769531, - "y": 262.13891792297363, - "z": "28baf2a.ead510e", + "x": 249.42861938476562, + "y": 195.00003242492676, + "z": "9b26c8a0.a64c1", "wires": [ [ - "ae007ab1.699328" + "c03d71cc.6719d8" ] ] }, { - "id": "ae007ab1.699328", + "id": "b1251334.94c658", + "type": "switchNode", + "name": "switch vf-modules.vf-module_length", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 721.9959564208984, + "y": 375.99998915195465, + "z": "9b26c8a0.a64c1", + "wires": [ + [ + "2185890c.41cf5e", + "7887ee8e.f7ad9", + "bf0b3d3b.de1c1" + ] + ] + }, + { + "id": "c03d71cc.6719d8", "type": "block", "name": "block : atomic", - "xml": "\n", - "atomic": "false", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 340.6626205444336, + "y": 480.66670763492584, + "z": "9b26c8a0.a64c1", + "wires": [ + [ + "b1251334.94c658", + "e40d5cd3.6df488", + "77bef901.3c81f", + "f1780b76.81d518", + "5733466d.dcbb88", + "6d51d616.88647", + "aab160b4.f76088", + "48dc3a93.b23a44", + "672fc75a.1e91b" + ] + ] + }, + { + "id": "77bef901.3c81f", + "type": "for", + "name": "for each vnf", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 687.0273170471191, + "y": 246.269144654274, + "z": "9b26c8a0.a64c1", + "wires": [ + [ + "c9d21017.2aa0b8" + ] + ] + }, + { + "id": "e40d5cd3.6df488", + "type": "switchNode", + "name": "switch vnf_length", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 691.9959716796875, + "y": 185.00001394748688, + "z": "9b26c8a0.a64c1", + "wires": [ + [ + "eb024dbb.2172c" + ] + ] + }, + { + "id": "eb024dbb.2172c", + "type": "outcome", + "name": "NULL", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 871.9959526062012, + "y": 184.0000034570694, + "z": "9b26c8a0.a64c1", + "wires": [ + [ + "9467f8cc.185d38" + ] + ] + }, + { + "id": "9467f8cc.185d38", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1021.4246788024902, + "y": 185.14292109012604, + "z": "9b26c8a0.a64c1", + "wires": [] + }, + { + "id": "c9d21017.2aa0b8", + "type": "switchNode", + "name": "switch this vnf-id == input vnf-id", + "xml": " \n", + "comments": "", + "outputs": 1, + "x": 909.9959678649902, + "y": 247.00000965595245, + "z": "9b26c8a0.a64c1", + "wires": [ + [ + "5eb86cb5.aa0e34" + ] + ] + }, + { + "id": "5eb86cb5.aa0e34", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1124.9959526062012, + "y": 245.0000034570694, + "z": "9b26c8a0.a64c1", + "wires": [ + [ + "eb010427.42f398" + ] + ] + }, + { + "id": "8fe487a9.faab98", + "type": "set", + "name": "set vnf-index", + "xml": "\n\n", + "comments": "", + "x": 1465.9959716796875, + "y": 213, + "z": "9b26c8a0.a64c1", + "wires": [] + }, + { + "id": "7887ee8e.f7ad9", + "type": "outcome", + "name": "NULL", + "xml": "\n", "comments": "", "outputs": 1, - "x": 455.33288192749023, - "y": 479.2130994796753, - "z": "28baf2a.ead510e", + "x": 981.9959716796875, + "y": 400, + "z": "9b26c8a0.a64c1", + "wires": [ + [ + "6182e795.96a958" + ] + ] + }, + { + "id": "2185890c.41cf5e", + "type": "outcome", + "name": "0", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 978.9959716796875, + "y": 328, + "z": "9b26c8a0.a64c1", + "wires": [ + [ + "6182e795.96a958" + ] + ] + }, + { + "id": "6182e795.96a958", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1150.9959716796875, + "y": 362, + "z": "9b26c8a0.a64c1", + "wires": [] + }, + { + "id": "bf0b3d3b.de1c1", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 943.9959487915039, + "y": 470.9999986886978, + "z": "9b26c8a0.a64c1", + "wires": [ + [ + "f14d9e8b.d52ee8" + ] + ] + }, + { + "id": "13dbecad.5f9583", + "type": "set", + "name": "set vf-module_length", + "xml": "\n\n\n", + "comments": "", + "x": 1297.995964050293, + "y": 469.0000126361847, + "z": "9b26c8a0.a64c1", + "wires": [] + }, + { + "id": "f14d9e8b.d52ee8", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 1104.995994567871, + "y": 467.99999010562897, + "z": "9b26c8a0.a64c1", + "wires": [ + [ + "13dbecad.5f9583", + "76e7a061.215fe" + ] + ] + }, + { + "id": "76e7a061.215fe", + "type": "for", + "name": "for each existing vf-index", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1316.9959335327148, + "y": 521.9999891519547, + "z": "9b26c8a0.a64c1", + "wires": [ + [ + "4d4229cc.870928" + ] + ] + }, + { + "id": "4d4229cc.870928", + "type": "switchNode", + "name": "switch vf-module-id found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1559.995948791504, + "y": 516.9999986886978, + "z": "9b26c8a0.a64c1", + "wires": [ + [ + "235f500c.adb2d8" + ] + ] + }, + { + "id": "235f500c.adb2d8", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1757.9959774017334, + "y": 504.00000536441803, + "z": "9b26c8a0.a64c1", + "wires": [ + [ + "b98c0673.7d62f8" + ] + ] + }, + { + "id": "b98c0673.7d62f8", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 1909.995948791504, + "y": 505.9999986886978, + "z": "9b26c8a0.a64c1", "wires": [ [ - "da013af.4338448" + "9c359698.db3d68", + "1962516c.e21167" ] ] }, { - "id": "da013af.4338448", + "id": "9c359698.db3d68", + "type": "set", + "name": "set tmp.vidx and ctx.vnf-data", + "xml": "\n\n\n", + "comments": "", + "x": 2137.996063232422, + "y": 448.0000025033951, + "z": "9b26c8a0.a64c1", + "wires": [] + }, + { + "id": "1962516c.e21167", + "type": "set", + "name": "set vf-module-request-input.", + "xml": "\n\n\n", + "comments": "", + "x": 2141.996063232422, + "y": 502.0000025033951, + "z": "9b26c8a0.a64c1", + "wires": [] + }, + { + "id": "f1780b76.81d518", "type": "returnSuccess", "name": "return success", "xml": "\n\n\n\n", "comments": "", - "x": 723.25, - "y": 561.75, - "z": "28baf2a.ead510e", + "x": 615.9961547851562, + "y": 1675.501220703125, + "z": "9b26c8a0.a64c1", + "wires": [] + }, + { + "id": "29a9aeb.30d1952", + "type": "call", + "name": "call sotn-get-vf-module-uni-param", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2172.45108795166, + "y": 553.0104948282242, + "z": "9b26c8a0.a64c1", + "wires": [ + [] + ] + }, + { + "id": "5733466d.dcbb88", + "type": "execute", + "name": "execute Properties", + "xml": "\n \n \n", + "comments": "", + "outputs": 1, + "x": 701.9959564208984, + "y": 315.5039049386978, + "z": "9b26c8a0.a64c1", + "wires": [ + [] + ] + }, + { + "id": "eb010427.42f398", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 1288, + "y": 255, + "z": "9b26c8a0.a64c1", + "wires": [ + [ + "8fe487a9.faab98", + "c2b0533e.d5b1d" + ] + ] + }, + { + "id": "c2b0533e.d5b1d", + "type": "set", + "name": "set tmp.vnf-id", + "xml": "\n\n", + "comments": "", + "x": 1473, + "y": 270, + "z": "9b26c8a0.a64c1", + "wires": [] + }, + { + "id": "48dc3a93.b23a44", + "type": "get-resource", + "name": "get-resource generic-vnf", + "xml": "\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 594, + "y": 534, + "z": "9b26c8a0.a64c1", + "wires": [ + [ + "28391a2c.3321fe" + ] + ] + }, + { + "id": "6a811cc0.b174ac", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 824, + "y": 582, + "z": "9b26c8a0.a64c1", + "wires": [ + [ + "1afc6101.b3a3ff", + "6ac23f85.2f3a38" + ] + ] + }, + { + "id": "6ac23f85.2f3a38", + "type": "for", + "name": "for each relationship in gen-vnf", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1036, + "y": 585, + "z": "9b26c8a0.a64c1", + "wires": [ + [ + "5e0bc542.fea784" + ] + ] + }, + { + "id": "5e0bc542.fea784", + "type": "switchNode", + "name": "switch related-to", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1262, + "y": 589, + "z": "9b26c8a0.a64c1", + "wires": [ + [ + "ad3f5adb.0bf5b8" + ] + ] + }, + { + "id": "ad3f5adb.0bf5b8", + "type": "outcome", + "name": "uni", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1451.285888671875, + "y": 597.82177734375, + "z": "9b26c8a0.a64c1", + "wires": [ + [ + "4a0655ab.fa2fa4" + ] + ] + }, + { + "id": "4a0655ab.fa2fa4", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 1626.117431640625, + "y": 600.3402709960938, + "z": "9b26c8a0.a64c1", + "wires": [ + [ + "2cd069f4.1bd85e", + "e85654b4.901fd", + "596112fe.dbc0a4" + ] + ] + }, + { + "id": "2cd069f4.1bd85e", + "type": "set", + "name": "set tmp.unis.uni[].tpId", + "xml": "\n\n\n\n", + "comments": "", + "x": 1843.117431640625, + "y": 598.3402709960938, + "z": "9b26c8a0.a64c1", + "wires": [] + }, + { + "id": "1afc6101.b3a3ff", + "type": "switchNode", + "name": "switch number of unis less than two", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1011, + "y": 749, + "z": "9b26c8a0.a64c1", + "wires": [ + [ + "3398154f.dabcca" + ] + ] + }, + { + "id": "f0dacaa2.3f6d9", + "type": "returnSuccess", + "name": "return success", + "xml": "\n\n\n\n\n", + "comments": "", + "x": 1419, + "y": 751, + "z": "9b26c8a0.a64c1", + "wires": [] + }, + { + "id": "3398154f.dabcca", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1227, + "y": 750, + "z": "9b26c8a0.a64c1", + "wires": [ + [ + "f0dacaa2.3f6d9" + ] + ] + }, + { + "id": "e85654b4.901fd", + "type": "execute", + "name": "execute split tpId to get pnf-name", + "xml": "\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1882, + "y": 673, + "z": "9b26c8a0.a64c1", + "wires": [ + [ + "fb92d303.a6d858", + "3b07d667.72d91a" + ] + ] + }, + { + "id": "3b07d667.72d91a", + "type": "failure", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2105, + "y": 628, + "z": "9b26c8a0.a64c1", + "wires": [ + [ + "9111f685.17b2e8" + ] + ] + }, + { + "id": "fb92d303.a6d858", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2107, + "y": 692, + "z": "9b26c8a0.a64c1", + "wires": [ + [ + "1432f6d2.d75751" + ] + ] + }, + { + "id": "9111f685.17b2e8", + "type": "set", + "name": "set ipAddress prefixLength", + "xml": "\n\n", + "comments": "", + "x": 2327, + "y": 630, + "z": "9b26c8a0.a64c1", + "wires": [] + }, + { + "id": "1432f6d2.d75751", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\n\n", + "comments": "", + "x": 2266, + "y": 711, + "z": "9b26c8a0.a64c1", + "wires": [] + }, + { + "id": "596112fe.dbc0a4", + "type": "get-resource", + "name": "get-resource pnf", + "xml": "\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1812, + "y": 810, + "z": "9b26c8a0.a64c1", + "wires": [ + [ + "51c3744a.753414" + ] + ] + }, + { + "id": "796d1bdc.d65e9c", + "type": "block", + "name": "block", + "xml": "", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 2171.88232421875, + "y": 818.6556396484375, + "z": "9b26c8a0.a64c1", + "wires": [ + [ + "9e81136f.40f158", + "3a607f75.56a9d" + ] + ] + }, + { + "id": "9e81136f.40f158", + "type": "set", + "name": "set node-id", + "xml": "\n\n", + "comments": "", + "x": 2351, + "y": 772, + "z": "9b26c8a0.a64c1", + "wires": [] + }, + { + "id": "3a607f75.56a9d", + "type": "for", + "name": "for each relationship in pnf", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2363.882568359375, + "y": 858.6597290039062, + "z": "9b26c8a0.a64c1", + "wires": [ + [ + "709c4d83.a869b4" + ] + ] + }, + { + "id": "709c4d83.a869b4", + "type": "switchNode", + "name": "switch related-to", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2589.882568359375, + "y": 858.6597290039062, + "z": "9b26c8a0.a64c1", + "wires": [ + [ + "8cbba6bb.ad862", + "dd673476.c308f" + ] + ] + }, + { + "id": "dd673476.c308f", + "type": "outcome", + "name": "network-resource", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2788, + "y": 971, + "z": "9b26c8a0.a64c1", + "wires": [ + [ + "2c8cb3cb.28eeec" + ] + ] + }, + { + "id": "2c8cb3cb.28eeec", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 3001, + "y": 972, + "z": "9b26c8a0.a64c1", + "wires": [ + [ + "8af5221c.7c91b", + "47206fa6.e312e" + ] + ] + }, + { + "id": "8af5221c.7c91b", + "type": "set", + "name": "set network-id", + "xml": "\n\n", + "comments": "", + "x": 3236, + "y": 902, + "z": "9b26c8a0.a64c1", + "wires": [] + }, + { + "id": "47206fa6.e312e", + "type": "get-resource", + "name": "get-resource network-resource", + "xml": "\n\n\n", + "comments": "", + "outputs": 1, + "x": 3244, + "y": 983, + "z": "9b26c8a0.a64c1", + "wires": [ + [ + "4ad04544.d0fad4" + ] + ] + }, + { + "id": "4ad04544.d0fad4", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 3476.5, + "y": 979, + "z": "9b26c8a0.a64c1", + "wires": [ + [ + "d8cca786.0614f8" + ] + ] + }, + { + "id": "d8cca786.0614f8", + "type": "set", + "name": "set network-id, topo-id, client-id, etc", + "xml": "\n\n\n\n\n\n\n\n", + "comments": "", + "x": 3745, + "y": 978, + "z": "9b26c8a0.a64c1", + "wires": [] + }, + { + "id": "aab160b4.f76088", + "type": "call", + "name": "call GENERIC-RESOURCE-API:sotn-get-otn-tunnel-path-from-oof", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 800, + "y": 896, + "z": "9b26c8a0.a64c1", + "wires": [ + [] + ] + }, + { + "id": "8cbba6bb.ad862", + "type": "outcome", + "name": "thirdparty-controller", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2815, + "y": 836, + "z": "9b26c8a0.a64c1", + "wires": [ + [ + "8b43ac76.263cd" + ] + ] + }, + { + "id": "8b43ac76.263cd", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 3028, + "y": 837, + "z": "9b26c8a0.a64c1", + "wires": [ + [ + "9b5d5673.27be38" + ] + ] + }, + { + "id": "9b5d5673.27be38", + "type": "set", + "name": "set thirdparty-sdnc-id", + "xml": "\n\n", + "comments": "", + "x": 3255, + "y": 836, + "z": "9b26c8a0.a64c1", + "wires": [] + }, + { + "id": "4ddb604c.658b08", + "type": "comment", + "name": "when we reach here, we have 2 UNIs, so do ACTN operations", + "info": "", + "comments": "", + "x": 813, + "y": 842, + "z": "9b26c8a0.a64c1", + "wires": [] + }, + { + "id": "6d51d616.88647", + "type": "for", + "name": "for vidx..unis.uni_length[]", + "xml": "", + "comments": "", + "outputs": 1, + "x": 666, + "y": 1088, + "z": "9b26c8a0.a64c1", + "wires": [ + [ + "8a72c5de.69f39" + ] + ] + }, + { + "id": "f7756434.d014e", + "type": "set", + "name": "set oof.vpn", + "xml": "\n", + "comments": "", + "x": 1092.0272216796875, + "y": 1027.040771484375, + "z": "9b26c8a0.a64c1", + "wires": [] + }, + { + "id": "8e5c8d32.64abe8", + "type": "set", + "name": "set controller data", + "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "x": 1572.0272216796875, + "y": 1140.0407409667969, + "z": "9b26c8a0.a64c1", + "wires": [] + }, + { + "id": "58b223b2.226b5c", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1402.0272216796875, + "y": 1140.0407409667969, + "z": "9b26c8a0.a64c1", + "wires": [ + [ + "8e5c8d32.64abe8" + ] + ] + }, + { + "id": "74cd1f0b.113038", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1406.0272216796875, + "y": 1180.0407409667969, + "z": "9b26c8a0.a64c1", + "wires": [ + [ + "50f33a59.7393a4" + ] + ] + }, + { + "id": "4f39f2a5.5bd5fc", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1398.0272216796875, + "y": 1220.0407409667969, + "z": "9b26c8a0.a64c1", + "wires": [ + [ + "4b579e44.4ec6b" + ] + ] + }, + { + "id": "50f33a59.7393a4", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n\t\n\t\n \n", + "comments": "", + "outputs": 1, + "x": 1402.0272216796875, + "y": 1260.0407409667969, + "z": "9b26c8a0.a64c1", + "wires": [ + [ + "9aeb59cf.e4f488" + ] + ] + }, + { + "id": "3bf26416.4deddc", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1398.0272216796875, + "y": 1300.0407409667969, + "z": "9b26c8a0.a64c1", + "wires": [ + [ + "e227ce38.6755d" + ] + ] + }, + { + "id": "e227ce38.6755d", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1556.0272216796875, + "y": 1300.0407409667969, + "z": "9b26c8a0.a64c1", + "wires": [] + }, + { + "id": "9aeb59cf.e4f488", + "type": "set", + "name": "set token-id", + "xml": "\n\n", + "comments": "", + "x": 1552.5272216796875, + "y": 1260.0407409667969, + "z": "9b26c8a0.a64c1", + "wires": [] + }, + { + "id": "ac6d44a1.0c401", + "type": "comment", + "name": "Get controller info and send request", + "info": "", + "comments": "", + "x": 1164.0272216796875, + "y": 1140.0407409667969, + "z": "9b26c8a0.a64c1", + "wires": [] + }, + { + "id": "a9643f3f.4f04b", + "type": "get-resource", + "name": "get-resource esr-thirdparty-sdnc", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 1156.0272216796875, + "y": 1180.0407409667969, + "z": "9b26c8a0.a64c1", + "wires": [ + [ + "58b223b2.226b5c", + "74cd1f0b.113038", + "4f39f2a5.5bd5fc" + ] + ] + }, + { + "id": "c6d53bc.53f5bc8", + "type": "execute", + "name": "execute RestApiCallNode Get token", + "xml": "\n\n\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1168.5272216796875, + "y": 1280.0407409667969, + "z": "9b26c8a0.a64c1", + "wires": [ + [ + "66a971fa.46a568", + "3bf26416.4deddc" + ] + ] + }, + { + "id": "787bd09.8ff59b", + "type": "comment", + "name": "call domain controller to create underlay OTN tunnel", + "info": "", + "comments": "", + "x": 1217.5272216796875, + "y": 1365.49560546875, + "z": "9b26c8a0.a64c1", + "wires": [] + }, + { + "id": "ee991e0.ab6b36", + "type": "call", + "name": "call GENERIC-RESOURCE-API:sotn-create-otn-tunnel", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1237.5272216796875, + "y": 1409.49560546875, + "z": "9b26c8a0.a64c1", + "wires": [ + [] + ] + }, + { + "id": "8a72c5de.69f39", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 819.5272216796875, + "y": 1420.0407409667969, + "z": "9b26c8a0.a64c1", + "wires": [ + [ + "124c6957.e07dc7", + "3ce3b19a.7c10c6", + "d661efba.3fa238", + "ee991e0.ab6b36", + "f7756434.d014e" + ] + ] + }, + { + "id": "ab7e4ea9.e8e178", + "type": "comment", + "name": "Loop through UNIs and configure domain controllers", + "info": "", + "comments": "", + "x": 754.5003662109375, + "y": 1228.5003662109375, + "z": "9b26c8a0.a64c1", + "wires": [] + }, + { + "id": "124c6957.e07dc7", + "type": "set", + "name": "set sotn_value", + "xml": "\n\n\n\n\n\n\n", + "comments": "", + "x": 1083.52734375, + "y": 1488.040771484375, + "z": "9b26c8a0.a64c1", + "wires": [] + }, + { + "id": "3ce3b19a.7c10c6", + "type": "set", + "name": "set attachment_param", + "xml": "\n\n\n\n\n\n\n\n\n", + "comments": "", + "x": 1108.02734375, + "y": 1528.040771484375, + "z": "9b26c8a0.a64c1", + "wires": [] + }, + { + "id": "d661efba.3fa238", + "type": "switchNode", + "name": "switch prop.sdncRestApi.token_id", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 1143.52734375, + "y": 1568.040771484375, + "z": "9b26c8a0.a64c1", + "wires": [ + [ + "f63083b5.0624b", + "fbf2273e.fbe678" + ] + ] + }, + { + "id": "678c3911.078e2", + "type": "execute", + "name": "execute RestconfApiCallNode Create ethernet Service with token", + "xml": "\n\n\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1660.52734375, + "y": 1588.040771484375, + "z": "9b26c8a0.a64c1", + "wires": [ + [ + "72a042fd.6a9e5c", + "4ae2509c.7d19b8" + ] + ] + }, + { + "id": "72a042fd.6a9e5c", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2004.02734375, + "y": 1588.040771484375, + "z": "9b26c8a0.a64c1", + "wires": [ + [ + "743fa383.cc94fc" + ] + ] + }, + { + "id": "743fa383.cc94fc", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 2161.52734375, + "y": 1588.040771484375, + "z": "9b26c8a0.a64c1", + "wires": [ + [] + ] + }, + { + "id": "7e01ab8f.069484", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 2158.02734375, + "y": 1548.040771484375, + "z": "9b26c8a0.a64c1", + "wires": [] + }, + { + "id": "4ae2509c.7d19b8", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2000.02734375, + "y": 1548.040771484375, + "z": "9b26c8a0.a64c1", + "wires": [ + [ + "7e01ab8f.069484" + ] + ] + }, + { + "id": "f63083b5.0624b", + "type": "other", + "name": "Null", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1356.3711738586426, + "y": 1548.162670135498, + "z": "9b26c8a0.a64c1", + "wires": [ + [ + "42cb8b06.e7daec" + ] + ] + }, + { + "id": "fbf2273e.fbe678", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1360.02734375, + "y": 1588.040771484375, + "z": "9b26c8a0.a64c1", + "wires": [ + [ + "678c3911.078e2" + ] + ] + }, + { + "id": "42cb8b06.e7daec", + "type": "execute", + "name": "execute RestconfApiCallNode Create ethernet Service without token", + "xml": "\n\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1670.52734375, + "y": 1548.040771484375, + "z": "9b26c8a0.a64c1", + "wires": [ + [ + "4ae2509c.7d19b8", + "72a042fd.6a9e5c" + ] + ] + }, + { + "id": "28391a2c.3321fe", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 725, + "y": 663, + "z": "9b26c8a0.a64c1", + "wires": [ + [ + "6a811cc0.b174ac" + ] + ] + }, + { + "id": "51c3744a.753414", + "type": "failure", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1995, + "y": 817, + "z": "9b26c8a0.a64c1", + "wires": [ + [ + "796d1bdc.d65e9c" + ] + ] + }, + { + "id": "672fc75a.1e91b", + "type": "set", + "name": "set tmp.unis.uni[].tpId", + "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "x": 655, + "y": 1015, + "z": "9b26c8a0.a64c1", "wires": [] } ] \ No newline at end of file