aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates/src/main
diff options
context:
space:
mode:
authorHesam Rahimi <hesam.rahimi@huawei.com>2020-11-11 16:01:57 +0000
committerDan Timoney <dtimoney@att.com>2020-11-12 19:06:44 +0000
commit35572a0a61086a736c3b155d6af80d9e3b61c9ed (patch)
tree80c61c1c0b6bf59190a880dcf7b9485c2b6f4c7e /platform-logic/restapi-templates/src/main
parentfd768b2169685b52a710a8d38f13b49fbcaf773d (diff)
- Changing POST operation to PATCH for OTN Tunnel creation.
- Adding Transport Slicing DGs into graph.versions - Fixing template files for OTN tunnel creation Issue-ID: SDNC-1413 Change-Id: I3ddabd4c0d361a4e0d5e98caf86e9bb361b41b63 Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com> (cherry picked from commit 1d98b77f5794ce6f2ec457ae5cc73a5d4601491a [formerly 97afd8c7495cf23e8819cb666be9ccbe4f968f68]) Former-commit-id: ee97c448a56c2a0ee4eebbfecb10b92d3755fb76
Diffstat (limited to 'platform-logic/restapi-templates/src/main')
-rw-r--r--platform-logic/restapi-templates/src/main/json/ts-coloring-uni-port.json6
-rw-r--r--platform-logic/restapi-templates/src/main/json/ts-otn-tunnel-dst-domain.json3
-rw-r--r--platform-logic/restapi-templates/src/main/json/ts-otn-tunnel-src-domain.json3
3 files changed, 9 insertions, 3 deletions
diff --git a/platform-logic/restapi-templates/src/main/json/ts-coloring-uni-port.json b/platform-logic/restapi-templates/src/main/json/ts-coloring-uni-port.json
index a29586a2..f4b978b2 100644
--- a/platform-logic/restapi-templates/src/main/json/ts-coloring-uni-port.json
+++ b/platform-logic/restapi-templates/src/main/json/ts-coloring-uni-port.json
@@ -1,3 +1,7 @@
{
- "ietf-optical-slice:tp-slice-id": ${slice-instance-id}
+ "ietf-te-topology:te": {
+ "ietf-optical-slice:slice-id-list": [
+ ${slice-instance-id}
+ ]
+ }
}
diff --git a/platform-logic/restapi-templates/src/main/json/ts-otn-tunnel-dst-domain.json b/platform-logic/restapi-templates/src/main/json/ts-otn-tunnel-dst-domain.json
index 0a4f7142..40b1888e 100644
--- a/platform-logic/restapi-templates/src/main/json/ts-otn-tunnel-dst-domain.json
+++ b/platform-logic/restapi-templates/src/main/json/ts-otn-tunnel-dst-domain.json
@@ -8,7 +8,8 @@
"ietf-otn-tunnel:src-tpn": ${src-tpn-id},
"src-ttp-id": ${src-ttp-id},
"te-bandwidth": {
- "ietf-otn-tunnel:odu-type": "ietf-otn-types:prot-ODU2"
+ "ietf-otn-tunnel:odu-type": "ietf-otn-types:prot-ODUFlex-gfp",
+ "ietf-otn-tunnel:gfp-n": ${gfp-n}
},
"ietf-otn-tunnel:dst-tributary-slot-count": 1,
"ietf-optical-slice:slice-id": ${slice-instance-id},
diff --git a/platform-logic/restapi-templates/src/main/json/ts-otn-tunnel-src-domain.json b/platform-logic/restapi-templates/src/main/json/ts-otn-tunnel-src-domain.json
index 425caab6..cbfde9f4 100644
--- a/platform-logic/restapi-templates/src/main/json/ts-otn-tunnel-src-domain.json
+++ b/platform-logic/restapi-templates/src/main/json/ts-otn-tunnel-src-domain.json
@@ -8,7 +8,8 @@
"ietf-otn-tunnel:dst-tpn": ${dst-tpn-id},
"dst-ttp-id": ${dst-ttp-id},
"te-bandwidth": {
- "ietf-otn-tunnel:odu-type": "ietf-otn-types:prot-ODU2"
+ "ietf-otn-tunnel:odu-type": "ietf-otn-types:prot-ODUFlex-gfp",
+ "ietf-otn-tunnel:gfp-n": ${gfp-n}
},
"ietf-otn-tunnel:dst-tributary-slot-count": 1,
"ietf-optical-slice:slice-id": ${slice-instance-id},