OMAPI/omshell: Possible to create a lease?

Jessica Meyer jessmeyer82 at gmail.com
Fri Jul 10 13:55:46 UTC 2009


Hello everybody

I'm playing with omshell (OMAPI) and (almost) everything works pretty
good. I'm able to add hosts or change existing leases. What I want now
is to create lease objects, which is not possible:

> new lease
obj: lease
> set hardware-address 00:00:00:00:00:00
[other stuff]
> create
can't open object: not implemented

>From what I have read so far, it is not possible to create leases
through OMAPI. Is that correct? It seems it's only possible to delete
or change them. I'm using ISC DHCPD 4.1.0.

Thanks
Jessica



More information about the dhcp-users mailing list