From bb17c401f713e29f652ac49ff8633b829604c40b Mon Sep 17 00:00:00 2001 From: gaurav Date: Wed, 25 Jul 2018 16:14:34 +0530 Subject: Adding site Resource DG Initial implementation of site resource DG. Change-Id: I65b6a7e335b4053f3133b731849badec7240ec1b Issue-ID: SDNC-356 Signed-off-by: Gaurav Agrawal Former-commit-id: f1ad68601c2616b39756cb6f516d6dad5237f0c0 --- ...API_site-vnf-topology-operation-deactivate.json | 803 +++++++++++++++++++++ 1 file changed, 803 insertions(+) create mode 100644 platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_site-vnf-topology-operation-deactivate.json (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_site-vnf-topology-operation-deactivate.json') diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_site-vnf-topology-operation-deactivate.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_site-vnf-topology-operation-deactivate.json new file mode 100644 index 00000000..ad6eb1e4 --- /dev/null +++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_site-vnf-topology-operation-deactivate.json @@ -0,0 +1,803 @@ +[ + { + "id": "29fa8678.95f9ca", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 131, + "y": 118, + "z": "af5ae803.904aa8", + "wires": [ + [ + "d48a6f16.dbc94" + ] + ] + }, + { + "id": "d48a6f16.dbc94", + "type": "service-logic", + "name": "GENERIC-RESOURCE-API ${project.version}", + "module": "GENERIC-RESOURCE-API", + "version": "${project.version}", + "comments": "", + "xml": "", + "outputs": 1, + "x": 206.28570556640625, + "y": 158.23811149597168, + "z": "af5ae803.904aa8", + "wires": [ + [ + "7ed81cb7.0a51d4" + ] + ] + }, + { + "id": "7ed81cb7.0a51d4", + "type": "method", + "name": "method site-vnf-topology-operation-deactivate", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 227.42861938476562, + "y": 248, + "z": "af5ae803.904aa8", + "wires": [ + [ + "aa23d49.327ed28" + ] + ] + }, + { + "id": "aa23d49.327ed28", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 207.66666412353516, + "y": 419.6666717529297, + "z": "af5ae803.904aa8", + "wires": [ + [ + "9bb8f3a8.802f5", + "15d3779a.2c8a88", + "9540c63d.a06978", + "78df0c0e.576094", + "99b35972.99c3a8", + "61eb6b8d.7cad14", + "4080214.adfeae", + "6f647857.5c6b48", + "4302e938.be3ef8", + "1364166a.1d494a" + ] + ] + }, + { + "id": "9bb8f3a8.802f5", + "type": "for", + "name": "for loop i - VNF input parameters", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 660.104736328125, + "y": 307.06783294677734, + "z": "af5ae803.904aa8", + "wires": [ + [ + "a5175fe3.e03a" + ] + ] + }, + { + "id": "a5175fe3.e03a", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 906.8829312324524, + "y": 307.623462411575, + "z": "af5ae803.904aa8", + "wires": [ + [ + "a25f1f5b.132b7", + "617dd8fe.aa7948", + "15ed8251.27c1ce", + "984a8326.9a457", + "ff594d8d.7aa95", + "20f2971f.ecec88" + ] + ] + }, + { + "id": "a25f1f5b.132b7", + "type": "switchNode", + "name": "switch name", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1112.1048202514648, + "y": 262.62343978881836, + "z": "af5ae803.904aa8", + "wires": [ + [ + "e1ea29c6.845788" + ] + ] + }, + { + "id": "e1ea29c6.845788", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1299.1048202514648, + "y": 258.62343978881836, + "z": "af5ae803.904aa8", + "wires": [ + [ + "cda20cf5.41ce9" + ] + ] + }, + { + "id": "cda20cf5.41ce9", + "type": "set", + "name": "set name", + "xml": "\n\n", + "comments": "", + "x": 1467.1048202514648, + "y": 259.223445892334, + "z": "af5ae803.904aa8", + "wires": [ + + ] + }, + { + "id": "617dd8fe.aa7948", + "type": "switchNode", + "name": "switch description", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1129.944538116455, + "y": 305.6234350204468, + "z": "af5ae803.904aa8", + "wires": [ + [ + "9accb009.2112d" + ] + ] + }, + { + "id": "9accb009.2112d", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1316.944538116455, + "y": 301.6234350204468, + "z": "af5ae803.904aa8", + "wires": [ + [ + "8ca9a7db.ec8f18" + ] + ] + }, + { + "id": "8ca9a7db.ec8f18", + "type": "set", + "name": "set description", + "xml": "\n\n", + "comments": "", + "x": 1478.278018951416, + "y": 301.0845947265625, + "z": "af5ae803.904aa8", + "wires": [ + + ] + }, + { + "id": "15ed8251.27c1ce", + "type": "switchNode", + "name": "switch location", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1120.0306510925293, + "y": 348.03077697753906, + "z": "af5ae803.904aa8", + "wires": [ + [ + "8dc32f9.9a097d" + ] + ] + }, + { + "id": "8dc32f9.9a097d", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1307.0306510925293, + "y": 344.03077697753906, + "z": "af5ae803.904aa8", + "wires": [ + [ + "c9cae02e.83783" + ] + ] + }, + { + "id": "c9cae02e.83783", + "type": "set", + "name": "set location", + "xml": "\n\n", + "comments": "", + "x": 1475.0306510925293, + "y": 344.6307830810547, + "z": "af5ae803.904aa8", + "wires": [ + + ] + }, + { + "id": "984a8326.9a457", + "type": "switchNode", + "name": "switch id", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1109.9999694824219, + "y": 216.59676361083984, + "z": "af5ae803.904aa8", + "wires": [ + [ + "96a74444.b53228" + ] + ] + }, + { + "id": "96a74444.b53228", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1296.9999694824219, + "y": 212.59676361083984, + "z": "af5ae803.904aa8", + "wires": [ + [ + "df6964b4.228f78" + ] + ] + }, + { + "id": "df6964b4.228f78", + "type": "set", + "name": "set id", + "xml": "\n\n", + "comments": "", + "x": 1464.9999694824219, + "y": 213.19676971435547, + "z": "af5ae803.904aa8", + "wires": [ + + ] + }, + { + "id": "ff594d8d.7aa95", + "type": "switchNode", + "name": "switch type", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1118.9999694824219, + "y": 391.5967559814453, + "z": "af5ae803.904aa8", + "wires": [ + [ + "343eddcc.c79502" + ] + ] + }, + { + "id": "343eddcc.c79502", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1305.9999694824219, + "y": 387.5967559814453, + "z": "af5ae803.904aa8", + "wires": [ + [ + "c923d4d2.c53e48" + ] + ] + }, + { + "id": "c923d4d2.c53e48", + "type": "set", + "name": "set type", + "xml": "\n\n", + "comments": "", + "x": 1473.9999694824219, + "y": 388.19676208496094, + "z": "af5ae803.904aa8", + "wires": [ + + ] + }, + { + "id": "20f2971f.ecec88", + "type": "switchNode", + "name": "switch role", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1121.9999694824219, + "y": 434.5967559814453, + "z": "af5ae803.904aa8", + "wires": [ + [ + "4a74022c.fbbfdc" + ] + ] + }, + { + "id": "4a74022c.fbbfdc", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1308.9999694824219, + "y": 430.5967559814453, + "z": "af5ae803.904aa8", + "wires": [ + [ + "ed0bb784.6f5f28" + ] + ] + }, + { + "id": "ed0bb784.6f5f28", + "type": "set", + "name": "set role & sdwan.site", + "xml": "\n\n\n", + "comments": "", + "x": 1516.9999694824219, + "y": 430.19676971435547, + "z": "af5ae803.904aa8", + "wires": [ + + ] + }, + { + "id": "15d3779a.2c8a88", + "type": "switchNode", + "name": "switch service-data.vnfs.vnf_length", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 667.9895935058594, + "y": 108.98958587646484, + "z": "af5ae803.904aa8", + "wires": [ + [ + "ce757eba.3051d", + "317e6180.be733e", + "355929c1.e3c516" + ] + ] + }, + { + "id": "ce757eba.3051d", + "type": "other", + "name": "Null", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1080.9895935058594, + "y": 101.9896469116211, + "z": "af5ae803.904aa8", + "wires": [ + [ + "3a71c6fc.a403ea" + ] + ] + }, + { + "id": "3a71c6fc.a403ea", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1299.7670593261719, + "y": 77.87859344482422, + "z": "af5ae803.904aa8", + "wires": [ + + ] + }, + { + "id": "317e6180.be733e", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 992.9899597167969, + "y": 155.98966217041016, + "z": "af5ae803.904aa8", + "wires": [ + [ + "6231a17a.01c0e" + ] + ] + }, + { + "id": "6231a17a.01c0e", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 1164.2594909667969, + "y": 139.54419708251953, + "z": "af5ae803.904aa8", + "wires": [ + [ + "b34aef0c.acf71", + "8f0f5852.1fb888" + ] + ] + }, + { + "id": "b34aef0c.acf71", + "type": "for", + "name": "for vidx..service-data.vnfs.vnf_length[]", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1462.2754821777344, + "y": 120.41820526123047, + "z": "af5ae803.904aa8", + "wires": [ + [ + "dbdd8064.8b575" + ] + ] + }, + { + "id": "8f0f5852.1fb888", + "type": "switchNode", + "name": "switch tmp.vidx ", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 1383.5768737792969, + "y": 163.4013900756836, + "z": "af5ae803.904aa8", + "wires": [ + [ + "790650c4.ec7c" + ] + ] + }, + { + "id": "790650c4.ec7c", + "type": "outcome", + "name": "NULL", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1584.0054626464844, + "y": 168.9728012084961, + "z": "af5ae803.904aa8", + "wires": [ + [ + "3c6f340.b39b3cc" + ] + ] + }, + { + "id": "dbdd8064.8b575", + "type": "switchNode", + "name": "switch vnfid found", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 1772.7040710449219, + "y": 118.66829681396484, + "z": "af5ae803.904aa8", + "wires": [ + [ + "442b99c7.862238" + ] + ] + }, + { + "id": "3c6f340.b39b3cc", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1755.4339294433594, + "y": 169.11565399169922, + "z": "af5ae803.904aa8", + "wires": [ + + ] + }, + { + "id": "442b99c7.862238", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1978.6563415527344, + "y": 117.56102752685547, + "z": "af5ae803.904aa8", + "wires": [ + [ + "9a4c2f33.323f8" + ] + ] + }, + { + "id": "9a4c2f33.323f8", + "type": "set", + "name": "set tmp.vidx and ctx.vnf-data", + "xml": "\n\n\n", + "comments": "", + "x": 2217.1880798339844, + "y": 113.31102752685547, + "z": "af5ae803.904aa8", + "wires": [ + + ] + }, + { + "id": "355929c1.e3c516", + "type": "outcome", + "name": "0", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1074.9583435058594, + "y": 65.95833587646484, + "z": "af5ae803.904aa8", + "wires": [ + [ + "3a71c6fc.a403ea" + ] + ] + }, + { + "id": "28632f1f.75eb4", + "type": "comment", + "name": "TODO: Check validation", + "info": "", + "comments": "", + "x": 624.9895935058594, + "y": 60.989585876464844, + "z": "af5ae803.904aa8", + "wires": [ + + ] + }, + { + "id": "9540c63d.a06978", + "type": "returnSuccess", + "name": "return success", + "xml": "\n\n\n\n", + "comments": "", + "x": 603.3332824707031, + "y": 757.3333358764648, + "z": "af5ae803.904aa8", + "wires": [ + + ] + }, + { + "id": "78df0c0e.576094", + "type": "set", + "name": "set vnf-level-oper-status to PendingDelete", + "xml": "\n\n\n\n", + "comments": "", + "x": 682.8133850097656, + "y": 585.6704711914062, + "z": "af5ae803.904aa8", + "wires": [ + + ] + }, + { + "id": "99b35972.99c3a8", + "type": "set", + "name": "copy input data to service data", + "xml": "\n\n\n\n\n\n\n", + "comments": "", + "x": 649.6665344238281, + "y": 542.6667098999023, + "z": "af5ae803.904aa8", + "wires": [ + + ] + }, + { + "id": "61eb6b8d.7cad14", + "type": "save", + "name": "update siteInstance configuration in AAI", + "xml": "\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 677, + "y": 665.5556030273438, + "z": "af5ae803.904aa8", + "wires": [ + [ + + ] + ] + }, + { + "id": "4080214.adfeae", + "type": "save", + "name": "save service relationship in AAI", + "xml": "\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 651.0000305175781, + "y": 708.3333358764648, + "z": "af5ae803.904aa8", + "wires": [ + [ + + ] + ] + }, + { + "id": "6f647857.5c6b48", + "type": "set", + "name": "set vnf-index and vnf-object-path", + "xml": "\n\n", + "comments": "", + "x": 656.5000305175781, + "y": 625.3333358764648, + "z": "af5ae803.904aa8", + "wires": [ + + ] + }, + { + "id": "1364166a.1d494a", + "type": "switchNode", + "name": "switch sdwan.site", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 611.9895935058594, + "y": 387.98958587646484, + "z": "af5ae803.904aa8", + "wires": [ + [ + "2e02ce5b.120d72", + "c3598024.ef229" + ] + ] + }, + { + "id": "4302e938.be3ef8", + "type": "set", + "name": "set sdwan.site", + "xml": "\n\n", + "comments": "", + "x": 602.9895935058594, + "y": 256.98958587646484, + "z": "af5ae803.904aa8", + "wires": [ + + ] + }, + { + "id": "c3598024.ef229", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 747.9895935058594, + "y": 480.98958587646484, + "z": "af5ae803.904aa8", + "wires": [ + [ + "38d8d2a8.f58c0e" + ] + ] + }, + { + "id": "2e02ce5b.120d72", + "type": "outcomeTrue", + "name": "false", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 791.8783874511719, + "y": 400.9896469116211, + "z": "af5ae803.904aa8", + "wires": [ + [ + "ad672f8e.2adcd" + ] + ] + }, + { + "id": "ad672f8e.2adcd", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 930.9895935058594, + "y": 400.98958587646484, + "z": "af5ae803.904aa8", + "wires": [ + [ + + ] + ] + }, + { + "id": "38d8d2a8.f58c0e", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 909.9895935058594, + "y": 479.98958587646484, + "z": "af5ae803.904aa8", + "wires": [ + [ + + ] + ] + }, + { + "id": "d9bbd64d.c1dfa8", + "type": "comment", + "name": "TODO: SDWAN implementation for site", + "info": "", + "comments": "", + "x": 1067.9895935058594, + "y": 521.9895858764648, + "z": "af5ae803.904aa8", + "wires": [ + + ] + }, + { + "id": "dfb2bb0b.f25f38", + "type": "comment", + "name": "TODO: AAI", + "info": "", + "comments": "", + "x": 902, + "y": 671, + "z": "af5ae803.904aa8", + "wires": [ + + ] + } +] -- cgit 1.2.3-korg