diff options
Diffstat (limited to 'templates-op/reset/nhrp')
-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. |