Due to a ransomware attack, the wiki was reverted to a July 2022 version. . We apologize for the lack of a more recent valid backup.
...
- Use yangtools package provided ( how do give the yangtools project and pom file ? )
specify the input yang model folder at line 55 of pom.xml
Example:
Code Block language xml <yangFilesRootDir>/Users/Andrea/yangBehavior/</yangFilesRootDir>
specify output folder at line 62 of pom.xml
Example:Code Block language xml <outputBaseDir> /Users/Andrea/yangBehavior </outputBaseDir>
- open a shell to the translator project folder
execute
Code Block language actionscript3 $ mvn generate_-sources
- generated java files are in <outputdir>/org/opendaylight/yang/gen/v1/<yang_specified_namespace>
...