<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>
<div>
<div>Hi,</div>
<div>This should be resolved with this path - <a href="https://review.openstack.org/239885">https://review.openstack.org/239885</a></div>
<div>Good luck</div>
<div>Gary</div>
<div>
<div id="MAC_OUTLOOK_SIGNATURE"></div>
</div>
</div>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:12pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>thanh le giang <<a href="mailto:legiangthanh@gmail.com">legiangthanh@gmail.com</a>><br>
<span style="font-weight:bold">Reply-To: </span>OpenStack List <<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>><br>
<span style="font-weight:bold">Date: </span>Wednesday, November 11, 2015 at 5:20 AM<br>
<span style="font-weight:bold">To: </span>OpenStack List <<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>><br>
<span style="font-weight:bold">Subject: </span>[openstack-dev] [Neutron][IPAM] ML2 don't call ipam driver remove_subnet function<br>
</div>
<div><br>
</div>
<div>
<div>
<div dir="ltr">
<div>
<div>Dear folks</div>
<div><br>
</div>
<div>I have met a problem when implement IPAM driver, ML2 doesn't call remove_subnet function of ipam driver because ML2 doesn't use delete_subnet function of NeutronDbPluginV2</div>
<div><br>
</div>
<div>Now I workaround by using "SUBNET BEFORE_DELETE" event to notify external IPAM that subnet will be deleted, but I think it's not a good solution. According to my understanding this event should be used for checking subnet is in-used or not. I think ML2
 should call IPAM driver for this situation or provide additional "SUBNET AFTER_DELETE" event</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Thanh</div>
<br>
Email:<a href="mailto:legiangthanh@gmail.com" target="_blank"> legiangthan@gmail.com</a><br>
</div>
</div>
</div>
</div>
</span>
</body>
</html>