summaryrefslogtreecommitdiff
path: root/op-mode-definitions/clear-dhcp-server-lease.xml.in
diff options
context:
space:
mode:
authorsarthurdev <965089+sarthurdev@users.noreply.github.com>2024-03-06 21:53:46 +0100
committersarthurdev <965089+sarthurdev@users.noreply.github.com>2024-03-06 21:53:46 +0100
commitc55140f8bbd8e8f0e7c112a419027b65d479add6 (patch)
treefebdff7317511b376dea9d7f1a90cf99df8c5f24 /op-mode-definitions/clear-dhcp-server-lease.xml.in
parent38fdc27ee2b3253053b2794e3e7ec5d8e0d5aa02 (diff)
downloadvyos-1x-c55140f8bbd8e8f0e7c112a419027b65d479add6.tar.gz
vyos-1x-c55140f8bbd8e8f0e7c112a419027b65d479add6.zip
dhcp: T6102: Fix clear DHCP lease op-mode
* Add `clear dhcpv6-server lease` * Standardize using vyos.opmode
Diffstat (limited to 'op-mode-definitions/clear-dhcp-server-lease.xml.in')
-rw-r--r--op-mode-definitions/clear-dhcp-server-lease.xml.in20
1 files changed, 0 insertions, 20 deletions
diff --git a/op-mode-definitions/clear-dhcp-server-lease.xml.in b/op-mode-definitions/clear-dhcp-server-lease.xml.in
deleted file mode 100644
index aef0eb22a..000000000
--- a/op-mode-definitions/clear-dhcp-server-lease.xml.in
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version="1.0"?>
-<interfaceDefinition>
- <node name="clear">
- <children>
- <node name="dhcp-server">
- <properties>
- <help>Clear DHCP server lease</help>
- </properties>
- <children>
- <tagNode name="lease">
- <properties>
- <help>DHCP server lease</help>
- </properties>
- <command>sudo ${vyos_op_scripts_dir}/clear_dhcp_lease.py --ip $4</command>
- </tagNode>
- </children>
- </node>
- </children>
- </node>
-</interfaceDefinition>