diff options
author | Nataliia Solomko <natalirs1985@gmail.com> | 2024-11-05 16:41:26 +0200 |
---|---|---|
committer | Nataliia Solomko <natalirs1985@gmail.com> | 2024-11-05 16:41:26 +0200 |
commit | 1bd594c22c7a51d2b92e237df2294a6c2f7b37c8 (patch) | |
tree | 32ad563ae359aeff20e9b879f9c1cb034fe8dd9b | |
parent | 47aa697fd646accc2f333f6409885640a9631e2e (diff) | |
download | vyos-1x-1bd594c22c7a51d2b92e237df2294a6c2f7b37c8.tar.gz vyos-1x-1bd594c22c7a51d2b92e237df2294a6c2f7b37c8.zip |
dhcp_server: T6852: Add op mode command "show dhcpv6 server statistics"
-rw-r--r-- | op-mode-definitions/dhcp.xml.in | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/op-mode-definitions/dhcp.xml.in b/op-mode-definitions/dhcp.xml.in index b3438ab80..63b1f62bb 100644 --- a/op-mode-definitions/dhcp.xml.in +++ b/op-mode-definitions/dhcp.xml.in @@ -228,6 +228,23 @@ </tagNode> </children> </node> + <node name="statistics"> + <properties> + <help>Show DHCPv6 server statistics</help> + </properties> + <command>${vyos_op_scripts_dir}/dhcp.py show_pool_statistics --family inet6</command> + <children> + <tagNode name="pool"> + <properties> + <help>Show DHCPv6 server statistics for a specific pool</help> + <completionHelp> + <path>service dhcpv6-server shared-network-name</path> + </completionHelp> + </properties> + <command>${vyos_op_scripts_dir}/dhcp.py show_pool_statistics --family inet6 --pool $6</command> + </tagNode> + </children> + </node> </children> </node> </children> |