Ask is moving to Stack Overflow and! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode


What's different between the two Code Generators?

asked 2014-05-19 17:54:53 -0700

anonymous user


updated 2014-05-19 18:05:28 -0700

As Wiki says "To generate the java source files that facilitate the service wiring, we need to add another code generator, JmxGenerator, to the yang-maven-plugin configuration in the pom.xml in addition to the CodeGeneratorImpl, as well as an additional dependency to the yangtools plugins."

Actually, what is the different between CodeGeneratorImpl and JMXGenerator in MD-SAL?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-05-20 02:11:20 -0700

tolvecky gravatar image

JMXGenerator generates config subsystem infrastructure. It inspect only a subset of yang statements including language extensions as defined in config.yang file. This generator ignores all yang files/statements not derived from config.yang. CodeGeneratorImpl is general purpose yang to java generator that is used throughout MD-SAL for XML (de)serialization and message routing.

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools



Asked: 2014-05-19 17:54:53 -0700

Seen: 68 times

Last updated: May 20 '14