diff options
Diffstat (limited to 'templates-op/show/zone-policy/zone')
-rw-r--r-- | templates-op/show/zone-policy/zone/node.def | 1 | ||||
-rw-r--r-- | templates-op/show/zone-policy/zone/node.tag/node.def | 5 |
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 |