Allow configuring a gateway for the inspection network
This is configured via the ironic_dnsmasq_default_gateway variable, and is not set by default. Change-Id: I4deea65876d0852ba2b48a8cf9bad94f4df2a18d
This commit is contained in:
parent
53b2cdca2c
commit
69c1bf2d82
@ -139,6 +139,7 @@ openstack_ironic_inspector_auth: "{{ openstack_auth }}"
|
||||
|
||||
ironic_dnsmasq_interface: "{{ api_interface }}"
|
||||
ironic_dnsmasq_dhcp_range:
|
||||
ironic_dnsmasq_default_gateway:
|
||||
ironic_dnsmasq_boot_file: "{% if enable_ironic_ipxe | bool %}undionly.kpxe{% else %}pxelinux.0{% endif %}"
|
||||
ironic_cleaning_network:
|
||||
ironic_console_serial_speed: "115200n8"
|
||||
|
@ -1,6 +1,9 @@
|
||||
port=0
|
||||
interface={{ api_interface }}
|
||||
dhcp-range={{ ironic_dnsmasq_dhcp_range }}
|
||||
{% if ironic_dnsmasq_default_gateway is not none %}
|
||||
dhcp-option=3,{{ ironic_dnsmasq_default_gateway }}
|
||||
{% endif %}
|
||||
dhcp-option=option:tftp-server,{{ api_interface_address }}
|
||||
dhcp-option=option:server-ip-address,{{ api_interface_address }}
|
||||
bind-interfaces
|
||||
|
@ -30,6 +30,15 @@ network:
|
||||
|
||||
.. end
|
||||
|
||||
In the same file, optionally a default gateway to be used for the Ironic
|
||||
Inspector inspection network:
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
ironic_dnsmasq_default_gateway: 192.168.5.1
|
||||
|
||||
.. end
|
||||
|
||||
In the same file, specify the PXE bootloader file for Ironic Inspector. The
|
||||
file is relative to the ``/tftpboot`` directory. The default is ``pxelinux.0``,
|
||||
and should be correct for x86 systems. Other platforms may require a different
|
||||
|
@ -0,0 +1,6 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
Adds support for configuring a default gateway to be used in the Ironic
|
||||
Inspector inspection network. This is configured via the
|
||||
``ironic_dnsmasq_default_gateway`` variable, and is not set by default.
|
Loading…
Reference in New Issue
Block a user