From 96096144bb9112969052a3c8bf58f8833e45e9e2 Mon Sep 17 00:00:00 2001 From: douyali Date: Thu, 14 Jan 2021 04:48:45 +0000 Subject: [PATCH] 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 --- ironic_inspector/conf/default.py | 2 +- releasenotes/notes/add-ibmc-43de3a7af7b5b18d.yaml | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/add-ibmc-43de3a7af7b5b18d.yaml diff --git a/ironic_inspector/conf/default.py b/ironic_inspector/conf/default.py index 91ac45ae8..01866a89f 100644 --- a/ironic_inspector/conf/default.py +++ b/ironic_inspector/conf/default.py @@ -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', diff --git a/releasenotes/notes/add-ibmc-43de3a7af7b5b18d.yaml b/releasenotes/notes/add-ibmc-43de3a7af7b5b18d.yaml new file mode 100644 index 000000000..2dccf9389 --- /dev/null +++ b/releasenotes/notes/add-ibmc-43de3a7af7b5b18d.yaml @@ -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.