summaryrefslogtreecommitdiff
path: root/templates/show/firewall/ipv6-name
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show/firewall/ipv6-name')
-rw-r--r--templates/show/firewall/ipv6-name/node.def2
-rw-r--r--templates/show/firewall/ipv6-name/node.tag/detail/node.def3
-rw-r--r--templates/show/firewall/ipv6-name/node.tag/detail/rule/node.def1
-rw-r--r--templates/show/firewall/ipv6-name/node.tag/detail/rule/node.tag/node.def5
-rw-r--r--templates/show/firewall/ipv6-name/node.tag/node.def7
-rw-r--r--templates/show/firewall/ipv6-name/node.tag/rule/node.def1
-rw-r--r--templates/show/firewall/ipv6-name/node.tag/rule/node.tag/node.def5
-rw-r--r--templates/show/firewall/ipv6-name/node.tag/statistics/node.def2
8 files changed, 26 insertions, 0 deletions
diff --git a/templates/show/firewall/ipv6-name/node.def b/templates/show/firewall/ipv6-name/node.def
new file mode 100644
index 0000000..b14bdec
--- /dev/null
+++ b/templates/show/firewall/ipv6-name/node.def
@@ -0,0 +1,2 @@
+help: Show IPv6 firewall chains
+run: ${vyatta_bindir}/vyatta-show-firewall.pl "$3_all" /opt/vyatta/share/xsl/show_firewall.xsl
diff --git a/templates/show/firewall/ipv6-name/node.tag/detail/node.def b/templates/show/firewall/ipv6-name/node.tag/detail/node.def
new file mode 100644
index 0000000..6ef355e
--- /dev/null
+++ b/templates/show/firewall/ipv6-name/node.tag/detail/node.def
@@ -0,0 +1,3 @@
+help: Show detailed IPv6 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/ipv6-name/node.tag/detail/rule/node.def b/templates/show/firewall/ipv6-name/node.tag/detail/rule/node.def
new file mode 100644
index 0000000..345643e
--- /dev/null
+++ b/templates/show/firewall/ipv6-name/node.tag/detail/rule/node.def
@@ -0,0 +1 @@
+help: Show detailed IPv6 firewall rules information
diff --git a/templates/show/firewall/ipv6-name/node.tag/detail/rule/node.tag/node.def b/templates/show/firewall/ipv6-name/node.tag/detail/rule/node.tag/node.def
new file mode 100644
index 0000000..8ace257
--- /dev/null
+++ b/templates/show/firewall/ipv6-name/node.tag/detail/rule/node.tag/node.def
@@ -0,0 +1,5 @@
+help: Show detailed information for specified IPv6 firewall rule
+
+allowed: ls /opt/vyatta/config/active/firewall/ipv6-name/${COMP_WORDS[COMP_CWORD-3]}/rule/ 2>/dev/null
+
+run: ${vyatta_bindir}/vyatta-show-firewall.pl "$3_$4" /opt/vyatta/share/xsl/show_firewall_detail.xsl "$7"
diff --git a/templates/show/firewall/ipv6-name/node.tag/node.def b/templates/show/firewall/ipv6-name/node.tag/node.def
new file mode 100644
index 0000000..d59127c
--- /dev/null
+++ b/templates/show/firewall/ipv6-name/node.tag/node.def
@@ -0,0 +1,7 @@
+help: Show rules for given IPv6 firewall chain
+
+allowed:
+ l1=`ls /opt/vyatta/config/active/firewall/ipv6-name/ 2>/dev/null`
+ echo $l1
+
+run: ${vyatta_bindir}/vyatta-show-firewall.pl "$3_$4" /opt/vyatta/share/xsl/show_firewall.xsl
diff --git a/templates/show/firewall/ipv6-name/node.tag/rule/node.def b/templates/show/firewall/ipv6-name/node.tag/rule/node.def
new file mode 100644
index 0000000..6044fcc
--- /dev/null
+++ b/templates/show/firewall/ipv6-name/node.tag/rule/node.def
@@ -0,0 +1 @@
+help: Show summary of IPv6 firewall rules
diff --git a/templates/show/firewall/ipv6-name/node.tag/rule/node.tag/node.def b/templates/show/firewall/ipv6-name/node.tag/rule/node.tag/node.def
new file mode 100644
index 0000000..7870797
--- /dev/null
+++ b/templates/show/firewall/ipv6-name/node.tag/rule/node.tag/node.def
@@ -0,0 +1,5 @@
+help: Show summary of IPv6 firewall rules
+
+allowed: ls /opt/vyatta/config/active/firewall/ipv6-name/${COMP_WORDS[COMP_CWORD-2]}/rule/ 2>/dev/null
+
+run: ${vyatta_bindir}/vyatta-show-firewall.pl "$3_$4" /opt/vyatta/share/xsl/show_firewall.xsl "$6"
diff --git a/templates/show/firewall/ipv6-name/node.tag/statistics/node.def b/templates/show/firewall/ipv6-name/node.tag/statistics/node.def
new file mode 100644
index 0000000..435d507
--- /dev/null
+++ b/templates/show/firewall/ipv6-name/node.tag/statistics/node.def
@@ -0,0 +1,2 @@
+help: Show IPv6 firewall counter information
+run: ${vyatta_bindir}/vyatta-show-firewall.pl "$3_$4" /opt/vyatta/share/xsl/show_firewall_statistics.xsl