<div dir="ltr">Hello Rachael,<div><br></div><div>There probably isn't an example file anywhere in the documentation (I looked also) or if there is, I just didn't find it. I would suggest setting up a test kea server with the memfile lease database persisting to a file. Then use perfdhcp to generate traffic thus populating the file. If you need specific options to appear in the lease file, it is possible to use perfdhcp to generate most of them (even if you have to create the hex yourself).</div><div><br></div><div>Thank you,</div><div><br></div><div>Darren Ankney</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Apr 12, 2023 at 5:19 PM Rachael Wilson <<a href="mailto:RachaelW@okpud.org">RachaelW@okpud.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg-5565158439580636352">
<div lang="EN-US" style="overflow-wrap: break-word;">
<div class="m_-5565158439580636352WordSection1">
<p class="MsoNormal">Hi, I would like to migrate a few thousand DHCP leases from a non-ISC DHCP server to a memfile backed Kea instance. Looking through the docs, it seems it would be easier to populate the lease file in /var/lib/kea/kea-leases4.csv rather
than using hooks. However, in a fresh install the file only contains the header row. Is there an example file populated with rows I could look at to properly format the data for import? Didn’t see anything in the docs, but might have missed it.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal" style="margin-bottom:8pt;line-height:106%"><u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:8pt;line-height:106%"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<u></u>
--
<br>
<table id="m_-55651584395806363520.d7lo0ephf9g" style="height:114px;width:660px;margin:0px;line-height:17px" cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td valign="center" style="width:79px;font-family:Arial;font-size:10pt;padding:0px;margin:0px">
<img src="cid:1877a241631371aaaac1" border="0" width="87" height="87" id="m_-55651584395806363520.84vrp5kjk1v" alt="logo__250px.png" style="width: 87px; height: 87px; padding: 0px; margin: 0px;">
</td>
<td valign="top" style="width:581px;font-family:Arial;font-size:10pt;padding:4.5pt"><span style="font-family:Calibri"><span style="font-size:14pt"><strong style="font-size:12pt">Rachael Wilson </strong><font style="font-size:12pt" color="#7f7f7f">| </font><font style="font-size:12pt" color="#1f497d">Network Analyst</font></span><br><span style="font-size:10pt"><font color="#7f7f7f">Public Utility District No. 1 Of Okanogan County <br>Office: (509) 422-8374 | <a href="mailto:RachaelW@okpud.org" target="_blank">RachaelW@okpud.org</a> <br></font><font color="#000000">1331 2nd Ave N., Okanogan, WA
98840 | P.O. Box 912, Okanogan, WA 98840 </font></span></span></td>
</tr>
<tr>
<td valign="top" style="width:660px;font-family:Arial;font-size:10pt" colspan="2">
<font style="font-size:6pt">
P.U.D. No. 1 of Okanogan County is an equal opportunity provider and employer. If you think that you have received this message in error, please e-mail the sender at the above e-mail address.<span style="font-size:7pt"></span></font></td>
</tr>
</tbody>
</table><br><u></u></div>
-- <br>
ISC funds the development of this software with paid support subscriptions. Contact us at <a href="https://www.isc.org/contact/" rel="noreferrer" target="_blank">https://www.isc.org/contact/</a> for more information.<br>
<br>
To unsubscribe visit <a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/kea-users</a>.<br>
<br>
Kea-users mailing list<br>
<a href="mailto:Kea-users@lists.isc.org" target="_blank">Kea-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/kea-users</a><br>
</div></blockquote></div>