clicon / clixon

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

locally scoped YANG typedef in grouping does not work #394

Closed olofhagsand closed 1 year ago

olofhagsand commented 1 year ago

According to RFC 7950 a typedef can appear in a grouping, but this is not currently allowed. Eg

grouping G {
  typedef T ...;
  leaf L {
     type T;   <------------  this does not work
  }
}