[openstack-dev] [neutron] DHCP Agent Scheduling for Segments

Carl Baldwin carl at ecbaldwin.net
Thu May 19 20:16:00 UTC 2016

On Wed, May 18, 2016 at 1:36 PM, Kevin Benton <kevin at benton.pub> wrote:
>>I may have wrongly assumed that segments MAY have the possibility of being
>> l2 adjacent, even if the entire network they are in is not, which would mean
>> that viewing and scheduling these in the context of a segment could be
>> useful.
> Segments could be L2 adjacent, but I think it would be pretty uncommon for a
> DHCP agent to have access to multiple L2 adjacent segments for the same
> network. But even if that happens, the main use case I see for the scheduler
> API is taking networks off of dead agents, agents going under maintenance,
> or agents under heavy load. With the introduction of segments, all of those
> are still possible via the network-based API.

I think I agree with this.  Let's not change the API at all to begin
with.  I do think this means that the current API should work with or
without segments.  I'm not sure that the current approach of doing
scheduling for segments completely independently of scheduling for
networks works for this.  Does it?

>>Do you feel like it'd be beneficial to show what segment a dhcp agent is
>> bound to in the API?
> Probably useful in some cases. This will already be possible by showing the
> port details for the DHCP agent's port, but it might be worth adding in just
> to eliminate the extra steps.



More information about the OpenStack-dev mailing list