fix: try 'show system' as fallback for old ProCurve (no system-information)

Firmware J.15.x (2520G-8-PoE) only supports 'show system', not
'show system-information'. Adding it as the third fallback so serial
number and OS version can still be parsed via parse_system_info().

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Christian Manivong
2026-06-22 23:46:58 +02:00
co-authored by Claude Sonnet 4.6
parent 55fe8b28f9
commit 232936162e
+1 -1
View File
@@ -409,7 +409,7 @@ class ProcurveDriver(ConfigLifecycleMixin, SwitchDriver):
# CLI path
sysinfo = self._send_command(
["show system-information", "show system information"]
["show system-information", "show system information", "show system"]
)
parsed = parsers.parse_system_info(sysinfo)