How to set reserved lease via omshell

Shawn Routhier 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.
  [ISC-Bugs #31179]

regards,
Shawn

> 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 ?
> 
> regards,
> -glenn
> 
> 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>
>> wrote:
>> 
>>> 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
>> retrying
>> with either
>>   set state = 8
>>   set state = 00:00:00:08
>> 
>> results in an error
>> 
>>> update
>> 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
>> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20160302/77aa8e10/attachment.html>


More information about the dhcp-users mailing list