Skip to main content

nso-adapter

Middleware service between Cisco NSO and consumers (NetBox first). Speaks NSO RESTCONF; exposes a consumer-agnostic northbound REST API. Internally split into a generic NSO core and pluggable consumer bindings; a NetBox binding ships with it.

Documentation

docs/api-contract.md is the canonical northbound REST API contract. The NetBox plugin builds against it.

Companion repo netbox-nso-plugin provides the NetBox plugin that consumes this adapter. nso-packages contains the NSO-side YANG service packages (network-state-export read exports and the *-reconciler write services) that the adapter drives over RESTCONF.

Status

In active development (Phase 2, 2026-06). The northbound API serves ~57 endpoints across 16 config families (interfaces/IPs/MTU, VLAN/switchport, SVI, subinterfaces, L2 services, LAG, IS-IS, OSPF, BGP, route-policy, redistribution, static routes, BFD, SNMP, and logging). It provides read mirrors plus a full-replace intent store with a durable apply worker, post-apply dry-run verification, periodic + SSE-triggered sync, and an intent-summary endpoint for split-brain detection. docs/api-contract.md is kept in lock-step with the implemented surface.

Development

The custom review-pattern pre-commit hooks require the opengrep executable on PATH. Follow the official OpenGrep installation instructions, or set OPENGREP_BIN to an installed executable. These checks run in local pre-commit only. GitHub Actions and the pre-push stage do not run OpenGrep.

Projection authority writes must use explicit targets, even in sanctioned functions. Do not unpack tuples or lists into authorized_document, authorized_revision, or applied_revision. The authority-assignment-guard AST check enforces this in pre-commit and pytest, including nested and starred targets. OpenGrep checks the owner and value of each explicit write.

Metadata

Release files for nso-adapter 1.15.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 nso-adapter 1.15.0
File Size Uploaded Provenance Actions
nso_adapter-1.15.0.tar.gz 643.2 kB With provenance Details for nso_adapter-1.15.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nso-adapter 1.15.0
File Interpreter ABI Platform Actions
nso_adapter-1.15.0-py3-none-any.whl Python 3 none any Details for nso_adapter-1.15.0-py3-none-any.whl

Total release size: 1.3 MB

Release files / nso_adapter-1.15.0.tar.gz

Download URL nso_adapter-1.15.0.tar.gz
Size 643.2 kB
Tags Source
SHA-256 checksum
How to use checksums
053cc4cfc208212553b4f27cd1796d126457e64ab503d33075893bad3a59e83c
BLAKE2b-256 checksum
How to use checksums
a9b5c706b241ed5a6a04bb92f70aa1ef608da3bcd382e76d986e6127d459968c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.

Transparency log

Release files / nso_adapter-1.15.0-py3-none-any.whl

Download URL nso_adapter-1.15.0-py3-none-any.whl
Size 662.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c28baab8b1e13ef5de8b937ef042ae932508dbd67f4af29cecc5887f9e7fc92f
BLAKE2b-256 checksum
How to use checksums
e1abef74e2b7106dbc360cd3073271393f31e1185535dd7d56079de2e1feb433
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.

Transparency log

Security for nso-adapter 1.15.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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for nso_adapter-1.15.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.

Transparency log

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

1.15.0 This release

2 release files Full 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