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

Revision history [back]

click to hide/show revision 1
initial version

Hi , In this project there is no dlux feature available . You could check -> features/src/main/features.xml , here you wont find dlux feature .

There are two ways to use dlux in Hello .

(1) Add your hello feature in integration-distribution where all bundles,features available readily!.

(2)Add dependency of dlux in hello project and use it.

In your case you can add the dlux feature by adding its dependencies in features/pom.xml and features.xml !

Features.xml <repository>mvn:org.opendaylight.dlux/features-dlux/${feature.dlux.version}/xml/features</repository>

Add Features/Pom.xml <dependency<groupId>org.opendaylight.dlux</groupId> <artifactId>features-dlux</artifactId> <version>${feature.dlux.version}</version> <classifier>features</classifier> <type>xml</type> </dependency>

Most importantly you have to be careful on this version. You have to specify the proper version of dlux which can be installed in your hello project.

hint:

(i) note down your odl-parent version in Hello

(II) Go to github.com/opendaylight/integration-distribution/blob/master/pom.xml ;

(III) check the ODL-parent version which matches your hello's version.If not matched, change the branch until you find the exact match(master or stable/beryllium ..etc)

(IV) Once you find it , check the dlux version in the same pom.xml file. and mention the same in your pom, feature file as dlux version. [Make sure the specified dlux version available in your .m2/repository/org/opendaylight/dlux/features-dlux]

Hi , In this project there is no dlux feature available . You could check -> features/src/main/features.xml , here you wont find dlux feature .

There are two ways to use dlux in Hello .

(1) Add your hello feature in integration-distribution where all bundles,features available readily!.

(2)Add dependency of dlux in hello project and use it.

In your case you can add the dlux feature by adding its dependencies in features/pom.xml and features.xml !

Features.xml <repository>mvn:org.opendaylight.dlux/features-dlux/${feature.dlux.version}/xml/features</repository>

Add Features/Pom.xml <dependency<groupId>org.opendaylight.dlux</groupId> <artifactId>features-dlux</artifactId> <version>${feature.dlux.version}</version> <classifier>features</classifier> <type>xml</type> </dependency>

Most importantly you have to be careful on this version. You have to specify the proper version of dlux which can be installed in your hello project.

hint:

(i) note down your odl-parent version in Hello

(II) Go to github.com/opendaylight/integration-distribution/blob/master/pom.xml ;

(III) check the ODL-parent version which matches your hello's version.If not matched, change the branch until you find the exact match(master or stable/beryllium ..etc)

(IV) Once you find it , check the dlux version in the same pom.xml file. and mention the same in your pom, feature file as dlux version. [Make sure the specified dlux version available in your .m2/repository/org/opendaylight/dlux/features-dlux]

If not you have to clone it from github !

************************#

And one question would like to ask , Why do you want to Dlux here? to see the Topology ?? If so , you dont have the l2switch features in your hello project ! you need to do the same thing here also

So I suggest you use integration-distribution !. Just Add your Hello dependencies in integration-distribution/features-index//pom.xml and features.xml . launch integration-dist , install your feature,dlux,l2 whatever you want ! .

Hi , In this project there is no dlux feature available . You could check -> features/src/main/features.xml , here you wont find dlux feature .

There are two ways to use dlux in Hello .Plz have a look at features/src/main/features/features.xml ->

(1) Add your

 <feature name='odl-hello-ui' version='${project.version}' description='OpenDaylight :: hello feature in integration-distribution where all bundles,features available readily!.

(2)Add dependency of dlux in hello project and use it.

In your case you can add the dlux feature by adding its dependencies in features/pom.xml and features.xml !

Features.xml <repository>mvn:org.opendaylight.dlux/features-dlux/${feature.dlux.version}/xml/features</repository>

Add Features/Pom.xml <dependency<groupId>org.opendaylight.dlux</groupId> <artifactId>features-dlux</artifactId> :: UI'> <version>${feature.dlux.version}</version> <feature version="${project.version}">odl-hello-rest</feature> <classifier>features</classifier> <feature version="${restconf.version}">odl-mdsal-apidocs</feature> <type>xml</type> <feature version="${mdsal.version}">odl-mdsal-xsql</feature> </dependency><feature version="${dlux.version}">odl-dlux-yangui</feature> </feature>

Most importantly here change the odl-dlux-yangui to odl-dlux-all ! ; once you have to be careful on this version. You have to specify the proper version of install odl-hello-ui ; dlux which can will be installed in your hello project.

;

hint:

(i) note down your odl-parent version in Hello

