Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
d7820ab
Add update_baremetal_port ironic inspection hook
stevekeay Oct 17, 2025
ee9c5be
DROP! make this use a different container
stevekeay Oct 20, 2025
0894f07
Improve diagnostic log messages
stevekeay Oct 20, 2025
0f23648
Don't put None values in local_link_info - abort if its incomplete
stevekeay Oct 20, 2025
a3bc019
DROP! debug logging of all invocational args
stevekeay Oct 20, 2025
19734fd
Attempt to set traits
stevekeay Oct 21, 2025
d180990
DROP! example arguments to __call__()
stevekeay Oct 21, 2025
b0f6c55
Refactor
stevekeay Nov 3, 2025
ca2735b
Extract vlan group switch name mapping to config option
stevekeay Nov 3, 2025
d2d1733
Manage traits for all VLAN Group types, not just STORAGE_SWITCH
stevekeay Nov 3, 2025
abf3101
Replace the link-local-connection hook with our own customised version
stevekeay Nov 3, 2025
76bafc3
Have inspection hook add baremetal ports for all NICs it finds
stevekeay Nov 3, 2025
7758df4
Fix traits.create call
stevekeay Nov 3, 2025
5e5d8d5
fix trait handling: Pass proper context
stevekeay Nov 4, 2025
d7030c0
Add documentation comment
stevekeay Nov 7, 2025
c50a567
DROP! add example of agent inspection data with parsed lldp
stevekeay Nov 18, 2025
bc4efc6
Leverage parsed LLDP inspection hook data and handle pairs of cabs
stevekeay Nov 19, 2025
221af56
Add inspection hook to set baremetal_port.extra.bios_name
stevekeay Nov 25, 2025
e8edf19
Don't use confusing itertools
stevekeay Nov 25, 2025
9913e4d
Fix spelling
stevekeay Nov 25, 2025
b90f46f
Fix uuid display (and formatting)
stevekeay Nov 25, 2025
1b297b7
Fix trait handling
stevekeay Nov 25, 2025
9fca788
Fix validation logic - require redundant switches not just connections
stevekeay Nov 26, 2025
adcdab3
Refactor
stevekeay Nov 26, 2025
94a385d
Ruff format
stevekeay Nov 26, 2025
705e0cc
Refactor
stevekeay Nov 26, 2025
3ae47bd
Fix missing inspection hook
stevekeay Nov 26, 2025
ae20898
Fix mac address case sensitivity
stevekeay Nov 26, 2025
3ade42b
Fix baremetmal extra field updating
stevekeay Nov 26, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/images-openstack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ images:

# ironic
ironic_api: "ghcr.io/rackerlabs/understack/ironic:2025.2-ubuntu_jammy"
ironic_conductor: "ghcr.io/rackerlabs/understack/ironic:2025.2-ubuntu_jammy"
ironic_conductor: "ghcr.io/rackerlabs/understack/ironic:pr-1347"
ironic_pxe: "ghcr.io/rackerlabs/understack/ironic:2025.2-ubuntu_jammy"
ironic_pxe_init: "ghcr.io/rackerlabs/understack/ironic:2025.2-ubuntu_jammy"
ironic_pxe_http: "docker.io/nginx:1.13.3"
Expand Down
5 changes: 4 additions & 1 deletion components/ironic/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,10 @@ conf:
# Default hooks include: ramdisk-error,validate-interfaces,ports,architecture
# We override to exclude 'ports' from the default hooks
default_hooks: "ramdisk-error,validate-interfaces,architecture"
hooks: "$default_hooks,pci-devices,parse-lldp,local-link-connection,resource-class"
hooks: "$default_hooks,pci-devices,validate-interfaces,parse-lldp,resource-class,update-baremetal-port"
redfish:
inspection_hooks: "ramdisk-error,validate-interfaces,ports,port-bios-name,architecture,pci-devices"
add_ports: "all"
# enable sensors and metrics for redfish metrics - https://docs.openstack.org/ironic/latest/admin/drivers/redfish/metrics.html
sensor_data:
send_sensor_data: true
Expand Down
17 changes: 16 additions & 1 deletion python/ironic-understack/ironic_understack/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,22 @@ def setup_conf():
"device_types_dir",
help="directory storing Device Type description YAML files",
default="/var/lib/understack/device-types",
)
),
cfg.DictOpt(
"switch_name_vlan_group_mapping",
help="Dictionary of switch hostname suffix to vlan group name",
default={
"1": "network",
"2": "network",
"3": "network",
"4": "network",
"1f": "storage",
"2f": "storage",
"3f": "storage-appliance",
"4f": "storage-appliance",
"1d": "bmc",
},
),
]
cfg.CONF.register_group(grp)
cfg.CONF.register_opts(opts, group=grp)
Expand Down
Loading
Loading