Skip to content

Latest commit

 

History

History
55 lines (38 loc) · 1.18 KB

README.md

File metadata and controls

55 lines (38 loc) · 1.18 KB

Data Center Management using ONOS

Based on this tutorial.

Objectives:

  • Multitenancy
  • Host migration

Requirements:

  • ONOS v1.10.4
  • Mininet v2.2.2

Build:

git clone https://github.com/sdnwiselab/onos-datacenter.git
cd onos-datacenter/datacenter
mvn clean install

Install:

ONOS must be running, then:

onos-app <ONOS IP> install! <PATH_TO_REPO_FOLDER>/datacenter/target/datacenter-<VERSION>.oar

Commands:

Create the virtual datacenter in Mininet. In a terminal:

cd <PATH_TO_REPO_FOLDER>/scripts && sudo python clos_topo_builder.py -c <NO_OF_CORE_SWITCHES> -f <FANOUT>

In this case we are going to use 2 as NO_OF_CORE_SWITCHES and 2 as FANOUT.

Then, from the ONOS command line:

app deactivate org.onosproject.fwd
tenantsmap <PATH_TO_REPO_FOLDER>/datacenter/src/tenants.csv

To deactivate normal routing, load the file containing the list of the tenants and activate multitenancy. Then:

migratehost sourceIP destinationIP

To migrate an host.

About:

Tested with ONOS 1.10.4

Forked from eMarco