clicon / clixon

YANG-based toolchain including NETCONF and RESTCONF interfaces and an interactive CLI
http://www.clicon.org/
Other
212 stars 72 forks source link

Defaults in choice does not work properly #390

Closed olofhagsand closed 1 year ago

olofhagsand commented 1 year ago

Two things related to default values in choice does not work properly, as described in RFC7950 Sec 7.9.3

  1. Default case, the default if no child nodes from any of the choice's cases exist
  2. Default for child nodes under a case are only used if one of the nodes under that case is present