Christian Manivong d14c11e991
driver / lint (pull_request) Successful in 14s
driver / standard (pull_request) Successful in 19s
driver / types (pull_request) Successful in 1m9s
driver / test (3.13) (pull_request) Successful in 58s
driver / test (3.12) (pull_request) Successful in 1m7s
driver / lowest (pull_request) Successful in 28s
driver / build (pull_request) Successful in 33s
driver / security (pull_request) Successful in 1m8s
CI / driver (pull_request) Successful in 2m25s
driver / publish (pull_request) Skipped
fix(ssh): keep the key exchange off DH group16
The switch offers diffie-hellman-group14-sha256 and group16-sha512 only,
and paramiko picks group16. On an SG2210P with firmware 5.30 that 4096-bit
exchange takes 9 to 16 seconds, against netmiko's 10-second conn_timeout:
paramiko then tries to log in on a transport whose key exchange has not
finished and fails with "No existing session", so every other poll failed
and netOrk flapped the switch between online and offline. group14 takes
1.5 seconds.

group16 is now disabled by default; a disabled_algorithms passed in
optional_args still wins. The netmiko arguments move into _ssh.py, so
tplink_jetstream.py keeps its recorded length.
2026-10-30 09:17:48 +01:00

napalm-tplink-jetstream

NAPALM community driver for TP-Link Jetstream managed switches (T1500G, T1600G, T2600G, T3700G and compatible series).

Tested devices

Model Series Tested
TL-SG2210P Jetstream Smart ✅
TL-SG3210 Jetstream Smart ✅

More devices from the T1500G, T1600G, T2600G and T3700G series should work as well — contributions welcome.

Requirements

Dependency Minimum version
Python 3.12
NAPALM 4.0
Netmiko 4.0

Installation

pip install napalm-tplink-jetstream

Or from source:

git clone https://git.netork.io/NAPALM/napalm-tplink-jetstream
cd napalm-tplink-jetstream
pip install -e .

Quick start

from napalm import get_network_driver

driver = get_network_driver("tplink_jetstream")
with driver("192.168.0.1", "admin", "admin") as device:
    facts = device.get_facts()
    print(facts)

Implemented getters

Getter Status
get_facts ✅
get_interfaces ✅
get_interfaces_ip ✅
get_config ✅
get_arp_table ✅
get_mac_address_table ✅
get_lldp_neighbors ✅
get_lldp_neighbors_detail ✅
get_vlans ✅
cli ✅
is_alive ✅
get_bgp_neighbors ❌ Not applicable
load_replace_candidate ❌ Not applicable
commit_config ❌ Not applicable

Optional arguments

Argument Default Description
port 22 SSH port
force_no_enable False Skip enable after login
canonical_int_fmt False Use canonical interface names

Any additional keyword arguments are forwarded to Netmiko.

Development

pip install -e ".[dev]"
pytest tests/

License

Apache 2.0 — see LICENSE.

S
Description
No description provided
Readme
267 KiB
0 Stars 1 Watchers 0 Forks
2026-10-23 12:53:11 +00:00
Languages
Python 100%