From 3ebb08893b4bbd016bd0eb04374be5f691ad4abb Mon Sep 17 00:00:00 2001 From: sarthurdev <965089+sarthurdev@users.noreply.github.com> Date: Thu, 12 Aug 2021 01:00:59 +0200 Subject: zone-policy: T2199: Migrate zone-policy op-mode to XML/Python --- op-mode-definitions/zone-policy.xml.in | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 op-mode-definitions/zone-policy.xml.in (limited to 'op-mode-definitions/zone-policy.xml.in') diff --git a/op-mode-definitions/zone-policy.xml.in b/op-mode-definitions/zone-policy.xml.in new file mode 100644 index 000000000..c4b02bcee --- /dev/null +++ b/op-mode-definitions/zone-policy.xml.in @@ -0,0 +1,24 @@ + + + + + + + Show zone policy information + + + + + Show summary of zone policy for a specific zone + + zone-policy zone + + + sudo ${vyos_op_scripts_dir}/zone_policy.py --action show --name $4 + + + sudo ${vyos_op_scripts_dir}/zone_policy.py --action show + + + + -- cgit v1.2.3