summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2022-10-19 14:16:05 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2022-11-02 12:50:59 +0000
commit738641a6c66d22c09b8c028ee3d8a90527d9701f (patch)
treefa2981b32c2dcff6737b2d91c615426784f88139 /op-mode-definitions
parent8403848a338d54f9e489fca1efd1143d820a14a6 (diff)
downloadvyos-1x-738641a6c66d22c09b8c028ee3d8a90527d9701f.tar.gz
vyos-1x-738641a6c66d22c09b8c028ee3d8a90527d9701f.zip
T4758: Rewrite show DHCP(v6) server leases to vyos.opmode format
Rewrite op-mode DHCP and DHCPv6 leases to vyos.opmode format Abbility to show 'raw' format show dhcp server leases show dhcpv6 server leases
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/dhcp.xml.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/op-mode-definitions/dhcp.xml.in b/op-mode-definitions/dhcp.xml.in
index 241cca0ce..ce4026ff4 100644
--- a/op-mode-definitions/dhcp.xml.in
+++ b/op-mode-definitions/dhcp.xml.in
@@ -16,7 +16,7 @@
<properties>
<help>Show DHCP server leases</help>
</properties>
- <command>sudo ${vyos_op_scripts_dir}/show_dhcp.py --leases</command>
+ <command>sudo ${vyos_op_scripts_dir}/dhcp.py show_server_leases --family inet</command>
<children>
<tagNode name="pool">
<properties>
@@ -82,7 +82,7 @@
<properties>
<help>Show DHCPv6 server leases</help>
</properties>
- <command>sudo ${vyos_op_scripts_dir}/show_dhcpv6.py --leases</command>
+ <command>sudo ${vyos_op_scripts_dir}/dhcp.py show_server_leases --family inet6</command>
<children>
<tagNode name="pool">
<properties>