From: Zhuoyao Huang <10112215@zte.com.cn> Date: Wed, 10 Apr 2019 14:11:59 +0000 (+0800) Subject: zte 3rd party controller for sdwan X-Git-Tag: 1.5.1~44^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=sdnc%2Foam.git;a=commitdiff_plain;h=7e01da537f44b15b2ae39ed5d9a71d467ec097db zte 3rd party controller for sdwan creating a placeholder for specific templates & DG nodes required to talk to ZTE as 3rd party domain controller. Issue-ID: SDNC-657 Change-Id: Icb774966cd9f4cd15e1beebb2dfb5194f241e4bc Signed-off-by: Zhuoyao Huang <10112215@zte.com.cn> Former-commit-id: 22f440deb271000c1accc7abe679335e3e1916b0 --- diff --git a/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-topology-operation-zte-activate.json b/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-topology-operation-zte-activate.json new file mode 100644 index 00000000..faa23aac --- /dev/null +++ b/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-topology-operation-zte-activate.json @@ -0,0 +1,2320 @@ +[ + { + "id": "38ad5ef3.8fa5c2", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 137.00390625, + "y": 125.00390625, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "59b2f037.b79a4" + ] + ] + }, + { + "id": "59b2f037.b79a4", + "type": "service-logic", + "name": "GENERIC-RESOURCE-API ${project.version}", + "module": "GENERIC-RESOURCE-API", + "version": "${project.version}", + "comments": "", + "xml": "", + "outputs": 1, + "x": 349.00391006469727, + "y": 197.0039234161377, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "7aa0bfba.98463" + ] + ] + }, + { + "id": "7aa0bfba.98463", + "type": "method", + "name": "wan-connection-topology-operation-activate", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 337.0040283203125, + "y": 285.00390625, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "5fa21447.0f651c" + ] + ] + }, + { + "id": "ac6656dd.35a3c8", + "type": "execute", + "name": "execute Properties", + "xml": "\n \n \n", + "comments": "", + "outputs": 1, + "x": 587.0045166015625, + "y": 473.0041103363037, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [] + ] + }, + { + "id": "5eafccd5.5cff74", + "type": "returnSuccess", + "name": "return success", + "xml": "\n\n\n\n", + "comments": "", + "x": 890.0041275024414, + "y": 2205.004325866699, + "z": "bf8d58e2.6e6ac8", + "wires": [] + }, + { + "id": "77d24866.f3a848", + "type": "block", + "name": "general-activate-block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 731.5041828155518, + "y": 1920.0041402578354, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "5eafccd5.5cff74", + "664ad94.da0ee28", + "4329fb4d.2499b4", + "d6f9dbf2.6a98d8" + ] + ] + }, + { + "id": "4329fb4d.2499b4", + "type": "for", + "name": "for cxid..network-topology-operation-input.network-request-input.network-input-parameters.param[]", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1545.003984451294, + "y": 2037.0041707754135, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "a7a35b54.a22968" + ] + ] + }, + { + "id": "d6f9dbf2.6a98d8", + "type": "execute", + "name": "execute RestApiCallNode Create wan-connection", + "xml": "\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1571.2540397644043, + "y": 2591.0043576955795, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "baab7187.80f6b", + "1ff9ce75.2238b2", + "2afc86f8.6d0eca" + ] + ] + }, + { + "id": "6c80438c.95e70c", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1870.254409790039, + "y": 2141.0045127868652, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "5cacbb75.a9b194" + ] + ] + }, + { + "id": "5cacbb75.a9b194", + "type": "set", + "name": "set tmp.templateFileName", + "xml": "\n\n", + "comments": "", + "x": 2227.2544174194336, + "y": 2144.004379630089, + "z": "bf8d58e2.6e6ac8", + "wires": [] + }, + { + "id": "664ad94.da0ee28", + "type": "set", + "name": "set paras flags", + "xml": "\n\n\n\n\n", + "comments": "", + "x": 1332.0041522979736, + "y": 1952.0041679143906, + "z": "bf8d58e2.6e6ac8", + "wires": [] + }, + { + "id": "2afc86f8.6d0eca", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1901.0104637145996, + "y": 2626.343449950218, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "c3e0d84f.772da8" + ] + ] + }, + { + "id": "1ff9ce75.2238b2", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1892.010513305664, + "y": 2594.8434756994247, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "c3e0d84f.772da8" + ] + ] + }, + { + "id": "baab7187.80f6b", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1895.7605514526367, + "y": 2565.200580574572, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "195471ac.565dfe" + ] + ] + }, + { + "id": "c3e0d84f.772da8", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 2058.7605781555176, + "y": 2611.593548178673, + "z": "bf8d58e2.6e6ac8", + "wires": [] + }, + { + "id": "5fa21447.0f651c", + "type": "execute", + "name": "contains specification", + "xml": "\n \n \n", + "comments": "", + "outputs": 1, + "x": 234.00385665893555, + "y": 407.00773561000824, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "709657dc.92cf68", + "9f362f1a.3252f" + ] + ] + }, + { + "id": "709657dc.92cf68", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 470.00389099121094, + "y": 405.00772750377655, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "a54c999.f509368" + ] + ] + }, + { + "id": "9f362f1a.3252f", + "type": "outcomeTrue", + "name": "false", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 173.00394439697266, + "y": 630.007900595665, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "34f92a60.a00a16" + ] + ] + }, + { + "id": "43ec8f53.27728", + "type": "execute", + "name": "contains Fc", + "xml": "\n \n \n", + "comments": "", + "outputs": 1, + "x": 504.00395584106445, + "y": 714.0078290700912, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "99a5ce.39d8fa3", + "9aeabbf6.e3e4e8" + ] + ] + }, + { + "id": "9aeabbf6.e3e4e8", + "type": "outcomeTrue", + "name": "false", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 149.00393295288086, + "y": 1062.0079015493393, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "3c9043b1.35740c" + ] + ] + }, + { + "id": "3c9043b1.35740c", + "type": "execute", + "name": "contains Fd", + "xml": "\n \n \n", + "comments": "", + "outputs": 1, + "x": 358.00392150878906, + "y": 1058.0078800916672, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "371cd5ef.c2eb7a", + "e569686f.faece8" + ] + ] + }, + { + "id": "e569686f.faece8", + "type": "outcomeTrue", + "name": "false", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 140.97263717651367, + "y": 1133.9765380620956, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "cbe73854.eea6a8" + ] + ] + }, + { + "id": "cbe73854.eea6a8", + "type": "execute", + "name": "contains FcPort", + "xml": "\n \n \n", + "comments": "", + "outputs": 1, + "x": 349.97262954711914, + "y": 1130.9765666723251, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "8253886a.5043b8", + "aae3e74c.32cb78" + ] + ] + }, + { + "id": "99a5ce.39d8fa3", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 686.0039596557617, + "y": 715.0078123807907, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "6cad7750.ad59e8" + ] + ] + }, + { + "id": "371cd5ef.c2eb7a", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 930.0040893554688, + "y": 1060.008066534996, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "77d24866.f3a848" + ] + ] + }, + { + "id": "8253886a.5043b8", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 544.972713470459, + "y": 1132.976599097252, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "19d89423.0a7e6c" + ] + ] + }, + { + "id": "aae3e74c.32cb78", + "type": "outcomeTrue", + "name": "false", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 102.00405883789062, + "y": 1375.0081828832626, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "7c4d10db.fc2b" + ] + ] + }, + { + "id": "7c4d10db.fc2b", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 389.9727592468262, + "y": 1373.9769405126572, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "1370131a.38495d" + ] + ] + }, + { + "id": "a54c999.f509368", + "type": "returnSuccess", + "name": "return success", + "xml": "\n\n\n\n", + "comments": "", + "x": 734.0312538146973, + "y": 401.03510224819183, + "z": "bf8d58e2.6e6ac8", + "wires": [] + }, + { + "id": "1370131a.38495d", + "type": "returnSuccess", + "name": "return success", + "xml": "\n\n\n\n", + "comments": "", + "x": 597.0313987731934, + "y": 1371.0353931188583, + "z": "bf8d58e2.6e6ac8", + "wires": [] + }, + { + "id": "19d89423.0a7e6c", + "type": "execute", + "name": "contains sitewan", + "xml": "\n \n \n", + "comments": "", + "outputs": 1, + "x": 738.0002174377441, + "y": 1134.004186987877, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "ba88f958.08aa68", + "38c06fa8.7d4cc" + ] + ] + }, + { + "id": "ba88f958.08aa68", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 933.000301361084, + "y": 1136.0042194128036, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "77d24866.f3a848" + ] + ] + }, + { + "id": "38c06fa8.7d4cc", + "type": "outcomeTrue", + "name": "false", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 486.00010681152344, + "y": 1288.0040343999863, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "7c4d10db.fc2b" + ] + ] + }, + { + "id": "d3d5931c.c4f83", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1396.754035949707, + "y": 901.0077877044678, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "3636527d.52348e" + ] + ] + }, + { + "id": "8ea3d7d7.febac8", + "type": "outcomeTrue", + "name": "false", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 925.7541236877441, + "y": 1003.0078510046005, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "77d24866.f3a848" + ] + ] + }, + { + "id": "5e27888.9f8f978", + "type": "for", + "name": "for sIdx..service-data.networks.network[]", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2097.0320587158203, + "y": 662.035418510437, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "d2e8a0ee.5213c" + ] + ] + }, + { + "id": "1d6c0cc0.95f1c3", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2506.0320625305176, + "y": 702.0355480909348, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "16926ebd.1ab8f1" + ] + ] + }, + { + "id": "ee4ec835.0a0ae8", + "type": "set", + "name": "set tmp.pidx and tmp.network-input-parameters", + "xml": "\n", + "comments": "", + "x": 2955.6514015197754, + "y": 501.46492528915405, + "z": "bf8d58e2.6e6ac8", + "wires": [] + }, + { + "id": "d2e8a0ee.5213c", + "type": "execute", + "name": "contains sotn", + "xml": "\n \n \n", + "comments": "", + "outputs": 1, + "x": 2343.0319786071777, + "y": 703.0354298353195, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "1d6c0cc0.95f1c3" + ] + ] + }, + { + "id": "16926ebd.1ab8f1", + "type": "execute", + "name": "contains FcPort", + "xml": "\n \n \n", + "comments": "", + "outputs": 1, + "x": 2347.031940460205, + "y": 757.0356148481369, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "2ec05a20.11a5f6" + ] + ] + }, + { + "id": "34f92a60.a00a16", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 336.0313186645508, + "y": 632.0351232290268, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "43ec8f53.27728", + "ac6656dd.35a3c8" + ] + ] + }, + { + "id": "2ec05a20.11a5f6", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2515.0318641662598, + "y": 754.0354546308517, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "6ea2fca7.3f57a4" + ] + ] + }, + { + "id": "e089d5c4.b1a808", + "type": "block", + "name": "find-sotn-fc-port-block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1730.031837463379, + "y": 712.0354261398315, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "5e27888.9f8f978", + "df34ef29.a5514" + ] + ] + }, + { + "id": "df34ef29.a5514", + "type": "set", + "name": "set sotnFcPortListLength", + "xml": "\n", + "comments": "", + "x": 2013.031509399414, + "y": 569.0353946685791, + "z": "bf8d58e2.6e6ac8", + "wires": [] + }, + { + "id": "6ea2fca7.3f57a4", + "type": "block", + "name": "find-OOF-input-block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 2393.5318031311035, + "y": 808.0353444814682, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "ee4ec835.0a0ae8", + "4b280a8d.8f4424" + ] + ] + }, + { + "id": "4b280a8d.8f4424", + "type": "for", + "name": "for sIdx..network-input-parameters[]", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2931.0315895080566, + "y": 553.0354828834534, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "85f3cbde.7dcb88" + ] + ] + }, + { + "id": "85f3cbde.7dcb88", + "type": "execute", + "name": "contains address", + "xml": "\n \n \n", + "comments": "", + "outputs": 1, + "x": 2899.5314979553223, + "y": 606.0353150367737, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "31f133f3.99bbfc" + ] + ] + }, + { + "id": "31f133f3.99bbfc", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 3081.5316200256348, + "y": 606.0353150367737, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "9b1feb51.adf0c8" + ] + ] + }, + { + "id": "67728772.5b2df8", + "type": "set", + "name": "set sotnFcPortAddress", + "xml": "\n", + "comments": "", + "x": 3139.5330810546875, + "y": 719.0357418060303, + "z": "bf8d58e2.6e6ac8", + "wires": [] + }, + { + "id": "9b1feb51.adf0c8", + "type": "block", + "name": "get-OOF-input-block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 2948.531650543213, + "y": 664.0354866981506, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "67728772.5b2df8", + "23bb424d.0bfdfe" + ] + ] + }, + { + "id": "f6db23cd.84a15", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 3164.0326957702637, + "y": 841.0352597236633, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "3bfbe626.42a93a" + ] + ] + }, + { + "id": "23bb424d.0bfdfe", + "type": "execute", + "name": "execute RestApiCallNode - get access Tp from OSS", + "xml": "\n \n \n \n \n\n", + "comments": "", + "outputs": 1, + "x": 3261.0316200256348, + "y": 778.0351929664612, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "f6db23cd.84a15" + ] + ] + }, + { + "id": "3bfbe626.42a93a", + "type": "switchNode", + "name": "switch temp.oss.accessTPs_length", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 3460.0318031311035, + "y": 840.0351700782776, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "62442e7c.6f486" + ] + ] + }, + { + "id": "62442e7c.6f486", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 3724.533073425293, + "y": 839.0354471206665, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "29a2d036.e5fea" + ] + ] + }, + { + "id": "2ce2f873.7ccbc8", + "type": "set", + "name": "set temp.accessTPs_length", + "xml": "\n\n\n", + "comments": "", + "x": 3670.032699584961, + "y": 1105.031608581543, + "z": "bf8d58e2.6e6ac8", + "wires": [] + }, + { + "id": "29a2d036.e5fea", + "type": "block", + "name": "copy-accessTPs-block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 3324.7810668945312, + "y": 928.0308704376221, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "2ce2f873.7ccbc8", + "b0f47160.ab83c", + "7275b121.376d5" + ] + ] + }, + { + "id": "b0f47160.ab83c", + "type": "switchNode", + "name": "switch temp.accessTPs_length", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 3708.531021118164, + "y": 930.030707359314, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "e57f314e.d692f", + "7eb00f9f.b7ba5" + ] + ] + }, + { + "id": "e57f314e.d692f", + "type": "other", + "name": "Null", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 3934.5308723449707, + "y": 905.0306348800659, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "d1909b4c.2dada8" + ] + ] + }, + { + "id": "d1909b4c.2dada8", + "type": "set", + "name": "set tp_length", + "xml": "\n", + "comments": "", + "x": 4121.030708312988, + "y": 903.0306406314485, + "z": "bf8d58e2.6e6ac8", + "wires": [] + }, + { + "id": "7eb00f9f.b7ba5", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 3930.5308380126953, + "y": 960.0306806564331, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "666d9674.3fd3a8" + ] + ] + }, + { + "id": "666d9674.3fd3a8", + "type": "set", + "name": "set tp_length", + "xml": "\n", + "comments": "", + "x": 4119.280776977539, + "y": 960.030665397644, + "z": "bf8d58e2.6e6ac8", + "wires": [] + }, + { + "id": "7275b121.376d5", + "type": "for", + "name": "for each existing temp.oss.accessTPs", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 3710.281463623047, + "y": 1028.0308122634888, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "f2dec21b.c72d" + ] + ] + }, + { + "id": "f2dec21b.c72d", + "type": "set", + "name": "set temp.accessTPs", + "xml": "\n", + "comments": "", + "x": 4078.2813568115234, + "y": 1029.0309600830078, + "z": "bf8d58e2.6e6ac8", + "wires": [] + }, + { + "id": "3636527d.52348e", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1544.0314102172852, + "y": 896.0351066589355, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "e089d5c4.b1a808", + "aa30b2cc.32af1" + ] + ] + }, + { + "id": "3a7071f1.30ce3e", + "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": 1548.5318412780762, + "y": 1610.0354380607605, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "13c8c509.8dd28b", + "d0803760.a3cf48" + ] + ] + }, + { + "id": "d0803760.a3cf48", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1877.531494140625, + "y": 1590.035505771637, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [] + ] + }, + { + "id": "13c8c509.8dd28b", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1878.5317077636719, + "y": 1641.035415172577, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "647a1bd3.ca5bb4" + ] + ] + }, + { + "id": "aa30b2cc.32af1", + "type": "switchNode", + "name": "switch temp.accessTPs_length", + "xml": "= 2`\">\n\n", + "comments": "", + "outputs": 1, + "x": 1610.531307220459, + "y": 1105.0352524518967, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "dd0c2e67.02d53" + ] + ] + }, + { + "id": "dd0c2e67.02d53", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1842.0316047668457, + "y": 1104.0350989103317, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "975483b1.3fe1f" + ] + ] + }, + { + "id": "975483b1.3fe1f", + "type": "block", + "name": "call-oof-block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1586.0312538146973, + "y": 1241.0351589918137, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "3a7071f1.30ce3e", + "f56f577d.f30698", + "faa82de3.2bc5b" + ] + ] + }, + { + "id": "f56f577d.f30698", + "type": "set", + "name": "set oof input", + "xml": "\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "x": 2102.5313720703125, + "y": 1111.03515625, + "z": "bf8d58e2.6e6ac8", + "wires": [] + }, + { + "id": "577d8def.47c664", + "type": "execute", + "name": "execute RestApiCallNode Create Sotn connectivity Service", + "xml": "\n\n\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 2601.666748046875, + "y": 1967.0040283203125, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "ee1d8114.03821", + "b2f48c23.dba01" + ] + ] + }, + { + "id": "ee1d8114.03821", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2939.6665649414062, + "y": 1997.0041117668152, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "225012e1.339dde" + ] + ] + }, + { + "id": "225012e1.339dde", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 3087.6665649414062, + "y": 1995.0039896965027, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [] + ] + }, + { + "id": "e1714d35.f44de", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 3069.6665954589844, + "y": 1942.0040497779846, + "z": "bf8d58e2.6e6ac8", + "wires": [] + }, + { + "id": "b2f48c23.dba01", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2930.66650390625, + "y": 1942.0040497779846, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "e1714d35.f44de" + ] + ] + }, + { + "id": "647a1bd3.ca5bb4", + "type": "for", + "name": "for vidx..oof.vpns_length[]", + "xml": "", + "comments": "", + "outputs": 1, + "x": 2179.670364379883, + "y": 1655.5075135231018, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "b3bf31fb.d8cd7" + ] + ] + }, + { + "id": "b3bf31fb.d8cd7", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 2292.787727355957, + "y": 1755.3475284576416, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "5cceda35.f10fe4", + "c8f650af.4d42d", + "577d8def.47c664", + "588a3880.b8be48" + ] + ] + }, + { + "id": "25bd092e.03a776", + "type": "set", + "name": "set controller data", + "xml": "\n\n\n\n", + "comments": "", + "x": 2934.232391357422, + "y": 1819.6807208061218, + "z": "bf8d58e2.6e6ac8", + "wires": [] + }, + { + "id": "c8f650af.4d42d", + "type": "get-resource", + "name": "get-resource esr-thirdparty-sdnc", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 2550.7322998046875, + "y": 1856.6806602478027, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "379812a3.1c00ce", + "18c2cc8d.f57b93", + "2e629d58.9a59a2" + ] + ] + }, + { + "id": "379812a3.1c00ce", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2770.732234954834, + "y": 1820.6806292533875, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "25bd092e.03a776" + ] + ] + }, + { + "id": "18c2cc8d.f57b93", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2780.223175048828, + "y": 1861.254635334015, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "e998ff2.0c21a" + ] + ] + }, + { + "id": "2e629d58.9a59a2", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2775.55615234375, + "y": 1897.5879483222961, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "809ff6c0.f2acc8" + ] + ] + }, + { + "id": "e998ff2.0c21a", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n\t\n\t\n \n\n\n", + "comments": "", + "outputs": 1, + "x": 2496.232192993164, + "y": 1765.6803040504456, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "12b22620.806b0a", + "e580af57.c7b0e", + "63b978e1.8d23a8" + ] + ] + }, + { + "id": "12b22620.806b0a", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2678.2322387695312, + "y": 1710.680414199829, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "402a3c95.e18ff4" + ] + ] + }, + { + "id": "e580af57.c7b0e", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2678.7231407165527, + "y": 1748.2545108795166, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "57284c52.e22c64" + ] + ] + }, + { + "id": "63b978e1.8d23a8", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2670.05615234375, + "y": 1781.5878858566284, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "28728857.9fb6a8" + ] + ] + }, + { + "id": "57284c52.e22c64", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n\t\n\t\n \n", + "comments": "", + "x": 2863.2322387695312, + "y": 1709.6805362701416, + "z": "bf8d58e2.6e6ac8", + "wires": [] + }, + { + "id": "588a3880.b8be48", + "type": "set", + "name": "set oof.vpn", + "xml": "\n", + "comments": "", + "x": 2488.2321853637695, + "y": 1654.7913761138916, + "z": "bf8d58e2.6e6ac8", + "wires": [] + }, + { + "id": "8a37fd2a.9df7f", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1880.5312957763672, + "y": 2102.034999847412, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "9292d8c4.9a2c38" + ] + ] + }, + { + "id": "9292d8c4.9a2c38", + "type": "get-resource", + "name": "get-resource esr-thirdparty-sdnc", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 2255.532169342041, + "y": 2096.0348600149155, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "ffb94613.95e098", + "565c3562.84041c", + "bd93f6c9.548798" + ] + ] + }, + { + "id": "ffb94613.95e098", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2517.5319747924805, + "y": 2040.0346721410751, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "2126da98.7396c6" + ] + ] + }, + { + "id": "2126da98.7396c6", + "type": "set", + "name": "set controller data", + "xml": "\n\n\n\n\n", + "comments": "", + "x": 2715.0320358276367, + "y": 2028.0346721410751, + "z": "bf8d58e2.6e6ac8", + "wires": [] + }, + { + "id": "565c3562.84041c", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2549.0228385925293, + "y": 2088.608775496483, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "e073491.0a8bcb8" + ] + ] + }, + { + "id": "bd93f6c9.548798", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2544.3558464050293, + "y": 2129.942088484764, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "e073491.0a8bcb8" + ] + ] + }, + { + "id": "e073491.0a8bcb8", + "type": "set", + "name": "set controller data", + "xml": "\n\n", + "comments": "", + "x": 2756.0312538146973, + "y": 2107.034858107567, + "z": "bf8d58e2.6e6ac8", + "wires": [] + }, + { + "id": "f71b9c09.8160d", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1885.5313873291016, + "y": 2187.034938812256, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "781d667a.48d338" + ] + ] + }, + { + "id": "781d667a.48d338", + "type": "set", + "name": "set tmp.restapiUrl-found", + "xml": "\n\n", + "comments": "", + "x": 2218.531301498413, + "y": 2191.0349324941635, + "z": "bf8d58e2.6e6ac8", + "wires": [] + }, + { + "id": "3a7b6aa5.045bc6", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 2347.00390625, + "y": 1235.00390625, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "6e2071a4.92462", + "df7041a6.51331", + "dbdc0ae8.393328", + "aaa5c23.8b2364", + "b1db26a.6449ed8", + "4c08e6d0.e790e8", + "18a93c3.067c1c4", + "15c976cc.7eedd9", + "2cbc8da1.8ed692", + "2804ce8b.3d5072" + ] + ] + }, + { + "id": "6e2071a4.92462", + "type": "switchNode", + "name": "switch name", + "xml": "", + "comments": "", + "outputs": 1, + "x": 2569.0038528442383, + "y": 1033.0039868354797, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "2381365f.5b11aa" + ] + ] + }, + { + "id": "2381365f.5b11aa", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2756.0038528442383, + "y": 1029.0039868354797, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "279f5f0f.a7e29" + ] + ] + }, + { + "id": "279f5f0f.a7e29", + "type": "set", + "name": "set name", + "xml": "\n\n", + "comments": "", + "x": 2924.0038528442383, + "y": 1029.6039929389954, + "z": "bf8d58e2.6e6ac8", + "wires": [] + }, + { + "id": "df7041a6.51331", + "type": "switchNode", + "name": "switch service-type", + "xml": "", + "comments": "", + "outputs": 1, + "x": 2586.514045715332, + "y": 1094.0039267539978, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "391cf8f6.e35b68" + ] + ] + }, + { + "id": "391cf8f6.e35b68", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2773.514045715332, + "y": 1090.0039267539978, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "963b6a75.854958" + ] + ] + }, + { + "id": "963b6a75.854958", + "type": "set", + "name": "set service-type", + "xml": "\n\n", + "comments": "", + "x": 2941.514045715332, + "y": 1090.6039328575134, + "z": "bf8d58e2.6e6ac8", + "wires": [] + }, + { + "id": "dbdc0ae8.393328", + "type": "switchNode", + "name": "switch total-size", + "xml": "", + "comments": "", + "outputs": 1, + "x": 2579.9766235351562, + "y": 1150.476727962494, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "b077f122.4fbd2" + ] + ] + }, + { + "id": "b077f122.4fbd2", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2766.9766235351562, + "y": 1146.476727962494, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "ebbae5da.7a9fe8" + ] + ] + }, + { + "id": "ebbae5da.7a9fe8", + "type": "set", + "name": "set total-size", + "xml": "\n\n", + "comments": "", + "x": 2934.9766235351562, + "y": 1147.0767340660095, + "z": "bf8d58e2.6e6ac8", + "wires": [] + }, + { + "id": "aaa5c23.8b2364", + "type": "switchNode", + "name": "switch pir", + "xml": "", + "comments": "", + "outputs": 1, + "x": 2557.976722717285, + "y": 1199.4767670631409, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "dd36a279.f0f0b" + ] + ] + }, + { + "id": "dd36a279.f0f0b", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2744.976722717285, + "y": 1195.4767670631409, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "d7a0fe6d.faa06" + ] + ] + }, + { + "id": "d7a0fe6d.faa06", + "type": "set", + "name": "set pir", + "xml": "\n\n", + "comments": "", + "x": 2912.976722717285, + "y": 1196.0767731666565, + "z": "bf8d58e2.6e6ac8", + "wires": [] + }, + { + "id": "b1db26a.6449ed8", + "type": "switchNode", + "name": "switch cbs", + "xml": "", + "comments": "", + "outputs": 1, + "x": 2558.9767570495605, + "y": 1250.4766917228699, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "f5a3f275.f1642" + ] + ] + }, + { + "id": "f5a3f275.f1642", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2745.9767570495605, + "y": 1246.4766917228699, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "cec40dd1.40cb9" + ] + ] + }, + { + "id": "cec40dd1.40cb9", + "type": "set", + "name": "set cbs", + "xml": "\n\n", + "comments": "", + "x": 2913.9767570495605, + "y": 1247.0766978263855, + "z": "bf8d58e2.6e6ac8", + "wires": [] + }, + { + "id": "4c08e6d0.e790e8", + "type": "switchNode", + "name": "switch pbs", + "xml": "", + "comments": "", + "outputs": 1, + "x": 2554.9767570495605, + "y": 1305.4766917228699, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "883541e9.99bd6" + ] + ] + }, + { + "id": "883541e9.99bd6", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2741.9767570495605, + "y": 1301.4766917228699, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "a988d120.b2aea" + ] + ] + }, + { + "id": "a988d120.b2aea", + "type": "set", + "name": "set pbs", + "xml": "\n\n", + "comments": "", + "x": 2909.9767570495605, + "y": 1302.0766978263855, + "z": "bf8d58e2.6e6ac8", + "wires": [] + }, + { + "id": "18a93c3.067c1c4", + "type": "switchNode", + "name": "switch couplingFlag", + "xml": "", + "comments": "", + "outputs": 1, + "x": 2584.976905822754, + "y": 1361.4766936302185, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "980d8b86.bee918" + ] + ] + }, + { + "id": "980d8b86.bee918", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2771.976905822754, + "y": 1357.4766936302185, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "51fcb9b3.05a2a8" + ] + ] + }, + { + "id": "51fcb9b3.05a2a8", + "type": "set", + "name": "set couplingFlag", + "xml": "\n\n", + "comments": "", + "x": 2939.976905822754, + "y": 1358.0766997337341, + "z": "bf8d58e2.6e6ac8", + "wires": [] + }, + { + "id": "15c976cc.7eedd9", + "type": "switchNode", + "name": "switch colorAware", + "xml": "", + "comments": "", + "outputs": 1, + "x": 2578.976905822754, + "y": 1407.4766936302185, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "fc32dc8f.1306d" + ] + ] + }, + { + "id": "fc32dc8f.1306d", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2765.976905822754, + "y": 1403.4766936302185, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "767980d9.60391" + ] + ] + }, + { + "id": "767980d9.60391", + "type": "set", + "name": "set colorAware", + "xml": "\n\n", + "comments": "", + "x": 2933.976905822754, + "y": 1404.0766997337341, + "z": "bf8d58e2.6e6ac8", + "wires": [] + }, + { + "id": "2804ce8b.3d5072", + "type": "switchNode", + "name": "switch diversity-policy", + "xml": "", + "comments": "", + "outputs": 1, + "x": 2586.9771461486816, + "y": 1498.476758480072, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "fc3e428f.e47a2" + ] + ] + }, + { + "id": "fc3e428f.e47a2", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2773.9771461486816, + "y": 1494.476758480072, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "f817158c.79da68" + ] + ] + }, + { + "id": "f817158c.79da68", + "type": "set", + "name": "set diversity-policy", + "xml": "\n\n", + "comments": "", + "x": 2941.9771461486816, + "y": 1495.0767645835876, + "z": "bf8d58e2.6e6ac8", + "wires": [] + }, + { + "id": "2cbc8da1.8ed692", + "type": "switchNode", + "name": "switch route-objective-function", + "xml": "", + "comments": "", + "outputs": 1, + "x": 2615.9770545959473, + "y": 1447.476758480072, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "3c9d002d.c7368" + ] + ] + }, + { + "id": "3c9d002d.c7368", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2802.9770545959473, + "y": 1443.476758480072, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "4b04be90.c9dfb" + ] + ] + }, + { + "id": "4b04be90.c9dfb", + "type": "set", + "name": "set route-objective-function", + "xml": "\n\n", + "comments": "", + "x": 2970.9770545959473, + "y": 1444.0767645835876, + "z": "bf8d58e2.6e6ac8", + "wires": [] + }, + { + "id": "faa82de3.2bc5b", + "type": "for", + "name": "for paidx..tmp.network-input-parameters.param_length[]", + "xml": "", + "comments": "", + "outputs": 1, + "x": 2067.1394424438477, + "y": 1365.472831249237, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "3a7b6aa5.045bc6" + ] + ] + }, + { + "id": "cd3fb1b6.a548f", + "type": "set", + "name": "set param", + "xml": "\n", + "comments": "", + "x": 1343.7539405822754, + "y": 2286.0039920806885, + "z": "bf8d58e2.6e6ac8", + "wires": [] + }, + { + "id": "6cad7750.ad59e8", + "type": "block", + "name": "find-sotn-fc-port-block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 924.5040130615234, + "y": 660.0039396286011, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "4bb0f260.939b6c", + "f63464b.235d598", + "53964d8b.013054" + ] + ] + }, + { + "id": "4bb0f260.939b6c", + "type": "for", + "name": "for aidx..network-topology-operation-input.network-request-input.network-input-parameters.param[]", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1000.2539672851562, + "y": 817.003984451294, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "b8e2888d.7baee8" + ] + ] + }, + { + "id": "b8e2888d.7baee8", + "type": "execute", + "name": "contains fcport", + "xml": "\n \n \n", + "comments": "", + "outputs": 1, + "x": 859.5039291381836, + "y": 871.0041389465332, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "d22970d4.90a5" + ] + ] + }, + { + "id": "d22970d4.90a5", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1035.2539176940918, + "y": 872.0039710998535, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "fb11f9b4.228c58" + ] + ] + }, + { + "id": "fb11f9b4.228c58", + "type": "set", + "name": "set needOof", + "xml": "\n", + "comments": "", + "x": 1205.253921508789, + "y": 869.0039577484131, + "z": "bf8d58e2.6e6ac8", + "wires": [] + }, + { + "id": "f63464b.235d598", + "type": "set", + "name": "set needOof", + "xml": "\n", + "comments": "", + "x": 734.2539672851562, + "y": 768.0040035247803, + "z": "bf8d58e2.6e6ac8", + "wires": [] + }, + { + "id": "53964d8b.013054", + "type": "switchNode", + "name": "switch needOof", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 719.2539215087891, + "y": 924.0039577484131, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "8ea3d7d7.febac8", + "d3d5931c.c4f83" + ] + ] + }, + { + "id": "2b21902e.55dd5", + "type": "execute", + "name": "contains thirdPartySdncId", + "xml": "\n \n \n", + "comments": "", + "outputs": 1, + "x": 1576.2581024169922, + "y": 2093.0041122436523, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "8a37fd2a.9df7f", + "3916c6e2.e1777a" + ] + ] + }, + { + "id": "2e03ec55.fb6014", + "type": "execute", + "name": "contains templateFileName", + "xml": "\n \n \n", + "comments": "", + "outputs": 1, + "x": 1579.258041381836, + "y": 2137.0038986206055, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "6c80438c.95e70c", + "6f6408d0.757528" + ] + ] + }, + { + "id": "f3f5a797.4cdaf8", + "type": "execute", + "name": "contains restapiUrl", + "xml": "\n \n \n", + "comments": "", + "outputs": 1, + "x": 1549.2579727172852, + "y": 2186.00399017334, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "f71b9c09.8160d" + ] + ] + }, + { + "id": "3916c6e2.e1777a", + "type": "outcomeTrue", + "name": "false", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1383.50390625, + "y": 2141.00390625, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "2e03ec55.fb6014" + ] + ] + }, + { + "id": "6f6408d0.757528", + "type": "outcomeTrue", + "name": "false", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1372.50390625, + "y": 2191.00390625, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "f3f5a797.4cdaf8" + ] + ] + }, + { + "id": "a7a35b54.a22968", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1197.7539596557617, + "y": 2105.0040531158447, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "2b21902e.55dd5", + "cd3fb1b6.a548f" + ] + ] + }, + { + "id": "195471ac.565dfe", + "type": "for", + "name": "for sIdx..service-data.networks.network[]", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2247.503921508789, + "y": 2561.00390625, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "530203c3.a5f1bc" + ] + ] + }, + { + "id": "530203c3.a5f1bc", + "type": "switchNode", + "name": "switch svc-action", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2538.7542724609375, + "y": 2556.00390625, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "d85c868.33ef678" + ] + ] + }, + { + "id": "d85c868.33ef678", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2705.5048484802246, + "y": 2554.003936767578, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "bd6349d8.0c5b08" + ] + ] + }, + { + "id": "30dc6201.193a2e", + "type": "set", + "name": "set localServiceId", + "xml": "\n\n", + "comments": "", + "x": 3060.0043029785156, + "y": 2577.003936767578, + "z": "bf8d58e2.6e6ac8", + "wires": [] + }, + { + "id": "e46941d6.14145", + "type": "set", + "name": "set paraIndx", + "xml": "\n", + "comments": "", + "x": 3058.5040550231934, + "y": 2510.0040283203125, + "z": "bf8d58e2.6e6ac8", + "wires": [] + }, + { + "id": "bd6349d8.0c5b08", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 2860.503936767578, + "y": 2544.0039978027344, + "z": "bf8d58e2.6e6ac8", + "wires": [ + [ + "e46941d6.14145", + "30dc6201.193a2e" + ] + ] + } +] \ No newline at end of file diff --git a/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-topology-operation-zte-create.json b/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-topology-operation-zte-create.json new file mode 100644 index 00000000..9d81ba61 --- /dev/null +++ b/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-topology-operation-zte-create.json @@ -0,0 +1,921 @@ +[ + { + "id": "51ff11de.938a4", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 119.00390625, + "y": 79.00390625, + "z": "ec4bf25e.dd6bb", + "wires": [ + [ + "5f6a102e.b60f5" + ] + ] + }, + { + "id": "5f6a102e.b60f5", + "type": "service-logic", + "name": "GENERIC-RESOURCE-API ${project.version}", + "module": "GENERIC-RESOURCE-API", + "version": "${project.version}", + "comments": "", + "xml": "", + "outputs": 1, + "x": 331.00391006469727, + "y": 151.0039234161377, + "z": "ec4bf25e.dd6bb", + "wires": [ + [ + "7e2e9718.c2ec58" + ] + ] + }, + { + "id": "7e2e9718.c2ec58", + "type": "method", + "name": "wan-connection-topology-operation-create", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 319.0040283203125, + "y": 239.00390625, + "z": "ec4bf25e.dd6bb", + "wires": [ + [ + "deadfdad.78a35" + ] + ] + }, + { + "id": "8e544758.cf6458", + "type": "execute", + "name": "contains specification", + "xml": "\n \n \n", + "comments": "", + "outputs": 1, + "x": 323.0352020263672, + "y": 512.035210609436, + "z": "ec4bf25e.dd6bb", + "wires": [ + [ + "2fd5af60.51a0e", + "b315221.5065ce" + ] + ] + }, + { + "id": "be2720c6.087bc", + "type": "execute", + "name": "contains Fc", + "xml": "\n \n \n", + "comments": "", + "outputs": 1, + "x": 511.0352783203125, + "y": 584.0352687835693, + "z": "ec4bf25e.dd6bb", + "wires": [ + [ + "985af680.447708", + "9924596f.f95838" + ] + ] + }, + { + "id": "39041604.4e8b9a", + "type": "execute", + "name": "contains Fd", + "xml": "\n \n \n", + "comments": "", + "outputs": 1, + "x": 510.0351982116699, + "y": 661.035219669342, + "z": "ec4bf25e.dd6bb", + "wires": [ + [ + "f64ebc8e.88ac", + "2b8cfc56.68f314" + ] + ] + }, + { + "id": "2fd5af60.51a0e", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 560.0352325439453, + "y": 510.0351963043213, + "z": "ec4bf25e.dd6bb", + "wires": [ + [] + ] + }, + { + "id": "b315221.5065ce", + "type": "outcomeTrue", + "name": "false", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 306.0352668762207, + "y": 584.0352687835693, + "z": "ec4bf25e.dd6bb", + "wires": [ + [ + "be2720c6.087bc" + ] + ] + }, + { + "id": "985af680.447708", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 693.0352821350098, + "y": 585.0352520942688, + "z": "ec4bf25e.dd6bb", + "wires": [ + [ + "4637df53.0968b" + ] + ] + }, + { + "id": "f64ebc8e.88ac", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 705.0352821350098, + "y": 663.0352520942688, + "z": "ec4bf25e.dd6bb", + "wires": [ + [ + "4637df53.0968b" + ] + ] + }, + { + "id": "9924596f.f95838", + "type": "outcomeTrue", + "name": "false", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 301.0352096557617, + "y": 665.0352411270142, + "z": "ec4bf25e.dd6bb", + "wires": [ + [ + "39041604.4e8b9a" + ] + ] + }, + { + "id": "e2a37c8a.52a28", + "type": "outcomeTrue", + "name": "false", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 282.03532791137695, + "y": 840.035454750061, + "z": "ec4bf25e.dd6bb", + "wires": [ + [ + "2ee04d47.b452f2" + ] + ] + }, + { + "id": "c9f2e546.57c978", + "type": "execute", + "name": "execute Properties", + "xml": "\n \n \n", + "comments": "", + "outputs": 1, + "x": 510.0039978027344, + "y": 359.0039253234863, + "z": "ec4bf25e.dd6bb", + "wires": [ + [] + ] + }, + { + "id": "deadfdad.78a35", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 225.00392150878906, + "y": 339.00390243530273, + "z": "ec4bf25e.dd6bb", + "wires": [ + [ + "c9f2e546.57c978", + "9326fcfd.42d18", + "7b6cbacb.c940e4", + "a48d4fd2.b35f8" + ] + ] + }, + { + "id": "9326fcfd.42d18", + "type": "switchNode", + "name": "switch network-id", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 510.0039291381836, + "y": 297.00391578674316, + "z": "ec4bf25e.dd6bb", + "wires": [ + [ + "661cfd5a.9af8f4" + ] + ] + }, + { + "id": "661cfd5a.9af8f4", + "type": "outcome", + "name": "NULL", + "xml": "", + "comments": "", + "outputs": 1, + "x": 759.0040054321289, + "y": 236.00391578674316, + "z": "ec4bf25e.dd6bb", + "wires": [ + [ + "e482d16b.f1f2a" + ] + ] + }, + { + "id": "e482d16b.f1f2a", + "type": "execute", + "name": "generate network-id", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 1019.0040893554688, + "y": 239.00394344329834, + "z": "ec4bf25e.dd6bb", + "wires": [ + [ + "4a8125e1.d928fc", + "1ef0b35a.df2b6d" + ] + ] + }, + { + "id": "4a8125e1.d928fc", + "type": "failure", + "name": "Other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1272.0041427612305, + "y": 180.00391387939453, + "z": "ec4bf25e.dd6bb", + "wires": [ + [ + "a3cf2f7c.aa153" + ] + ] + }, + { + "id": "a3cf2f7c.aa153", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\n\n", + "comments": "", + "x": 1438.004150390625, + "y": 182.00393295288086, + "z": "ec4bf25e.dd6bb", + "wires": [] + }, + { + "id": "7b6cbacb.c940e4", + "type": "returnSuccess", + "name": "return success", + "xml": "\n\n\n\n", + "comments": "", + "x": 386.0039749145508, + "y": 978.003942489624, + "z": "ec4bf25e.dd6bb", + "wires": [] + }, + { + "id": "2ee04d47.b452f2", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 474.0040092468262, + "y": 841.0040912628174, + "z": "ec4bf25e.dd6bb", + "wires": [ + [] + ] + }, + { + "id": "a48d4fd2.b35f8", + "type": "block", + "name": "save-specification-block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 819.0039520263672, + "y": 513.0078201293945, + "z": "ec4bf25e.dd6bb", + "wires": [ + [ + "2ef49dd5.a969b2", + "1ebbb5b1.ce49ea" + ] + ] + }, + { + "id": "4637df53.0968b", + "type": "block", + "name": "find-specifications-block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 973.7539024353027, + "y": 617.0078229904175, + "z": "ec4bf25e.dd6bb", + "wires": [ + [ + "4bb001a8.758d6" + ] + ] + }, + { + "id": "4bb001a8.758d6", + "type": "switchNode", + "name": "switch service-data.networks_length", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1329.2543029785156, + "y": 610.0078811645508, + "z": "ec4bf25e.dd6bb", + "wires": [ + [ + "de42c02b.4d353", + "129498fa.fc8607" + ] + ] + }, + { + "id": "de42c02b.4d353", + "type": "other", + "name": "Null", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1640.2542877197266, + "y": 576.0078916549683, + "z": "ec4bf25e.dd6bb", + "wires": [ + [ + "1750133b.d0d30d" + ] + ] + }, + { + "id": "129498fa.fc8607", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1354.2541885375977, + "y": 706.0078849499114, + "z": "ec4bf25e.dd6bb", + "wires": [ + [ + "89c60eaa.e0a3b" + ] + ] + }, + { + "id": "89c60eaa.e0a3b", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1498.6112327575684, + "y": 705.9443969433196, + "z": "ec4bf25e.dd6bb", + "wires": [ + [ + "90d47eef.bffa5", + "6361d5f3.8fbc7c" + ] + ] + }, + { + "id": "1750133b.d0d30d", + "type": "set", + "name": "set nidx and isExist", + "xml": "\n\n", + "comments": "", + "x": 1815.7542419433594, + "y": 575.0079183871858, + "z": "ec4bf25e.dd6bb", + "wires": [] + }, + { + "id": "6361d5f3.8fbc7c", + "type": "set", + "name": "set nidx and isExist", + "xml": "\n\n", + "comments": "", + "x": 1659.3098831176758, + "y": 664.5635662078857, + "z": "ec4bf25e.dd6bb", + "wires": [] + }, + { + "id": "90d47eef.bffa5", + "type": "for", + "name": "for each existing network", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1687.7383117675781, + "y": 717.7856483459473, + "z": "ec4bf25e.dd6bb", + "wires": [ + [ + "c0e01e64.557b7" + ] + ] + }, + { + "id": "d6f28b6a.4c11f8", + "type": "set", + "name": "set nidx and isExist", + "xml": "\n\n", + "comments": "", + "x": 1985.005386352539, + "y": 978.0086584091187, + "z": "ec4bf25e.dd6bb", + "wires": [] + }, + { + "id": "2ef49dd5.a969b2", + "type": "set", + "name": "set network in service-data", + "xml": "\n\n\n\n\n\n\n\n\n", + "comments": "", + "x": 1282.003921508789, + "y": 535.0078272819519, + "z": "ec4bf25e.dd6bb", + "wires": [] + }, + { + "id": "1ebbb5b1.ce49ea", + "type": "switchNode", + "name": "switch service-data.networks_length", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1307.00390625, + "y": 349.0078139305115, + "z": "ec4bf25e.dd6bb", + "wires": [ + [ + "71de1500.a0f5dc", + "84d10745.bd09d8" + ] + ] + }, + { + "id": "71de1500.a0f5dc", + "type": "other", + "name": "Null", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1256.004005432129, + "y": 419.00785875320435, + "z": "ec4bf25e.dd6bb", + "wires": [ + [ + "5a928df3.62e684" + ] + ] + }, + { + "id": "5a928df3.62e684", + "type": "set", + "name": "set nidx", + "xml": "\n", + "comments": "", + "x": 1389.50390625, + "y": 418.0078430175781, + "z": "ec4bf25e.dd6bb", + "wires": [] + }, + { + "id": "84d10745.bd09d8", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1253.003791809082, + "y": 467.00785779953003, + "z": "ec4bf25e.dd6bb", + "wires": [ + [ + "bf7c1ae3.a13b58" + ] + ] + }, + { + "id": "bf7c1ae3.a13b58", + "type": "set", + "name": "set nidx", + "xml": "\n", + "comments": "", + "x": 1390.0597305297852, + "y": 463.56352281570435, + "z": "ec4bf25e.dd6bb", + "wires": [] + }, + { + "id": "89792a65.256368", + "type": "set", + "name": "set network in service-data", + "xml": "\n\n\n", + "comments": "", + "x": 2006.5061492919922, + "y": 1429.0049443244934, + "z": "ec4bf25e.dd6bb", + "wires": [] + }, + { + "id": "9e04e4be.367888", + "type": "block", + "name": "copy-specifications-block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1709.2545623779297, + "y": 1072.0042037963867, + "z": "ec4bf25e.dd6bb", + "wires": [ + [ + "d6f28b6a.4c11f8", + "89792a65.256368", + "49104faa.41ebb", + "5f63a6d5.0f0808", + "4bcb87bc.b866b8" + ] + ] + }, + { + "id": "49104faa.41ebb", + "type": "switchNode", + "name": "switch service-data.networks_length", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2057.0045013427734, + "y": 1059.0041122436523, + "z": "ec4bf25e.dd6bb", + "wires": [ + [ + "4c3184c1.6619ac", + "2d5e7fd8.239cb" + ] + ] + }, + { + "id": "4c3184c1.6619ac", + "type": "other", + "name": "Null", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2283.00435256958, + "y": 1034.0040397644043, + "z": "ec4bf25e.dd6bb", + "wires": [ + [ + "cb121f91.6d21" + ] + ] + }, + { + "id": "cb121f91.6d21", + "type": "set", + "name": "set param_length", + "xml": "\n", + "comments": "", + "x": 2469.5041885375977, + "y": 1032.0040455157869, + "z": "ec4bf25e.dd6bb", + "wires": [] + }, + { + "id": "2d5e7fd8.239cb", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2279.0043182373047, + "y": 1089.0040855407715, + "z": "ec4bf25e.dd6bb", + "wires": [ + [ + "11ebe727.0ad829" + ] + ] + }, + { + "id": "11ebe727.0ad829", + "type": "set", + "name": "set param_length", + "xml": "\n", + "comments": "", + "x": 2467.7542572021484, + "y": 1089.0040702819824, + "z": "ec4bf25e.dd6bb", + "wires": [] + }, + { + "id": "5f63a6d5.0f0808", + "type": "for", + "name": "for each existing params", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2013.7548370361328, + "y": 1313.0043182373047, + "z": "ec4bf25e.dd6bb", + "wires": [ + [ + "29a0bf72.ef8a9" + ] + ] + }, + { + "id": "8a453e14.41bb8", + "type": "set", + "name": "set input_param_length", + "xml": "\n", + "comments": "", + "x": 2490.7548751831055, + "y": 1218.5042095184326, + "z": "ec4bf25e.dd6bb", + "wires": [] + }, + { + "id": "4bcb87bc.b866b8", + "type": "switchNode", + "name": "switch network-input-parameters_length", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2064.7544708251953, + "y": 1160.5040702819824, + "z": "ec4bf25e.dd6bb", + "wires": [ + [ + "c56b0210.d9d6c", + "9e58091.eed84f8" + ] + ] + }, + { + "id": "9e58091.eed84f8", + "type": "other", + "name": "Null", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2298.7543563842773, + "y": 1155.5040855407715, + "z": "ec4bf25e.dd6bb", + "wires": [ + [ + "776789ac.4e1c88" + ] + ] + }, + { + "id": "c56b0210.d9d6c", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2297.7544136047363, + "y": 1221.5040559768677, + "z": "ec4bf25e.dd6bb", + "wires": [ + [ + "8a453e14.41bb8" + ] + ] + }, + { + "id": "776789ac.4e1c88", + "type": "set", + "name": "set input_param_length", + "xml": "\n", + "comments": "", + "x": 2487.754325866699, + "y": 1156.5041007995605, + "z": "ec4bf25e.dd6bb", + "wires": [] + }, + { + "id": "29a0bf72.ef8a9", + "type": "set", + "name": "set specification_to_input_param", + "xml": "\n", + "comments": "", + "x": 2325.7544860839844, + "y": 1313.0043315887451, + "z": "ec4bf25e.dd6bb", + "wires": [] + }, + { + "id": "c0e01e64.557b7", + "type": "execute", + "name": "if contains specification", + "xml": "\n \n \n \n", + "comments": "", + "outputs": 1, + "x": 1670.5041275024414, + "y": 792.0040473937988, + "z": "ec4bf25e.dd6bb", + "wires": [ + [ + "f0e3233e.fbb43" + ] + ] + }, + { + "id": "3b74b5cb.6db12a", + "type": "execute", + "name": "if contains model-name", + "xml": "\n \n \n \n", + "comments": "", + "outputs": 1, + "x": 1664.753921508789, + "y": 849.0039715766907, + "z": "ec4bf25e.dd6bb", + "wires": [ + [ + "43e7c123.94da6" + ] + ] + }, + { + "id": "f0e3233e.fbb43", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1861.7540111541748, + "y": 791.0039234161377, + "z": "ec4bf25e.dd6bb", + "wires": [ + [ + "3b74b5cb.6db12a" + ] + ] + }, + { + "id": "43e7c123.94da6", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1868.0040092468262, + "y": 846.0040340423584, + "z": "ec4bf25e.dd6bb", + "wires": [ + [ + "9e04e4be.367888" + ] + ] + }, + { + "id": "dc605cc5.0af61", + "type": "execute", + "name": "contains FcPort", + "xml": "\n \n \n", + "comments": "", + "outputs": 1, + "x": 502.00390625, + "y": 734.00390625, + "z": "ec4bf25e.dd6bb", + "wires": [ + [ + "d20a2c0b.707f2", + "e2a37c8a.52a28" + ] + ] + }, + { + "id": "d20a2c0b.707f2", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 697.0039901733398, + "y": 736.0039386749268, + "z": "ec4bf25e.dd6bb", + "wires": [ + [ + "4637df53.0968b" + ] + ] + }, + { + "id": "2b8cfc56.68f314", + "type": "outcomeTrue", + "name": "false", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 293.00391387939453, + "y": 737.0038776397705, + "z": "ec4bf25e.dd6bb", + "wires": [ + [ + "dc605cc5.0af61" + ] + ] + }, + { + "id": "1ef0b35a.df2b6d", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1271.3373184204102, + "y": 270.00391387939453, + "z": "ec4bf25e.dd6bb", + "wires": [ + [ + "f3103198.99ca3" + ] + ] + }, + { + "id": "f3103198.99ca3", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1444.3372344970703, + "y": 265.00390625, + "z": "ec4bf25e.dd6bb", + "wires": [ + [ + "a4c91e95.e83ee" + ] + ] + }, + { + "id": "a4c91e95.e83ee", + "type": "set", + "name": "set networkId and network-object-path", + "xml": "\n\n", + "comments": "", + "x": 1707.50390625, + "y": 264.00390625, + "z": "ec4bf25e.dd6bb", + "wires": [] + } +] \ No newline at end of file diff --git a/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-topology-operation-zte-deactivate.json b/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-topology-operation-zte-deactivate.json new file mode 100644 index 00000000..96306871 --- /dev/null +++ b/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-topology-operation-zte-deactivate.json @@ -0,0 +1,1297 @@ +[ + { + "id": "bed9c35d.e0ab8", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 116.00390625, + "y": 78.99999904632568, + "z": "add5ea55.8506d8", + "wires": [ + [ + "bdf50147.91929" + ] + ] + }, + { + "id": "bdf50147.91929", + "type": "service-logic", + "name": "GENERIC-RESOURCE-API ${project.version}", + "module": "GENERIC-RESOURCE-API", + "version": "${project.version}", + "comments": "", + "xml": "", + "outputs": 1, + "x": 328.00391006469727, + "y": 151.00001621246338, + "z": "add5ea55.8506d8", + "wires": [ + [ + "9e64bb35.81c5b8" + ] + ] + }, + { + "id": "9e64bb35.81c5b8", + "type": "method", + "name": "wan-connection-topology-operation-deactivate", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 316.0040283203125, + "y": 238.99999904632568, + "z": "add5ea55.8506d8", + "wires": [ + [ + "7ad810d3.cad88" + ] + ] + }, + { + "id": "8a67a6d1.1bbf48", + "type": "execute", + "name": "execute Properties", + "xml": "\n \n \n", + "comments": "", + "outputs": 1, + "x": 703.0041885375977, + "y": 323.0000705718994, + "z": "add5ea55.8506d8", + "wires": [ + [] + ] + }, + { + "id": "8ba9bac1.ee7e58", + "type": "returnSuccess", + "name": "return success", + "xml": "\n\n\n\n", + "comments": "", + "x": 303.00392150878906, + "y": 1188.0002126693726, + "z": "add5ea55.8506d8", + "wires": [] + }, + { + "id": "7ad810d3.cad88", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 228.5041046142578, + "y": 680.0001344680786, + "z": "add5ea55.8506d8", + "wires": [ + [ + "5d609d23.b321b4", + "b02a1448.2abf08", + "8a67a6d1.1bbf48", + "8ba9bac1.ee7e58", + "9a0faf20.2fca7" + ] + ] + }, + { + "id": "5d609d23.b321b4", + "type": "for", + "name": "for pidx..service-data.networks.network[]", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 866.5043182373047, + "y": 480.00013303756714, + "z": "add5ea55.8506d8", + "wires": [ + [ + "402023c4.b7ccfc" + ] + ] + }, + { + "id": "402023c4.b7ccfc", + "type": "switchNode", + "name": "switch network-id", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 917.5042495727539, + "y": 553.0001649856567, + "z": "add5ea55.8506d8", + "wires": [ + [ + "2c64e469.ac5d6c" + ] + ] + }, + { + "id": "2c64e469.ac5d6c", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1099.75435256958, + "y": 555.0002584457397, + "z": "add5ea55.8506d8", + "wires": [ + [ + "f806435c.0ee1b" + ] + ] + }, + { + "id": "f806435c.0ee1b", + "type": "set", + "name": "set tmp.pidx and tmp.network-input-parameters", + "xml": "\n\n\n\n", + "comments": "", + "x": 1386.372314453125, + "y": 539.4290904998779, + "z": "add5ea55.8506d8", + "wires": [] + }, + { + "id": "b02a1448.2abf08", + "type": "set", + "name": "set tmp.found-network-input", + "xml": "\n", + "comments": "", + "x": 851.5042190551758, + "y": 405.00017070770264, + "z": "add5ea55.8506d8", + "wires": [] + }, + { + "id": "644b78b3.b56638", + "type": "switchNode", + "name": "switch found-network-input", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 588.5042037963867, + "y": 890.0002946853638, + "z": "add5ea55.8506d8", + "wires": [ + [ + "ab8a1407.b57258", + "b5ad9505.765198" + ] + ] + }, + { + "id": "ab8a1407.b57258", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 820.5042953491211, + "y": 934.0004930496216, + "z": "add5ea55.8506d8", + "wires": [ + [ + "e70ec11.398ad4" + ] + ] + }, + { + "id": "b5ad9505.765198", + "type": "outcomeTrue", + "name": "false", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 821.2542343139648, + "y": 892.0003843307495, + "z": "add5ea55.8506d8", + "wires": [ + [ + "bc1e10df.495bf" + ] + ] + }, + { + "id": "bc1e10df.495bf", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n \n", + "comments": "", + "x": 992.2542343139648, + "y": 900.0003538131714, + "z": "add5ea55.8506d8", + "wires": [] + }, + { + "id": "e70ec11.398ad4", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 558.0040817260742, + "y": 1046.0002794265747, + "z": "add5ea55.8506d8", + "wires": [ + [ + "fa434270.08d4", + "229661c0.3323fe", + "6889ef74.f6656" + ] + ] + }, + { + "id": "fa434270.08d4", + "type": "for", + "name": "for cidx..tmp.network.network-data.network-topology.network-parameters.network-parameter[]", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1007.0039215087891, + "y": 1132.000135421753, + "z": "add5ea55.8506d8", + "wires": [ + [ + "25bfefbb.7b8a2" + ] + ] + }, + { + "id": "467eb351.f8dd4c", + "type": "switchNode", + "name": "switch network-parameter-name == 'restapiUrl-deactivate'", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1121.0039825439453, + "y": 1202.0001974105835, + "z": "add5ea55.8506d8", + "wires": [ + [ + "85fbba7c.c54258" + ] + ] + }, + { + "id": "85fbba7c.c54258", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1394.0041046142578, + "y": 1201.0001554489136, + "z": "add5ea55.8506d8", + "wires": [ + [ + "3a92a803.532c08" + ] + ] + }, + { + "id": "3a92a803.532c08", + "type": "set", + "name": "set tmp.thirdparty-sdnc-url", + "xml": "\n\n", + "comments": "", + "x": 1573.0040664672852, + "y": 1203.0002040863037, + "z": "add5ea55.8506d8", + "wires": [] + }, + { + "id": "ecb2328b.87404", + "type": "execute", + "name": "execute RestApiCallNode delete wan-connection", + "xml": "\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 895.2539520263672, + "y": 1934.000750541687, + "z": "add5ea55.8506d8", + "wires": [ + [ + "90bce824.a60af8", + "639417f4.3c8618", + "5e319e9.e03ce6" + ] + ] + }, + { + "id": "e81bb98f.1bc1c8", + "type": "switchNode", + "name": "switch network-parameter-name == 'restapiUser'", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1124.2539749145508, + "y": 1253.0001726150513, + "z": "add5ea55.8506d8", + "wires": [ + [ + "798bd507.61470c" + ] + ] + }, + { + "id": "798bd507.61470c", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1390.2540893554688, + "y": 1255.000249862671, + "z": "add5ea55.8506d8", + "wires": [ + [ + "41e8b8a1.d5a1f8" + ] + ] + }, + { + "id": "41e8b8a1.d5a1f8", + "type": "set", + "name": "set tmp.restapiUser", + "xml": "\n\n", + "comments": "", + "x": 1591.2541198730469, + "y": 1253.0002508163452, + "z": "add5ea55.8506d8", + "wires": [] + }, + { + "id": "9df47848.ecea98", + "type": "switchNode", + "name": "switch network-parameter-name == 'restapiPassword'", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1132.2540435791016, + "y": 1307.0000982284546, + "z": "add5ea55.8506d8", + "wires": [ + [ + "d16bb98.a2dc948" + ] + ] + }, + { + "id": "d16bb98.a2dc948", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1409.2540550231934, + "y": 1305.0001306533813, + "z": "add5ea55.8506d8", + "wires": [ + [ + "55ba7bac.43a354" + ] + ] + }, + { + "id": "55ba7bac.43a354", + "type": "set", + "name": "set tmp.restapiPassword", + "xml": "\n\n", + "comments": "", + "x": 1610.2540855407715, + "y": 1303.0001316070557, + "z": "add5ea55.8506d8", + "wires": [] + }, + { + "id": "229661c0.3323fe", + "type": "set", + "name": "set paras flags", + "xml": "\n\n\n\n\n", + "comments": "", + "x": 794.0040893554688, + "y": 1047.00013256073, + "z": "add5ea55.8506d8", + "wires": [] + }, + { + "id": "6889ef74.f6656", + "type": "switchNode", + "name": "switch thirdPartyAdaptorRpc-found == 'true'", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 836.0039215087891, + "y": 1542.0001783370972, + "z": "add5ea55.8506d8", + "wires": [ + [ + "6070832b.4e05ac", + "ffaf6a87.b25588" + ] + ] + }, + { + "id": "25bfefbb.7b8a2", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 778.0039215087891, + "y": 1313.0000486373901, + "z": "add5ea55.8506d8", + "wires": [ + [ + "467eb351.f8dd4c", + "e81bb98f.1bc1c8", + "9df47848.ecea98", + "6302da7e.dd2b84", + "28436b7c.b1fc44" + ] + ] + }, + { + "id": "6070832b.4e05ac", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1098.0039405822754, + "y": 1504.0001153945923, + "z": "add5ea55.8506d8", + "wires": [ + [ + "7b671856.32cf38" + ] + ] + }, + { + "id": "ffaf6a87.b25588", + "type": "outcomeTrue", + "name": "false", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1099.003890991211, + "y": 1570.0000801086426, + "z": "add5ea55.8506d8", + "wires": [ + [ + "c985a158.801a7" + ] + ] + }, + { + "id": "7b671856.32cf38", + "type": "call", + "name": "call thirdPartyAdaptorRpc", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1318.0039825439453, + "y": 1505.0001745224, + "z": "add5ea55.8506d8", + "wires": [ + [ + "dead764f.d92678", + "d7c6c9d5.2e7148", + "15e9a511.5d2bdb" + ] + ] + }, + { + "id": "c985a158.801a7", + "type": "switchNode", + "name": "switch restapiUrl-found == 'true'", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 860.4548110961914, + "y": 1654.0068244934082, + "z": "add5ea55.8506d8", + "wires": [ + [ + "4213fed6.58526", + "b4e8bd7.9e5da4" + ] + ] + }, + { + "id": "4213fed6.58526", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1111.4547958374023, + "y": 1652.0066204071045, + "z": "add5ea55.8506d8", + "wires": [ + [ + "1d6d17bd.ff2e18" + ] + ] + }, + { + "id": "1d6d17bd.ff2e18", + "type": "switchNode", + "name": "switch restapiUser-found == 'true'", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 838.4549102783203, + "y": 1721.228922843933, + "z": "add5ea55.8506d8", + "wires": [ + [ + "787ae8bc.8e3698", + "c501bbca.d35c78" + ] + ] + }, + { + "id": "787ae8bc.8e3698", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1105.4548034667969, + "y": 1722.2286357879639, + "z": "add5ea55.8506d8", + "wires": [ + [ + "ccf93de2.220a9" + ] + ] + }, + { + "id": "ccf93de2.220a9", + "type": "switchNode", + "name": "switch restapiPassword-found == 'true'", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 853.4548034667969, + "y": 1791.2288455963135, + "z": "add5ea55.8506d8", + "wires": [ + [ + "ef4e3315.b193a", + "ec2c6336.45952" + ] + ] + }, + { + "id": "ef4e3315.b193a", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1113.4548034667969, + "y": 1791.2286357879639, + "z": "add5ea55.8506d8", + "wires": [ + [ + "5bfb0348.022b1c" + ] + ] + }, + { + "id": "6302da7e.dd2b84", + "type": "switchNode", + "name": "switch network-parameter-name == 'thirdPartyAdaptorRpc-deactivate'", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1150.010440826416, + "y": 1400.0064764022827, + "z": "add5ea55.8506d8", + "wires": [ + [ + "fd6dd8ea.6b1e08" + ] + ] + }, + { + "id": "fd6dd8ea.6b1e08", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1461.0106582641602, + "y": 1404.006381034851, + "z": "add5ea55.8506d8", + "wires": [ + [ + "46687aa0.06bae4" + ] + ] + }, + { + "id": "46687aa0.06bae4", + "type": "set", + "name": "set tmp.thirdPartyAdaptorRpc", + "xml": "\n\n", + "comments": "", + "x": 1656.010612487793, + "y": 1398.0065717697144, + "z": "add5ea55.8506d8", + "wires": [] + }, + { + "id": "15e9a511.5d2bdb", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1584.0103759765625, + "y": 1544.3398427963257, + "z": "add5ea55.8506d8", + "wires": [ + [ + "9fcd7153.d785c" + ] + ] + }, + { + "id": "d7c6c9d5.2e7148", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1575.010425567627, + "y": 1512.8398685455322, + "z": "add5ea55.8506d8", + "wires": [ + [ + "9fcd7153.d785c" + ] + ] + }, + { + "id": "dead764f.d92678", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1578.7604637145996, + "y": 1483.1969734206796, + "z": "add5ea55.8506d8", + "wires": [ + [ + "ab7968a5.26b8d8" + ] + ] + }, + { + "id": "9fcd7153.d785c", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1741.7604904174805, + "y": 1529.5899410247803, + "z": "add5ea55.8506d8", + "wires": [] + }, + { + "id": "ab7968a5.26b8d8", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1720.416431427002, + "y": 1479.3891426101327, + "z": "add5ea55.8506d8", + "wires": [ + [] + ] + }, + { + "id": "5e319e9.e03ce6", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1225.0103759765625, + "y": 1969.3398427963257, + "z": "add5ea55.8506d8", + "wires": [ + [ + "a7499ed5.48afb" + ] + ] + }, + { + "id": "639417f4.3c8618", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1216.010425567627, + "y": 1937.8398685455322, + "z": "add5ea55.8506d8", + "wires": [ + [ + "a7499ed5.48afb" + ] + ] + }, + { + "id": "90bce824.a60af8", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1219.7604637145996, + "y": 1908.1969734206796, + "z": "add5ea55.8506d8", + "wires": [ + [ + "8b51f6a8.9f1da8" + ] + ] + }, + { + "id": "a7499ed5.48afb", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1382.7604904174805, + "y": 1954.5899410247803, + "z": "add5ea55.8506d8", + "wires": [] + }, + { + "id": "8b51f6a8.9f1da8", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1361.416431427002, + "y": 1904.3891426101327, + "z": "add5ea55.8506d8", + "wires": [ + [] + ] + }, + { + "id": "b4e8bd7.9e5da4", + "type": "outcomeTrue", + "name": "false", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1262.677001953125, + "y": 1619.4509267807007, + "z": "add5ea55.8506d8", + "wires": [ + [ + "e85c9352.a3eed" + ] + ] + }, + { + "id": "e85c9352.a3eed", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n \n", + "comments": "", + "x": 1433.677001953125, + "y": 1627.4508962631226, + "z": "add5ea55.8506d8", + "wires": [] + }, + { + "id": "c501bbca.d35c78", + "type": "outcomeTrue", + "name": "false", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1267.677001953125, + "y": 1698.4509267807007, + "z": "add5ea55.8506d8", + "wires": [ + [ + "ae06c9a.f856b38" + ] + ] + }, + { + "id": "ae06c9a.f856b38", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n \n", + "comments": "", + "x": 1438.677001953125, + "y": 1706.4508962631226, + "z": "add5ea55.8506d8", + "wires": [] + }, + { + "id": "ec2c6336.45952", + "type": "outcomeTrue", + "name": "false", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1258.677001953125, + "y": 1769.4509267807007, + "z": "add5ea55.8506d8", + "wires": [ + [ + "ea3c7dab.c8829" + ] + ] + }, + { + "id": "ea3c7dab.c8829", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n \n", + "comments": "", + "x": 1429.677001953125, + "y": 1777.4508962631226, + "z": "add5ea55.8506d8", + "wires": [] + }, + { + "id": "28436b7c.b1fc44", + "type": "switchNode", + "name": "switch network-parameter-name == 'actualId'", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1136.0038757324219, + "y": 1354.999960899353, + "z": "add5ea55.8506d8", + "wires": [ + [ + "ff7b2584.cdcb58" + ] + ] + }, + { + "id": "ff7b2584.cdcb58", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1413.0038871765137, + "y": 1352.9999933242798, + "z": "add5ea55.8506d8", + "wires": [ + [ + "4ffde6e.9995318" + ] + ] + }, + { + "id": "4ffde6e.9995318", + "type": "set", + "name": "set tmp.actualId", + "xml": "\n\n", + "comments": "", + "x": 1614.0039176940918, + "y": 1350.999994277954, + "z": "add5ea55.8506d8", + "wires": [] + }, + { + "id": "5bfb0348.022b1c", + "type": "switchNode", + "name": "switch actualId-found == 'true'", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 867.2261047363281, + "y": 1859.4444189071655, + "z": "add5ea55.8506d8", + "wires": [ + [ + "21d86096.fee9f", + "849bef82.9af23" + ] + ] + }, + { + "id": "21d86096.fee9f", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1127.2261047363281, + "y": 1859.444209098816, + "z": "add5ea55.8506d8", + "wires": [ + [ + "ecb2328b.87404" + ] + ] + }, + { + "id": "849bef82.9af23", + "type": "outcomeTrue", + "name": "false", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1272.4483032226562, + "y": 1837.6665000915527, + "z": "add5ea55.8506d8", + "wires": [ + [ + "9362ad56.36a98" + ] + ] + }, + { + "id": "9362ad56.36a98", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n \n", + "comments": "", + "x": 1443.4483032226562, + "y": 1845.6664695739746, + "z": "add5ea55.8506d8", + "wires": [] + }, + { + "id": "c8936a70.9f1118", + "type": "execute", + "name": "execute RestApiCallNode get wan-connection localId", + "xml": "\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 801.25390625, + "y": 2170.003906726837, + "z": "add5ea55.8506d8", + "wires": [ + [ + "953b9364.6a04b", + "511ddd61.150c94", + "eb807b79.8d7c78" + ] + ] + }, + { + "id": "eb807b79.8d7c78", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1131.0103302001953, + "y": 2205.342998981476, + "z": "add5ea55.8506d8", + "wires": [ + [ + "bd9032fd.3c50f" + ] + ] + }, + { + "id": "511ddd61.150c94", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1122.0103797912598, + "y": 2173.8430247306824, + "z": "add5ea55.8506d8", + "wires": [ + [ + "bd9032fd.3c50f" + ] + ] + }, + { + "id": "953b9364.6a04b", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1125.7604179382324, + "y": 2144.2001296058297, + "z": "add5ea55.8506d8", + "wires": [ + [ + "6c6c8390.edb91c" + ] + ] + }, + { + "id": "bd9032fd.3c50f", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1320.760482788086, + "y": 2268.5930428504944, + "z": "add5ea55.8506d8", + "wires": [] + }, + { + "id": "9a0faf20.2fca7", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 458.00390625, + "y": 2174.003906726837, + "z": "add5ea55.8506d8", + "wires": [ + [ + "c8936a70.9f1118", + "55f19580.60d50c", + "664842f0.f5459c", + "39b12b85.00f734" + ] + ] + }, + { + "id": "756c6c69.207644", + "type": "set", + "name": "set localId", + "xml": "\n", + "comments": "", + "x": 951.7539520263672, + "y": 2406.0039315223694, + "z": "add5ea55.8506d8", + "wires": [] + }, + { + "id": "6c6c8390.edb91c", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 838.75390625, + "y": 2333.003906726837, + "z": "add5ea55.8506d8", + "wires": [ + [ + "756c6c69.207644", + "adb3e76.6b84418" + ] + ] + }, + { + "id": "adb3e76.6b84418", + "type": "execute", + "name": "execute RestApiCallNode delete wan-connection", + "xml": "\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1079.75390625, + "y": 2479.0039010047913, + "z": "add5ea55.8506d8", + "wires": [ + [ + "4a8e2d71.5792f4", + "3378e2f0.491d0e", + "baeb07bf.b350f8" + ] + ] + }, + { + "id": "baeb07bf.b350f8", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1388.75390625, + "y": 2510.003906726837, + "z": "add5ea55.8506d8", + "wires": [ + [ + "bd9032fd.3c50f" + ] + ] + }, + { + "id": "3378e2f0.491d0e", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1379.7539558410645, + "y": 2478.5039324760437, + "z": "add5ea55.8506d8", + "wires": [ + [ + "bd9032fd.3c50f" + ] + ] + }, + { + "id": "4a8e2d71.5792f4", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1383.503993988037, + "y": 2448.861037351191, + "z": "add5ea55.8506d8", + "wires": [ + [ + "d69d9f76.9f753" + ] + ] + }, + { + "id": "d69d9f76.9f753", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1532.7539710998535, + "y": 2448.0039010047913, + "z": "add5ea55.8506d8", + "wires": [ + [] + ] + }, + { + "id": "d4dcaf7.912a95", + "type": "set", + "name": "set sotnServiceId", + "xml": "\n", + "comments": "", + "x": 1084.7539596557617, + "y": 2102.0040740966797, + "z": "add5ea55.8506d8", + "wires": [] + }, + { + "id": "55f19580.60d50c", + "type": "for", + "name": "for pidx..network-input-parameters[]", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 746.0039367675781, + "y": 2045.0039901733398, + "z": "add5ea55.8506d8", + "wires": [ + [ + "94cd2d2f.d6b96" + ] + ] + }, + { + "id": "94cd2d2f.d6b96", + "type": "switchNode", + "name": "switch svc-action", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1018.0039367675781, + "y": 2052.00399017334, + "z": "add5ea55.8506d8", + "wires": [ + [ + "505d1c65.f95bd4" + ] + ] + }, + { + "id": "505d1c65.f95bd4", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1192.0039367675781, + "y": 2057.00399017334, + "z": "add5ea55.8506d8", + "wires": [ + [ + "4e885a55.b3baf4" + ] + ] + }, + { + "id": "4e885a55.b3baf4", + "type": "set", + "name": "set localServiceId", + "xml": "\n\n", + "comments": "", + "x": 1387.0039367675781, + "y": 2055.00399017334, + "z": "add5ea55.8506d8", + "wires": [] + }, + { + "id": "664842f0.f5459c", + "type": "switchNode", + "name": "switch isLocalIdFound", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 711.2539596557617, + "y": 2100.0040130615234, + "z": "add5ea55.8506d8", + "wires": [ + [ + "64a4311f.473ee" + ] + ] + }, + { + "id": "64a4311f.473ee", + "type": "outcomeTrue", + "name": "false", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 906.2539215087891, + "y": 2100.0040130615234, + "z": "add5ea55.8506d8", + "wires": [ + [ + "d4dcaf7.912a95" + ] + ] + }, + { + "id": "39b12b85.00f734", + "type": "set", + "name": "set isLocalIdFound", + "xml": "\n", + "comments": "", + "x": 688.25390625, + "y": 1997.00390625, + "z": "add5ea55.8506d8", + "wires": [] + } +] \ No newline at end of file diff --git a/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-topology-operation-zte-delete.json b/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-topology-operation-zte-delete.json new file mode 100644 index 00000000..4430f5e3 --- /dev/null +++ b/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-topology-operation-zte-delete.json @@ -0,0 +1,286 @@ +[{ + "id": "c81f4d78.b1e6c", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 100.01040649414062, + "y": 75.99999976158142, + "z": "b1682cba.152", + "wires": [ + ["64b261af.cf184"] + ] +}, { + "id": "64b261af.cf184", + "type": "service-logic", + "name": "GENERIC-RESOURCE-API ${project.version}", + "module": "GENERIC-RESOURCE-API", + "version": "${project.version}", + "comments": "", + "xml": "", + "outputs": 1, + "x": 312.0104103088379, + "y": 148.00001692771912, + "z": "b1682cba.152", + "wires": [ + ["c6b54419.3039a8"] + ] +}, { + "id": "c6b54419.3039a8", + "type": "method", + "name": "wan-connection-topology-operation-delete", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 300.0105285644531, + "y": 235.99999976158142, + "z": "b1682cba.152", + "wires": [ + ["f3a69c11.4cac9"] + ] +}, { + "id": "140a99be.e1cda6", + "type": "execute", + "name": "contains FC", + "xml": "\n \n \n", + "comments": "", + "outputs": 1, + "x": 467.04176330566406, + "y": 511.031311750412, + "z": "b1682cba.152", + "wires": [ + ["df506b8a.806268", "5d821249.e9d6cc"] + ] +}, { + "id": "54dc8604.f2ccb8", + "type": "execute", + "name": "contains FD", + "xml": "\n \n \n", + "comments": "", + "outputs": 1, + "x": 465.04168701171875, + "y": 589.0313127040863, + "z": "b1682cba.152", + "wires": [ + ["1ab6bc40.bffaf4", "7db0c17f.b059"] + ] +}, { + "id": "df506b8a.806268", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 648.0417709350586, + "y": 513.0313451290131, + "z": "b1682cba.152", + "wires": [ + ["44c3101c.7b387"] + ] +}, { + "id": "1ab6bc40.bffaf4", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 660.0417709350586, + "y": 591.0313451290131, + "z": "b1682cba.152", + "wires": [ + ["44c3101c.7b387"] + ] +}, { + "id": "5d821249.e9d6cc", + "type": "outcomeTrue", + "name": "false", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 256.0416946411133, + "y": 592.0312840938568, + "z": "b1682cba.152", + "wires": [ + ["54dc8604.f2ccb8"] + ] +}, { + "id": "7f76e93c.a850f8", + "type": "execute", + "name": "execute Properties", + "xml": "\n \n \n", + "comments": "", + "outputs": 1, + "x": 491.010498046875, + "y": 356.00001883506775, + "z": "b1682cba.152", + "wires": [ + [] + ] +}, { + "id": "f3a69c11.4cac9", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 206.0104217529297, + "y": 335.99999594688416, + "z": "b1682cba.152", + "wires": [ + ["7f76e93c.a850f8", "99bcb143.6aec8", "30b4304f.e646c", "140a99be.e1cda6"] + ] +}, { + "id": "99bcb143.6aec8", + "type": "switchNode", + "name": "switch network-id", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 491.0104293823242, + "y": 294.0000092983246, + "z": "b1682cba.152", + "wires": [ + ["57d76327.9c63cc", "d50b31e0.e314e"] + ] +}, { + "id": "57d76327.9c63cc", + "type": "outcome", + "name": "NULL", + "xml": "", + "comments": "", + "outputs": 1, + "x": 740.0105056762695, + "y": 233.00000929832458, + "z": "b1682cba.152", + "wires": [ + ["54153e4c.ec78c"] + ] +}, { + "id": "54153e4c.ec78c", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\n\n", + "comments": "", + "x": 1010.0105209350586, + "y": 234.99999809265137, + "z": "b1682cba.152", + "wires": [] +}, { + "id": "d50b31e0.e314e", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 737.5104026794434, + "y": 281.0000035762787, + "z": "b1682cba.152", + "wires": [ + [] + ] +}, { + "id": "30b4304f.e646c", + "type": "returnSuccess", + "name": "return success", + "xml": "\n\n\n\n", + "comments": "", + "x": 192.01040649414062, + "y": 943.0000705718994, + "z": "b1682cba.152", + "wires": [] +}, { + "id": "65a3a6ee.c50208", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 258.01040267944336, + "y": 735.0001106262207, + "z": "b1682cba.152", + "wires": [ + [] + ] +}, { + "id": "7db0c17f.b059", + "type": "outcomeTrue", + "name": "false", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 261.04176330566406, + "y": 675.0314900875092, + "z": "b1682cba.152", + "wires": [ + ["65a3a6ee.c50208"] + ] +}, { + "id": "44c3101c.7b387", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 843.010383605957, + "y": 542.1214942932129, + "z": "b1682cba.152", + "wires": [ + ["81240f98.0bd24", "51b098fe.5ee238", "e14455de.b9dcd8", "5e6ceda3.d49424", "629880b9.6f91a"] + ] +}, { + "id": "81240f98.0bd24", + "type": "delete", + "name": "delete wan connection in AAI", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1139.0104446411133, + "y": 492.1214962005615, + "z": "b1682cba.152", + "wires": [ + [] + ] +}, { + "id": "51b098fe.5ee238", + "type": "set", + "name": "set new network length", + "xml": "\n\t\n\n\t\n", + "comments": "", + "x": 1116.4549293518066, + "y": 556.0104026794434, + "z": "b1682cba.152", + "wires": [] +}, { + "id": "e14455de.b9dcd8", + "type": "set", + "name": "Remove networks from ServiceData", + "xml": "\n\t\n\n", + "comments": "", + "x": 1147.0791816711426, + "y": 607.9783487319946, + "z": "b1682cba.152", + "wires": [] +}, { + "id": "5e6ceda3.d49424", + "type": "set", + "name": "set networkId and network-object-path", + "xml": "\n\n", + "comments": "", + "x": 1157.8222579956055, + "y": 678.5394926071167, + "z": "b1682cba.152", + "wires": [] +}, { + "id": "629880b9.6f91a", + "type": "record", + "name": "record", + "xml": "\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1075.0103759765625, + "y": 423.34375, + "z": "b1682cba.152", + "wires": [ + [] + ] +}] \ No newline at end of file diff --git a/platform-logic/generic-resource-api/src/main/xml/sdwan/GENERIC-RESOURCE-API_sdwan-vf-topology-operation-zte-activate.xml b/platform-logic/generic-resource-api/src/main/xml/sdwan/GENERIC-RESOURCE-API_sdwan-vf-topology-operation-zte-activate.xml new file mode 100644 index 00000000..c30915f4 --- /dev/null +++ b/platform-logic/generic-resource-api/src/main/xml/sdwan/GENERIC-RESOURCE-API_sdwan-vf-topology-operation-zte-activate.xml @@ -0,0 +1,704 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/platform-logic/generic-resource-api/src/main/xml/sdwan/GENERIC-RESOURCE-API_sdwan-vf-topology-operation-zte-create.xml b/platform-logic/generic-resource-api/src/main/xml/sdwan/GENERIC-RESOURCE-API_sdwan-vf-topology-operation-zte-create.xml new file mode 100644 index 00000000..03ccd49a --- /dev/null +++ b/platform-logic/generic-resource-api/src/main/xml/sdwan/GENERIC-RESOURCE-API_sdwan-vf-topology-operation-zte-create.xml @@ -0,0 +1,61 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/platform-logic/generic-resource-api/src/main/xml/sdwan/GENERIC-RESOURCE-API_sdwan-vf-topology-operation-zte-deactivate.xml b/platform-logic/generic-resource-api/src/main/xml/sdwan/GENERIC-RESOURCE-API_sdwan-vf-topology-operation-zte-deactivate.xml new file mode 100644 index 00000000..2748b314 --- /dev/null +++ b/platform-logic/generic-resource-api/src/main/xml/sdwan/GENERIC-RESOURCE-API_sdwan-vf-topology-operation-zte-deactivate.xml @@ -0,0 +1,110 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/platform-logic/generic-resource-api/src/main/xml/sdwan/GENERIC-RESOURCE-API_sdwan-vf-topology-operation-zte-delete.xml b/platform-logic/generic-resource-api/src/main/xml/sdwan/GENERIC-RESOURCE-API_sdwan-vf-topology-operation-zte-delete.xml new file mode 100644 index 00000000..9c24e525 --- /dev/null +++ b/platform-logic/generic-resource-api/src/main/xml/sdwan/GENERIC-RESOURCE-API_sdwan-vf-topology-operation-zte-delete.xml @@ -0,0 +1,81 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/platform-logic/restapi-templates/src/main/json/sdwan-device-zte-add.json b/platform-logic/restapi-templates/src/main/json/sdwan-device-zte-add.json new file mode 100644 index 00000000..53dfc86e --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/sdwan-device-zte-add.json @@ -0,0 +1,13 @@ +{ + "devices": [ + { + "esn": ${prop.device.esn}, + "deviceModel": ${prop.device.deviceModel}, + "name": ${prop.device.name}, + "siteId": null, + "description": ${prop.device.description}, + "systemIp": ${prop.device.systemIP}, + "tags": null + } + ] +} diff --git a/platform-logic/restapi-templates/src/main/json/sdwan-device-zte-del.json b/platform-logic/restapi-templates/src/main/json/sdwan-device-zte-del.json new file mode 100644 index 00000000..efe5fdd0 --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/sdwan-device-zte-del.json @@ -0,0 +1,7 @@ +{ + "deviceIds": [${repeat:prop.devices_length: + ${prop.devices[${1}]}, + } + ] +} + diff --git a/platform-logic/restapi-templates/src/main/json/sdwan-inter-connect-zte-create.json b/platform-logic/restapi-templates/src/main/json/sdwan-inter-connect-zte-create.json new file mode 100644 index 00000000..d6814d5c --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/sdwan-inter-connect-zte-create.json @@ -0,0 +1,9 @@ +{ + "vpns": [ + { + "name": ${prop.name}, + "id": ${prop.vpn1Id} + } + ] +} + diff --git a/platform-logic/restapi-templates/src/main/json/sdwan-inter-connect-zte-del.json b/platform-logic/restapi-templates/src/main/json/sdwan-inter-connect-zte-del.json new file mode 100644 index 00000000..11412b41 --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/sdwan-inter-connect-zte-del.json @@ -0,0 +1,13 @@ +{ + "vpns": [ + { + "name": ${prop.name}, + "id": ${prop.vpn1Id}, + "siteIds": [ + ${repeat:prop.siteIds_length: + ${prop.siteIds[${1}]}, + } + ] + } + ] +} \ No newline at end of file diff --git a/platform-logic/restapi-templates/src/main/json/sdwan-port-zte-add.json b/platform-logic/restapi-templates/src/main/json/sdwan-port-zte-add.json new file mode 100644 index 00000000..8d937586 --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/sdwan-port-zte-add.json @@ -0,0 +1,16 @@ +{ + "ports": [ + { + "portType": ${prop.wan.portType}, + "portNumber": ${prop.wan.portNumber}, + "deviceId": ${prop.wan.deviceId}, + "portSwitch": "layer3-port", + "linkInfo": { + "linkType": "Ethernet", + "ethernet": { + "negotiationMode": "auto" + } + } + } + ] +} diff --git a/platform-logic/restapi-templates/src/main/json/sdwan-port-zte-del.json b/platform-logic/restapi-templates/src/main/json/sdwan-port-zte-del.json new file mode 100644 index 00000000..e801839c --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/sdwan-port-zte-del.json @@ -0,0 +1,7 @@ +{ + "ports": [ + { + "id": ${prop.wan.devicePortId}, + } + ] +} diff --git a/platform-logic/restapi-templates/src/main/json/sdwan-site-ha-zte-add.json b/platform-logic/restapi-templates/src/main/json/sdwan-site-ha-zte-add.json new file mode 100644 index 00000000..a871f114 --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/sdwan-site-ha-zte-add.json @@ -0,0 +1,25 @@ +{ + "bpgAsNum": 65101, + "vpnType": "dsvpn", + "siteScale":"30", + "dsvpnIPpool": ["100.1.0.0/16"], + "innerTunnelIPpool": [ + "101.1.0.0/16" + ], + "interConnectIPpool": "102.1.0.0/16", + "transportNetworks": [ + { + "name": "net001", + "routingDomain": "routing001", + "description": "string" + } + ], + "routingDomain":[{ + "name": "routing001", + "ipsecEncryption":false + }], + "ipsecEncryptionParameter": { + "encrptionAlgorithm":"AES128", + "preSharedKey": "Admin@12134==========================================" + } +} \ No newline at end of file diff --git a/platform-logic/restapi-templates/src/main/json/sdwan-site-ha-zte-del.json b/platform-logic/restapi-templates/src/main/json/sdwan-site-ha-zte-del.json new file mode 100644 index 00000000..a871f114 --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/sdwan-site-ha-zte-del.json @@ -0,0 +1,25 @@ +{ + "bpgAsNum": 65101, + "vpnType": "dsvpn", + "siteScale":"30", + "dsvpnIPpool": ["100.1.0.0/16"], + "innerTunnelIPpool": [ + "101.1.0.0/16" + ], + "interConnectIPpool": "102.1.0.0/16", + "transportNetworks": [ + { + "name": "net001", + "routingDomain": "routing001", + "description": "string" + } + ], + "routingDomain":[{ + "name": "routing001", + "ipsecEncryption":false + }], + "ipsecEncryptionParameter": { + "encrptionAlgorithm":"AES128", + "preSharedKey": "Admin@12134==========================================" + } +} \ No newline at end of file diff --git a/platform-logic/restapi-templates/src/main/json/sdwan-site-lan-zte-add.json b/platform-logic/restapi-templates/src/main/json/sdwan-site-lan-zte-add.json new file mode 100644 index 00000000..93b68f71 --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/sdwan-site-lan-zte-add.json @@ -0,0 +1,7 @@ +{ + "vpns": [ + { + "id": ${prop.vpn-id} + } + ] +} \ No newline at end of file diff --git a/platform-logic/restapi-templates/src/main/json/sdwan-site-lan-zte-del.json b/platform-logic/restapi-templates/src/main/json/sdwan-site-lan-zte-del.json new file mode 100644 index 00000000..93b68f71 --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/sdwan-site-lan-zte-del.json @@ -0,0 +1,7 @@ +{ + "vpns": [ + { + "id": ${prop.vpn-id} + } + ] +} \ No newline at end of file diff --git a/platform-logic/restapi-templates/src/main/json/sdwan-site-wan-zte-add.json b/platform-logic/restapi-templates/src/main/json/sdwan-site-wan-zte-add.json new file mode 100644 index 00000000..55e603ec --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/sdwan-site-wan-zte-add.json @@ -0,0 +1,45 @@ +{ + "tnps": [ + { + "name": ${prop.wan.name}, + "siteId": ${prop.wan.siteId}, + "deviceId": ${prop.wan.deviceId}, + "portId": ${prop.wan.devicePortId}, + "inSubInterface": false, + "vlanId": "null", + "ipConnection": { + "ipv4": { + "publicIP": ${prop.wan.ip-address}, + "accessType": "IPoE", + "ipMode": "Static", + "customerAddress": ${prop.wan.ip-address}, + "prefixLength": ${prop.wan.prefixLength}, + "providerAddress": ${prop.wan.providerIpAddress}, + "peerIp": "null", + "userName": "null", + "userKey": "null" + } + }, + "transportNetworkInfo": { + "transportNetworkId": ${prop.wan.transportNetworkId}, + "workMode": "active" + }, + "attributes": { + "inputBandwidth": ${prop.wan.inputBandwidth}, + "outputBandwidth": ${prop.wan.outputBandwidth}, + "mtu": 1500, + "TCPmss": 1200 + }, + "ntp": [ + { + "serverIP": "11.11.11.11", + "authentication": false, + "mode": "MD5", + "authKey": "123456", + "authId": 123 + } + ], + "description": ${prop.wan.description} + } + ] +} diff --git a/platform-logic/restapi-templates/src/main/json/sdwan-site-wan-zte-del.json b/platform-logic/restapi-templates/src/main/json/sdwan-site-wan-zte-del.json new file mode 100644 index 00000000..bdd22166 --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/sdwan-site-wan-zte-del.json @@ -0,0 +1,7 @@ +{ + "tnps": [ + { + "id": ${prop.wan.wanPortId}, + } + ] +} diff --git a/platform-logic/restapi-templates/src/main/json/sdwan-site-zte-add.json b/platform-logic/restapi-templates/src/main/json/sdwan-site-zte-add.json new file mode 100644 index 00000000..1e50e76f --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/sdwan-site-zte-add.json @@ -0,0 +1,34 @@ +{ + "sites": [ + { + "id": "", + "name": ${prop.site.name}, + "locations": [ + { + "name": ${prop.site.location-name}, + "address": ${prop.site.location-address}, + "postcode": ${prop.site.location-postcode} + } + ], + "devices": [${repeat:prop.site.deviceId_length: + { + "deviceId": ${prop.site.deviceId[${1}]}, + "locationName": ${prop.site.location-name}, + }, + } + ], + "siteType": ${prop.site.type}, + "role": [${repeat:prop.site.roles_length: + ${prop.site.roles[${1}]}, + } + ], + "controlPoints": [${repeat:prop.site.controlpoints_length: + ${prop.site.controlpoints[${1}]}, + } + ], + "description": "--------role:dsvpn-hub---------------" + } + ] +} + + diff --git a/platform-logic/restapi-templates/src/main/json/sdwan-site-zte-del.json b/platform-logic/restapi-templates/src/main/json/sdwan-site-zte-del.json new file mode 100644 index 00000000..daa6a335 --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/sdwan-site-zte-del.json @@ -0,0 +1,9 @@ +{ + "sites": [ + { + "id": ${prop.site.siteId} + } + ] +} + + diff --git a/platform-logic/restapi-templates/src/main/json/sdwan-tenant-zte-add.json b/platform-logic/restapi-templates/src/main/json/sdwan-tenant-zte-add.json new file mode 100644 index 00000000..ed6161b8 --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/sdwan-tenant-zte-add.json @@ -0,0 +1,17 @@ +{ + "routes": [ + { + "id": ${prop.route.id}, + "vpnId": ${prop.vpnId}, + "siteId": ${prop.route.siteId}, + "deviceId": ${prop.route.deviceId}, + "destinationAddressMask": ${prop.route.providerIpAddress}, + "priority": 60, + "nextHopType": "ip-address", + "ipAddress": ${prop.route.ipAddress}, + "track": false, + "target": null + } + ] +} + diff --git a/platform-logic/restapi-templates/src/main/json/sdwan-tenant-zte-del.json b/platform-logic/restapi-templates/src/main/json/sdwan-tenant-zte-del.json new file mode 100644 index 00000000..6161b1bd --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/sdwan-tenant-zte-del.json @@ -0,0 +1,13 @@ +{ + "tenantName": ${prop.customer-id}, + "tenantEmail": ${prop.userEmail}, + "tenantPhone": "8888888888", + "tenantDescription": "This is a test tenant created by ONAP", + "tenantAddress": "Road123", + "limitAccountNum": 1000, + "userAccount": ${prop.userAccount}, + "userEmail": ${prop.userEmail}, + "sendInitEmailEnable": "true", + "countryCode": "CN", + "userPassword": "Test@12345" +} \ No newline at end of file