Skip to content

Commit 2b0ca50

Browse files
committed
Configure ironic Inspection hooks to manage port and node attributes
After out-of-band inspection we run port-bios-name. The interface names returned by the BMC are generally more meaningful to the data center than the linux names we get in the agent inspection data After Agent Inspection we run update-baremetal-port. This consumes the LLDP information, so it must run after agent inspection. Out-of-band inspection doesn't give us the full LLDP data. The default ironic local-link-connection is removed because the new hook updates the same fields. We add "validate-interfaces" because that populates data we consume.
1 parent 2977387 commit 2b0ca50

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

components/ironic/values.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,10 @@ conf:
9292
# Default hooks include: ramdisk-error,validate-interfaces,ports,architecture
9393
# We override to exclude 'ports' from the default hooks
9494
default_hooks: "ramdisk-error,validate-interfaces,architecture"
95-
hooks: "$default_hooks,pci-devices,parse-lldp,local-link-connection,resource-class"
95+
hooks: "$default_hooks,pci-devices,validate-interfaces,parse-lldp,resource-class,update-baremetal-port"
96+
redfish:
97+
inspection_hooks: "ramdisk-error,validate-interfaces,ports,port-bios-name,architecture,pci-devices"
98+
add_ports: "all"
9699
# enable sensors and metrics for redfish metrics - https://docs.openstack.org/ironic/latest/admin/drivers/redfish/metrics.html
97100
sensor_data:
98101
send_sensor_data: true

0 commit comments

Comments
 (0)