logo       

Retreive objects via OMAPI: msg#00275

network.dhcp.isc.dhcp-server

Subject: Retreive objects via OMAPI

*** From dhcp-server -- To unsubscribe, see the end of this message. ***


Is it somehow possible to specify that you only want the lease with
"binding state active" ? And is it possible to list out the objects even
tought there are serveral ?
Right now I get the error message "can't open object: more than one object
matches key".
Look at sample below:

$ /usr/bin/omshell
> server 127.0.0.1
> port 521
> connect
obj: <null>
> new lease
obj: lease
> set dhcp-client-identifier = 01:00:04:BD:40:0C:AA
obj: lease
dhcp-client-identifier = 01:00:04:bd:40:0c:aa
> set state = 00:00:00:02
obj: lease
dhcp-client-identifier = 01:00:04:bd:40:0c:aa
state = 00:00:00:02
> open
can't open object: more than one object matches key
obj: lease
dhcp-client-identifier = 01:00:04:bd:40:0c:aa
state = 00:00:00:02
>



Best regards,
Jon


-----------------------------------------------------------------------
List Archives : http://www.isc.org/ml-archives/dhcp-server/
Unsubscribe : http://www.isc.org/dhcp-lists.html
-or- : mailto:dhcp-server-request@xxxxxxx?Subject=unsubscribe
-----------------------------------------------------------------------




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise