From 18ccf4d7bb32f355d274abfb25100c9a54ecd9b7 Mon Sep 17 00:00:00 2001 From: gaurav Date: Fri, 10 Aug 2018 16:24:06 +0530 Subject: SDWAN VPN DG addition Updates include: - Addition of sdwan connectivity resource DG - Hooking the same to main DG Change-Id: Icb629089ec3f5a4983eabe3168523b24e2afd275 Issue-ID: SDNC-357 Signed-off-by: Gaurav Agrawal Former-commit-id: ad341b6b20b613e9861bbc6c0bd9f1bceb2e3d7e --- ..._sdwan-network-topology-operation-activate.json | 732 +++++++++++++++++++++ 1 file changed, 732 insertions(+) create mode 100644 platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sdwan-network-topology-operation-activate.json (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sdwan-network-topology-operation-activate.json') diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sdwan-network-topology-operation-activate.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sdwan-network-topology-operation-activate.json new file mode 100644 index 00000000..9f672c12 --- /dev/null +++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sdwan-network-topology-operation-activate.json @@ -0,0 +1,732 @@ +[ + { + "id": "674547d2.8e25c8", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 102.5039176940918, + "y": 36.00000238418579, + "z": "5630a65a.9ec898", + "wires": [ + [ + "e5902308.c1c82" + ] + ] + }, + { + "id": "e5902308.c1c82", + "type": "service-logic", + "name": "GENERIC-RESOURCE-API ${project.version}", + "module": "GENERIC-RESOURCE-API", + "version": "${project.version}", + "comments": "", + "xml": "", + "outputs": 1, + "x": 288.50392150878906, + "y": 108.00001955032349, + "z": "5630a65a.9ec898", + "wires": [ + [ + "790713af.f45e7c" + ] + ] + }, + { + "id": "790713af.f45e7c", + "type": "method", + "name": "method sdwan-network-topology-operation-activate", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 276.5040397644043, + "y": 196.0000023841858, + "z": "5630a65a.9ec898", + "wires": [ + [ + "e083889a.f74828" + ] + ] + }, + { + "id": "e083889a.f74828", + "type": "block", + "name": "block : atomic", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 450.50393295288086, + "y": 304.0000615119934, + "z": "5630a65a.9ec898", + "wires": [ + [ + "6158cb8c.f46db4", + "81410bf9.e64458", + "781fc34d.70c51c", + "7be4b307.5359ec", + "2905e598.65892a", + "68901172.3a726", + "a0fba53c.970e38", + "944018c7.5a14b8", + "5e8274ed.a57dbc", + "f220bde6.61096", + "1ebcf5b8.ee7c3a", + "95959ba8.d84698", + "cf1e1603.5d6118", + "f18b4542.7d2158", + "581db18a.df70a" + ] + ] + }, + { + "id": "6158cb8c.f46db4", + "type": "call", + "name": "call GENERIC-RESOURCE-API:validate-sdwan-network-input-parameters", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 908.8928184509277, + "y": 53.00000238418579, + "z": "5630a65a.9ec898", + "wires": [ + [] + ] + }, + { + "id": "81410bf9.e64458", + "type": "record", + "name": "record", + "xml": "\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 709.0595169067383, + "y": 106.77785539627075, + "z": "5630a65a.9ec898", + "wires": [ + [] + ] + }, + { + "id": "781fc34d.70c51c", + "type": "set", + "name": "set networkId and network-object-path", + "xml": "\n\n", + "comments": "", + "x": 796.0597953796387, + "y": 1029.3134715557098, + "z": "5630a65a.9ec898", + "wires": [] + }, + { + "id": "7be4b307.5359ec", + "type": "returnSuccess", + "name": "return success", + "xml": "\n\n\n\n", + "comments": "", + "x": 717.8375968933105, + "y": 1218.8688914775848, + "z": "5630a65a.9ec898", + "wires": [] + }, + { + "id": "2905e598.65892a", + "type": "set", + "name": "set network-level-oper-status", + "xml": "\n\n\n", + "comments": "", + "x": 762.9487113952637, + "y": 1090.53564620018, + "z": "5630a65a.9ec898", + "wires": [] + }, + { + "id": "68901172.3a726", + "type": "execute", + "name": "execute Properties", + "xml": "\n \n \n", + "comments": "", + "outputs": 1, + "x": 741.3616218566895, + "y": 159.77789163589478, + "z": "5630a65a.9ec898", + "wires": [ + [] + ] + }, + { + "id": "a0fba53c.970e38", + "type": "update", + "name": "update SDWAN VPN status to AAI", + "xml": "\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 780.1674270629883, + "y": 1153.2388577461243, + "z": "5630a65a.9ec898", + "wires": [ + [] + ] + }, + { + "id": "944018c7.5a14b8", + "type": "set", + "name": "set network in service-data", + "xml": "\n\n\n\n", + "comments": "", + "x": 756.5043258666992, + "y": 976.0913054943085, + "z": "5630a65a.9ec898", + "wires": [] + }, + { + "id": "5e8274ed.a57dbc", + "type": "for", + "name": "for each network-input-parameters", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 793.5039176940918, + "y": 230.00390991568565, + "z": "5630a65a.9ec898", + "wires": [ + [ + "aff4cb70.f51d18" + ] + ] + }, + { + "id": "aff4cb70.f51d18", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1050.3373489379883, + "y": 164.33726105093956, + "z": "5630a65a.9ec898", + "wires": [ + [ + "55124a0e.ecead4", + "b20e40a7.db9f2" + ] + ] + }, + { + "id": "55124a0e.ecead4", + "type": "switchNode", + "name": "switch name", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1241.3374099731445, + "y": 160.33729347586632, + "z": "5630a65a.9ec898", + "wires": [ + [ + "c7d7c03b.f2fa6" + ] + ] + }, + { + "id": "c7d7c03b.f2fa6", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1415.3375358581543, + "y": 160.33729729056358, + "z": "5630a65a.9ec898", + "wires": [ + [ + "af327670.c19a78" + ] + ] + }, + { + "id": "af327670.c19a78", + "type": "set", + "name": "set name", + "xml": "\n\n", + "comments": "", + "x": 1578.3374214172363, + "y": 159.9372919499874, + "z": "5630a65a.9ec898", + "wires": [] + }, + { + "id": "f220bde6.61096", + "type": "get-resource", + "name": "get-resource esr-thirdparty-sdnc", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 787.5039176940918, + "y": 339.00390991568565, + "z": "5630a65a.9ec898", + "wires": [ + [ + "9390ab8d.339038", + "422112c5.89ee3c", + "b2fc220b.c981" + ] + ] + }, + { + "id": "9390ab8d.339038", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1032.5039176940918, + "y": 285.00390991568565, + "z": "5630a65a.9ec898", + "wires": [ + [ + "b9e9d09e.1a521" + ] + ] + }, + { + "id": "422112c5.89ee3c", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1035.9948844909668, + "y": 332.5779455602169, + "z": "5630a65a.9ec898", + "wires": [ + [ + "fc9a3019.525c8" + ] + ] + }, + { + "id": "b2fc220b.c981", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1031.3278923034668, + "y": 373.91125854849815, + "z": "5630a65a.9ec898", + "wires": [ + [ + "9d79278.15d3ed8" + ] + ] + }, + { + "id": "b9e9d09e.1a521", + "type": "set", + "name": "set controller data", + "xml": "\n\n\n\n", + "comments": "", + "x": 1230.003978729248, + "y": 273.00390991568565, + "z": "5630a65a.9ec898", + "wires": [] + }, + { + "id": "fc9a3019.525c8", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n\t\n\t\n \n\n\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 795.5039176940918, + "y": 450.00390991568565, + "z": "5630a65a.9ec898", + "wires": [ + [ + "fd9ecfb8.dcb2c", + "2aa6377a.1dbc88" + ] + ] + }, + { + "id": "fd9ecfb8.dcb2c", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1030.5039176940918, + "y": 428.00390991568565, + "z": "5630a65a.9ec898", + "wires": [ + [ + "ff15f3bd.bf298" + ] + ] + }, + { + "id": "2aa6377a.1dbc88", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1022.7539176940918, + "y": 481.6467932164669, + "z": "5630a65a.9ec898", + "wires": [ + [ + "95badc84.277a8" + ] + ] + }, + { + "id": "ff15f3bd.bf298", + "type": "set", + "name": "set token-id", + "xml": "\n\n", + "comments": "", + "x": 1184.5039176940918, + "y": 429.00390991568565, + "z": "5630a65a.9ec898", + "wires": [] + }, + { + "id": "95badc84.277a8", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1175.5039176940918, + "y": 481.39685425162315, + "z": "5630a65a.9ec898", + "wires": [] + }, + { + "id": "b20e40a7.db9f2", + "type": "switchNode", + "name": "switch topology", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1239.7539176940918, + "y": 213.00390991568565, + "z": "5630a65a.9ec898", + "wires": [ + [ + "968633ac.1886b" + ] + ] + }, + { + "id": "968633ac.1886b", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1413.7540435791016, + "y": 213.00391373038292, + "z": "5630a65a.9ec898", + "wires": [ + [ + "28e1e286.2c199e" + ] + ] + }, + { + "id": "28e1e286.2c199e", + "type": "set", + "name": "set topology", + "xml": "\n\n", + "comments": "", + "x": 1576.7539291381836, + "y": 212.60390838980675, + "z": "5630a65a.9ec898", + "wires": [] + }, + { + "id": "95959ba8.d84698", + "type": "block", + "name": "block : atomic", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 722.2539329528809, + "y": 650.0039599835873, + "z": "5630a65a.9ec898", + "wires": [ + [ + "c37fc252.ca32b" + ] + ] + }, + { + "id": "c37fc252.ca32b", + "type": "execute", + "name": "execute RestApiCallNode Create network orchestration", + "xml": "\n\n\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1044.7539825439453, + "y": 653.0040616989136, + "z": "5630a65a.9ec898", + "wires": [ + [] + ] + }, + { + "id": "cf1e1603.5d6118", + "type": "block", + "name": "block : atomic", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 719.7539329528809, + "y": 758.0039599835873, + "z": "5630a65a.9ec898", + "wires": [ + [ + "e379ec58.8ceb2", + "3e353248.8e09fe", + "6943d9d8.2f1f68" + ] + ] + }, + { + "id": "e379ec58.8ceb2", + "type": "execute", + "name": "execute RestApiCallNode Create vpn", + "xml": "\n\n\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 991.253978729248, + "y": 748.0040839612484, + "z": "5630a65a.9ec898", + "wires": [ + [] + ] + }, + { + "id": "3e353248.8e09fe", + "type": "set", + "name": "set prop.vpn-id and prop.vpn1Id", + "xml": "\n\n\n", + "comments": "", + "x": 975.2541313171387, + "y": 800.004145950079, + "z": "5630a65a.9ec898", + "wires": [] + }, + { + "id": "6943d9d8.2f1f68", + "type": "execute", + "name": "execute RestApiCallNode Create vpn topology", + "xml": "\n\n\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1018.7539825439453, + "y": 852.0039582252502, + "z": "5630a65a.9ec898", + "wires": [ + [] + ] + }, + { + "id": "f18b4542.7d2158", + "type": "set", + "name": "set tenant-id and vpn-id to service-data", + "xml": "\n\n\n\n\n", + "comments": "", + "x": 798.7539215087891, + "y": 921.7539792060852, + "z": "5630a65a.9ec898", + "wires": [] + }, + { + "id": "581db18a.df70a", + "type": "get-resource", + "name": "get-resource service-subscription", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 786.0039520263672, + "y": 547.2539210319519, + "z": "5630a65a.9ec898", + "wires": [ + [ + "fcef5013.081b8" + ] + ] + }, + { + "id": "fcef5013.081b8", + "type": "switchNode", + "name": "switch temp-ub-sub-account-id", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1078.003993988037, + "y": 539.0039348602295, + "z": "5630a65a.9ec898", + "wires": [ + [ + "a4ce55d.f40f1a8", + "90c8ccd1.35a13" + ] + ] + }, + { + "id": "a4ce55d.f40f1a8", + "type": "outcome", + "name": "NULL", + "xml": "", + "comments": "", + "outputs": 1, + "x": 1299.7182807922363, + "y": 540.0039367675781, + "z": "5630a65a.9ec898", + "wires": [ + [ + "d1e6018.8be3d" + ] + ] + }, + { + "id": "90c8ccd1.35a13", + "type": "other", + "name": "Other", + "xml": "", + "comments": "", + "outputs": 1, + "x": 1301.00390625, + "y": 594.00390625, + "z": "5630a65a.9ec898", + "wires": [ + [ + "3ebb744f.dbc61c" + ] + ] + }, + { + "id": "3ebb744f.dbc61c", + "type": "set", + "name": "set prop.tenant-id", + "xml": "\n\n", + "comments": "", + "x": 1487.0041427612305, + "y": 594.0039291381836, + "z": "5630a65a.9ec898", + "wires": [] + }, + { + "id": "d1e6018.8be3d", + "type": "block", + "name": "block : atomic", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1515.75390625, + "y": 539.75390625, + "z": "5630a65a.9ec898", + "wires": [ + [ + "3f91e970.83e3f6", + "df20c5db.1ec7f8", + "8a6f7c34.568fe", + "f54989e1.a4a098", + "eb872c81.f35e" + ] + ] + }, + { + "id": "f54989e1.a4a098", + "type": "set", + "name": "set prop.customer-id", + "xml": "\n\n", + "comments": "", + "x": 1728.2540321350098, + "y": 492.75404182076454, + "z": "5630a65a.9ec898", + "wires": [] + }, + { + "id": "3f91e970.83e3f6", + "type": "execute", + "name": "execute RestApiCallNode Create tenant", + "xml": "\n\n\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1789.2539176940918, + "y": 553.7539159357548, + "z": "5630a65a.9ec898", + "wires": [ + [] + ] + }, + { + "id": "df20c5db.1ec7f8", + "type": "set", + "name": "set prop.tenant-id", + "xml": "\n\n", + "comments": "", + "x": 1722.253963470459, + "y": 582.7538844645023, + "z": "5630a65a.9ec898", + "wires": [] + }, + { + "id": "8a6f7c34.568fe", + "type": "execute", + "name": "execute RestApiCallNode Create tenant auth", + "xml": "\n\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1803.7538719177246, + "y": 613.5038854181767, + "z": "5630a65a.9ec898", + "wires": [ + [] + ] + }, + { + "id": "eb872c81.f35e", + "type": "get-resource", + "name": "save-resource customer-id in service-subscription", + "xml": "\n\n\n", + "comments": "", + "outputs": 1, + "x": 1819.253963470459, + "y": 524.7540208399296, + "z": "5630a65a.9ec898", + "wires": [ + [] + ] + } +] -- cgit 1.2.3-korg