Skip to content

This script allows you to dinamically generate ONOS clusters with variable number of Atomix instances, ONOS controllers and Mininet nets.

Notifications You must be signed in to change notification settings

Alepacox/Multicluster-ONOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Multicluster-ONOS

This script allows you to dinamically generate ONOS clusters with variable number of Atomix instances, ONOS controllers and Mininet nets.

It automatically generates configuration files for both Atomix and ONOS, that will be then runned into Docker containers.

The script takes in input:

  • (-c) The number of clusters you want to generate.
  • (-o) The number of Onos controllers for each cluster.
  • (-a) The number of Atomix nodes for each cluster.

The configuration files are generated using the scripts provided within the ONOS project. For this reason, you should have a local copy of that repository and which should be pointed by the $ONOS_ROOT env variable.

Once generated the clusters, the script will ask for generating Mininet nets. After choosing the net size, a separated net with same size will be attached to each ONOS cluster. A custom docker for Mininet will be generated handling all the nets, and that will let you attach to each of them by spawning a CLI at runtime. In order to properly run the Mininet container, you need to install openvswitch on your host machine.

How to use

Just run: ./generate_cluster.sh -c 2 -o 2 -a 3

With this command, you are going to generate 2 separate clusters, each running 2 ONOS instances and 3 Atomix nodes.

About

This script allows you to dinamically generate ONOS clusters with variable number of Atomix instances, ONOS controllers and Mininet nets.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published