summaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates/src
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/restapi-templates/src')
-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},