The shared workflow tests on 3.12 and 3.13 by default and runs lowest on 3.12; the template declares requires-python >=3.12 with ruff and mypy on 3.12, and the tool itself needs 3.12. netOrk runs every driver on 3.12 in its own containers. check keeps accepting a 3.10 floor until every driver has moved; part B raises 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