From 6bae57f12b29d9227decc4101ee0d971f29090d8 Mon Sep 17 00:00:00 2001 From: "prakash.e" Date: Wed, 27 Mar 2019 09:25:28 +0530 Subject: CCVPN extension site resource DGs DEVICE and SITE VF-topology-operation DGs Change-Id: Ieb9fdfed7918489ce56d10e848663f81e56445e7 Issue-ID: SDNC-659 Signed-off-by: Prakash.E Former-commit-id: 11f5aef76dcff7ceadaa240c068c727793c7d64a --- ...-API_sdwan-vf-operation-wanport-deactivate.json | 834 +++++++++++++++++++++ 1 file changed, 834 insertions(+) create mode 100644 platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-wanport-deactivate.json (limited to 'platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-wanport-deactivate.json') diff --git a/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-wanport-deactivate.json b/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-wanport-deactivate.json new file mode 100644 index 00000000..04265aad --- /dev/null +++ b/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-wanport-deactivate.json @@ -0,0 +1,834 @@ +[ + { + "id": "e69423a5.584ae", + "type": "execute", + "name": "execute Properties", + "xml": "\n \n \n", + "comments": "", + "outputs": 1, + "x": 849.5312957763672, + "y": 366.07812881469727, + "z": "4fee9402.f5c9bc", + "wires": [ + [] + ] + }, + { + "id": "a2e25c17.8e9c", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 130, + "y": 54.0000057220459, + "z": "4fee9402.f5c9bc", + "wires": [ + [ + "3fa8aef8.7e3df2" + ] + ] + }, + { + "id": "3fa8aef8.7e3df2", + "type": "service-logic", + "name": "GENERIC-RESOURCE-API ${project.version}", + "module": "GENERIC-RESOURCE-API", + "version": "${project.version}", + "comments": "", + "xml": "", + "outputs": 1, + "x": 261.2856903076172, + "y": 103.23811435699463, + "z": "4fee9402.f5c9bc", + "wires": [ + [ + "2162b779.2eb3a8" + ] + ] + }, + { + "id": "2162b779.2eb3a8", + "type": "method", + "name": "method sdwan-vf-operation-wanport-deactivate", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 264.4286193847656, + "y": 188.00003814697266, + "z": "4fee9402.f5c9bc", + "wires": [ + [ + "832591c7.4ef99" + ] + ] + }, + { + "id": "7df3c0c6.f5b88", + "type": "for", + "name": "for each vnf", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 834.53125, + "y": 203.07812213897705, + "z": "4fee9402.f5c9bc", + "wires": [ + [ + "112ac69c.661419" + ] + ] + }, + { + "id": "112ac69c.661419", + "type": "switchNode", + "name": "switch this vnf-id == input vnf-id", + "xml": " \n", + "comments": "", + "outputs": 1, + "x": 1086.5313415527344, + "y": 201.7447853088379, + "z": "4fee9402.f5c9bc", + "wires": [ + [ + "9fb48502.518d68" + ] + ] + }, + { + "id": "e66ecc6.7152f3", + "type": "set", + "name": "set vnf-index", + "xml": "\n\n", + "comments": "", + "x": 1458.1978302001953, + "y": 203.74478816986084, + "z": "4fee9402.f5c9bc", + "wires": [] + }, + { + "id": "9fb48502.518d68", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1304.864658355713, + "y": 203.74476718902588, + "z": "4fee9402.f5c9bc", + "wires": [ + [ + "e66ecc6.7152f3" + ] + ] + }, + { + "id": "ff28f3d.3169d1", + "type": "switchNode", + "name": "switch vnf_length", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 848.9518432617188, + "y": 158.5819911956787, + "z": "4fee9402.f5c9bc", + "wires": [ + [ + "a6a2da6e.228e08" + ] + ] + }, + { + "id": "a6a2da6e.228e08", + "type": "other", + "name": "NULL", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1035.618522644043, + "y": 157.9152889251709, + "z": "4fee9402.f5c9bc", + "wires": [ + [ + "c0d198d3.426068" + ] + ] + }, + { + "id": "c0d198d3.426068", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1217.2851486206055, + "y": 157.9152889251709, + "z": "4fee9402.f5c9bc", + "wires": [] + }, + { + "id": "61f42e0f.accb4", + "type": "for", + "name": "for each existing vf-index", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1487.5312576293945, + "y": 373.0781125728972, + "z": "4fee9402.f5c9bc", + "wires": [ + [ + "ce0facb9.acf8f" + ] + ] + }, + { + "id": "d0cbbcf7.18e0c", + "type": "switchNode", + "name": "switch vf-module-id found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1906.8170928955078, + "y": 375.6496305465698, + "z": "4fee9402.f5c9bc", + "wires": [ + [ + "ada2f692.ece248" + ] + ] + }, + { + "id": "bd278e04.68d68", + "type": "set", + "name": "set vf-module-length", + "xml": "\n\n\n\n", + "comments": "", + "x": 1474.102882385254, + "y": 336.8559989929199, + "z": "4fee9402.f5c9bc", + "wires": [] + }, + { + "id": "4efb1646.df29b8", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1278.4042778015137, + "y": 350.2368840877898, + "z": "4fee9402.f5c9bc", + "wires": [ + [ + "61f42e0f.accb4", + "bd278e04.68d68", + "49047f5d.3dde6" + ] + ] + }, + { + "id": "1c241e5.3b7e6e2", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1134.047233581543, + "y": 350.3003720943816, + "z": "4fee9402.f5c9bc", + "wires": [ + [ + "4efb1646.df29b8" + ] + ] + }, + { + "id": "8e428583.69a8e8", + "type": "switchNode", + "name": "switch vf-modules.vf-module_length", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 898.047215461731, + "y": 277.3003845214844, + "z": "4fee9402.f5c9bc", + "wires": [ + [ + "1c241e5.3b7e6e2", + "45b16795.1e16b8", + "5c72c52f.a612dc" + ] + ] + }, + { + "id": "45b16795.1e16b8", + "type": "outcome", + "name": "0", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1139.5312519073486, + "y": 249.0781135559082, + "z": "4fee9402.f5c9bc", + "wires": [ + [ + "b89d0343.04bd1" + ] + ] + }, + { + "id": "5c72c52f.a612dc", + "type": "other", + "name": "Null", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1141.5624408721924, + "y": 286.10942459106445, + "z": "4fee9402.f5c9bc", + "wires": [ + [ + "b89d0343.04bd1" + ] + ] + }, + { + "id": "b89d0343.04bd1", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1299.3399562835693, + "y": 266.9983730316162, + "z": "4fee9402.f5c9bc", + "wires": [] + }, + { + "id": "ada2f692.ece248", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2110.53133392334, + "y": 374.0781369502656, + "z": "4fee9402.f5c9bc", + "wires": [ + [ + "8cb3d733.8b9cc8" + ] + ] + }, + { + "id": "8cb3d733.8b9cc8", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 1872.8745422363281, + "y": 476.16428661346436, + "z": "4fee9402.f5c9bc", + "wires": [ + [ + "e9572390.a2ce1", + "7be5423c.87235c", + "39502de7.a9fc62" + ] + ] + }, + { + "id": "e9572390.a2ce1", + "type": "set", + "name": "set tmp.vidx and ctx.vnf-data", + "xml": "\n\n\n", + "comments": "", + "x": 2114.7612342834473, + "y": 446.50670051574707, + "z": "4fee9402.f5c9bc", + "wires": [] + }, + { + "id": "7be5423c.87235c", + "type": "set", + "name": "set vf-module-request-input.", + "xml": "\n\n\n", + "comments": "", + "x": 2118.207492828369, + "y": 491.1643395423889, + "z": "4fee9402.f5c9bc", + "wires": [] + }, + { + "id": "ce0facb9.acf8f", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 1695.0313034057617, + "y": 373.07812118530273, + "z": "4fee9402.f5c9bc", + "wires": [ + [ + "d0cbbcf7.18e0c" + ] + ] + }, + { + "id": "2948d13a.1b821e", + "type": "comment", + "name": "Get devices", + "info": "", + "comments": "", + "x": 848.0315361022949, + "y": 494.0781602859497, + "z": "4fee9402.f5c9bc", + "wires": [] + }, + { + "id": "49047f5d.3dde6", + "type": "set", + "name": "set prop.site.deviceId_length", + "xml": "\n\n", + "comments": "", + "x": 1500.53125, + "y": 301.07812213897705, + "z": "4fee9402.f5c9bc", + "wires": [] + }, + { + "id": "832591c7.4ef99", + "type": "block", + "name": "block : atomic", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 405.52733993530273, + "y": 405.0742197036743, + "z": "4fee9402.f5c9bc", + "wires": [ + [ + "ff28f3d.3169d1", + "7df3c0c6.f5b88", + "8e428583.69a8e8", + "e69423a5.584ae", + "ce0e4f49.1217b", + "16f0a729.f1f5a9", + "d2d93614.7c8ad8", + "2604b323.ea5f4c", + "9139c857.0718b8", + "c9d5923c.c3e6a", + "4a67f6d4.3597f8", + "7c127312.19825c", + "1954d3bb.e0ec6c" + ] + ] + }, + { + "id": "39502de7.a9fc62", + "type": "call", + "name": "call sdwan-get-wan-param", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2109.5039443969727, + "y": 538.0039381980896, + "z": "4fee9402.f5c9bc", + "wires": [ + [] + ] + }, + { + "id": "9139c857.0718b8", + "type": "get-resource", + "name": "get-resource esr-thirdparty-sdnc", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 893.2539443969727, + "y": 444.75391960144043, + "z": "4fee9402.f5c9bc", + "wires": [ + [ + "679a2fa0.7fa24", + "db810e5a.69a4a", + "b796d6f.b8abb28" + ] + ] + }, + { + "id": "679a2fa0.7fa24", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1125.2540283203125, + "y": 408.753942489624, + "z": "4fee9402.f5c9bc", + "wires": [ + [ + "e1a99634.deb268" + ] + ] + }, + { + "id": "db810e5a.69a4a", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1127.7449111938477, + "y": 444.3279790878296, + "z": "4fee9402.f5c9bc", + "wires": [ + [ + "363ab1e2.2b5cce" + ] + ] + }, + { + "id": "b796d6f.b8abb28", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1123.0779190063477, + "y": 480.661337852478, + "z": "4fee9402.f5c9bc", + "wires": [ + [ + "cdf3743a.490b68" + ] + ] + }, + { + "id": "cdf3743a.490b68", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n\t\n\t\n \n\n\n", + "comments": "", + "x": 1280.7541427612305, + "y": 407.75383472442627, + "z": "4fee9402.f5c9bc", + "wires": [] + }, + { + "id": "c9d5923c.c3e6a", + "type": "execute", + "name": "execute RestApiCallNode Get token", + "xml": "\n\n\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 907.7640762329102, + "y": 532.4309215545654, + "z": "4fee9402.f5c9bc", + "wires": [ + [ + "80be9352.04481", + "fdeb2c27.d10b4" + ] + ] + }, + { + "id": "80be9352.04481", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1142.76420211792, + "y": 518.4309101104736, + "z": "4fee9402.f5c9bc", + "wires": [ + [ + "303f14f3.7822fc" + ] + ] + }, + { + "id": "303f14f3.7822fc", + "type": "set", + "name": "set token-id", + "xml": "\n\n", + "comments": "", + "x": 1284.7642097473145, + "y": 517.430911064148, + "z": "4fee9402.f5c9bc", + "wires": [] + }, + { + "id": "de3334dd.87a328", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1290.7642097473145, + "y": 554.823899269104, + "z": "4fee9402.f5c9bc", + "wires": [] + }, + { + "id": "fdeb2c27.d10b4", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1142.01420211792, + "y": 554.0738172531128, + "z": "4fee9402.f5c9bc", + "wires": [ + [ + "de3334dd.87a328" + ] + ] + }, + { + "id": "4a67f6d4.3597f8", + "type": "call", + "name": "call sdwan-get-tenant-auth", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 884.7638244628906, + "y": 585.7639970779419, + "z": "4fee9402.f5c9bc", + "wires": [ + [] + ] + }, + { + "id": "2604b323.ea5f4c", + "type": "returnSuccess", + "name": "return success", + "xml": "\n\n\n\n", + "comments": "", + "x": 849.8993644714355, + "y": 1030.5663061141968, + "z": "4fee9402.f5c9bc", + "wires": [] + }, + { + "id": "4c7ada40.e6d834", + "type": "update", + "name": "update SDWAN wan port instance configuration in AAI", + "xml": "\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 969.2184829711914, + "y": 990.3698863983154, + "z": "4fee9402.f5c9bc", + "wires": [ + [] + ] + }, + { + "id": "ce0e4f49.1217b", + "type": "set", + "name": "copy input data to service data", + "xml": "\n\n\n\n\n", + "comments": "", + "x": 903.59619140625, + "y": 864.7630681991577, + "z": "4fee9402.f5c9bc", + "wires": [] + }, + { + "id": "16f0a729.f1f5a9", + "type": "set", + "name": "set vf-module-id and vf-module-object-path", + "xml": "\n\n\n\n", + "comments": "", + "x": 937.8993911743164, + "y": 908.5661773681641, + "z": "4fee9402.f5c9bc", + "wires": [] + }, + { + "id": "d2d93614.7c8ad8", + "type": "set", + "name": "set vf-module-level-oper-status", + "xml": "\n\n\n", + "comments": "", + "x": 904.8993911743164, + "y": 944.5661773681641, + "z": "4fee9402.f5c9bc", + "wires": [] + }, + { + "id": "1954d3bb.e0ec6c", + "type": "execute", + "name": "execute RestApiCallNode device port delete", + "xml": "\n\n\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 952.03125, + "y": 770.078145980835, + "z": "4fee9402.f5c9bc", + "wires": [ + [ + "5763133a.85c38c", + "e2a71559.3f3e88" + ] + ] + }, + { + "id": "5763133a.85c38c", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1198.031234741211, + "y": 808.0782346725464, + "z": "4fee9402.f5c9bc", + "wires": [ + [ + "c730322d.384d7" + ] + ] + }, + { + "id": "e2a71559.3f3e88", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1194.0313148498535, + "y": 762.0781497955322, + "z": "4fee9402.f5c9bc", + "wires": [ + [ + "33e8f10d.25726e" + ] + ] + }, + { + "id": "33e8f10d.25726e", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1335.031406402588, + "y": 762.0781507492065, + "z": "4fee9402.f5c9bc", + "wires": [] + }, + { + "id": "c730322d.384d7", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1342.0311012268066, + "y": 806.0781536102295, + "z": "4fee9402.f5c9bc", + "wires": [ + [] + ] + }, + { + "id": "7c127312.19825c", + "type": "execute", + "name": "execute RestApiCallNode wan port delete", + "xml": "\n\n\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 947.0314178466797, + "y": 664.0781440734863, + "z": "4fee9402.f5c9bc", + "wires": [ + [ + "e0828ab7.60a978", + "3d0c4f43.fce4d" + ] + ] + }, + { + "id": "e0828ab7.60a978", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1235.0315132141113, + "y": 696.0781135559082, + "z": "4fee9402.f5c9bc", + "wires": [ + [ + "aca8b9c6.d1fb58" + ] + ] + }, + { + "id": "3d0c4f43.fce4d", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1239.031593322754, + "y": 632.0781917572021, + "z": "4fee9402.f5c9bc", + "wires": [ + [ + "729b835e.b7b53c" + ] + ] + }, + { + "id": "729b835e.b7b53c", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1384.0317649841309, + "y": 634.0781917572021, + "z": "4fee9402.f5c9bc", + "wires": [] + }, + { + "id": "aca8b9c6.d1fb58", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1391.0313568115234, + "y": 694.0781135559082, + "z": "4fee9402.f5c9bc", + "wires": [ + [] + ] + } +] \ No newline at end of file -- cgit 1.2.3-korg