File tree Expand file tree Collapse file tree 3 files changed +26
-0
lines changed
Expand file tree Collapse file tree 3 files changed +26
-0
lines changed Original file line number Diff line number Diff line change 1+ from netmiko .moxa .moxa import MoxaSSH
2+ from netmiko .moxa .moxa import MoxaTelnet
3+
4+ __all__ = ["MoxaSSH" , "MoxaTelnet" ]
Original file line number Diff line number Diff line change 1+ from netmiko .cisco_base_connection import CiscoSSHConnection
2+
3+
4+ class MoxaBase (CiscoSSHConnection ):
5+ """MOXA base driver"""
6+
7+ pass
8+
9+
10+ class MoxaSSH (MoxaBase ):
11+ """MOXA SSH driver"""
12+
13+ pass
14+
15+
16+ class MoxaTelnet (MoxaBase ):
17+ """MOXA telnet driver"""
18+
19+ pass
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 MoxaSSH , MoxaTelnet
124125from netmiko .mrv import MrvLxSSH
125126from netmiko .mrv import MrvOptiswitchSSH
126127from netmiko .netapp import NetAppcDotSSH
297298 "mikrotik_switchos" : MikrotikSwitchOsSSH ,
298299 "mellanox" : MellanoxMlnxosSSH ,
299300 "mellanox_mlnxos" : MellanoxMlnxosSSH ,
301+ "moxa" : MoxaSSH ,
300302 "mrv_lx" : MrvLxSSH ,
301303 "mrv_optiswitch" : MrvOptiswitchSSH ,
302304 "nec_ix" : NecIxSSH ,
406408CLASS_MAPPER ["ipinfusion_ocnos_telnet" ] = IpInfusionOcNOSTelnet
407409CLASS_MAPPER ["juniper_junos_telnet" ] = JuniperTelnet
408410CLASS_MAPPER ["maipu_telnet" ] = MaipuTelnet
411+ CLASS_MAPPER ["moxa_telnet" ] = MoxaTelnet
409412CLASS_MAPPER ["nec_ix_telnet" ] = NecIxTelnet
410413CLASS_MAPPER ["nokia_sros_telnet" ] = NokiaSrosTelnet
411414CLASS_MAPPER ["oneaccess_oneos_telnet" ] = OneaccessOneOSTelnet
You can’t perform that action at this time.
0 commit comments