summaryrefslogtreecommitdiff
path: root/templates-op/show/zone-policy/zone
diff options
context:
space:
mode:
Diffstat (limited to 'templates-op/show/zone-policy/zone')
-rw-r--r--templates-op/show/zone-policy/zone/node.def1
-rw-r--r--templates-op/show/zone-policy/zone/node.tag/node.def5
2 files changed, 6 insertions, 0 deletions
diff --git a/templates-op/show/zone-policy/zone/node.def b/templates-op/show/zone-policy/zone/node.def
new file mode 100644
index 0000000..7925164
--- /dev/null
+++ b/templates-op/show/zone-policy/zone/node.def
@@ -0,0 +1 @@
+help: Show zone policy for a specific zone
diff --git a/templates-op/show/zone-policy/zone/node.tag/node.def b/templates-op/show/zone-policy/zone/node.tag/node.def
new file mode 100644
index 0000000..dc5f404
--- /dev/null
+++ b/templates-op/show/zone-policy/zone/node.tag/node.def
@@ -0,0 +1,5 @@
+help: Show zone policy for a specific zone
+allowed: local -a vals
+ eval "vals=($(cli-shell-api listActiveNodes zone-policy zone))"
+ echo -n '<zone-name>' ${vals[@]}
+run: /opt/vyatta/bin/vyatta-show-zone.pl --zone=$4