diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2022-02-03 16:03:08 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2022-02-03 16:03:08 +0000 |
commit | 6a487c62e1076d05d3be96159bfd79add59cde3c (patch) | |
tree | a0b3865b6b645fc65c9ab14a80965920acb45c77 /op-mode-definitions | |
parent | c50dc1217d0dcddaf50caec346e209158e8cabb7 (diff) | |
download | vyos-1x-6a487c62e1076d05d3be96159bfd79add59cde3c.tar.gz vyos-1x-6a487c62e1076d05d3be96159bfd79add59cde3c.zip |
firewall-bridge: T4193: Add op-mode for firewall policy
Diffstat (limited to 'op-mode-definitions')
-rw-r--r-- | op-mode-definitions/show-firewall-policy.xml.in | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/op-mode-definitions/show-firewall-policy.xml.in b/op-mode-definitions/show-firewall-policy.xml.in new file mode 100644 index 000000000..82793736e --- /dev/null +++ b/op-mode-definitions/show-firewall-policy.xml.in @@ -0,0 +1,17 @@ +<?xml version="1.0"?> +<interfaceDefinition> + <node name="show"> + <children> + <node name="firewall"> + <children> + <leafNode name="policy"> + <properties> + <help>Show firewall policy</help> + </properties> + <command>sudo ${vyos_op_scripts_dir}/show_firewall_policy.py --summary</command> + </leafNode> + </children> + </node> + </children> + </node> +</interfaceDefinition> |