ironic-inspector/ironic_inspector/plugins
Bob Fournier 9a88ac5e29 Only set switch_id in local_link_connection if it is a mac address
When the processed lldp data is used for setting the local_link_connection
switch_id, it will set it even if the Chassis ID is not a mac.  Need to
only set it when the ChassisId is a mac address, as is done when using
non-processed lldp data.  Ironic validates that switch_id is either a
mac address or OpenFlow datapath ID.

This fixes a regresssion introduced in Pike.

Change-Id: I566acb5b19852b541df7554870ab2666f7df9614
Closes-Bug: 1748022
(cherry picked from commit 97282c64e9)
2018-02-13 06:52:24 -08:00
..
__init__.py Rename discoverd -> inspector 2015-05-29 09:06:56 +02:00
base.py Remove rollback support from introspection rules 2017-05-17 18:33:34 +02:00
capabilities.py Centralize config options 2018-01-04 20:43:58 -08:00
discovery.py Centralize config options 2018-01-04 20:43:58 -08:00
example.py Officially deprecate rollback for introspection rules 2016-03-08 15:12:47 +01:00
extra_hardware.py Remove translation of log messages Part-1 2017-03-24 21:45:04 +00:00
lldp_basic.py Remove translation of log messages Part-1 2017-03-24 21:45:04 +00:00
local_link_connection.py Only set switch_id in local_link_connection if it is a mac address 2018-02-13 06:52:24 -08:00
pci_devices.py Remove translation of log messages Part-1 2017-03-24 21:45:04 +00:00
raid_device.py Remove translation of log messages Part-1 2017-03-24 21:45:04 +00:00
rules.py remove unused LOG 2016-07-10 13:44:21 +08:00
standard.py Move processing of local_gb to root_disk_selection hook 2017-11-02 12:39:37 +01:00