yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #90057
[Bug 1669594] Re: DHCP host_routes should be Neutron Segment aware
** Changed in: neutron
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1669594
Title:
DHCP host_routes should be Neutron Segment aware
Status in neutron:
Fix Released
Bug description:
The following code in neutron/agent/linux/dhcp.py will create on-
link/link-local routes to all subnets in a network.
host_routes.extend(["%s,0.0.0.0" % (s.cidr) for s in
self.network.subnets
if (s.ip_version == 4 and
s.cidr != subnet.cidr)])
White the introduction of Neutron segments, this needs to be update so
that host_routes for on-link destinations are only created if
l2-adjacency is True.
We should also create host_routes for all subnets whithin the same
segment, as I understand it l2-adjacency is guaranteed within each
segment. And Segment can have multiple Subnets.
ref: http://specs.openstack.org/openstack/neutron-specs/specs/newton/routed-networks.html
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1669594/+subscriptions
References