From a570279284c69c109fbef69b4fee1a9fd30efe7a Mon Sep 17 00:00:00 2001 From: Hesam Rahimi Date: Wed, 13 May 2020 23:26:53 +0000 Subject: Using RestApiCallNode instead of RestconfApiCallNode and updating templates accordingly. - This is also required for F release. Issue-ID: SDNC-1184 Signed-off-by: Hesam Rahimi Change-Id: I527253d75dd1e49e87877b17588c1d4c2c3dbed1 (cherry picked from commit 45668145649102a2b1b2378e682c8e23f756a8b8 [formerly ca9f45cb92f35a6f0235f0a84e8d7b2f50e0e0de]) Former-commit-id: a8786d6a8732bb691c5a08583af4d8b960b764d0 --- ...URCE-API_sotn-get-otn-tunnel-path-from-oof.json | 64 +++- ...ESOURCE-API_sotn-vf-operation-uni-activate.json | 22 +- ...OURCE-API_sotn-get-otn-tunnel-path-from-oof.xml | 2 +- ...RESOURCE-API_sotn-vf-operation-uni-activate.xml | 426 ++++++++++++--------- 4 files changed, 301 insertions(+), 213 deletions(-) (limited to 'platform-logic/generic-resource-api') diff --git a/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-get-otn-tunnel-path-from-oof.json b/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-get-otn-tunnel-path-from-oof.json index c785b72d..044737f5 100644 --- a/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-get-otn-tunnel-path-from-oof.json +++ b/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-get-otn-tunnel-path-from-oof.json @@ -371,9 +371,9 @@ "wires": [ [ "dd179bba.27e578", - "a736e107.ab857", "51dd454b.e64094", - "e9ba305b.3f7b08" + "e9ba305b.3f7b08", + "a736e107.ab857" ] ] }, @@ -388,24 +388,6 @@ "z": "5b68e0d.bd97b2", "wires": [] }, - { - "id": "a736e107.ab857", - "type": "get-resource", - "name": "get-resource src tp", - "xml": "\n \n \n\n\n", - "comments": "", - "outputs": 1, - "x": 2359.5001220703125, - "y": 529, - "z": "5b68e0d.bd97b2", - "wires": [ - [ - "30082dde.5085da", - "a603f43.0659d88", - "ed057305.d13bc" - ] - ] - }, { "id": "30082dde.5085da", "type": "success", @@ -815,7 +797,7 @@ "id": "51dd454b.e64094", "type": "get-resource", "name": "get-resource dst tp", - "xml": "\n \n \n\n\n", + "xml": "\n \n \n\n\n", "comments": "", "outputs": 1, "x": 2313.5001220703125, @@ -2038,5 +2020,45 @@ "66a31e69.f659b8" ] ] + }, + { + "id": "a736e107.ab857", + "type": "get-resource", + "name": "get-resource src tp", + "xml": "\n \n \n\n\n", + "comments": "", + "outputs": 1, + "x": 2359.5001220703125, + "y": 529, + "z": "5b68e0d.bd97b2", + "wires": [ + [ + "30082dde.5085da", + "a603f43.0659d88", + "ed057305.d13bc" + ] + ] + }, + { + "id": "85e1ebfe.ba8e78", + "type": "comment", + "name": "among all ttps, find the one that has relationship to p-interface (TODO: check node/pnf is the same between this p-interface's pnf and the ttp's pnf)", + "info": "", + "comments": "", + "x": 5703, + "y": 377, + "z": "5b68e0d.bd97b2", + "wires": [] + }, + { + "id": "1ff536a0.bad579", + "type": "comment", + "name": "among all ttps, find the one that has relationship to p-interface (TODO: check node/pnf is the same between this p-interface's pnf and the ttp's pnf)", + "info": "", + "comments": "", + "x": 5697, + "y": 749, + "z": "5b68e0d.bd97b2", + "wires": [] } ] \ No newline at end of file diff --git a/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-vf-operation-uni-activate.json b/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-vf-operation-uni-activate.json index 6005d810..48817a42 100644 --- a/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-vf-operation-uni-activate.json +++ b/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-vf-operation-uni-activate.json @@ -84,8 +84,7 @@ "5733466d.dcbb88", "6d51d616.88647", "aab160b4.f76088", - "48dc3a93.b23a44", - "672fc75a.1e91b" + "48dc3a93.b23a44" ] ] }, @@ -588,7 +587,7 @@ "id": "e85654b4.901fd", "type": "execute", "name": "execute split tp-id to get pnf-name", - "xml": "\n\n\n\n\n\n\n\n", + "xml": "\n\n\n\n\n", "comments": "", "outputs": 1, "x": 2596, @@ -636,8 +635,8 @@ { "id": "9111f685.17b2e8", "type": "set", - "name": "set ipAddress prefixLength", - "xml": "\n\n", + "name": "set ltpId", + "xml": "\n\n", "comments": "", "x": 3041, "y": 673, @@ -1137,7 +1136,10 @@ "f7756434.d014e", "a9643f3f.4f04b", "ae925256.a68df", - "ee991e0.ab6b36" + "ee991e0.ab6b36", + "3ce3b19a.7c10c6", + "d661efba.3fa238", + "c6d53bc.53f5bc8" ] ] }, @@ -1194,8 +1196,8 @@ { "id": "678c3911.078e2", "type": "execute", - "name": "execute RestconfApiCallNode Create ethernet Service with token", - "xml": "\n\n\n\n\n\n\n\n\n\n\n\n", + "name": "execute RestApiCallNode Create ethernet Service with token", + "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 1660.52734375, @@ -1301,8 +1303,8 @@ { "id": "42cb8b06.e7daec", "type": "execute", - "name": "execute RestconfApiCallNode Create ethernet Service without token", - "xml": "\n\n\n\n\n\n\n\n\n\n\n", + "name": "execute RestApiCallNode Create ethernet Service without token", + "xml": "\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 1670.52734375, diff --git a/platform-logic/generic-resource-api/src/main/xml/sotn_nni/GENERIC-RESOURCE-API_sotn-get-otn-tunnel-path-from-oof.xml b/platform-logic/generic-resource-api/src/main/xml/sotn_nni/GENERIC-RESOURCE-API_sotn-get-otn-tunnel-path-from-oof.xml index 3ea459a5..8bf518e2 100644 --- a/platform-logic/generic-resource-api/src/main/xml/sotn_nni/GENERIC-RESOURCE-API_sotn-get-otn-tunnel-path-from-oof.xml +++ b/platform-logic/generic-resource-api/src/main/xml/sotn_nni/GENERIC-RESOURCE-API_sotn-get-otn-tunnel-path-from-oof.xml @@ -154,7 +154,7 @@ - + diff --git a/platform-logic/generic-resource-api/src/main/xml/sotn_nni/GENERIC-RESOURCE-API_sotn-vf-operation-uni-activate.xml b/platform-logic/generic-resource-api/src/main/xml/sotn_nni/GENERIC-RESOURCE-API_sotn-vf-operation-uni-activate.xml index 7a4eedf3..d8e111c0 100644 --- a/platform-logic/generic-resource-api/src/main/xml/sotn_nni/GENERIC-RESOURCE-API_sotn-vf-operation-uni-activate.xml +++ b/platform-logic/generic-resource-api/src/main/xml/sotn_nni/GENERIC-RESOURCE-API_sotn-vf-operation-uni-activate.xml @@ -1,65 +1,63 @@ - - + + - - - - - - + + + + + + - + - + - + - + - - - + + + - - - - - - + + + + + + - - - - - + + + + + - + - + - + - + - - + + - + @@ -68,89 +66,78 @@ - + - + - - - + + + - - + + - - + + - - - - - - - - - + + + + + - - + - - - - + + + + - - + + - + - - + + - + - - - + + + - + - + - + - - + + - - - - - + + + + + @@ -168,131 +155,208 @@ - - - - - - + + + + + + - - - - - - - - - - - - - - - - - - - - - - - + + - + - - + + - - - + + + - + - - - - - + + + + + - - - - - + + + + + - - + + - - - - - - - + + + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - + + + + -- cgit 1.2.3-korg