tail-f-systems / JNC

JNC (Java NETCONF Client) is the name of a Java library for communicating with NETCONF agents, and a plugin for pyang (http://code.google.com/p/pyang/) to generate Java classes from YANG models, to be used by the JNC library.
Other
77 stars 87 forks source link

container and its parent can have the same name now #128

Closed martin-volf closed 1 year ago

martin-volf commented 1 year ago

Some ClassGenerator attributes contained lists instead of JavaValue instances; with that fixed, the generated Java code was still invalid due to the name clash. Note that the changes are in the pyang plugin, so before its new version is published on PyPI, the source code pyang plugin needs to be used.