Skip to content

feat(ironic): add a panos firmware interface - #2778

Merged
cardoe merged 1 commit into
mainfrom
panos-firmware-interface
Nov 23, 2026
Merged

cardoe merged 1 commit into
mainfrom
panos-firmware-interface

Conversation

@cardoe

@cardoe cardoe commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Add a panos firmware interface that records the PAN-OS release and installed content versions (applications, antivirus, WildFire, GlobalProtect client, device dictionary) from show system info as the node's firmware components.
  • cache_firmware_components runs as a verify step (priority 5), a manual clean step (priority 0) and a service step. Firmware update is not implemented.
  • Enable panos in enabled_firmware_interfaces in components/ironic/values.yaml, and document it.

##Test Result

understack onpanos-firmware-interface [$!?] 🐍 openstack on ☁️  uc-dev-infra(baremetal)
❯ openstack --os-baremetal-api-version latest baremetal node firmware list PA-026701009945-secondary --debug 2>&1 \
  | grep "RESP BODY" | tr ',' '\n' | grep -E "component|vendor|model|serial_number"
 "component": "app-content"
 "vendor": null
 "model": null
 "serial_number": null}
 "component": "device-dictionary"
 "vendor": null
 "model": null
 "serial_number": null}
 "component": "globalprotect-client"
 "vendor": null
 "model": null
 "serial_number": null}
 "component": "panos"
 "vendor": "Palo Alto Networks"
 "model": "PA-1410"
 "serial_number": "026701009945"}]}
(openstack)
understack onpanos-firmware-interface [$!?] 🐍 openstack on ☁️  uc-dev-infra(baremetal) took 5s
❯ openstack --os-baremetal-api-version latest baremetal node firmware list PA-026701009945-secondary
+----------------------+-----------------+-----------------+----------------------+---------------------------+------------+
| component            | initial_version | current_version | last_version_flashed | created_at                | updated_at |
+----------------------+-----------------+-----------------+----------------------+---------------------------+------------+
| app-content          | 8909-9044       | 8909-9044       | None                 | 2026-11-23T16:23:58+00:00 | None       |
| device-dictionary    | 82-406          | 82-406          | None                 | 2026-11-23T16:23:58+00:00 | None       |
| globalprotect-client | 0.0.0           | 0.0.0           | None                 | 2026-11-23T16:23:58+00:00 | None       |
| panos                | 11.1.4-h1       | 11.1.4-h1       | None                 | 2026-11-23T16:23:58+00:00 | None       |
+----------------------+-----------------+-----------------+----------------------+---------------------------+------------+

Notes

  • Existing nodes keep no-firmware until switched with openstack baremetal node set --firmware-interface panos.
  • Verify now fails enrollment -> manageable if the appliance can't be reached or logged into.
  • Needs the ironic-understack image rebuilt so the new entry point is registered.

Testing

  • test_panos_firmware.py and test_panos_hardware.py pass (run with eventlet added to the venv, which is missing it locally).
  • Not yet exercised against a real appliance.

@github-actions

github-actions Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

Python test results

1 tests  +1   1 ✅ +1   0s ⏱️ ±0s
1 suites +1   0 💤 ±0 
1 files   ±0   0 ❌ ±0 

Results for commit 765b15f. ± Comparison against base commit 4a9af12.

♻️ This comment has been updated with latest results.

@nidzrai
nidzrai force-pushed the panos-firmware-interface branch from 86c6fa9 to 9605319 Compare November 23, 2026 15:59
Record the PAN-OS release and installed content versions (applications,
antivirus, WildFire, GlobalProtect client, device dictionary) from
`show system info` as the node's firmware components, so they are
visible through the Ironic API.

cache_firmware_components runs as a verify step (enroll -> manageable),
a service step, and a manual clean step. Updating firmware is not
implemented.

Enable `panos` in enabled_firmware_interfaces for the ironic component.
@nidzrai
nidzrai force-pushed the panos-firmware-interface branch from 2bfb8ae to 765b15f Compare November 23, 2026 17:06
@nidzrai
nidzrai marked this pull request as ready for review November 23, 2026 17:06
@cardoe
cardoe enabled auto-merge November 23, 2026 17:51
@cardoe
cardoe added this pull request to the merge queue Nov 23, 2026
Merged via the queue into main with commit 62ff8bc Nov 23, 2026
113 of 117 checks passed
@cardoe
cardoe deleted the panos-firmware-interface branch November 23, 2026 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants