O'Reilly logo

OpenDaylight Cookbook by Yrineu Rodrigues, Mohamed El-Serngawy, Rashmi Pujar, Jamie Goodyear, Alexis de Talhouët, Mathieu Lemay

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How to do it...

Perform the following steps:

  1. Start the OpenDaylight Karaf distribution using the karaf script. Using this script will give you access to the Karaf CLI:
$ ./bin/karaf 
  1. Install the user facing feature responsible for pulling in all dependencies needed to connect an NETCONF device:
opendaylight-user@root>feature:install odl-usc-channel-ui

It might take a minute or so to complete the installation.

  1. Start the USC agent and the echo server using a TCP session.

Open two terminal windows accessing this VM, then start the USC agent:

$ java -jar UscAgent.jar -t true 

Start the echo server:

$ java -jar EchoServer.jar -t true -p 2007 
  1. Create the channel using the following request. You will need the IP address of your VM, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required