Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.22 KB

README.md

File metadata and controls

35 lines (26 loc) · 1.22 KB

IETF YANG Telemetry message draft.

Validation

Examples are validated with development yanglint version 6.4.13 tool from libyang

Single Tree

$ yanglint yang/ietf-telemetry-message@2026-10-25.yang -f tree --tree-line-length 69 -p yang/deps
$ yanglint yang/ietf-yang-push-telemetry-message@2026-10-25.yang -f tree --tree-line-length 69 -p yang/deps

Full tree validating the schemas

yanglint -p yang/deps yang/ietf-yang-push-telemetry-message@2026-10-25.yang  yang/ietf-telemetry-message@2026-10-25.yang -f tree

Format for Datatracker

$ yanglint yang/ietf-telemetry-message@2026-10-25.yang -f yang -p yang/deps
$ yanglint yang/ietf-yang-push-telemetry-message@2026-10-25.yang -f yang -p yang/deps

Validating the example using YANG Library

Validating the example telemetry-message with notification envelope payload using YANG Library (currently working with yanglint 5.4.9)

yanglint --anydata-strict -e -Y examples/lib.xml -p yang/deps -p yang examples/example-with-envelope.json -f json

NOTE: validating just the envelope without the telemetry message works

yanglint -e -Y examples/lib.xml -p yang/deps -p yang examples/envelope.json -f json