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 your OpenDaylight distribution using the karaf script. Using this client will give you access to the Karaf CLI:
$ ./bin/karaf 
  1. Install the user facing feature responsible for pulling in all dependencies needed to use the YANG UI:
opendaylight-user@root>feature:install odl-vpnservice-intent 

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

  1. Create the topology in the Mininet-VM:
  • Log in to Mininet-VM using these credentials:
    • Username: mininet
    • Password: mininet
  • Create the custom topology.

The topology's script resides at the following location:

$ wget -O shortest_path.py https://gist.githubusercontent.com/adetalhouet/shortest_path.py$  sudo mn --controller=remote,ip=${CONTROLLER_IP} ...

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