These switches have no CLI at all — no SSH, no Telnet and no ArubaOS-Switch REST API — so the ProCurve driver cannot serve them despite the shared vendor. The only management surface is the web UI, which ships its table data as JavaScript array literals; those parse with ast.literal_eval, so the driver needs no HTML parser and no dependency beyond napalm/requests. Read-only by design: the platform exposes a single administrator account with no privilege levels, and serves HTTPS only after a certificate has been uploaded, so the polling credential is necessarily the admin credential over a plain channel. Implements get_facts, get_interfaces, get_vlans, get_vlans_detail and get_mac_address_table, plus HTTP/SNMP fingerprints for discovery. Tested against an HPE OfficeConnect 1820 8G PoE+ (65W), J9982A, PT.02.19.
6 lines
184 B
Python
6 lines
184 B
Python
"""NAPALM driver for HPE OfficeConnect 1820 / 1920S web-managed switches."""
|
|
|
|
from napalm_hpe_officeconnect.officeconnect import OfficeConnectDriver
|
|
|
|
__all__ = ["OfficeConnectDriver"]
|