summaryrefslogtreecommitdiff
path: root/templates/show/firewall/name
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show/firewall/name')
-rw-r--r--templates/show/firewall/name/detail/node.def2
-rw-r--r--templates/show/firewall/name/node.def2
-rw-r--r--templates/show/firewall/name/node.tag/detail/node.def3
-rw-r--r--templates/show/firewall/name/node.tag/detail/rule/node.def1
-rw-r--r--templates/show/firewall/name/node.tag/detail/rule/node.tag/node.def8
-rw-r--r--templates/show/firewall/name/node.tag/node.def2
-rw-r--r--templates/show/firewall/name/node.tag/rule/node.tag/node.def2
7 files changed, 3 insertions, 17 deletions
diff --git a/templates/show/firewall/name/detail/node.def b/templates/show/firewall/name/detail/node.def
deleted file mode 100644
index 5fb43bc..0000000
--- a/templates/show/firewall/name/detail/node.def
+++ /dev/null
@@ -1,2 +0,0 @@
-help: Show detailed firewall information
-run: ${vyatta_bindir}/vyatta-show-firewall.pl "$3_all" /opt/vyatta/share/xsl/show_firewall_detail.xsl
diff --git a/templates/show/firewall/name/node.def b/templates/show/firewall/name/node.def
index f164f73..304d983 100644
--- a/templates/show/firewall/name/node.def
+++ b/templates/show/firewall/name/node.def
@@ -1,2 +1,2 @@
help: Show IPv4 firewall chains
-run: ${vyatta_bindir}/vyatta-show-firewall.pl "$3_all" /opt/vyatta/share/xsl/show_firewall.xsl
+run: ${vyatta_bindir}/vyatta-show-firewall.pl "$3_all" /opt/vyatta/share/xsl/show_firewall_detail.xsl
diff --git a/templates/show/firewall/name/node.tag/detail/node.def b/templates/show/firewall/name/node.tag/detail/node.def
deleted file mode 100644
index 0af8d69..0000000
--- a/templates/show/firewall/name/node.tag/detail/node.def
+++ /dev/null
@@ -1,3 +0,0 @@
-help: Show detailed IPv4 firewall rules information
-
-run: ${vyatta_bindir}/vyatta-show-firewall.pl "$3_$4" /opt/vyatta/share/xsl/show_firewall_detail.xsl
diff --git a/templates/show/firewall/name/node.tag/detail/rule/node.def b/templates/show/firewall/name/node.tag/detail/rule/node.def
deleted file mode 100644
index 13fe7fc..0000000
--- a/templates/show/firewall/name/node.tag/detail/rule/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Show detailed IPv4 firewall rules information
diff --git a/templates/show/firewall/name/node.tag/detail/rule/node.tag/node.def b/templates/show/firewall/name/node.tag/detail/rule/node.tag/node.def
deleted file mode 100644
index 55ae0d6..0000000
--- a/templates/show/firewall/name/node.tag/detail/rule/node.tag/node.def
+++ /dev/null
@@ -1,8 +0,0 @@
-help: Show detailed information for specified IPv4 firewall rule
-
-allowed: local -a vals
- eval "vals=($(cli-shell-api listActiveNodes \
- firewall name ${COMP_WORDS[COMP_CWORD-3]} rule))"
- echo -n ${vals[@]}
-
-run: ${vyatta_bindir}/vyatta-show-firewall.pl "$3_$4" /opt/vyatta/share/xsl/show_firewall_detail.xsl "$7"
diff --git a/templates/show/firewall/name/node.tag/node.def b/templates/show/firewall/name/node.tag/node.def
index 09ac2e2..8be5f15 100644
--- a/templates/show/firewall/name/node.tag/node.def
+++ b/templates/show/firewall/name/node.tag/node.def
@@ -4,4 +4,4 @@ allowed: local -a vals
eval "vals=($(cli-shell-api listActiveNodes firewall name))"
echo -n ${vals[@]}
-run: ${vyatta_bindir}/vyatta-show-firewall.pl "$3_$4" /opt/vyatta/share/xsl/show_firewall.xsl
+run: ${vyatta_bindir}/vyatta-show-firewall.pl "$3_$4" /opt/vyatta/share/xsl/show_firewall_detail.xsl
diff --git a/templates/show/firewall/name/node.tag/rule/node.tag/node.def b/templates/show/firewall/name/node.tag/rule/node.tag/node.def
index 9e00b38..6670530 100644
--- a/templates/show/firewall/name/node.tag/rule/node.tag/node.def
+++ b/templates/show/firewall/name/node.tag/rule/node.tag/node.def
@@ -5,4 +5,4 @@ allowed: local -a vals
firewall name ${COMP_WORDS[COMP_CWORD-2]} rule))"
echo -n ${vals[@]}
-run: ${vyatta_bindir}/vyatta-show-firewall.pl "$3_$4" /opt/vyatta/share/xsl/show_firewall.xsl "$6"
+run: ${vyatta_bindir}/vyatta-show-firewall.pl "$3_$4" /opt/vyatta/share/xsl/show_firewall_detail.xsl "$6"