Skip to content

About

No description, website, or topics provided.

Resources

Contributing

Security policy

Stars

6 stars

Watchers

3 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

NETCONF examples

XML check License: BSD-3-Clause NETCONF extension

Curated NETCONF <rpc> request bodies for labs, automation authors, and the NETCONF client for VS Code examples library.

Purpose

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.

Principles

  • One RPC per file; message-id equals 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.

What is in this repository

Protocol (RFC-themed)

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)

Models and native (network_os)

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.

Quality checks (contributors)

pip install -r tools/requirements.txt
python tools/check.py

Requires Python 3 and xmllint (libxml2). All tooling lives under tools/.

Manual device validation

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.

License

BSD 3-Clause — see LICENSE. Copyright (c) 2023, Nokia.

About

No description, website, or topics provided.

Resources

Contributing

Security policy

Stars

6 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages