how to add mutiple MD SAL application while creating from archtype

asked 2017-08-30 18:59:45 -0800

sophia gravatar image

Hello, I am new in ODL application development.

I have done successfully helloworld MD SAL application by creating a new project from the startup archetype. I have some queries. 1- when we install ODL normally by downloading and installing using tar -xzf, we get many MD SAL services as compare to what we get ODL code using maven archetype. (you can verify list of services in yang ui page) why?
2- I wanted to look into the code of those MD SAL services which comes with ODL installation. but I could find files inside the project I created from the startup archetype. 3- after completing helloworld application development, I need to develop more services. How can we use the same build (for developing other services) that I created from archetype for helloworld (as many files get automatically created while generating project from archetype like - hello.yang, HelloProvider, and other hello java files in cli and it directory)? 4- what is the purpose of below java files and how they are called when helloworld app runs? cli/src/main/java/org/opendaylight/hello/cli/api/HelloCliCommands.java cli/src/main/java/org/opendaylight/hello/cli/commands/HelloCliTestCommand.java cli/src/main/java/org/opendaylight/hello/cli/impl/HelloCliCommandsImpl.java

edit retag flag offensive close merge delete