File tree Expand file tree Collapse file tree 5 files changed +36
-0
lines changed
Expand file tree Collapse file tree 5 files changed +36
-0
lines changed Original file line number Diff line number Diff line change 114114- Garderos GRS
115115- Genexis Saturn SOLT33 (telnet only)
116116- Lancom LCOS SX4
117+ - Moxa EDS
117118- MRV Communications OptiSwitch
118119- MRV LX
119120- Nokia/Alcatel SR-OS
254255- mellanox_mlnxos
255256- mikrotik_routeros
256257- mikrotik_switchos
258+ - moxa_nos
257259- mrv_lx
258260- mrv_optiswitch
259261- nec_ix
Original file line number Diff line number Diff line change 1+ from netmiko .moxa .moxa_nos import MoxaNosSSH
2+
3+ __all__ = ["MoxaNosSSH" ]
Original file line number Diff line number Diff line change 1+ """
2+ Tested with
3+
4+ EDS-508A
5+ EDS-516A
6+
7+ Note:
8+ This only works in CLI mode. If the device is in Menu mode, you need to change that first.
9+ """
10+
11+ from netmiko .cisco_base_connection import CiscoSSHConnection
12+
13+
14+ class MoxaNosBase (CiscoSSHConnection ):
15+ """MOXA base driver"""
16+
17+ pass
18+
19+
20+ class MoxaNosSSH (MoxaNosBase ):
21+ """MOXA SSH driver"""
22+
23+ pass
Original file line number Diff line number Diff line change 349349 "priority" : 99 ,
350350 "dispatch" : "_autodetect_std" ,
351351 },
352+ "moxa_nos" : {
353+ "cmd" : "" ,
354+ "dispatch" : "_autodetect_remote_version" ,
355+ "search_patterns" : [r"[Mm]oxa" ],
356+ "priority" : 99 ,
357+ },
352358 "huawei_smartax" : {
353359 "cmd" : "display version" ,
354360 "search_patterns" : [r"Huawei Integrated Access Software" ],
Original file line number Diff line number Diff line change 121121from netmiko .mikrotik import MikrotikRouterOsSSH , MikrotikRouterOsFileTransfer
122122from netmiko .mikrotik import MikrotikSwitchOsSSH
123123from netmiko .mellanox import MellanoxMlnxosSSH
124+ from netmiko .moxa import MoxaNosSSH
124125from netmiko .mrv import MrvLxSSH
125126from netmiko .mrv import MrvOptiswitchSSH
126127from netmiko .netapp import NetAppcDotSSH
299300 "mikrotik_switchos" : MikrotikSwitchOsSSH ,
300301 "mellanox" : MellanoxMlnxosSSH ,
301302 "mellanox_mlnxos" : MellanoxMlnxosSSH ,
303+ "moxa_nos" : MoxaNosSSH ,
302304 "mrv_lx" : MrvLxSSH ,
303305 "mrv_optiswitch" : MrvOptiswitchSSH ,
304306 "nec_ix" : NecIxSSH ,
You can’t perform that action at this time.
0 commit comments