Page MenuHomePhabricator

Add clear dhcp server lease function


Dear, Developers
I need dhcp lease clear feature.

After enable this

set service dhcp-server hostfile-update

I can find hostname of linux servers with hosts file. But when i try to rename the hostname. Where i can clean dhcp lease immediatly?
I found that edgeos has the command clear dhcp lease ip to force delete the lease. Can we implement in vyos ? This is immport for me.

Clear DHCP Lease

my vyos version: run show version
Version:          VyOS 1.2.1
Built by:         Sentrium S.L.
Built on:         Sun 14 Apr 2019 12:13 UTC
Build ID:         4ccd819a-db31-452e-b34b-a0b24af4e984

Architecture:     x86_64
Boot via:         installed image
System type:      KVM guest

Hardware vendor:  Bochs
Hardware model:   Bochs
Hardware S/N:     Unknown
Hardware UUID:    Unknown

Copyright:        VyOS maintainers and contributors

Your Sincerely!
Steve Dong


Difficulty level
Unknown (require assessment)
Why the issue appeared?
Will be filled on close

Event Timeline

dongjunbo updated the task description. (Show Details)May 12 2019, 2:00 AM
pasik added a subscriber: pasik.May 27 2019, 8:21 PM
KKUL added a subscriber: KKUL.Aug 15 2019, 8:49 AM
syncer assigned this task to Dmitry.Aug 31 2019, 12:28 AM
syncer triaged this task as Low priority.
syncer edited projects, added VyOS 1.3 Equuleus; removed VyOS 1.2 Crux.