summaryrefslogtreecommitdiff
path: root/templates-op/show/nat/translations/source
diff options
context:
space:
mode:
authorDaniil Baturin <daniil.baturin@vyatta.com>2011-12-15 22:54:11 +0700
committerDaniil Baturin <daniil.baturin@vyatta.com>2011-12-15 22:54:11 +0700
commitff7ef77c3bb149814a33353c2923badac4f6823c (patch)
tree9caf316851b4c26c51acf9f1a8b51538d946c70c /templates-op/show/nat/translations/source
parent4f354f5e59fd4d771592640ee017c188c0e9cecf (diff)
downloadvyatta-nat-ff7ef77c3bb149814a33353c2923badac4f6823c.tar.gz
vyatta-nat-ff7ef77c3bb149814a33353c2923badac4f6823c.zip
Update op mode templates for "show nat <source|destination>
translations".
Diffstat (limited to 'templates-op/show/nat/translations/source')
-rw-r--r--templates-op/show/nat/translations/source/address/node.def1
-rw-r--r--templates-op/show/nat/translations/source/address/node.tag/node.def11
-rw-r--r--templates-op/show/nat/translations/source/detail/node.def3
-rw-r--r--templates-op/show/nat/translations/source/monitor/detail/node.def4
-rw-r--r--templates-op/show/nat/translations/source/monitor/node.def4
-rw-r--r--templates-op/show/nat/translations/source/node.def2
6 files changed, 0 insertions, 25 deletions
diff --git a/templates-op/show/nat/translations/source/address/node.def b/templates-op/show/nat/translations/source/address/node.def
deleted file mode 100644
index 42bfbba..0000000
--- a/templates-op/show/nat/translations/source/address/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Show active NAT source translations for a IP address
diff --git a/templates-op/show/nat/translations/source/address/node.tag/node.def b/templates-op/show/nat/translations/source/address/node.tag/node.def
deleted file mode 100644
index 0271dd1..0000000
--- a/templates-op/show/nat/translations/source/address/node.tag/node.def
+++ /dev/null
@@ -1,11 +0,0 @@
-help: Show active NAT source translations for an IP address
-allowed: echo -n '<x.x.x.x>'
-run: if /opt/vyatta/sbin/vyatta-validate-type.pl -q ipv4 $6
- then
- sudo ${vyatta_bindir}/sudo-users/vyatta-nat-translations.pl \
- --mode=snat \
- --verbose \
- --ipaddr="$6"
- else
- echo "Invalid IP address"
- fi
diff --git a/templates-op/show/nat/translations/source/detail/node.def b/templates-op/show/nat/translations/source/detail/node.def
deleted file mode 100644
index 5f8af5b..0000000
--- a/templates-op/show/nat/translations/source/detail/node.def
+++ /dev/null
@@ -1,3 +0,0 @@
-help: Show active NAT source translations detail
-run: sudo ${vyatta_bindir}/sudo-users/vyatta-nat-translations.pl --mode=snat \
- --verbose
diff --git a/templates-op/show/nat/translations/source/monitor/detail/node.def b/templates-op/show/nat/translations/source/monitor/detail/node.def
deleted file mode 100644
index d0ac59d..0000000
--- a/templates-op/show/nat/translations/source/monitor/detail/node.def
+++ /dev/null
@@ -1,4 +0,0 @@
-help: Show active NAT source translations events
-run: LESSOPEN=cat
- echo Type control-C to quit
- sudo /usr/sbin/conntrack -E -n -o xml 2>/dev/null | ${vyatta_bindir}/sudo-users/vyatta-nat-translations.pl --mode=snat --pipe --verbose
diff --git a/templates-op/show/nat/translations/source/monitor/node.def b/templates-op/show/nat/translations/source/monitor/node.def
deleted file mode 100644
index fcaec10..0000000
--- a/templates-op/show/nat/translations/source/monitor/node.def
+++ /dev/null
@@ -1,4 +0,0 @@
-help: Show active NAT source translations events
-run: LESSOPEN=cat
- echo Type control-C to quit
- sudo /usr/sbin/conntrack -E -n -o xml 2>/dev/null | ${vyatta_bindir}/sudo-users/vyatta-nat-translations.pl --mode=snat --pipe
diff --git a/templates-op/show/nat/translations/source/node.def b/templates-op/show/nat/translations/source/node.def
deleted file mode 100644
index c14c955..0000000
--- a/templates-op/show/nat/translations/source/node.def
+++ /dev/null
@@ -1,2 +0,0 @@
-help: Show active NAT source translations
-run: sudo ${vyatta_bindir}/sudo-users/vyatta-nat-translations.pl --mode=snat