Skip to main content

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)

Source distribution for napalm-yealink 0.2.0
File Size Uploaded Provenance
napalm_yealink-0.2.0.tar.gz 9.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for napalm-yealink 0.2.0
File Interpreter ABI Platform
napalm_yealink-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 19.2 kB

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.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page