Skip to main content

napalm-srlinux

Community NAPALM driver for the Nokia SR Linux network OS, built on the JSON-RPC management interface; the only runtime dependencies are napalm and httpx.

Documentation: https://napalm.srlinux.dev

Development

The project is managed with uv:

uv sync                  # create the venv and install all dependencies
uv run pytest test/unit  # unit tests (mocked JSON-RPC fixtures)
uv run ruff check napalm_srlinux test tools examples

Testing against a real node

make deploy-clab-ci      # single-node containerlab topology
make run-tests           # runs all test/ci scripts against it
make destroy-clab-ci

Re-recording the unit-test fixtures

The mocked-data fixtures under test/unit/mocked_data/ are verbatim JSON-RPC responses recorded from a real two-node lab (BGP, LLDP, ARP, mac-vrf, NTP, ...):

make deploy-clab-record  # two-node recording topology
make record-fixtures     # configure the lab + record all fixtures
make destroy-clab-record

Review the resulting git diff before committing re-recorded fixtures.

License

Apache 2.0 - see LICENSE.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

napalm_srlinux-0.3.0.tar.gz (26.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

napalm_srlinux-0.3.0-py3-none-any.whl (28.4 kB view details)

Uploaded Python 3

File details

Details for the file napalm_srlinux-0.3.0.tar.gz.

File metadata

  • Download URL: napalm_srlinux-0.3.0.tar.gz
  • Upload date:
  • Size: 26.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for napalm_srlinux-0.3.0.tar.gz
Algorithm Hash digest
SHA256 250ad320884592c20c5c65b56aefdf3d7522bc6f141cba75bec5d4674ba70077
MD5 6208ccb73d8ed75d67bfe37bf525ecba
BLAKE2b-256 bfc29e072e51cf0495f44ee2ce4020a2a424810ea06f5fa7d6bb98da81411755

See more details on using hashes here.

Provenance

The following attestation bundles were made for napalm_srlinux-0.3.0.tar.gz:

Publisher: publish.yml on napalm-automation-community/napalm-srlinux

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file napalm_srlinux-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: napalm_srlinux-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 28.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for napalm_srlinux-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3a205f6cbaef826c60ab8fc8760b88ed42124c4bfb0126a783bf14d43670c5d3
MD5 73e71cefbc60288b62ef8f6e33370238
BLAKE2b-256 f249e12523112207d7614a9e3833ad8f36d623e065aabcd0a1244d35bba39847

See more details on using hashes here.

Provenance

The following attestation bundles were made for napalm_srlinux-0.3.0-py3-none-any.whl:

Publisher: publish.yml on napalm-automation-community/napalm-srlinux

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.3.1

2 files

This release

0.3.0 This release

2 files

0.2.2

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page