diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2022-06-15 12:32:07 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2022-06-28 09:09:06 +0000 |
commit | 7ed0fa3092744a8fe9d0b9ebd2d126e5e07b6285 (patch) | |
tree | 9287487de0eb6986ef3bbd841d78acb828128517 /src/op_mode/show_configuration_json.py | |
parent | a3559f7e429c86ccdfeeac0aaddfc054be403368 (diff) | |
download | vyos-1x-7ed0fa3092744a8fe9d0b9ebd2d126e5e07b6285.tar.gz vyos-1x-7ed0fa3092744a8fe9d0b9ebd2d126e5e07b6285.zip |
op-mode: T1375: Allow to clear dhcp-server lease
Allow to reset dhcp-leases per ip
Parse file '/config/dhcpd.leases' find match section 'lease x.x.x.x {}'
And remove this section
clear dhcp-server lease 192.0.2.21
(cherry picked from commit a83eecfeee1f925c914a46623dd35f96b48389f8)
Diffstat (limited to 'src/op_mode/show_configuration_json.py')
0 files changed, 0 insertions, 0 deletions