napalm 5.0 and older import pkg_resources, which a Python 3.12 venv no longer has; every driver's lowest job failed on it.
napalm-example
NAPALM driver for Example switches, built on
napalm-device-types (SwitchDriver).
Tested against
| Model | Firmware |
|---|---|
| Example 24 | 1.0.0 |
Connection
SSH on port 22. The account needs read access to show version.
from napalm import get_network_driver
driver = get_network_driver("example")
with driver("192.0.2.10", "admin", "secret") as device:
print(device.get_facts())
Supported
| Getter / action | |
|---|---|
get_facts |
yes |
Not supported
Configuration changes.
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