Disable overcloud networks for Ironic when unused

We do not need the workload provisioning, cleaning or inspection
networks when Ironic is disabled in the overcloud.

Change-Id: I300d0ef136224126f25d2c70a80a42afeea5f586
Story: 2008207
Task: 40992
This commit is contained in:
Mark Goddard 2020-09-29 15:00:53 +01:00
parent f9de6a025d
commit 64fd8e1726
2 changed files with 9 additions and 3 deletions

View File

@ -15,11 +15,11 @@ provision_oc_net_name: 'provision_oc_net'
# Name of the network used by the overcloud hosts to manage the bare metal # Name of the network used by the overcloud hosts to manage the bare metal
# compute hosts via their out-of-band management controllers. # compute hosts via their out-of-band management controllers.
oob_wl_net_name: 'oob_wl_net' oob_wl_net_name: "{{ 'oob_wl_net' if kolla_enable_ironic | bool else None }}"
# Name of the network used by the overcloud hosts to provision the bare metal # Name of the network used by the overcloud hosts to provision the bare metal
# workload hosts. # workload hosts.
provision_wl_net_name: 'provision_wl_net' provision_wl_net_name: "{{ 'provision_wl_net' if kolla_enable_ironic | bool else None }}"
# Name of the network used to expose the internal OpenStack API endpoints. # Name of the network used to expose the internal OpenStack API endpoints.
internal_net_name: 'internal_net' internal_net_name: 'internal_net'
@ -57,7 +57,7 @@ swift_storage_replication_net_name: "{{ storage_mgmt_net_name }}"
# Name of the network used to perform hardware introspection on the bare metal # Name of the network used to perform hardware introspection on the bare metal
# workload hosts. # workload hosts.
inspection_net_name: 'inspection_net' inspection_net_name: "{{ 'inspection_net' if kolla_enable_ironic | bool else None }}"
# Name of the network used to perform cleaning on the bare metal workload # Name of the network used to perform cleaning on the bare metal workload
# hosts # hosts

View File

@ -0,0 +1,6 @@
---
upgrade:
- |
The overcloud networks for Ironic (workload out-of-band, workload
provisioning, workload cleaning and workload inspection)
are now disabled by default if Ironic is not enabled.