Skip to content

Add Aruba AOS-CX to the Netmiko and Hier Config library mappers #873

Description

@dspatig-gdx

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions