summaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates/src/main/json/vcpe-vxlan-tunnel.json
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2017-10-30 15:03:02 -0400
committerDan Timoney <dtimoney@att.com>2017-10-30 15:03:02 -0400
commit276eaa580a8e67edaa50547c71c7d389d23d8324 (patch)
treedbc80a72b837cd8946e9120e5b0fabe562670fe7 /platform-logic/restapi-templates/src/main/json/vcpe-vxlan-tunnel.json
parentcfc555180780cbda56f5f9997ab6a9c119105579 (diff)
GENERIC-RESOURCE-API template fixes
Add missing RESTAPI templates used by vcpe use case and fix error in properties file Change-Id: I008620438529244335eacbd704e355e2de80873d Issue-ID: SDNC-151 Signed-off-by: Dan Timoney <dtimoney@att.com> Former-commit-id: af90e06e4fbd0f645467bef839ea18dfa6c415ca
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}"
+ }
+ }
+ ]
+}