devstack - enable v6 addr list if q-dhcp enabled
For neutron to write the correct dnsmasq configuration for IPv6 network boot, the `dnsmasq_enable_addr6_list` option for neutron dhcp agent must be enabled. Change-Id: I8ef978ad689f0d1c822bb724f1af58f6fd4c2d8b
This commit is contained in:
parent
0eb3f40f10
commit
dcf155d9c2
@ -1359,6 +1359,7 @@ function configure_ironic_rescue_network {
|
||||
}
|
||||
|
||||
function configure_ironic_provision_network {
|
||||
configure_neutron_dhcp_enable_addr6_list
|
||||
if [[ "$IRONIC_IP_VERSION" == "6" ]]; then
|
||||
# NOTE(TheJulia): Ideally we should let this happen
|
||||
# with our global address, but iPXE seems to have in
|
||||
@ -1490,6 +1491,13 @@ function configure_neutron_l3_lower_v6_ra {
|
||||
iniset $Q_L3_CONF_FILE DEFAULT min_rtr_adv_interval 5
|
||||
}
|
||||
|
||||
function configure_neutron_dhcp_enable_addr6_list {
|
||||
if is_service_enabled q-dhcp; then
|
||||
iniset $Q_DHCP_CONF_FILE DEFAULT dnsmasq_enable_addr6_list true
|
||||
restart_service devstack@q-dhcp.service
|
||||
fi
|
||||
}
|
||||
|
||||
# configure_ironic() - Set config files, create data dirs, etc
|
||||
function configure_ironic {
|
||||
configure_ironic_dirs
|
||||
|
Loading…
Reference in New Issue
Block a user