diff options
author | Balazs Gibizer <gibi@redhat.com> | 2022-05-30 12:01:29 +0200 |
---|---|---|
committer | Balazs Gibizer <gibi@redhat.com> | 2022-08-10 17:08:35 +0200 |
commit | 14e68ac6e996587a969a6006030cbca686643dd9 (patch) | |
tree | c7d1b2f779048cc9111207b9e601e38d5e73a52e /nova/network | |
parent | 57c253a609e859fa21ba05b264f0ba4d0ade7b8b (diff) | |
download | nova-14e68ac6e996587a969a6006030cbca686643dd9.tar.gz |
Rename [pci]passthrough_whitelist to device_spec
A later patch in the pci-device-tracking-in-placement work
will extend the existing [pci]passthrough_whitelist config syntax.
So we take the opportunity here to deprecate the old non inclusive
passthrough_whitelist name and introduce a better one.
All the usage of CONF.pci.passthrough_whitelist is now changed over to
the new device_spec config. Also the in tree documentation is updated
accordinly.
However the nova code still has a bunch of references to the
"whitelist" terminology. That will be handled in subsequent patches.
blueprint: pci-device-tracking-in-placement
Change-Id: I843032e113642416114f169069eebf6a56ed78dd
Diffstat (limited to 'nova/network')
-rw-r--r-- | nova/network/neutron.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/network/neutron.py b/nova/network/neutron.py index 5d00064259..79b8ed0892 100644 --- a/nova/network/neutron.py +++ b/nova/network/neutron.py @@ -300,7 +300,7 @@ class API: self.last_neutron_extension_sync = None self.extensions = {} self.pci_whitelist = pci_whitelist.Whitelist( - CONF.pci.passthrough_whitelist) + CONF.pci.device_spec) def _update_port_with_migration_profile( self, instance, port_id, port_profile, admin_client): @@ -1638,7 +1638,7 @@ class API: # through the logs since it is generated per request. LOG.error('Unable to find PCI device using PCI request ID in ' 'list of claimed instance PCI devices: %s. Is the ' - '[pci]/passthrough_whitelist configuration correct?', + '[pci]device_spec configuration correct?', # Convert to a primitive list to stringify it. list(instance.pci_devices), instance=instance) raise exception.PciDeviceNotFound( |