From 71eb3ab680b9d51cfd6fb324d49bcd09c6ff7464 Mon Sep 17 00:00:00 2001 From: Hesam Rahimi Date: Tue, 27 Apr 2021 16:33:33 +0000 Subject: [PATCH] Bug fixing required for H release. 1) fixing and issue in the modify operation 2) fixing automatic loading of the delete/deallocate DG 3) fixing ESR registration issue Issue-ID: SDNC-1528 Signed-off-by: Hesam Rahimi Change-Id: I2c95d00c400559d8aae57b106bcde3886ed096a6 Former-commit-id: 79ad1bea4f5f5dc831e3d4159b21a3028ef775b3 --- .../DataChange_esr-thirdparty-sdnc-discovery.json | 4 +- .../DataChange_esr-thirdparty-sdnc-discovery.xml | 2 +- ...-vnf-topology-operation-trans-slice-modify.json | 126 +++++++++++++++------ .../src/main/resources/graph.versions | 2 +- ...i-vnf-topology-operation-trans-slice-modify.xml | 29 +++-- 5 files changed, 112 insertions(+), 51 deletions(-) diff --git a/platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc-discovery.json b/platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc-discovery.json index 862817a3..7b0ea050 100644 --- a/platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc-discovery.json +++ b/platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc-discovery.json @@ -412,8 +412,8 @@ { "id": "6f99e35d.de977c", "type": "other", - "name": "SOTN", - "xml": "\n", + "name": "WAN", + "xml": "\n", "comments": "", "outputs": 1, "x": 1082, diff --git a/platform-logic/datachange/src/main/xml/DataChange_esr-thirdparty-sdnc-discovery.xml b/platform-logic/datachange/src/main/xml/DataChange_esr-thirdparty-sdnc-discovery.xml index 05c011b2..b49057ed 100644 --- a/platform-logic/datachange/src/main/xml/DataChange_esr-thirdparty-sdnc-discovery.xml +++ b/platform-logic/datachange/src/main/xml/DataChange_esr-thirdparty-sdnc-discovery.xml @@ -9,7 +9,7 @@ - + diff --git a/platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-modify.json b/platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-modify.json index f55ef066..0d4161a1 100644 --- a/platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-modify.json +++ b/platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-modify.json @@ -230,15 +230,17 @@ "atomic": "false", "comments": "", "outputs": 1, - "x": 1715, - "y": 201, + "x": 1675, + "y": 295, "z": "a1c94a24.22ed9", "wires": [ [ "8f80cd4e.6bb588", "1ad0a363.7d61cd", "2ea54daa.f8c89a", - "19fc5975.9c891f" + "19fc5975.9c891f", + "30222136.8f9b9e", + "d51e1ac2.752b08" ] ] }, @@ -461,7 +463,8 @@ "4e189d8f.8297c4", "c6ccb3e9.91ea18", "6963f6fb.4a135", - "40ae5836.eda238" + "40ae5836.eda238", + "31cde3.5ded021e" ] ] }, @@ -655,9 +658,9 @@ [ "3d7f3635.a666da", "5948d066.6a7168", - "363286ce.e60c2a", "92d55b48.2c361", - "60b689f0.bdfe6" + "60b689f0.bdfe6", + "363286ce.e60c2a" ] ] }, @@ -965,20 +968,6 @@ "z": "a1c94a24.22ed9", "wires": [] }, - { - "id": "363286ce.e60c2a", - "type": "save", - "name": "save connectivity resource in AAI", - "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", - "comments": "", - "outputs": 1, - "x": 5538, - "y": 1096, - "z": "a1c94a24.22ed9", - "wires": [ - [] - ] - }, { "id": "5948d066.6a7168", "type": "execute", @@ -1160,8 +1149,8 @@ "xml": "\n\n", "comments": "", "outputs": 1, - "x": 4456, - "y": 2256, + "x": 4457, + "y": 2197, "z": "a1c94a24.22ed9", "wires": [ [] @@ -1173,8 +1162,8 @@ "name": "set attachment_param", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", - "x": 4250, - "y": 2157, + "x": 4251, + "y": 2098, "z": "a1c94a24.22ed9", "wires": [] }, @@ -1184,8 +1173,8 @@ "name": "TODO: FIXME", "info": "put proper values for src topology-id, node-id, ltp-id, etc (in domain A)\nand dst topology-id, node-id, ltp-id, etc (in domain B)", "comments": "", - "x": 4224, - "y": 2110, + "x": 4225, + "y": 2051, "z": "a1c94a24.22ed9", "wires": [] }, @@ -2941,8 +2930,8 @@ "xml": "\n", "comments": "", "outputs": 1, - "x": 1914, - "y": 201, + "x": 1933, + "y": 248, "z": "a1c94a24.22ed9", "wires": [ [ @@ -2968,8 +2957,8 @@ "name": "set query_param", "xml": "\n\n\n", "comments": "", - "x": 4239, - "y": 2209, + "x": 4240, + "y": 2150, "z": "a1c94a24.22ed9", "wires": [] }, @@ -3069,9 +3058,7 @@ "y": 2896.25390625, "z": "a1c94a24.22ed9", "wires": [ - [ - "20917868.85ed" - ] + [] ] }, { @@ -3729,10 +3716,10 @@ "id": "1ad0a363.7d61cd", "type": "set", "name": "set tmp.arr", - "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", + "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", - "x": 1896, - "y": 147, + "x": 1892, + "y": 198, "z": "a1c94a24.22ed9", "wires": [] }, @@ -5574,5 +5561,72 @@ "wires": [ [] ] + }, + { + "id": "54aaf2e0.b64b14", + "type": "comment", + "name": "The following two nodes are for PCE", + "info": "", + "comments": "", + "x": 1967, + "y": 53, + "z": "a1c94a24.22ed9", + "wires": [] + }, + { + "id": "d51e1ac2.752b08", + "type": "get-resource", + "name": "get-resource pnfs-list", + "xml": "", + "comments": "", + "outputs": 1, + "x": 1927, + "y": 97, + "z": "a1c94a24.22ed9", + "wires": [ + [] + ] + }, + { + "id": "30222136.8f9b9e", + "type": "get-resource", + "name": "get-resource logical-links", + "xml": "", + "comments": "", + "outputs": 1, + "x": 1940, + "y": 142, + "z": "a1c94a24.22ed9", + "wires": [ + [] + ] + }, + { + "id": "31cde3.5ded021e", + "type": "execute", + "name": "execute printContext", + "xml": "\n \n", + "comments": "", + "outputs": 1, + "x": 4247, + "y": 2259, + "z": "a1c94a24.22ed9", + "wires": [ + [] + ] + }, + { + "id": "363286ce.e60c2a", + "type": "save", + "name": "save connectivity resource in AAI", + "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 5538, + "y": 1096, + "z": "a1c94a24.22ed9", + "wires": [ + [] + ] } ] \ No newline at end of file diff --git a/platform-logic/generic-resource-api/src/main/resources/graph.versions b/platform-logic/generic-resource-api/src/main/resources/graph.versions index 51f2e1c2..64cfedce 100755 --- a/platform-logic/generic-resource-api/src/main/resources/graph.versions +++ b/platform-logic/generic-resource-api/src/main/resources/graph.versions @@ -284,7 +284,7 @@ GENERIC-RESOURCE-API sotn-get-vf-module-uni-param ${project.version} sync GENERIC-RESOURCE-API tsli-vnf-topology-operation-trans-slice-allocate ${project.version} sync GENERIC-RESOURCE-API tsli-vnf-topology-operation-trans-slice-activate ${project.version} sync GENERIC-RESOURCE-API tsli-vnf-topology-operation-trans-slice-deactivate ${project.version} sync -GENERIC-RESOURCE-API tsli-vnf-topology-operation-trans-slice-deallocate ${project.version} sync +GENERIC-RESOURCE-API tsli-vnf-topology-operation-trans-slice-delete ${project.version} sync GENERIC-RESOURCE-API tsli-vnf-topology-operation-trans-slice-modify ${project.version} sync GENERIC-RESOURCE-API tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof ${project.version} sync diff --git a/platform-logic/generic-resource-api/src/main/xml/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-modify.xml b/platform-logic/generic-resource-api/src/main/xml/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-modify.xml index 1205c97a..6d57a785 100644 --- a/platform-logic/generic-resource-api/src/main/xml/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-modify.xml +++ b/platform-logic/generic-resource-api/src/main/xml/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-modify.xml @@ -33,16 +33,26 @@ + + - - - - + + + + @@ -835,6 +845,9 @@ + + + @@ -992,13 +1005,7 @@ - - - - - - - + -- 2.16.6