napalm-yealink
NAPALM driver for Yealink IP phones and video endpoints (T, W, CP and VP series), built on
napalm-device-types (PhoneDriver).
Tested against
| Model | Firmware |
|---|---|
| not recorded yet | not recorded yet |
Connection
The phone's REST API under /api/v1/ over HTTPS on port 443. open() logs in at
/api/v1/session/login with the username and the MD5 hex digest of the password (the
driver computes it) and keeps the session cookie. A refused login does not fail open():
even without a session, /api/v1/system/info names the model and firmware.
from napalm import get_network_driver
driver = get_network_driver("yealink")
with driver("192.0.2.20", "admin", "secret") as device:
print(device.get_facts())
| Optional argument | Default | Meaning |
|---|---|---|
verify_ssl |
False |
verify the phone's TLS certificate |
Supported
| Getter / action | |
|---|---|
get_facts |
model, firmware, hostname, serial number from /api/v1/system/info |
is_alive |
TCP connect to port 443 |
Not supported
Everything else a NAPALM driver can offer — interfaces, configuration, LLDP, ARP, MAC
table, NTP, SNMP, users, routes, ping and the CLI — raises NotImplementedError.
get_facts reports no uptime and no interfaces.
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
Metadata
Release files for napalm-yealink 0.2.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 | |
|---|---|---|---|---|
| napalm_yealink-0.2.0.tar.gz | 9.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| napalm_yealink-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.2 kB
Release files / napalm_yealink-0.2.0.tar.gz
| Download URL | napalm_yealink-0.2.0.tar.gz |
|---|---|
| Size | 9.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8b02c86d6d2d001e3cbe42593ed02ed45b80aafa5bce5920a211286b3253b2dd
|
|
BLAKE2b-256 checksum How to use checksums |
86585443b7907c448a87ca63959eaac9988ee84ec9d1bb80486bb368d3336154
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|
Release files / napalm_yealink-0.2.0-py3-none-any.whl
| Download URL | napalm_yealink-0.2.0-py3-none-any.whl |
|---|---|
| Size | 9.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e31e3aba13d47c65824fba0ff42ea6c77128272e46892267369b8d0d14bbb344
|
|
BLAKE2b-256 checksum How to use checksums |
37fc4dc7ff08809c765f878a9dde0e72cd79c226af7136451cb618e75423a2bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|
Security for napalm-yealink 0.2.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.