summaryrefslogtreecommitdiff
path: root/templates/show/firewall/modify
diff options
context:
space:
mode:
authorRobert Bays <robert@vyatta.com>2012-09-05 10:57:02 -0700
committerRobert Bays <robert@vyatta.com>2012-09-05 10:57:02 -0700
commita9d4ab9d4806e0b8a0d151442bcffd4f63f65dda (patch)
tree33f6f85bd8575b5ffb4548a1b1e1a72772f344f8 /templates/show/firewall/modify
parente5ba41191e5be53ca366f3a880ed19269f23ea3f (diff)
downloadvyatta-op-firewall-a9d4ab9d4806e0b8a0d151442bcffd4f63f65dda.tar.gz
vyatta-op-firewall-a9d4ab9d4806e0b8a0d151442bcffd4f63f65dda.zip
add show command support for policy rules
Diffstat (limited to 'templates/show/firewall/modify')
-rw-r--r--templates/show/firewall/modify/node.def2
-rw-r--r--templates/show/firewall/modify/node.tag/node.def7
-rw-r--r--templates/show/firewall/modify/node.tag/rule/node.def1
-rw-r--r--templates/show/firewall/modify/node.tag/rule/node.tag/node.def8
-rw-r--r--templates/show/firewall/modify/node.tag/statistics/node.def2
-rw-r--r--templates/show/firewall/modify/statistics/node.def2
6 files changed, 0 insertions, 22 deletions
diff --git a/templates/show/firewall/modify/node.def b/templates/show/firewall/modify/node.def
deleted file mode 100644
index 8a16e04..0000000
--- a/templates/show/firewall/modify/node.def
+++ /dev/null
@@ -1,2 +0,0 @@
-help: Show IPv4 firewall modify chains
-run: ${vyatta_bindir}/vyatta-show-firewall.pl "$3_all" /opt/vyatta/share/xsl/show_firewall_detail.xsl
diff --git a/templates/show/firewall/modify/node.tag/node.def b/templates/show/firewall/modify/node.tag/node.def
deleted file mode 100644
index 096bac0..0000000
--- a/templates/show/firewall/modify/node.tag/node.def
+++ /dev/null
@@ -1,7 +0,0 @@
-help: Show rules for given IPv4 firewall modify chain
-
-allowed: local -a vals
- eval "vals=($(cli-shell-api listActiveNodes firewall modify))"
- echo -n ${vals[@]}
-
-run: ${vyatta_bindir}/vyatta-show-firewall.pl "$3_$4" /opt/vyatta/share/xsl/show_firewall_detail.xsl
diff --git a/templates/show/firewall/modify/node.tag/rule/node.def b/templates/show/firewall/modify/node.tag/rule/node.def
deleted file mode 100644
index 44a9e1a..0000000
--- a/templates/show/firewall/modify/node.tag/rule/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Show summary of IPv4 firewall modify rules
diff --git a/templates/show/firewall/modify/node.tag/rule/node.tag/node.def b/templates/show/firewall/modify/node.tag/rule/node.tag/node.def
deleted file mode 100644
index e79461e..0000000
--- a/templates/show/firewall/modify/node.tag/rule/node.tag/node.def
+++ /dev/null
@@ -1,8 +0,0 @@
-help: Show summary of IPv4 firewall modify rules
-
-allowed: local -a vals
- eval "vals=($(cli-shell-api listActiveNodes \
- firewall modify ${COMP_WORDS[COMP_CWORD-2]} rule))"
- echo -n ${vals[@]}
-
-run: ${vyatta_bindir}/vyatta-show-firewall.pl "$3_$4" /opt/vyatta/share/xsl/show_firewall_detail.xsl "$6"
diff --git a/templates/show/firewall/modify/node.tag/statistics/node.def b/templates/show/firewall/modify/node.tag/statistics/node.def
deleted file mode 100644
index a96479b..0000000
--- a/templates/show/firewall/modify/node.tag/statistics/node.def
+++ /dev/null
@@ -1,2 +0,0 @@
-help: Show IPv4 firewall modify counter information
-run: ${vyatta_bindir}/vyatta-show-firewall.pl "$3_$4" /opt/vyatta/share/xsl/show_firewall_statistics.xsl
diff --git a/templates/show/firewall/modify/statistics/node.def b/templates/show/firewall/modify/statistics/node.def
deleted file mode 100644
index ae89dec..0000000
--- a/templates/show/firewall/modify/statistics/node.def
+++ /dev/null
@@ -1,2 +0,0 @@
-help: Show firewall counter information
-run: ${vyatta_bindir}/vyatta-show-firewall.pl "$3_all" /opt/vyatta/share/xsl/show_firewall_statistics.xsl