Add ibmc_address to ipmi_address_fields

Use ibmc driver to inspect, need edit ironic-inspector config file
to add ibmc_address.

Change-Id: Ie1c665b80b10b6a4d5a3fce1ea4849a8c996cf69
This commit is contained in:
douyali 2021-01-14 04:48:45 +00:00 committed by Iury Gregory Melo Ferreira
parent fb5955bcce
commit 96096144bb
2 changed files with 7 additions and 1 deletions

View File

@ -80,7 +80,7 @@ _OPTS = [
'manage_boot==True).')),
cfg.ListOpt('ipmi_address_fields',
default=['redfish_address', 'ilo_address', 'drac_host',
'drac_address'],
'drac_address', 'ibmc_address'],
help=_('Ironic driver_info fields that are equivalent '
'to ipmi_address.')),
cfg.StrOpt('rootwrap_config',

View File

@ -0,0 +1,6 @@
---
upgrade:
- |
``[DEFAULT]/ipmi_address_fields`` now has ``ibmc_address`` in the default
configuration, allowing introspection to try and match the BMC address if
no ports are defined when using the `ibmc` driver.