(II) Go to github.com/opendaylight/integration-distribution/blob/master/pom.xml ;

(III) check They already added the ODL-parent version which matches your hello's version.If not matched, change the branch until you find the exact match(master or stable/beryllium ..etc)

(IV) Once you find it , check the dlux version in the same pom.xml file. and mention the same in your pom, feature file as dlux version. [Make sure the specified dlux version available in your .m2/repository/org/opendaylight/dlux/features-dlux] If not you have to clone it from github !

************************#

And one question would like to ask , Why do you want to Dlux here? to see the Topology ?? If so , you dont have the l2switch features in your hello project ! you need to do the same thing here also

So I suggest you use integration-distribution !. Just Add your Hello dependencies in integration-distribution/features-index//pom.xml and features.xml . launch integration-dist , install your feature,dlux,l2 whatever you want ! .

Hi ,

Plz have a look at features/src/main/features/features.xml ->

 <feature name='odl-hello-ui' version='${project.version}' description='OpenDaylight :: hello :: UI'>
    <feature version="${project.version}">odl-hello-rest</feature>
    <feature version="${restconf.version}">odl-mdsal-apidocs</feature>
    <feature version="${mdsal.version}">odl-mdsal-xsql</feature>
    <feature version="${dlux.version}">odl-dlux-yangui</feature>
</feature>

here change the odl-dlux-yangui to odl-dlux-all ! ; once After launching first try odl-dlux-all is available or not then you install odl-hello-ui ; dlux will May be installed ;
They already added the dependencies .
helpful. Plz let me know if it is not working

Hi ,

Plz have a look at features/src/main/features/features.xml ->

 <feature name='odl-hello-ui' version='${project.version}' description='OpenDaylight :: hello :: UI'>
    <feature version="${project.version}">odl-hello-rest</feature>
    <feature version="${restconf.version}">odl-mdsal-apidocs</feature>
    <feature version="${mdsal.version}">odl-mdsal-xsql</feature>
    <feature version="${dlux.version}">odl-dlux-yangui</feature>
</feature>

here change the odl-dlux-yangui to odl-dlux-all ! ; After launching first try odl-dlux-all is available or not then you install odl-hello-ui ; May be helpful. Plz let me know if it is not workingworking ; I will try then

Hi ,

Plz have a look at features/src/main/features/features.xml ->

 <feature name='odl-hello-ui' version='${project.version}' description='OpenDaylight :: hello :: UI'>
    <feature version="${project.version}">odl-hello-rest</feature>
    <feature version="${restconf.version}">odl-mdsal-apidocs</feature>
    <feature version="${mdsal.version}">odl-mdsal-xsql</feature>
    <feature version="${dlux.version}">odl-dlux-yangui</feature>
</feature>

here change the odl-dlux-yangui to odl-dlux-all ! ; After launching first try localhost:8181/index.html ; if not working then try odl-dlux-all is available or not then you install odl-hello-ui ; May be helpful. Plz let me know if it is not working ; I will try then

Hi ,

Plz have a look at features/src/main/features/features.xml ->Updated :

 <feature name='odl-hello-ui' version='${project.version}' description='OpenDaylight :: hello :: UI'>
    <feature version="${project.version}">odl-hello-rest</feature>
    <feature version="${restconf.version}">odl-mdsal-apidocs</feature>
    <feature version="${mdsal.version}">odl-mdsal-xsql</feature>
    <feature version="${dlux.version}">odl-dlux-yangui</feature>
</feature>

I tried , and i checked the features/pom.xml and , features.xml . they have already mentioned the dependency of dlux project. After launching karaf i simply installed dlux. its working.

here opendaylight-user@root>feature:install odl-dlux-all

I attached my pom and features.xml files C:\fakepath\pom.png. have a look. (After download both the files C:\fakepath\features.png Plz change the odl-dlux-yangui extension from .png to odl-dlux-all ! ; After launching first try localhost:8181/index.html ; if not working then try odl-dlux-all is available or not ; May be helpful. Plz let me know if it is not working ; I will try thenxml)

Hi ,

Updated :

I tried , and i checked the features/pom.xml and , features.xml . they have already mentioned the dependency of dlux project. After launching karaf i simply installed dlux. its working.

opendaylight-user@root>feature:install odl-dlux-all

I attached my pom and features.xml files C:\fakepath\pom.png. have a look. (After download both the files C:\fakepath\features.png Plz change the extension from .png to xml)xml) right click ->save link as -> Download and change extention and see (Its not allowing me to upload xml file)