YANG
Modules, containers, lists and typed leaves describe a device's configuration and state, whatever protocol carries them. Automation questions usually land on the model, not the transport.
on this pageshowhide
explore
- Modules and Submodules5 questions
- Schema Node Types6 questions
- Types and Typedefs5 questions
- Constraints and Conditions5 questions
- Augmentation and RPCs5 questions
- Deviations and Conformance5 questions
questions
page 2 of 2Why can a YANG union, such as an interface leafref with an enumeration fallback, validate a value differently from what its author intended?
level: seniorimportance: nice to knowfreq 6%
basics
~20 sA union tries its member types in order and keeps the first that accepts the value, so an early broad member hides later ones, XML and JSON can pick different members, and an orphaned leafref value is retried against later members.
showing 31–31 of 31