Add ironic_dnsmasq_interface parameter to globals.yml

Specifying a nic for dnsmasq when using ironic inspector,
by default is network_interface

Change-Id: I579c667c40b14030f340c1f3d7f57fe37613ee1a
This commit is contained in:
ya.wang 2018-11-23 11:04:49 +08:00
parent 23415bf8bb
commit 1795ea8959
2 changed files with 6 additions and 3 deletions

View File

@ -17,12 +17,13 @@ Enable Ironic in ``/etc/kolla/globals.yml``:
enable_ironic: "yes"
In the same file, define a range of IP addresses that will be available for use
by Ironic inspector, as well as a network to be used for the Ironic cleaning
network:
In the same file, define a network interface as the default NIC for dnsmasq,
a range of IP addresses that will be available for use by Ironic inspector,
as well as a network to be used for the Ironic cleaning network:
.. code-block:: yaml
ironic_dnsmasq_interface: "eth1"
ironic_dnsmasq_dhcp_range: "192.168.5.100,192.168.5.110"
ironic_cleaning_network: "public1"

View File

@ -445,6 +445,8 @@ glance_enable_rolling_upgrade: "no"
#############################
# Ironic options
#############################
# dnsmasq bind interface for Ironic Inspector, by default is network_interface
#ironic_dnsmasq_interface: "{{ network_interface }}"
# following value must be set when enable ironic, the value format
# is "192.168.0.10,192.168.0.100".
ironic_dnsmasq_dhcp_range: