Open-Network-Models-and-Interfaces-ONMI / TAPI

LF ONMI Transport API Repository (TAPI)
https://github.com/Open-Network-Models-and-Interfaces-ONMI/TAPI/wiki
Apache License 2.0
95 stars 80 forks source link

Fix #356 - wrap "uses grouping" statement with a container for augments #357

Closed karthik-sethuraman closed 5 years ago

karthik-sethuraman commented 5 years ago

Fixes #356 : The Eagle Uml2Yang tool and mapping guidelines have all classes directly mapped to YANG groupings. And the grouping is wrapped with either a list or a container statement when an instance of the class is contained within another class (as an composed attribute). To allow for an augmenting class/node to be further augmented by other modules, updated TAPI YANG augments to use a wrapper container sub-statement that encloses the uses statement.