diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-01-04 18:24:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-04 18:24:31 +0100 |
commit | f809139c04e5c18299a3b5929eb1c712a20a5535 (patch) | |
tree | be41518eacbdf3bae7c4c0724c31f8fd5f32b936 /op-mode-definitions | |
parent | 7330c4eff26f8a388cf476ed5f38894e137252f1 (diff) | |
parent | 55bf54afb750cb8171b0c878699879107b4fbbe9 (diff) | |
download | vyos-1x-f809139c04e5c18299a3b5929eb1c712a20a5535.tar.gz vyos-1x-f809139c04e5c18299a3b5929eb1c712a20a5535.zip |
Merge pull request #1131 from sever-sever/T4132
firewall: T4132: Fix for op-mode show firewall group
Diffstat (limited to 'op-mode-definitions')
-rw-r--r-- | op-mode-definitions/firewall.xml.in | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/op-mode-definitions/firewall.xml.in b/op-mode-definitions/firewall.xml.in index 84df67b3d..b5dee7c9e 100644 --- a/op-mode-definitions/firewall.xml.in +++ b/op-mode-definitions/firewall.xml.in @@ -112,11 +112,24 @@ <help>Show firewall information</help> </properties> <children> - <leafNode name="group"> + <tagNode name="group"> <properties> <help>Show firewall group</help> + <completionHelp> + <path>firewall group address-group</path> + <path>firewall group network-group</path> + <path>firewall group port-group</path> + <path>firewall group ipv6-address-group</path> + <path>firewall group ipv6-network-group</path> + </completionHelp> </properties> <command>sudo ${vyos_op_scripts_dir}/firewall.py --action show_group --name $4</command> + </tagNode> + <leafNode name="group"> + <properties> + <help>Show firewall group</help> + </properties> + <command>sudo ${vyos_op_scripts_dir}/firewall.py --action show_group</command> </leafNode> <tagNode name="ipv6-name"> <properties> |