Add ironic_http_interface parameters

With the ironic_http_interface/ironic_http_interface_address
parameters it is possible to set the addresses for the
ironic_http service.

Change-Id: I72c257ebedf283cdef1b98485a576631e2190657
This commit is contained in:
Christian Berendt 2022-02-08 16:29:31 +01:00 committed by Dr. Jens Harbott
parent 889c0d168c
commit 4de3426611
4 changed files with 11 additions and 2 deletions

View File

@ -230,6 +230,7 @@ octavia_network_interface: "{{ 'o-hm0' if octavia_network_type == 'tenant' else
bifrost_network_interface: "{{ network_interface }}"
dns_interface: "{{ network_interface }}"
dpdk_tunnel_interface: "{{ neutron_external_interface }}"
ironic_http_interface: "{{ api_interface }}"
# Configure the address family (AF) per network.
# Valid options are [ ipv4, ipv6 ]
@ -244,11 +245,13 @@ octavia_network_address_family: "{{ api_address_family }}"
bifrost_network_address_family: "{{ network_address_family }}"
dns_address_family: "{{ network_address_family }}"
dpdk_tunnel_address_family: "{{ network_address_family }}"
ironic_http_address_family: "{{ api_address_family }}"
migration_interface_address: "{{ 'migration' | kolla_address }}"
tunnel_interface_address: "{{ 'tunnel' | kolla_address }}"
octavia_network_interface_address: "{{ 'octavia_network' | kolla_address }}"
dpdk_tunnel_interface_address: "{{ 'dpdk_tunnel' | kolla_address }}"
ironic_http_interface_address: "{{ 'ironic_http' | kolla_address }}"
# Valid options are [ openvswitch, ovn, linuxbridge, vmware_nsxv, vmware_nsxv3, vmware_nsxp, vmware_dvs ]
neutron_plugin_agent: "openvswitch"

View File

@ -259,7 +259,7 @@ ironic_dnsmasq_boot_file: "{% if ironic_dnsmasq_serve_ipxe | bool %}undionly.kpx
ironic_dnsmasq_uefi_ipxe_boot_file: "snponly.efi"
ironic_cleaning_network:
ironic_console_serial_speed: "115200n8"
ironic_http_url: "http://{{ api_interface_address | put_address_in_context('url') }}:{{ ironic_http_port }}"
ironic_http_url: "http://{{ ironic_http_interface_address | put_address_in_context('url') }}:{{ ironic_http_port }}"
ironic_enable_rolling_upgrade: "yes"
ironic_upgrade_skip_wait_check: false
ironic_inspector_kernel_cmdline_extras: []

View File

@ -1,4 +1,4 @@
Listen {{ api_interface_address | put_address_in_context('url') }}:{{ ironic_http_port }}
Listen {{ ironic_http_interface_address | put_address_in_context('url') }}:{{ ironic_http_port }}
TraceEnable off

View File

@ -0,0 +1,6 @@
---
features:
- |
With the ``ironic_http_interface/ironic_http_interface_address``
parameters it is possible to set the addresses for the
``ironic_http`` service.