summaryrefslogtreecommitdiff
path: root/templates/show/firewall/modify
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show/firewall/modify')
-rw-r--r--templates/show/firewall/modify/detail/node.def2
-rw-r--r--templates/show/firewall/modify/node.def2
-rw-r--r--templates/show/firewall/modify/node.tag/detail/node.def3
-rw-r--r--templates/show/firewall/modify/node.tag/detail/rule/node.def1
-rw-r--r--templates/show/firewall/modify/node.tag/detail/rule/node.tag/node.def8
-rw-r--r--templates/show/firewall/modify/node.tag/node.def2
-rw-r--r--templates/show/firewall/modify/node.tag/rule/node.tag/node.def2
7 files changed, 3 insertions, 17 deletions
diff --git a/templates/show/firewall/modify/detail/node.def b/templates/show/firewall/modify/detail/node.def
deleted file mode 100644
index 5fb43bc..0000000
--- a/templates/show/firewall/modify/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/modify/node.def b/templates/show/firewall/modify/node.def
index cbd2fc6..8a16e04 100644
--- a/templates/show/firewall/modify/node.def
+++ b/templates/show/firewall/modify/node.def
@@ -1,2 +1,2 @@
help: Show IPv4 firewall modify 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/modify/node.tag/detail/node.def b/templates/show/firewall/modify/node.tag/detail/node.def
deleted file mode 100644
index 3e11efe..0000000
--- a/templates/show/firewall/modify/node.tag/detail/node.def
+++ /dev/null
@@ -1,3 +0,0 @@
-help: Show detailed IPv4 firewall modify 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/modify/node.tag/detail/rule/node.def b/templates/show/firewall/modify/node.tag/detail/rule/node.def
deleted file mode 100644
index b67d3eb..0000000
--- a/templates/show/firewall/modify/node.tag/detail/rule/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Show detailed IPv4 firewall modify rules information
diff --git a/templates/show/firewall/modify/node.tag/detail/rule/node.tag/node.def b/templates/show/firewall/modify/node.tag/detail/rule/node.tag/node.def
deleted file mode 100644
index c69f5ac..0000000
--- a/templates/show/firewall/modify/node.tag/detail/rule/node.tag/node.def
+++ /dev/null
@@ -1,8 +0,0 @@
-help: Show detailed information for specified IPv4 firewall modify rule
-
-allowed: local -a vals
- eval "vals=($(cli-shell-api listActiveNodes \
- firewall modify ${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/modify/node.tag/node.def b/templates/show/firewall/modify/node.tag/node.def
index bdae565..096bac0 100644
--- a/templates/show/firewall/modify/node.tag/node.def
+++ b/templates/show/firewall/modify/node.tag/node.def
@@ -4,4 +4,4 @@ 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.xsl
+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.tag/node.def b/templates/show/firewall/modify/node.tag/rule/node.tag/node.def
index d6cae43..e79461e 100644
--- a/templates/show/firewall/modify/node.tag/rule/node.tag/node.def
+++ b/templates/show/firewall/modify/node.tag/rule/node.tag/node.def
@@ -5,4 +5,4 @@ allowed: local -a vals
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.xsl "$6"
+run: ${vyatta_bindir}/vyatta-show-firewall.pl "$3_$4" /opt/vyatta/share/xsl/show_firewall_detail.xsl "$6"