OpenDayLight Flow Manager Installation

Опубликовано: 10 Октябрь 2024
на канале: Mon Goose
15,371
142

Hosted on Ubuntu VM's in Oracle VirtualBox
Using OpenDayLight Beryllium SDN Controller
Using karaf to load features
Used Mininet test environment to create switches and hosts and point switches to ODL SDNC.
Installed grunt and used this to support Cisco OpenFlow Manager (OFM) installation.
Finally got them all running and interrogated using NMAP and connected to using web sessions to ports 6633 (SDNC), 8181 (ODL DLUX) and 9000 (OFM)

If Beryllium does not work will have to consider dropping back to Lithium when working with OFM.

Also note the installation of nodejs-legacy

To get Beryllium ODL up and running:
Download from OpenDayLight
‘https://www.opendaylight.org/technica...

tar xvfz distribution-karaf-0.4.4-Beryllium-SR4
cd distribution-karaf-0.4.4-Beryllium-SR4/
JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
echo $JAVA_HOME

./bin/karaf


Check installed features:
feature:list -i
Add these features for ODL and OFM support:
feature:install odl-mdsal-clustering
feature:install odl-dlux-core odl-dlux-node odl-dlux-yangui odl-dlux-yangvisualizer
feature:install odl-l2switch-all odl-restconf-all odl-openflowplugin-all odl-yangtools-common odl-mdsal-all

For OpenFlow Manager
Ensure that odl packages have been installed including:
odl-l2switch-all odl-restconf-all odl-openflowplugin-all odl-yangtools-common

sudo apt-get update

sudo apt-get install -y npm
sudo apt-get install –y nodejs-legacy
git clone http://github.com/CiscoDevNet/OpenDay...

cd OpenDayLight-OpenFlow-App/

sudo npm install -g grunt-cli

sudo nano ./ofm/src/common/config/env.module.js

Update BASEURL to match SDN Controller IP address or leave as localhost if supported on local machine.

Use NMAP to check that ODL on port 8181 and OFM on 9000
To check ports in use nmap:

nmap localhost


8181/tcp open unknown
9000/tcp open cslistener

Use web browser to see OFM
http://192.168.1.223:9000/#/openflow_manager/index

Use web browser to see ODL
http://192.168.1.223:8181/index.html#/topology

Change IP address to suit server/controller