diff options
Diffstat (limited to 'templates/show/policy/ipv6-route')
6 files changed, 22 insertions, 0 deletions
diff --git a/templates/show/policy/ipv6-route/node.def b/templates/show/policy/ipv6-route/node.def new file mode 100644 index 0000000..4aee1ea --- /dev/null +++ b/templates/show/policy/ipv6-route/node.def @@ -0,0 +1,2 @@ +help: Show IPv6 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/policy/ipv6-route/node.tag/node.def b/templates/show/policy/ipv6-route/node.tag/node.def new file mode 100644 index 0000000..60f872b --- /dev/null +++ b/templates/show/policy/ipv6-route/node.tag/node.def @@ -0,0 +1,7 @@ +help: Show rules for given IPv6 firewall modify chain + +allowed: local -a vals + eval "vals=($(cli-shell-api listActiveNodes firewall ipv6-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/policy/ipv6-route/node.tag/rule/node.def b/templates/show/policy/ipv6-route/node.tag/rule/node.def new file mode 100644 index 0000000..b4face1 --- /dev/null +++ b/templates/show/policy/ipv6-route/node.tag/rule/node.def @@ -0,0 +1 @@ +help: Show summary of IPv6 firewall modify rules diff --git a/templates/show/policy/ipv6-route/node.tag/rule/node.tag/node.def b/templates/show/policy/ipv6-route/node.tag/rule/node.tag/node.def new file mode 100644 index 0000000..fa7b4cb --- /dev/null +++ b/templates/show/policy/ipv6-route/node.tag/rule/node.tag/node.def @@ -0,0 +1,8 @@ +help: Show summary of IPv6 firewall modify rules + +allowed: local -a vals + eval "vals=($(cli-shell-api listActiveNodes \ + firewall ipv6-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/policy/ipv6-route/node.tag/statistics/node.def b/templates/show/policy/ipv6-route/node.tag/statistics/node.def new file mode 100644 index 0000000..707efa3 --- /dev/null +++ b/templates/show/policy/ipv6-route/node.tag/statistics/node.def @@ -0,0 +1,2 @@ +help: Show IPv6 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/policy/ipv6-route/statistics/node.def b/templates/show/policy/ipv6-route/statistics/node.def new file mode 100644 index 0000000..ae89dec --- /dev/null +++ b/templates/show/policy/ipv6-route/statistics/node.def @@ -0,0 +1,2 @@ +help: Show firewall counter information +run: ${vyatta_bindir}/vyatta-show-firewall.pl "$3_all" /opt/vyatta/share/xsl/show_firewall_statistics.xsl |