Version 4 (modified by 7 years ago) ( diff ) | ,
---|
Emulator for Next-Generation Smart Grid Network Management Tutorial
This wiki page contains tutorial for: "Emulator for Next-Generation Smart Grid Network Management".
Description
For this tutorial we will use ORBIT SB9 test bed to execute a test with two types of supported flows (stream and command flows) on test topology shown on image below.
Environment setup, test execution and results collecting is covered in this tutorial.
Prerequisites
VM that will be used in ORBIT environment should be Ubuntu 14.04 with following installed:
- Mininet with POX, available at this GitHub page. In short it can be installed with:
./install.sh -a
. - jsonpickle, used for JSON configuration deserialization. It can be installed using pip:
pip install jsonpickle
. - nfdump, needed for Net Flow results parsing. It can be installed using:
sudo apt-get install nfdump
. - emulator, provided at following link
These steps can be simplified if prepared VM is saved and reused.
Setting up the environment
Setting up environment is mostly automated. First, time slot at ORBIT should be scheduled. This is explained Getting Started Wiki page. Once the registrations has been approved via email, prepared VM can be loaded onto the SB9 test bed and the machines can be started. Ubuntu 14.04 VM image is available at ORBIT VM catalog.
- Load Ubuntu 14.04 image:
omf load -i ubuntu-14-04-64bit-2017-06-09.ndz -t all
. - Start SB9 nodes:
omf tell -a on -t all
.
Once the VM image has been loaded and the nodes are up and running, the only thing left is to exchange ssh authorized keys. This is done by executing following script ./setup_ssh.sh ~/nodes.
Provided nodes file contains the list of ORBIT nodes that are up and running. File is provided in attached archive.
Running the experiment
Test is run by executing SG-CommTestBed.py
script, locally or remotely using SSH.
Results analysis
Results are grouped by node name and there are two types of results:
- Traffic generators
- Netflow data
Results are collected by calling a script collect_results.sh
on ORBIT gateway box. It will collect all the results and copy it locally.
Once the results are collected they can be analyzed. Traffic generators can be opened using any text editor while Net Flow can be opened using excel.
Attachments (2)
-
tutorial_topo.png
(28.1 KB
) - added by 6 years ago.
Sample topology
-
sg-sdn.zip
(32.8 KB
) - added by 6 years ago.
sg-sdn-source
Download all attachments as: .zip