Ask Your Question

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools



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

Seen: 67 times

Last updated: May 20 '14