How to set reserved lease via omshell
sar at isc.org
Wed Mar 2 17:06:06 UTC 2016
We recently found and fixed some bugs in the infinite-is-reserved
and reserved functionality. You should wait until the next release
(which will be out pretty soon) before trying to use them.
Part of the release note for this about reserved and OMAPI is:
In addition, corrections
were made to the server to allow a lease's flags field to be set via omapi.
Prior to this, the server, depending on the host architecture, would
incorrectly parse the new flags value from the omapi message.
> On Mar 2, 2016, at 8:34 AM, Glenn Satchell <glenn.satchell at uniq.com.au> wrote:
> Hi Frank
> There is the infinite-is-reserved setting, so if that is set to true then
> in omshell set the lease expiry time to infinite and it will become
> reserved. I'm not familiar enough with omshell to know how to do that.
> Maybe a value of ff:ff:ff:ff ?
> On Thu, March 3, 2016 12:55 am, Frank Price wrote:
>> On Wed, Mar 2, 2016 at 2:55 AM, Simon Hobson <dhcp1 at thehobsons.co.uk>
>>> Frank Price <fprice at lexmark.com> wrote:
>>>> 8 = reserved
>>>> - set state = 9 ; update
>>> Is that a typo or a copy&paste error ?
>> I thought for a moment it was me being stupid and bleary eyed, but
>> with either
>> set state = 8
>> set state = 00:00:00:08
>> results in an error
>> can't update object: invalid argument
>> obj: lease
>> client-hostname = "Demo"
>> ip-address = 0x:cx:dx:fx
>> state = 00:00:00:08
>> dhcp-users mailing list
>> dhcp-users at lists.isc.org
> dhcp-users mailing list
> dhcp-users at lists.isc.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the dhcp-users