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:
co-authored by
Claude Sonnet 4.6
parent
55fe8b28f9
commit
232936162e
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user