summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil.baturin@vyatta.com>2011-12-09 23:33:23 +0700
committerDaniil Baturin <daniil.baturin@vyatta.com>2011-12-09 23:33:23 +0700
commitf6656b5383fc8c18d258d3795746b346ec99dfb2 (patch)
tree1257160f9696584ff1974500b65115631694d0f5
parentc5ed95b5edcbf5afb7a187b44801253be9181a62 (diff)
downloadvyatta-nat-f6656b5383fc8c18d258d3795746b346ec99dfb2.tar.gz
vyatta-nat-f6656b5383fc8c18d258d3795746b346ec99dfb2.zip
Update op mode templates for "show nat <source|destination> rules".
-rw-r--r--templates-op/show/nat/destination/node.def1
-rw-r--r--templates-op/show/nat/destination/rules/node.def2
-rw-r--r--templates-op/show/nat/rules/node.def2
-rw-r--r--templates-op/show/nat/source/node.def1
-rw-r--r--templates-op/show/nat/source/rules/node.def2
5 files changed, 6 insertions, 2 deletions
diff --git a/templates-op/show/nat/destination/node.def b/templates-op/show/nat/destination/node.def
new file mode 100644
index 0000000..18e33a2
--- /dev/null
+++ b/templates-op/show/nat/destination/node.def
@@ -0,0 +1 @@
+help: Show destination Network Address Translation (NAT) information
diff --git a/templates-op/show/nat/destination/rules/node.def b/templates-op/show/nat/destination/rules/node.def
new file mode 100644
index 0000000..c6219b5
--- /dev/null
+++ b/templates-op/show/nat/destination/rules/node.def
@@ -0,0 +1,2 @@
+help: Show configured destination NAT rules
+run: /opt/vyatta/sbin/vyatta-show-nat-rules.pl --type=destination
diff --git a/templates-op/show/nat/rules/node.def b/templates-op/show/nat/rules/node.def
deleted file mode 100644
index 7f375fa..0000000
--- a/templates-op/show/nat/rules/node.def
+++ /dev/null
@@ -1,2 +0,0 @@
-help: Show configured NAT rule set
-run: /opt/vyatta/sbin/vyatta-show-nat-rules.pl
diff --git a/templates-op/show/nat/source/node.def b/templates-op/show/nat/source/node.def
new file mode 100644
index 0000000..dbe3414
--- /dev/null
+++ b/templates-op/show/nat/source/node.def
@@ -0,0 +1 @@
+help: Show source Network Address Translation (NAT) information
diff --git a/templates-op/show/nat/source/rules/node.def b/templates-op/show/nat/source/rules/node.def
new file mode 100644
index 0000000..49768d2
--- /dev/null
+++ b/templates-op/show/nat/source/rules/node.def
@@ -0,0 +1,2 @@
+help: Show configured source NAT rules
+run: /opt/vyatta/sbin/vyatta-show-nat-rules.pl --type=source