summaryrefslogtreecommitdiff
path: root/templates-cfg/protocols/nhrp
diff options
context:
space:
mode:
authorKim Hagen <khagen@multi-development.com>2014-08-25 11:36:22 +0200
committerKim Hagen <khagen@multi-development.com>2014-08-25 11:36:22 +0200
commit2484447ac37791188feae6b9bf2e5213a7682abc (patch)
tree9c637a5c902df366324bb5326501551b134f28ad /templates-cfg/protocols/nhrp
parent818b4863c1047ce597a72943dc7b4d49b6f0e4dc (diff)
downloadvyos-nhrp-2484447ac37791188feae6b9bf2e5213a7682abc.tar.gz
vyos-nhrp-2484447ac37791188feae6b9bf2e5213a7682abc.zip
Add 'shortcut-target' option
Diffstat (limited to 'templates-cfg/protocols/nhrp')
-rw-r--r--templates-cfg/protocols/nhrp/tunnel/node.tag/shortcut-target/node.def8
-rw-r--r--templates-cfg/protocols/nhrp/tunnel/node.tag/shortcut-target/node.tag/holding-time/node.def3
2 files changed, 11 insertions, 0 deletions
diff --git a/templates-cfg/protocols/nhrp/tunnel/node.tag/shortcut-target/node.def b/templates-cfg/protocols/nhrp/tunnel/node.tag/shortcut-target/node.def
new file mode 100644
index 0000000..3b5c2cf
--- /dev/null
+++ b/templates-cfg/protocols/nhrp/tunnel/node.tag/shortcut-target/node.def
@@ -0,0 +1,8 @@
+tag:
+type: ipv4net
+help: Defines an off-NBMA network prefix for which the GRE interface will act as a gateway.
+
+syntax:expression: exec "/opt/vyatta/sbin/valid_address $VAR(@)"
+
+comp_help:Possible completions:
+ <x.x.x.x/x> Set the IP address and prefix length
diff --git a/templates-cfg/protocols/nhrp/tunnel/node.tag/shortcut-target/node.tag/holding-time/node.def b/templates-cfg/protocols/nhrp/tunnel/node.tag/shortcut-target/node.tag/holding-time/node.def
new file mode 100644
index 0000000..7dbca6c
--- /dev/null
+++ b/templates-cfg/protocols/nhrp/tunnel/node.tag/shortcut-target/node.tag/holding-time/node.def
@@ -0,0 +1,3 @@
+type: u32
+help: Holding time in seconds
+