Support IPv6 SLAAC mode in dnsmasq

Registered by Shixiong Shang on 2013-12-18

The intent of this blueprint is to allow dnsmasq to work in SLAAC mode.

Based on ipv6-two-attributes blueprints, if end user chooses SLAAC as both IPv6 RA mode and IPv6 address mode via either Dashboard or Neutron CLI command, the implementation described by this blueprint will be triggered.

In this case, Openstack will send out RA from tenant subnet's gateway port on Neutron router with AL bits set to 1 and MO bits set to 0. As the result, VM on the same link can use announced IPv6 prefix and MAC address to calculate IPv6 address based on SLAAC standard (RFC 4862). VM will also rely on RA to install default route.

It is worth mentioning that, the IPv6 SLAAC mode is only supported if tenant network is routable, i.e. the corresponding IPv6 subnet is attached to neutron router. When tenant subnet is not attached to any neutron router, (i.e. doesn't have gateway port), OpenStack should NOT be responsible to send IPv6 RA.

Blueprint information

Status:
Complete
Approver:
Mark McClain
Priority:
Medium
Drafter:
Shixiong Shang
Direction:
Approved
Assignee:
Shixiong Shang
Definition:
Superseded
Series goal:
None
Implementation:
Deferred
Milestone target:
None
Completed by
Armando Migliaccio on 2015-11-21

Related branches

Sprints

Whiteboard

14-July (mestery): This is superseded by the following BP (https://blueprints.launchpad.net/neutron/+spec/neutron-ipv6-radvd-ra), so marking this as deprecated.

18-Mar (markmcclain): Deferring until Juno

Gerrit topic: https://review.openstack.org/#q,topic:bp/ipv6-two-attributes,n,z

Addressed by: https://review.openstack.org/70649
    Add support to DHCP agent for BP ipv6-two-attributes

Gerrit topic: https://review.openstack.org/#q,topic:bp/dnsmasq-ipv6-slaac,n,z

Addressed by: https://review.openstack.org/99595
    Specification for bp dnsmasq-ipv6-slaac

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.