aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates/src/main/json/ts-allocate-tn-slice.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/restapi-templates/src/main/json/ts-allocate-tn-slice.json')
-rw-r--r--platform-logic/restapi-templates/src/main/json/ts-allocate-tn-slice.json16
1 files changed, 16 insertions, 0 deletions
diff --git a/platform-logic/restapi-templates/src/main/json/ts-allocate-tn-slice.json b/platform-logic/restapi-templates/src/main/json/ts-allocate-tn-slice.json
new file mode 100644
index 00000000..bcfa13c9
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/ts-allocate-tn-slice.json
@@ -0,0 +1,16 @@
+{
+ "ietf-optical-slice:input": {
+ "otn-tunnel-list": [
+ {
+ "tunnel-name": ${request-id},
+ "source": ${otn-source-node},
+ "destination": ${otn-dest-node},
+ "tunnel-bandwidth": ${bw-odu},
+ "src-tunnel-tp-id": ${src-ttp-id},
+ "dst-tunnel-tp-id": ${dst-ttp-id}
+ }
+ ],
+ "slice-id": ${slice-instance-id}
+ }
+}
+