<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-ligatures:standardcontextual;
mso-fareast-language:EN-US;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Hi all,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I've noticed that using reservation-del against dhcp6 removes *<b>all</b>* reservations, while doing the same against dhcp4 behaves as expected and removes just the reservation that was specified. I can't see why they behave differently.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have made reservations for 2a00:e340:1102::3 and 2a00:e340:1102::4 and can see them both when I do a reservation-get-all.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Then I try to delete one of them. Here is the call I am making for v6:<br>
<br>
<span style="font-family:Consolas">{<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"> "command": "reservation-del",<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"> "service": ["dhcp6"],<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"> "arguments": {<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"> "subnet-id": 1,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"> "ip-address": "2a00:e340:1102::3"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"> }<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">}<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">When I look at the debug, I see messages just deleting this one reservation:<br>
<br>
<span style="font-family:Consolas">INFO COMMAND_RECEIVED Received command 'reservation-del'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">DEBUG HOOKS_CALLOUTS_BEGIN begin all callouts for hook $reservation_del<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">INFO HOST_CMDS_RESERV_DEL reservation-del command called (parameters: { "ip-address": "2a00:e340:1102::3", "subnet-id": 1 })<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">INFO HOST_CMDS_RESERV_DEL_SUCCESS reservation-del command success (parameters: { "ip-address": "2a00:e340:1102::3", "subnet-id": 1 })<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">DEBUG HOOKS_CALLOUT_CALLED hooks library with index 2 has called a callout on hook $reservation_del that has address 0x7ff2f67cecb0 (callout duration: 5.882 ms)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">DEBUG HOOKS_CALLOUTS_COMPLETE completed callouts for hook $reservation_del (total callouts duration: 5.882 ms)<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">However, when I do another reservation-get-all, the table is now empty:<br>
<br>
<o:p></o:p></p>
<p class="MsoNormal" style="line-height:13.5pt;background:#212121"><span style="font-size:9.0pt;font-family:"Courier New";color:gainsboro;mso-ligatures:none;mso-fareast-language:EN-GB">[</span><span style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-ligatures:none;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:13.5pt;background:#212121"><span style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-ligatures:none;mso-fareast-language:EN-GB">
</span><span style="font-size:9.0pt;font-family:"Courier New";color:gainsboro;mso-ligatures:none;mso-fareast-language:EN-GB">{</span><span style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-ligatures:none;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:13.5pt;background:#212121"><span style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-ligatures:none;mso-fareast-language:EN-GB">
</span><span style="font-size:9.0pt;font-family:"Courier New";color:#9CDCFE;mso-ligatures:none;mso-fareast-language:EN-GB">"arguments"</span><span style="font-size:9.0pt;font-family:"Courier New";color:gainsboro;mso-ligatures:none;mso-fareast-language:EN-GB">:</span><span style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-ligatures:none;mso-fareast-language:EN-GB">
</span><span style="font-size:9.0pt;font-family:"Courier New";color:gainsboro;mso-ligatures:none;mso-fareast-language:EN-GB">{</span><span style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-ligatures:none;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:13.5pt;background:#212121"><span style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-ligatures:none;mso-fareast-language:EN-GB">
</span><span style="font-size:9.0pt;font-family:"Courier New";color:#9CDCFE;mso-ligatures:none;mso-fareast-language:EN-GB">"hosts"</span><span style="font-size:9.0pt;font-family:"Courier New";color:gainsboro;mso-ligatures:none;mso-fareast-language:EN-GB">:</span><span style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-ligatures:none;mso-fareast-language:EN-GB">
</span><span style="font-size:9.0pt;font-family:"Courier New";color:gainsboro;mso-ligatures:none;mso-fareast-language:EN-GB">[]</span><span style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-ligatures:none;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:13.5pt;background:#212121"><span style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-ligatures:none;mso-fareast-language:EN-GB">
</span><span style="font-size:9.0pt;font-family:"Courier New";color:gainsboro;mso-ligatures:none;mso-fareast-language:EN-GB">},</span><span style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-ligatures:none;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:13.5pt;background:#212121"><span style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-ligatures:none;mso-fareast-language:EN-GB">
</span><span style="font-size:9.0pt;font-family:"Courier New";color:#9CDCFE;mso-ligatures:none;mso-fareast-language:EN-GB">"result"</span><span style="font-size:9.0pt;font-family:"Courier New";color:gainsboro;mso-ligatures:none;mso-fareast-language:EN-GB">:</span><span style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-ligatures:none;mso-fareast-language:EN-GB">
</span><span style="font-size:9.0pt;font-family:"Courier New";color:#B5CEA8;mso-ligatures:none;mso-fareast-language:EN-GB">3</span><span style="font-size:9.0pt;font-family:"Courier New";color:gainsboro;mso-ligatures:none;mso-fareast-language:EN-GB">,</span><span style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-ligatures:none;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:13.5pt;background:#212121"><span style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-ligatures:none;mso-fareast-language:EN-GB">
</span><span style="font-size:9.0pt;font-family:"Courier New";color:#9CDCFE;mso-ligatures:none;mso-fareast-language:EN-GB">"text"</span><span style="font-size:9.0pt;font-family:"Courier New";color:gainsboro;mso-ligatures:none;mso-fareast-language:EN-GB">:</span><span style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-ligatures:none;mso-fareast-language:EN-GB">
</span><span style="font-size:9.0pt;font-family:"Courier New";color:#CE9178;mso-ligatures:none;mso-fareast-language:EN-GB">"0 IPv6 host(s) found."</span><span style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-ligatures:none;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:13.5pt;background:#212121"><span style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-ligatures:none;mso-fareast-language:EN-GB">
</span><span style="font-size:9.0pt;font-family:"Courier New";color:gainsboro;mso-ligatures:none;mso-fareast-language:EN-GB">}</span><span style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-ligatures:none;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:13.5pt;background:#212121"><span style="font-size:9.0pt;font-family:"Courier New";color:gainsboro;mso-ligatures:none;mso-fareast-language:EN-GB">]</span><span style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-ligatures:none;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">As I say, v4 works fine. Any pointers would be most welcome,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Cheers,<o:p></o:p></p>
<p class="MsoNormal">Andy<o:p></o:p></p>
</div>
<div style="font-size: 9pt; font-family: Verdana; line-height: 1.2">
<div>
<p style="color: rgb(14, 65, 69); font-weight: bold; margin: 0;"><br>Andrew Mulheirn
</p>
<p style="color: #727272; margin: 0;">
Senior Network Architect
</p>
<p style="margin: 0;">
<span style="color: #d4966a">
M:
</span>
<a href="tel:+44 (0) 74 3654 8126" style="text-decoration: none;">
+44 (0) 74 3654 8126
</a>
</p>
<p style="margin: 0;">
<span style="color: #d4966a">
E:
</span>
<a href="mailto:andrew.mulheirn@vorboss.com" style="text-decoration: none;">
andrew.mulheirn@vorboss.com
</a>
</p>
<p style="margin: 0;">
<a style="text-decoration: none;" href="https://vorboss.com" title="">
vorboss.com
</a>
</p>
</div>
<br>
<div>
<p style="margin: 0;">
<span style="color: rgb(114, 114, 114);">
Not sure who currently provides your internet?
</span>
<br>
<a href="https://check.vorboss.com/" style="text-decoration: none;">
Find out here and take our speed test.
</a>
</p>
</div>
<br>
<div style="font-size: 8pt; color: #9a9a9a;">
<p style="margin: 0;">
Disclaimer: This message is private and confidential. If you have received
this message in error, please remove it from your system and notify us at<span style="color: rgb(154, 154, 154);">
</span><a href="mailto:sysadmin@vorboss.net" style="text-decoration: none;"><span style="color: rgb(154, 154, 154);">
sysadmin@vorboss.net
</span> </a>
or by telephone <span style="color: rgb(154, 154, 154);">+44(0)20 3582 8500</span>. Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon,
this information by persons or entities other than the intended recipient is
prohibited.
Privacy Note: Vorboss Limited may monitor email traffic data and also the
content of email for the purposes of security. This email does not create or
vary any contractual obligations between Vorboss Limited and the intended
recipient.
</p>
<p>
Vorboss Limited is a limited company registered in England and Wales.
Registered number: 05678571.
Registered Office: Vorboss Limited, Broadwalk House, 5 Appold Street,
London, EC2A 2AG, UNITED KINGDOM.
</p>
</div>
</div></body>
</html>