Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions PLATFORMS.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@
- Garderos GRS
- Genexis Saturn SOLT33 (telnet only)
- Lancom LCOS SX4
- Moxa EDS
- MRV Communications OptiSwitch
- MRV LX
- Nokia/Alcatel SR-OS
Expand Down Expand Up @@ -254,6 +255,7 @@
- mellanox_mlnxos
- mikrotik_routeros
- mikrotik_switchos
- moxa_nos
- mrv_lx
- mrv_optiswitch
- nec_ix
Expand Down
3 changes: 3 additions & 0 deletions netmiko/moxa/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from netmiko.moxa.moxa_nos import MoxaNosSSH

__all__ = ["MoxaNosSSH"]
23 changes: 23 additions & 0 deletions netmiko/moxa/moxa_nos.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
"""
Tested with

EDS-508A
EDS-516A

Note:
This only works in CLI mode. If the device is in Menu mode, you need to change that first.
"""

from netmiko.cisco_base_connection import CiscoSSHConnection


class MoxaNosBase(CiscoSSHConnection):
"""MOXA base driver"""

pass


class MoxaNosSSH(MoxaNosBase):
"""MOXA SSH driver"""

pass
6 changes: 6 additions & 0 deletions netmiko/ssh_autodetect.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,12 @@
"priority": 99,
"dispatch": "_autodetect_std",
},
"moxa_nos": {
"cmd": "",
"dispatch": "_autodetect_remote_version",
"search_patterns": [r"[Mm]oxa"],
"priority": 99,
},
"huawei_smartax": {
"cmd": "display version",
"search_patterns": [r"Huawei Integrated Access Software"],
Expand Down
2 changes: 2 additions & 0 deletions netmiko/ssh_dispatcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@
from netmiko.mikrotik import MikrotikRouterOsSSH, MikrotikRouterOsFileTransfer
from netmiko.mikrotik import MikrotikSwitchOsSSH
from netmiko.mellanox import MellanoxMlnxosSSH
from netmiko.moxa import MoxaNosSSH
from netmiko.mrv import MrvLxSSH
from netmiko.mrv import MrvOptiswitchSSH
from netmiko.netapp import NetAppcDotSSH
Expand Down Expand Up @@ -299,6 +300,7 @@
"mikrotik_switchos": MikrotikSwitchOsSSH,
"mellanox": MellanoxMlnxosSSH,
"mellanox_mlnxos": MellanoxMlnxosSSH,
"moxa_nos": MoxaNosSSH,
"mrv_lx": MrvLxSSH,
"mrv_optiswitch": MrvOptiswitchSSH,
"nec_ix": NecIxSSH,
Expand Down
Loading