From dbfaa47b0036339e28ae8fd57c8007612e1b38f3 Mon Sep 17 00:00:00 2001 From: sarthurdev <965089+sarthurdev@users.noreply.github.com> Date: Tue, 13 Feb 2024 01:24:27 +0100 Subject: dhcp: dhcpv6: T3316: Add op-mode for showing DHCP(v6) static-mappings --- op-mode-definitions/dhcp.xml.in | 52 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) (limited to 'op-mode-definitions') diff --git a/op-mode-definitions/dhcp.xml.in b/op-mode-definitions/dhcp.xml.in index ab305580b..0db7471e5 100644 --- a/op-mode-definitions/dhcp.xml.in +++ b/op-mode-definitions/dhcp.xml.in @@ -80,6 +80,32 @@ + + + Show DHCP server static mappings + + ${vyos_op_scripts_dir}/dhcp.py show_server_static_mappings --family inet + + + + Show DHCP server static mappings for a specific pool + + service dhcp-server shared-network-name + + + ${vyos_op_scripts_dir}/dhcp.py show_server_static_mappings --family inet --pool $6 + + + + Show DHCP server static mappings sorted by the specified key + + ip mac duid pool + + + ${vyos_op_scripts_dir}/dhcp.py show_server_static_mappings --family inet --sort $6 + + + Show DHCP server statistics @@ -146,6 +172,32 @@ + + + Show DHCPv6 server static mappings + + ${vyos_op_scripts_dir}/dhcp.py show_server_static_mappings --family inet6 + + + + Show DHCPv6 server static mappings for a specific pool + + service dhcp-server shared-network-name + + + ${vyos_op_scripts_dir}/dhcp.py show_server_static_mappings --family inet6 --pool $6 + + + + Show DHCPv6 server static mappings sorted by the specified key + + ip mac duid pool + + + ${vyos_op_scripts_dir}/dhcp.py show_server_static_mappings --family inet6 --sort $6 + + + -- cgit v1.2.3