<div dir="ltr">><span style="font-size:12.8px">I update [1] to auto delete dhcp port if there is no other ports. But </span><span style="font-size:12.8px">after the dhcp port is deleted, the dhcp service is not usable.</span><div><br></div><div>You mean in the case where the segments are in the same L2 domain, right? If not, I don't understand why we wouldn't expect a segment that was deleted to stop working....</div><div><br></div><div>Have the DHCP agent scheduler subscribe to segment delete and it can determine if the network needs to be hosted on any more agents.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 18, 2016 at 4:24 AM, Hong Hui Xiao <span dir="ltr"><<a href="mailto:xiaohhui@cn.ibm.com" target="_blank">xiaohhui@cn.ibm.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I update [1] to auto delete dhcp port if there is no other ports. But<br>
after the dhcp port is deleted, the dhcp service is not usable. I can<br>
resume the dhcp service by adding another subnet, but I don't think it is<br>
a good way. Do we need to consider bind dhcp port to another segment when<br>
deleting the existing one?<br>
<br>
[1] <a href="https://review.openstack.org/#/c/317358" rel="noreferrer" target="_blank">https://review.openstack.org/#/c/317358</a><br>
<br>
HongHui Xiao(肖宏辉) PMP®<br>
<span class=""><br>
<br>
From:   Carl Baldwin <<a href="mailto:carl@ecbaldwin.net">carl@ecbaldwin.net</a>><br>
To:     OpenStack Development Mailing List<br>
<<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>><br>
</span>Date:   05/18/2016 11:50<br>
Subject:        Re: [openstack-dev] [Neutron][ML2][Routed Networks]<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
On May 17, 2016 2:18 PM, "Kevin Benton" <kevin@benton.pub> wrote:<br>
><br>
> >I kind of think it makes sense to require evacuating a segment of<br>
its ports before deleting it.<br>
><br>
> Ah, I left out an important assumption I was making. We also need to<br>
auto delete the DHCP port as the segment is deleted. I was thinking this<br>
will be basically be like the delete_network case where we will auto<br>
remove the network owned ports.<br>
I can go along with that. Thanks for the clarification.<br>
Carl<br>
</div></div><div class="HOEnZb"><div class="h5">__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br>
<br>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</div></div></blockquote></div><br></div>