omapi question

Luka dhcp at ml.evriala.net
Wed Oct 14 11:07:05 UTC 2009


After remove there are two declarations of the same host:

host nh4ad5b013800ccd0e0 {
   dynamic;
   hardware ethernet 00:02:02:03:04:05;
   fixed-address 10.0.0.10;
}

and after

obj: host
name = "nh4ad5b013800ccd0e0"
ip-address = 0a:00:00:0a
hardware-address = 00:02:02:03:04:05
hardware-type = 00:00:00:01
 > remove
obj: <null>

host nh4ad5b013800ccd0e0 {
   dynamic;
   deleted;
}

Regards,
Luka

Matej wrote:
> Hi,
> 
> I have added a host via omshell and it is successfully added. When I first create a host object, then set hardware-address to the host's MAC and do open, I get that host listed and when I do remove, I get "obj: <null>", but the host is still in the leases file. When does the lease file get updated? 
> 
> Thank you for this information, I can't find it anywhere.
> 
> Matej
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users



More information about the dhcp-users mailing list