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


How to add a new js module to dlux

asked 2015-06-02 07:25:29 -0700

mengrady gravatar image

updated 2015-06-02 07:28:41 -0700

I want to add a new js moudle to dlux, I hope add my module to the navigation menu,and I have referred to the url:,but failed, the navigation menu have not my moudle ,also if I input the url that I have defined in the module.js ,there have not any request, and the page is still topology ,and i have modify the pom.xml,I want to know which file I also should to modify in dlux project, dlux/modules\common-navigation-resources\src\main\resources\navigation\navigation.js or another? someone can help me? Thank you very mush.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-06-05 08:06:50 -0700

mmcoulome gravatar image

You don't have to modify any file from the modules folder. The solution depends if you try to add a module within or without karaf.

By the link you've use, i guess that you want to run dlux without karaf. Your problem seem to be that your module isn't register into the application. Make sure you have uncomment this block from dlux_web/src/app.module.js and also add your module in those arrays.

var module = [

var e = [
edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-06-02 07:25:29 -0700

Seen: 153 times

Last updated: Jun 05 '15