Thanks, Dan! I will try! I knew it was just my syntax.
Jason.
On 3/28/24 14:30, Dan Oachs via Kea-users wrote:
I can delete a lease by doing this...
kea-shell (lots of options followed by) lease4-del
Then I hit enter and type "ip-address": "XXX.XXX.XXX.XXX"
Then hit enter and control-d
That
I can delete a lease by doing this...
kea-shell (lots of options followed by) lease4-del
Then I hit enter and type"ip-address": "XXX.XXX.XXX.XXX"
Then hit enter and control-d
That seems to work for me. I'm sure there are other probably better ways
to make it work as well.
--Dan
On Thu,
Hi.
I was trying to use lease4-del in the kea API through kea-shell, but
can't seem to get the syntax right.
I pass into ...
kea-shell --host localhost --port 8000 --service dhcp4
The following:
{
"command": "lease4-del",
"arguments": {
"ip-address": "1.2.3.4"
}
}
and get