aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates/src/main/json/vcpe-vxlan-tunnel.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/restapi-templates/src/main/json/vcpe-vxlan-tunnel.json')
-rw-r--r--platform-logic/restapi-templates/src/main/json/vcpe-vxlan-tunnel.json16
1 files changed, 16 insertions, 0 deletions
diff --git a/platform-logic/restapi-templates/src/main/json/vcpe-vxlan-tunnel.json b/platform-logic/restapi-templates/src/main/json/vcpe-vxlan-tunnel.json
new file mode 100644
index 00000000..3a90103c
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/vcpe-vxlan-tunnel.json
@@ -0,0 +1,16 @@
+{
+ "interface": [
+ {
+ "enabled": "true",
+ "link-up-down-trap-enable": "enabled",
+ "name": "${tmp.tunnel-name}",
+ "type": "v3po:vxlan-tunnel",
+ "vxlan": {
+ "dst": "${tmp.tunnel-dest-ip}",
+ "encap-vrf-id": "0",
+ "src": "${tmp.tunnel-src-ip}",
+ "vni": "${tmp.tunnel-vni}"
+ }
+ }
+ ]
+}