diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-12-07 18:05:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-07 18:05:10 +0200 |
commit | cf9f3b36deecc20d42f4ce459157d1a8861935e2 (patch) | |
tree | 586dd559bc23400d2fecac78cf2ab7bcc38fe1f8 /op-mode-definitions | |
parent | 18b2bb669bb87cde14324cbc2ae3a16d11fa578a (diff) | |
parent | 6eb78b48d67fa03802e6b476c9ea757a8cc5b86a (diff) | |
download | vyos-1x-cf9f3b36deecc20d42f4ce459157d1a8861935e2.tar.gz vyos-1x-cf9f3b36deecc20d42f4ce459157d1a8861935e2.zip |
Merge pull request #2582 from vyos/mergify/bp/sagitta/pr-2551
T5778: dhcp server: fix op-mode command (backport #2551)
Diffstat (limited to 'op-mode-definitions')
-rw-r--r-- | op-mode-definitions/dhcp.xml.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/op-mode-definitions/dhcp.xml.in b/op-mode-definitions/dhcp.xml.in index 6855fe447..9c2e2be76 100644 --- a/op-mode-definitions/dhcp.xml.in +++ b/op-mode-definitions/dhcp.xml.in @@ -42,6 +42,15 @@ </properties> <command>${vyos_op_scripts_dir}/dhcp.py show_server_leases --family inet</command> <children> + <tagNode name="origin"> + <properties> + <help>Show DHCP server leases granted by local or remote DHCP server</help> + <completionHelp> + <list>local remote</list> + </completionHelp> + </properties> + <command>${vyos_op_scripts_dir}/dhcp.py show_server_leases --family inet --origin $6</command> + </tagNode> <tagNode name="pool"> <properties> <help>Show DHCP server leases for a specific pool</help> |