Skip to content

Commit

Permalink
Aruba-CX naming updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ktbyers committed May 3, 2024
1 parent 5744bbb commit 95ec342
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 11 deletions.
6 changes: 4 additions & 2 deletions PLATFORMS.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
- Cisco IOS-XR
- Cisco NX-OS
- Cisco SG300
- HP ProCurve
- Juniper Junos
- Linux

Expand All @@ -20,6 +19,7 @@
- Alcatel AOS6/AOS8
- Apresia Systems AEOS
- ARRIS CER
- Aruba OS Switch
- AudioCodes Gateways & Controllers
- Broadcom ICOS
- Calix B6
Expand All @@ -42,6 +42,7 @@
- Fiberstore FSOS
- Hillstone StoneOS
- HPE Comware7
- HPE ProCurve
- Huawei
- Huawei OLT
- Huawei SmartAX
Expand Down Expand Up @@ -73,7 +74,8 @@
- A10
- Accedian
- Allied Telesis AlliedWare Plus
- Aruba
- Aruba OS (Wireless Controllers/WAPs)
- Aruba AOS-CX
- Brocade Fabric OS
- C-DOT CROS
- Ciena SAOS
Expand Down
6 changes: 3 additions & 3 deletions netmiko/aruba/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from netmiko.aruba.aruba_ssh import ArubaSSH
from netmiko.aruba.aruba_aoscx_ssh import ArubaAosCxSSH
from netmiko.aruba.aruba_os import ArubaOsSSH
from netmiko.aruba.aruba_cx import ArubaCxSSH

__all__ = ["ArubaSSH", "ArubaAosCxSSH"]
__all__ = ["ArubaOsSSH", "ArubaCxSSH"]
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from netmiko.cisco_base_connection import CiscoSSHConnection


class ArubaAosCxSSH(CiscoSSHConnection):
class ArubaCxSSH(CiscoSSHConnection):
"""Aruba AOS CX support"""

def __init__(self, **kwargs: Any) -> None:
Expand All @@ -17,7 +17,6 @@ def __init__(self, **kwargs: Any) -> None:
return super().__init__(**kwargs)

def session_preparation(self) -> None:
# Aruba switches output ansi codes TODO: does Aos CX do?
self.ansi_escape_codes = True
self._test_channel_read(pattern=r"[>#]")
self.set_base_prompt()
Expand Down
2 changes: 1 addition & 1 deletion netmiko/aruba/aruba_ssh.py → netmiko/aruba/aruba_os.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from netmiko.cisco_base_connection import CiscoSSHConnection


class ArubaSSH(CiscoSSHConnection):
class ArubaOsSSH(CiscoSSHConnection):
"""Aruba OS support"""

def __init__(self, **kwargs: Any) -> None:
Expand Down
6 changes: 3 additions & 3 deletions netmiko/ssh_dispatcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from netmiko.arista import AristaFileTransfer
from netmiko.arris import ArrisCERSSH
from netmiko.apresia import ApresiaAeosSSH, ApresiaAeosTelnet
from netmiko.aruba import ArubaSSH, ArubaAosCxSSH
from netmiko.aruba import ArubaOsSSH, ArubaCxSSH
from netmiko.audiocode import (
Audiocode72SSH,
Audiocode66SSH,
Expand Down Expand Up @@ -159,8 +159,8 @@
"apresia_aeos": ApresiaAeosSSH,
"arista_eos": AristaSSH,
"arris_cer": ArrisCERSSH,
"aruba_os": ArubaSSH,
"aruba_aoscx": ArubaAosCxSSH,
"aruba_os": ArubaOsSSH,
"aruba_cx": ArubaCxSSH,
"aruba_osswitch": HPProcurveSSH,
"aruba_procurve": HPProcurveSSH,
"audiocode_72": Audiocode72SSH,
Expand Down

0 comments on commit 95ec342

Please sign in to comment.