Christian Manivong c2f0f7c20a
Tests / Test (Python 3.10) (pull_request) Successful in 17s
Tests / Test (Python 3.11) (pull_request) Successful in 17s
Tests / Test (Python 3.12) (pull_request) Successful in 21s
feat!: configure_snmp_agent with the caller's values replaces fix_snmp (0.3.0)
fix_snmp hard-coded community "public" and found the management VLAN
for the source interface with a substring match, so 10.0.0.1 matched
10.0.0.10 and a DNS name never matched (#3).

The driver implements napalm-device-types 4.13's configure_snmp_agent
steps: the caller's community (read-only, viewDefault), the source
interface set to the VLAN whose address is exactly the listen address
or the management address, configuration saved, and the community
checked in show snmp community. Contact and location are reported as
not set; there is no verified CLI for them on this switch. A value
that would break the CLI is refused.

The requirements now name napalm-device-types 4.13 in both files.

BREAKING CHANGE: run_device_action is removed.

Part of #3 and #4.
2026-10-17 08:36:52 +02: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.8
NAPALM 4.0
Netmiko 4.0

Installation

pip install napalm-tplink-jetstream

Or from source:

git clone https://github.com/napalm-automation-community/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
466 KiB
0 Stars 1 Watchers 0 Forks
2026-10-23 12:53:11 +00:00
Languages
Python 100%