This Folder contains script and instructions to achieve and ODTN phase 1.0 demo on EDGE-CORE CASSINI device with IPInfusion OCNos Software.
Required Ubuntu 16.04 or 18.04 and bazel 0.19.2 or higher.
cd ~
Clone this repo
git clone https://gerrit.onosproject.org/odtn-demo
Clone ONOS
git clone https://github.com/opennetworkinglab/onos
cd ~/odtn-demo/cassini-demo
sudo ./name-space.sh h1 ens6f0 2 10.0.0.1 sudo ./name-space.sh h2 ens6f1 2 10.0.0.2
cd ~/odtn-demo/odtn-phase1-demo
yarn install
Note: the install command has to be run only once, the first time then
yarn start
Note: Please make sure to have sourced the bashrc for the terminal as exaplained in the ONOS wiki.
cd ~/odtn-demo/cassini-demo
To start ONOS
./demo-reset.sh
Note: Please change the IPs, passwords and deviceId according to your devices and hosts in the different .json files. e.g. openconfig-device-cassini-test1.json
To configure ONOS
./config-onos.sh
From a terminal in any given machine that is able to reach the management server
ssh -p 8101 onos@<ip_of_server>
passowd will be most likely karaf
http://<ip_of_server>:8181/onos/ui/login.htm
To see the ping properly flowing between the two hosts ssh into the server in two terminal windows and execute
sudo ip netns exec h1 ping -I ens6f0.2 <ip_h2>
sudo ip netns exec h2 ping -I ens6f1.2 <ip_h1>
You can learn more in the ONOS Wiki.
To learn React, check out the ODTN Wiki.