Details
-
Improvement
-
Status: Resolved
-
Resolution: Done
-
None
-
None
-
None
-
None
-
Operating System: All
Platform: All
Description
When using sal code generator with yang maven plugin on a yang file with typedef and grouping sharing the same name, no warning is produced and only the code for typedef is generated.
example yang file content:
typedef network-topology-ref
{ type instance-identifier; ... } grouping network-topology-ref {
leaf network-topology-ref
}
The generated code for this yang contains only one class named NetworkTopologyRef for the typedef.
A warning about this would be welcomed.