napalm-netgear-switches
NAPALM community driver for Netgear Smart Managed and Netgear Plus Managed switches (GS108EPP, GS110TP, GS316EPP and compatible Smart Managed Pro series).
Tested devices
| Model | Series | Tested |
|---|---|---|
| GS110TP | Smart Managed Pro | ✅ |
| GS108EPP | Smart Managed Pro | ✅ |
| GS316EPP | Smart Managed Pro | ✅ |
Other models from the Netgear Smart Managed Pro series should work as well — contributions welcome.
Requirements
| Dependency | Minimum version |
|---|---|
| Python | 3.10 |
| NAPALM | 4.0 |
| napalm-device-types | 4.21.1 |
| Netmiko | 4.0 |
Installation
pip install napalm-netgear-switches
The name napalm-netgear on PyPI belongs to another project. The import package is
still napalm_netgear, and the drivers are still netgear_smart and netgear_plus.
Or from source:
git clone https://git.netork.io/NAPALM/napalm-netgear.git
cd napalm-netgear
pip install -e .
Quick start
from napalm import get_network_driver
driver = get_network_driver("netgear_smart")
with driver("192.168.0.239", "admin", "password") as device:
facts = device.get_facts()
print(facts)
Implemented getters
| Getter | Status | Notes |
|---|---|---|
get_facts |
✅ | model, hostname, os_version, serial, uptime |
get_interfaces |
✅ | status, speed, description, MTU |
get_interfaces_ip |
✅ | management VLAN IP/mask |
get_config |
✅ | running + startup |
get_arp_table |
✅ | |
get_mac_address_table |
✅ | |
get_lldp_neighbors |
✅ | |
get_lldp_neighbors_detail |
✅ | |
get_vlans |
✅ | |
get_environment |
✅ | CPU + memory only |
get_interfaces_counters |
✅ | |
get_users |
✅ | |
get_snmp_information |
✅ | |
get_ntp_servers |
✅ | |
get_ntp_peers |
✅ | same as servers |
get_route_to |
✅ | static/connected only |
ping |
✅ | |
cli |
✅ | |
is_alive |
✅ | |
load_merge_candidate |
✅ | |
load_replace_candidate |
✅ | additive — no atomic replace |
compare_config |
✅ | |
commit_config |
✅ | |
discard_config |
✅ | |
rollback |
✅ | session-scoped backup |
get_bgp_neighbors |
❌ | not applicable |
get_optics |
❌ | DDM not exposed via CLI |
get_ipv6_neighbors_table |
❌ | not exposed via CLI |
get_ntp_stats |
❌ | not exposed via CLI |
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.
CLI notes
- Netmiko device type:
netgear_prosafe - Prompt pattern:
(hostname) >/(hostname) #/(hostname) (Config)# - Interface naming:
0/1,0/2, … (slot/port); LAG channels:ch1,ch2, … - Config is persisted with
write memory - Key-value output uses
Key: valueorKey..... valuenotation depending on firmware generation — both are handled automatically
Development
The rules are in STANDARDS.md.
python -m venv .venv && .venv/bin/pip install -e ".[dev]"
.venv/bin/pytest --cov
License
Apache 2.0 — see LICENSE.
Metadata
Release files for napalm-netgear-switches 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| napalm_netgear_switches-0.6.0.tar.gz | 34.2 kB | Without provenance | Details for napalm_netgear_switches-0.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| napalm_netgear_switches-0.6.0-py3-none-any.whl | Python 3 | none | any | Details for napalm_netgear_switches-0.6.0-py3-none-any.whl |
Total release size: 68.9 kB
Release files / napalm_netgear_switches-0.6.0.tar.gz
| Download URL | napalm_netgear_switches-0.6.0.tar.gz |
|---|---|
| Size | 34.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5335597dddf8ef716cef9fa8827e0d14a9c437a0551bc71d0b141b79ba5cf2d2
|
|
BLAKE2b-256 checksum How to use checksums |
dd7bf8719eb1ae77734d349ed6725784d222f4e6c8fa21976e6d8ab1b097c0bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|
Release files / napalm_netgear_switches-0.6.0-py3-none-any.whl
| Download URL | napalm_netgear_switches-0.6.0-py3-none-any.whl |
|---|---|
| Size | 34.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
737d093c9ed3b3f6d1169adb21da8bfb0b0080d1941fcf003601742eef27c2f0
|
|
BLAKE2b-256 checksum How to use checksums |
60bf15e8eedf9a57655d4888432218f7a0b71875eee46f5a52576c38b4dd735f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|
Security for napalm-netgear-switches 0.6.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.