omapi question

Matej matej at matnet.net
Wed Oct 14 14:56:31 UTC 2009


Thank you for your help, your short example clears up things a lot :-)

With kind regards,
Matej

----- Original Message ----- 
From: "Luka" <dhcp at ml.evriala.net>
To: "Users of ISC DHCP" <dhcp-users at lists.isc.org>
Sent: Wednesday, October 14, 2009 1:07 PM
Subject: Re: omapi question


> 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
> _______________________________________________
> 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