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

0

What's different between the two Code Generators?

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

anonymous user

Anonymous

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

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
0

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

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

Follow
3 followers

Stats

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

Seen: 67 times

Last updated: May 20 '14