Skip to content

Incorrect Running Config Command for ArubaOS - Libmapper #795

@marcus-cain

Description

@marcus-cain

Environment

  • Python version: 3.12
  • netutils version: 1.16.0
  • Nautobot version: 2.4.22

Expected Behavior

The RUNNING_CONFIG_COMMAND in lib_mapper incorrectly specifies the running config command as "show running-configuration" for aruba_os

RUNNING_CONFIG_MAPPER: t.Dict[str, str] = {
    "aruba_os": "show running-configuration",

aruba_os as the network driver, to my knowledge, is supposed to represent the Aruba Wireless Controllers. Take a look at #588

More evidence is that if you look at the netmiko driver for aruba_os (which the network_driver aruba_os makes reference to), the comments in the netmiko driver states its for the aruba controllers
https://github.com/ktbyers/netmiko/blob/develop/netmiko/aruba/aruba_os.py

"""
Aruba OS support.

For use with Aruba OS Controllers.

"""

We have various aruba mobility controllers from the 7200 series to the 9200xx series, running AOS 8.10. None of which don't support the command "show running-configuration"

Instead the correct command to run is:
show running-config

(hostname ommitted) *#show running-config 
Building Configuration...
 
version 8.10
hostname "hostname ommitted" 
clock timezone America/New_York -05 0 
!
conductorip 1.1.1.1 ipsec ****** interface vlan 1801 

Observed Behavior

Wrong running configuration command for aruba_os network driver.

(hostname omitted) *#show ver

Aruba Operating System Software.
ArubaOS (MODEL: Aruba7280-US), Version 8.10.0.19 LSR

(hostname omitted) *#show running-configuration
                           ^ 
% Invalid input detected at '^' marker.
(hostname omitted) *#show version

Aruba Operating System Software.
ArubaOS (MODEL: Aruba9240-US), Version 8.10.0.19 LSR

(hostname omitted) *#show running-configuration
                           ^ 
% Invalid input detected at '^' marker.

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