<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hello all,<br>
<br>
I am an engineer part of the PacketFence (<a class="moz-txt-link-freetext" href="http://packetfence.org/">http://packetfence.org/</a>)
team which already actively uses the ISC DHCP server.<br>
<br>
Due to the nature of our product, we need to have a lease time of 30
seconds in our DHCP scopes.<br>
<br>
What we would like to do, is to be able to make this lease time
higher for specific hosts dynamically without restarting the DHCP
server.<br>
<br>
We already integrate with the OMAPI to get the current lease for a
MAC address, so I thought I would give it a shot for this also.<br>
<br>
When I try to create the host with the default-lease-time and
max-lease-time attributes, it throws an error :
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<span style="color: rgb(51, 51, 51); font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono',
'Bitstream Vera Sans Mono', monospace, serif; font-size: 12px;
font-style: normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: 24px; orphans: auto;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 1; word-spacing: 0px;
-webkit-text-stroke-width: 0px; display: inline !important; float:
none; background-color: rgb(248, 248, 248);">can't open object:
unknown attribute</span><br>
<br>
Now, is it me not using the right names when setting the variables
or is it that what I am trying to do is impossible ?<br>
<br>
Here is a pastebin of my omshell session :
<a class="moz-txt-link-freetext" href="http://pastebin.com/rbkdPqCP">http://pastebin.com/rbkdPqCP</a><br>
<br>
If it is not possible to do this via the OMAPI, is there an
alternate way to accomplish what we want to do ?<br>
<br>
Thanks !<br>
<pre class="moz-signature" cols="72">--
Julien Semaan
<a class="moz-txt-link-abbreviated" href="mailto:jsemaan@inverse.ca">jsemaan@inverse.ca</a> :: +1 (866) 353-6153 *155 :: <a class="moz-txt-link-abbreviated" href="http://www.inverse.ca">www.inverse.ca</a>
Inverse inc. :: Leaders behind SOGo (<a class="moz-txt-link-abbreviated" href="http://www.sogo.nu">www.sogo.nu</a>) and PacketFence (<a class="moz-txt-link-abbreviated" href="http://www.packetfence.org">www.packetfence.org</a>) </pre>
<br>
<br>
</body>
</html>