diff options
author | Kim Hagen <khagen@multi-development.com> | 2014-09-04 10:25:17 +0200 |
---|---|---|
committer | Kim Hagen <khagen@multi-development.com> | 2014-09-04 10:25:17 +0200 |
commit | def221226078b4f92d68031555d0f5e5759019d7 (patch) | |
tree | df066715fee2f3601446c64e49b504748a9ed818 | |
parent | 39be0418ff403d40f7f39d81c0dee41e754cdf4d (diff) | |
download | vyos-nhrp-def221226078b4f92d68031555d0f5e5759019d7.tar.gz vyos-nhrp-def221226078b4f92d68031555d0f5e5759019d7.zip |
Add Purge and Flush
-rw-r--r-- | templates-op/reset/nhrp/flush/node.def | 1 | ||||
-rw-r--r-- | templates-op/reset/nhrp/flush/tunnel/node.def | 3 | ||||
-rw-r--r-- | templates-op/reset/nhrp/flush/tunnel/node.tag/node.def | 4 | ||||
-rw-r--r-- | templates-op/reset/nhrp/node.def | 1 | ||||
-rw-r--r-- | templates-op/reset/nhrp/purge/node.def | 1 | ||||
-rw-r--r-- | templates-op/reset/nhrp/purge/tunnel/node.def | 3 | ||||
-rw-r--r-- | templates-op/reset/nhrp/purge/tunnel/node.tag/node.def | 4 |
7 files changed, 17 insertions, 0 deletions
diff --git a/templates-op/reset/nhrp/flush/node.def b/templates-op/reset/nhrp/flush/node.def new file mode 100644 index 0000000..f8ef7a8 --- /dev/null +++ b/templates-op/reset/nhrp/flush/node.def @@ -0,0 +1 @@ +help: Clear all non-permanent entries diff --git a/templates-op/reset/nhrp/flush/tunnel/node.def b/templates-op/reset/nhrp/flush/tunnel/node.def new file mode 100644 index 0000000..686edfd --- /dev/null +++ b/templates-op/reset/nhrp/flush/tunnel/node.def @@ -0,0 +1,3 @@ +help: Clear all non-permanent entries +run: + sudo opennhrpctl flush || echo OpenNHRP is not running. diff --git a/templates-op/reset/nhrp/flush/tunnel/node.tag/node.def b/templates-op/reset/nhrp/flush/tunnel/node.tag/node.def new file mode 100644 index 0000000..b3b17f6 --- /dev/null +++ b/templates-op/reset/nhrp/flush/tunnel/node.tag/node.def @@ -0,0 +1,4 @@ +help: Clear all non-permanent entries which match the selector specifiers. +allowed: ${vyatta_sbindir}/vyatta-interfaces.pl --show tunnel +run: + sudo opennhrpctl flush dev $6 || echo OpenNHRP is not running. diff --git a/templates-op/reset/nhrp/node.def b/templates-op/reset/nhrp/node.def new file mode 100644 index 0000000..f53143e --- /dev/null +++ b/templates-op/reset/nhrp/node.def @@ -0,0 +1 @@ +help: Clear/Purge NHRP entries diff --git a/templates-op/reset/nhrp/purge/node.def b/templates-op/reset/nhrp/purge/node.def new file mode 100644 index 0000000..b8cd6e8 --- /dev/null +++ b/templates-op/reset/nhrp/purge/node.def @@ -0,0 +1 @@ +help: Purge entries from NHRP cache diff --git a/templates-op/reset/nhrp/purge/tunnel/node.def b/templates-op/reset/nhrp/purge/tunnel/node.def new file mode 100644 index 0000000..4f9e208 --- /dev/null +++ b/templates-op/reset/nhrp/purge/tunnel/node.def @@ -0,0 +1,3 @@ +help: Purge all entries from NHRP cache +run: + sudo opennhrpctl purge || echo OpenNHRP is not running. diff --git a/templates-op/reset/nhrp/purge/tunnel/node.tag/node.def b/templates-op/reset/nhrp/purge/tunnel/node.tag/node.def new file mode 100644 index 0000000..e7469db --- /dev/null +++ b/templates-op/reset/nhrp/purge/tunnel/node.tag/node.def @@ -0,0 +1,4 @@ +help: Purge entries for tunnel interface dev $6 from NHRP cache +allowed: ${vyatta_sbindir}/vyatta-interfaces.pl --show tunnel +run: + sudo opennhrpctl purge dev $6 || echo OpenNHRP is not running. |