Curated NETCONF <rpc> request bodies for labs, automation authors, and the NETCONF client for VS Code examples library.
Each file is a single RPC you can open in the editor and send over NETCONF. The repository documents standard protocol operations, IETF and OpenConfig models, and native Nokia SR OS / SRLinux payloads.
- One RPC per file;
message-idequals the filename (without.xml). - RPC files contain no
]]>]]>framing (the client adds framing on the wire). - Placeholders are illustrative—validate on your release before production use.
- RFC folders are protocol reference only (no device compatibility tracking).
- Model and native folders record lab compatibility in per-folder
validation.yaml.
| Folder | Scope |
|---|---|
| rfc6241 Netconf Base Operation | get, get-config, commit, lock, copy, validate, … |
| rfc6241 Netconf Confirmed Commit | confirmed-commit flows |
| rfc6243 with-defaults | with-defaults on get |
| rfc5277 Event Notifications | subscriptions, event streams |
| rfc6022 Netconf Monitoring | get-schema |
| rfc7895 YANG library | legacy yang-library |
| rfc8525 YANG library | ietf-yang-library |
| rfc8526 NMDA | get-data, edit-data (not YANG Push) |
| Folder | Notes |
|---|---|
| OpenConfig/ | Hello-gated OpenConfig; -sros / -srlinux suffixes where IDs differ |
| IETF/ | Hello-gated IETF modules (WIP until validated) |
| Nokia SR OS/ | Native Nokia SR OS (profile slug sros) |
| Nokia SRLinux/ | Native Nokia SRLinux (profile slug srlinux) |
Also see CONTRIBUTING.md, CHANGELOG.md, SECURITY.md.
pip install -r tools/requirements.txt
python tools/check.pyRequires Python 3 and xmllint (libxml2). All tooling lives under tools/.
Lab-only (never runs in CI):
pip install -r tools/requirements.txt
python tools/validate.py --host <mgmt-ip>Uses declarative profiles under tools/validate/profiles/ and updates dimension lists in each folder’s validation.yaml. See CONTRIBUTING.md.
CI runs python tools/validate.py --verify to ensure compatibility claims match git history.
BSD 3-Clause — see LICENSE. Copyright (c) 2023, Nokia.