Environment
- netutils version: 1.17.4 (develop)
Proposed Functionality
Add aruba_aoscx to the Netmiko and Hier Config library mappers in
netutils/lib_mapper.py:
NETMIKO_LIB_MAPPER["aruba_aoscx"] = "aruba_aoscx" — netmiko already ships an
aruba_aoscx device type (HPEArubaCXSSH), but netutils had no entry, so
NAME_TO_ALL_LIB_MAPPER["aruba_aoscx"] was missing its netmiko key. The reverse
mapper is derived from the forward map, so this one line also produces
NETMIKO_LIB_MAPPER_REVERSE["aruba_aoscx"].
HIERCONFIG_LIB_MAPPER["aruba_aoscx"] = "aruba_aoscx" (and reverse) — hier_config's
HConfig now ships an Aruba AOS-CX platform (Platform.ARUBA_AOSCX, keyed by the
string "aruba_aoscx"). Its v2→v3 resolver reads network_driver_mappings["hier_config"]
from netutils; without this entry, AOS-CX falls back to the GENERIC driver.
Use Case
Lets Netmiko-based tooling and hier_config / nautobot-golden-config resolve Aruba
AOS-CX through the standard netutils driver-name mapping, consistent with how
aruba_aoscx is already normalized across the scrapli, ntc_templates,
forward_networks, and netutils_parser mappers.
Environment
Proposed Functionality
Add
aruba_aoscxto the Netmiko and Hier Config library mappers innetutils/lib_mapper.py:NETMIKO_LIB_MAPPER["aruba_aoscx"] = "aruba_aoscx"— netmiko already ships anaruba_aoscxdevice type (HPEArubaCXSSH), but netutils had no entry, soNAME_TO_ALL_LIB_MAPPER["aruba_aoscx"]was missing itsnetmikokey. The reversemapper is derived from the forward map, so this one line also produces
NETMIKO_LIB_MAPPER_REVERSE["aruba_aoscx"].HIERCONFIG_LIB_MAPPER["aruba_aoscx"] = "aruba_aoscx"(and reverse) — hier_config'sHConfig now ships an Aruba AOS-CX platform (
Platform.ARUBA_AOSCX, keyed by thestring
"aruba_aoscx"). Its v2→v3 resolver readsnetwork_driver_mappings["hier_config"]from netutils; without this entry, AOS-CX falls back to the GENERIC driver.
Use Case
Lets Netmiko-based tooling and hier_config / nautobot-golden-config resolve Aruba
AOS-CX through the standard netutils driver-name mapping, consistent with how
aruba_aoscxis already normalized across the scrapli, ntc_templates,forward_networks, and netutils_parser mappers.