OMAPI objects in dhclient
Gary Mills
gary_mills at fastmail.fm
Sun Oct 7 13:39:59 UTC 2012
Can somebody tell me which objects are available to OMAPI in dhclient,
and which keys are needed to access them? I've been testing with
omshell, but the only object I could find is `interface':
$ omshell
> connect
obj: <null>
> new "interface"
obj: interface
> set name = "rge0"
obj: interface
name = "rge0"
> open
obj: interface
name = "rge0"
state = "up"
I can't find a `lease' object even though the interface has one:
> connect
obj: <null>
> new "lease"
obj: lease
> set interface = "rge0"
obj: lease
interface = "rge0"
> open
can't open object: not found
My objective is to have dhclient as a continuously-running service,
with a custom OMAPI client to tell it which interface to configure and
to query the lease for that interface. Is this possible? If not,
I'll have to abandon this project.
--
-Gary Mills- -refurb- -Winnipeg, Manitoba, Canada-
More information about the dhcp-users
mailing list