From 2c4d878572be86786419130d35da41e58593be8c Mon Sep 17 00:00:00 2001 From: Hesam Rahimi Date: Wed, 29 Sep 2021 17:20:32 -0400 Subject: Support individual CLL deletion, and UNI removal from Ethernet Service, and adjusting the bandwidth of OTN tunnels and UNIs accordingly. Issue-ID: SDNC-1594 Signed-off-by: Hesam Rahimi Change-Id: I0d5e30a948cf0a9fe10dc9ce0c4c5f5584797469 Former-commit-id: 68c418849f4636b0e960a80fa3604519723167cf --- ...ll-vnf-topology-operation-cll-delete-VPNBs.json | 966 +++++++++++++++++++++ 1 file changed, 966 insertions(+) create mode 100644 platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-delete-VPNBs.json (limited to 'platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-delete-VPNBs.json') diff --git a/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-delete-VPNBs.json b/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-delete-VPNBs.json new file mode 100644 index 00000000..de9383d3 --- /dev/null +++ b/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-delete-VPNBs.json @@ -0,0 +1,966 @@ +[ + { + "id": "a88af18.67fae9", + "type": "switchNode", + "name": "switch related-to", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2806.316619873047, + "y": 668.88330078125, + "z": "347519d8.005516", + "wires": [ + [ + "d17bb726.fa65e8" + ] + ] + }, + { + "id": "d17bb726.fa65e8", + "type": "outcome", + "name": "esr-thirdparty-sdnc", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2943.316619873047, + "y": 756.88330078125, + "z": "347519d8.005516", + "wires": [ + [ + "141e9731.53d429" + ] + ] + }, + { + "id": "5a075e5f.de06b8", + "type": "execute", + "name": "get esr-thirdparty-sdnc", + "xml": "", + "comments": "", + "outputs": 1, + "x": 3328.316619873047, + "y": 769.88330078125, + "z": "347519d8.005516", + "wires": [ + [ + "bfab05fb.6c1fd", + "66b97fa3.09fba8", + "a61f3fb8.28c2b" + ] + ] + }, + { + "id": "141e9731.53d429", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 3122.316619873047, + "y": 756.88330078125, + "z": "347519d8.005516", + "wires": [ + [ + "6ba56bd3.970cc4", + "5a075e5f.de06b8", + "f743ac29.02b56" + ] + ] + }, + { + "id": "6ba56bd3.970cc4", + "type": "set", + "name": "set esr-thirdparty-sdnc domain id", + "xml": "\n\n", + "comments": "", + "x": 3358.316619873047, + "y": 717.88330078125, + "z": "347519d8.005516", + "wires": [] + }, + { + "id": "bfab05fb.6c1fd", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 3538.316619873047, + "y": 760.88330078125, + "z": "347519d8.005516", + "wires": [ + [ + "9395b4f9.f11e08" + ] + ] + }, + { + "id": "66b97fa3.09fba8", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 3530.316619873047, + "y": 815.88330078125, + "z": "347519d8.005516", + "wires": [ + [ + "6a113c41.2b7f84" + ] + ] + }, + { + "id": "a61f3fb8.28c2b", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 3535.316619873047, + "y": 872.88330078125, + "z": "347519d8.005516", + "wires": [ + [ + "ae24d388.debf2" + ] + ] + }, + { + "id": "ae24d388.debf2", + "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\n\n\n\n\n\n\n", + "comments": "", + "x": 3897.316619873047, + "y": 754.88330078125, + "z": "347519d8.005516", + "wires": [] + }, + { + "id": "f743ac29.02b56", + "type": "break", + "name": "break", + "xml": "\n", + "comments": "", + "x": 3278.316619873047, + "y": 833.88330078125, + "z": "347519d8.005516", + "wires": [] + }, + { + "id": "98d7bf6.4dfe7c", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 2698.816619873047, + "y": 955.88330078125, + "z": "347519d8.005516", + "wires": [] + }, + { + "id": "61820fcc.882e", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 2694.316619873047, + "y": 1020.88330078125, + "z": "347519d8.005516", + "wires": [ + [] + ] + }, + { + "id": "5b3a4445.ce6224", + "type": "for", + "name": "for each relationship", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2604.3164978027344, + "y": 741.88330078125, + "z": "347519d8.005516", + "wires": [ + [ + "a88af18.67fae9" + ] + ] + }, + { + "id": "132ce225.b79cae", + "type": "set", + "name": "set pnf-name", + "xml": "\n\n", + "comments": "", + "x": 2052.316375732422, + "y": 721.88330078125, + "z": "347519d8.005516", + "wires": [] + }, + { + "id": "5cdb5a7a.54733c", + "type": "get-resource", + "name": "get-resource src pnf", + "xml": "\n\n \n", + "comments": "", + "outputs": 1, + "x": 2080.3164978027344, + "y": 791.88330078125, + "z": "347519d8.005516", + "wires": [ + [ + "6c0f168f.8aad68", + "cd12f0b4.568798", + "80b1b093.b4332" + ] + ] + }, + { + "id": "6c0f168f.8aad68", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2275.816619873047, + "y": 743.88330078125, + "z": "347519d8.005516", + "wires": [ + [ + "99130a65.69efe8" + ] + ] + }, + { + "id": "cd12f0b4.568798", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2267.816619873047, + "y": 798.88330078125, + "z": "347519d8.005516", + "wires": [ + [ + "80ce6dda.3e5e5" + ] + ] + }, + { + "id": "99130a65.69efe8", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 2420.198944091797, + "y": 743.5389709472656, + "z": "347519d8.005516", + "wires": [ + [ + "5b3a4445.ce6224" + ] + ] + }, + { + "id": "80b1b093.b4332", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2272.816619873047, + "y": 855.88330078125, + "z": "347519d8.005516", + "wires": [ + [ + "b4d035fe.9cf0b" + ] + ] + }, + { + "id": "b4d035fe.9cf0b", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n\t\n\t\n \n\n", + "comments": "", + "outputs": 1, + "x": 2190.316619873047, + "y": 985.88330078125, + "z": "347519d8.005516", + "wires": [ + [ + "38dfa115.008496", + "f31653a0.9143e8" + ] + ] + }, + { + "id": "38dfa115.008496", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2522.816619873047, + "y": 955.88330078125, + "z": "347519d8.005516", + "wires": [ + [ + "98d7bf6.4dfe7c" + ] + ] + }, + { + "id": "f31653a0.9143e8", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2527.816619873047, + "y": 1020.88330078125, + "z": "347519d8.005516", + "wires": [ + [ + "61820fcc.882e" + ] + ] + }, + { + "id": "30af1423.cd4b6c", + "type": "save", + "name": "delete vpn-binding resource in AAI", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2113.316619873047, + "y": 1116.88330078125, + "z": "347519d8.005516", + "wires": [ + [] + ] + }, + { + "id": "d0b44cbe.a16a5", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 1822.3166198730469, + "y": 941.88330078125, + "z": "347519d8.005516", + "wires": [ + [ + "132ce225.b79cae", + "5cdb5a7a.54733c", + "cbce5afd.0d149", + "30af1423.cd4b6c", + "b097652b.150d7", + "e258ce61.c84d28" + ] + ] + }, + { + "id": "b097652b.150d7", + "type": "set", + "name": "unset tmp.aai.vpn-binding", + "xml": "\n\n", + "comments": "", + "x": 2101.5164489746094, + "y": 624.88330078125, + "z": "347519d8.005516", + "wires": [] + }, + { + "id": "e258ce61.c84d28", + "type": "set", + "name": "set tmp.aai.vpn-binding", + "xml": "\n\n", + "comments": "", + "x": 2093.5164489746094, + "y": 673.88330078125, + "z": "347519d8.005516", + "wires": [] + }, + { + "id": "3c24f82.dfab088", + "type": "comment", + "name": "find all OTNs that have srcTtpOtnLayer and increase their bandwidth", + "info": "", + "comments": "", + "x": 1023.5003967285156, + "y": 746.39990234375, + "z": "347519d8.005516", + "wires": [] + }, + { + "id": "570ad10f.ad92f8", + "type": "save", + "name": "get all-vpn-bindings from aai", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 921.5003967285156, + "y": 781.39990234375, + "z": "347519d8.005516", + "wires": [ + [ + "f405b75.e7a9fc8", + "4e9de096.f468b", + "9757d76.73f10a8" + ] + ] + }, + { + "id": "f405b75.e7a9fc8", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1126.5003967285156, + "y": 778.39990234375, + "z": "347519d8.005516", + "wires": [ + [ + "5de56166.922018" + ] + ] + }, + { + "id": "4e9de096.f468b", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1109.9913635253906, + "y": 839.9739379882812, + "z": "347519d8.005516", + "wires": [ + [ + "a1062ebe.b15808" + ] + ] + }, + { + "id": "9757d76.73f10a8", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1107.5003967285156, + "y": 883.39990234375, + "z": "347519d8.005516", + "wires": [ + [ + "10e74f8b.3fb4a8" + ] + ] + }, + { + "id": "5de56166.922018", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 1294.5006408691406, + "y": 773.39990234375, + "z": "347519d8.005516", + "wires": [ + [ + "fdc657b.398c8a8" + ] + ] + }, + { + "id": "a1062ebe.b15808", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n\n\n", + "comments": "", + "x": 1274.5003967285156, + "y": 882.39990234375, + "z": "347519d8.005516", + "wires": [] + }, + { + "id": "fdc657b.398c8a8", + "type": "for", + "name": "for vpnidx in all-vpn-bindings", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 920.5007019042969, + "y": 1018.39990234375, + "z": "347519d8.005516", + "wires": [ + [ + "5a8644f1.6f626c" + ] + ] + }, + { + "id": "5a8644f1.6f626c", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1150.5004577636719, + "y": 1006.39990234375, + "z": "347519d8.005516", + "wires": [ + [ + "71241a5.135ba64" + ] + ] + }, + { + "id": "71241a5.135ba64", + "type": "switchNode", + "name": "switch ops-note is srcTtpOtnLayer", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 1386.3168640136719, + "y": 1005.56640625, + "z": "347519d8.005516", + "wires": [ + [ + "4253fbea.3b4874", + "6cef3566.dab14c" + ] + ] + }, + { + "id": "4253fbea.3b4874", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1616.3168640136719, + "y": 1000.56591796875, + "z": "347519d8.005516", + "wires": [ + [ + "d0b44cbe.a16a5" + ] + ] + }, + { + "id": "6cef3566.dab14c", + "type": "outcomeFalse", + "name": "false", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1627.3168640136719, + "y": 1043.56591796875, + "z": "347519d8.005516", + "wires": [ + [] + ] + }, + { + "id": "3070392b.33f8c6", + "type": "set", + "name": "set srcTtp OTN layer", + "xml": "\n\n\n\n\n\n\n\n", + "comments": "", + "x": 1170.9999694824219, + "y": 593.283203125, + "z": "347519d8.005516", + "wires": [] + }, + { + "id": "45e829a.7cbd958", + "type": "set", + "name": "unset tmp.aai.all-vpn-bindings", + "xml": "\n\n", + "comments": "", + "x": 900.2001037597656, + "y": 707.39990234375, + "z": "347519d8.005516", + "wires": [] + }, + { + "id": "304ed1d7.4f9efe", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 663.9999694824219, + "y": 737.2333984375, + "z": "347519d8.005516", + "wires": [ + [ + "45e829a.7cbd958", + "570ad10f.ad92f8" + ] + ] + }, + { + "id": "7df4e9d5.2bc648", + "type": "switchNode", + "name": "switch provider-id domainA", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1515.9999694824219, + "y": 455.283203125, + "z": "347519d8.005516", + "wires": [ + [ + "a43c232c.85575" + ] + ] + }, + { + "id": "561ea33d.a2ffb4", + "type": "for", + "name": "for netwidx..allNetworksList_length", + "xml": "", + "comments": "", + "outputs": 1, + "x": 1222.9999694824219, + "y": 449.283203125, + "z": "347519d8.005516", + "wires": [ + [ + "7df4e9d5.2bc648" + ] + ] + }, + { + "id": "2e515252.bebdb6", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1477.9999694824219, + "y": 406.283203125, + "z": "347519d8.005516", + "wires": [ + [] + ] + }, + { + "id": "36a9a792.12dcb8", + "type": "set", + "name": "unset parameters", + "xml": "\n\n", + "comments": "", + "x": 1166.9999694824219, + "y": 501.283203125, + "z": "347519d8.005516", + "wires": [] + }, + { + "id": "2a69687a.5611c", + "type": "set", + "name": "set tmp.pce-src-node", + "xml": "\n\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "x": 1174.9999694824219, + "y": 546.283203125, + "z": "347519d8.005516", + "wires": [] + }, + { + "id": "f3c1922.734777", + "type": "set", + "name": "unset otnTopoIdSrc", + "xml": "\n\n", + "comments": "", + "x": 1171.9999694824219, + "y": 399.283203125, + "z": "347519d8.005516", + "wires": [] + }, + { + "id": "a43c232c.85575", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1424.9999694824219, + "y": 523.283203125, + "z": "347519d8.005516", + "wires": [ + [ + "f8e0e906.2dd5c" + ] + ] + }, + { + "id": "f8e0e906.2dd5c", + "type": "switchNode", + "name": "switch te-topo-id", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1609.9999694824219, + "y": 522.283203125, + "z": "347519d8.005516", + "wires": [ + [ + "8c6726fe.7433a8" + ] + ] + }, + { + "id": "cc1b4364.1c9f18", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 866.9999694824219, + "y": 421.283203125, + "z": "347519d8.005516", + "wires": [ + [ + "7c0eef33.a4cac8", + "ba37203f.b37c18", + "36a9a792.12dcb8", + "2a69687a.5611c", + "3070392b.33f8c6", + "561ea33d.a2ffb4", + "304ed1d7.4f9efe" + ] + ] + }, + { + "id": "59a1e33e.932044", + "type": "comment", + "name": "The following section is to find srcTtp OTN layer (its long name)", + "info": "The following section is to find srcTtp OTN layer (its long name)", + "comments": "", + "x": 851.9999694824219, + "y": 355.283203125, + "z": "347519d8.005516", + "wires": [] + }, + { + "id": "ba37203f.b37c18", + "type": "get-resource", + "name": "get-resource network-resources-list", + "xml": "", + "comments": "", + "outputs": 1, + "x": 1230.9999694824219, + "y": 342.283203125, + "z": "347519d8.005516", + "wires": [ + [ + "c06f47ba.39269", + "e8314c16.79663", + "2e515252.bebdb6" + ] + ] + }, + { + "id": "c06f47ba.39269", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1466.9999694824219, + "y": 325.283203125, + "z": "347519d8.005516", + "wires": [ + [] + ] + }, + { + "id": "e8314c16.79663", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1463.9999694824219, + "y": 366.283203125, + "z": "347519d8.005516", + "wires": [ + [] + ] + }, + { + "id": "7c0eef33.a4cac8", + "type": "set", + "name": "unset parameters", + "xml": "\n\n", + "comments": "", + "x": 1179.9999694824219, + "y": 299.283203125, + "z": "347519d8.005516", + "wires": [] + }, + { + "id": "8c6726fe.7433a8", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1801.9999694824219, + "y": 525.283203125, + "z": "347519d8.005516", + "wires": [ + [ + "99c0dc88.ef82e8" + ] + ] + }, + { + "id": "99c0dc88.ef82e8", + "type": "set", + "name": "set otnTopoIdSrc", + "xml": "\n\n", + "comments": "", + "x": 1973.9999694824219, + "y": 521.283203125, + "z": "347519d8.005516", + "wires": [] + }, + { + "id": "d2cbaaf0.8cf72", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 154.88333129882812, + "y": 89.88333129882812, + "z": "347519d8.005516", + "wires": [ + [ + "a811003b.ca91f8" + ] + ] + }, + { + "id": "a811003b.ca91f8", + "type": "service-logic", + "name": "GENERIC-RESOURCE-API ${project.version}", + "module": "GENERIC-RESOURCE-API", + "version": "${project.version}", + "comments": "", + "xml": "", + "outputs": 1, + "x": 439.1690216064453, + "y": 151.12143993377686, + "z": "347519d8.005516", + "wires": [ + [ + "5803201b.e752d" + ] + ] + }, + { + "id": "5803201b.e752d", + "type": "method", + "name": "method cll-vnf-topology-operation-cll-delete-VPNBs", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 445.3119354248047, + "y": 235.88336181640625, + "z": "347519d8.005516", + "wires": [ + [ + "cc1b4364.1c9f18" + ] + ] + } +] \ No newline at end of file -- cgit 1.2.3-korg