Not able to install the GUI package(odl-dlux-all) related to OpenDaylight Carbon version

Viewed 10071

I am not able to install the package odl-dlux-all on the Ubuntu 16.04 machine. Following is the error message

Error executing command: Can't install feature odl-dlux-all/0.0.0: null

VM : Ubuntu 16.04 Opendaylight version : Carbon

What is the issue?

Should i install gnome-desktop for this?

3 Answers

The way OpenDaylight's DLUX features are structured was changed in Carbon. Application-specific logic was broken out into odl-dluxapps-* Karaf features for easier maintenance.

Install and start OpenDaylight:

sudo dnf install -y http://cbs.centos.org/repos/nfv7-opendaylight-70-release/x86_64/os/Packages/opendaylight-7.0.0-1.el7.noarch.rpm
sudo systemctl start opendaylight

Connect to the Karaf shell (make take a moment for Karaf's SSH server to come up):

ssh -p 8101 karaf@localhost
# password: karaf

See the available DLUX features:

opendaylight-user@root>feature:list | grep dluxapps
odl-dluxapps-yangutils
odl-dluxapps-yangui
odl-dluxapps-topology
odl-dluxapps-yangvisualizer
odl-dluxapps-applications
odl-dluxapps-yangman
odl-dluxapps-nodes
features-dluxapps

Install the ones you're interested in:

opendaylight-user@root>feature:install odl-dluxapps-topology

In a browser on the same machine:

http://localhost:8181/index.html#/yangui/index

Login with admin/admin and things should work.

Here are the DLUX docs.

Note that DLUX isn't widely used by ODL developers, and isn't packaged as a product by vendors. Most people use the REST API directly to query OpenDaylight. There are REST API examples in the NetVirt Postman Collection, as an example.

Related