Changes between Version 1 and Version 2 of Tutorials/qNSE/aNgSgEmulator


Ignore:
Timestamp:
May 3, 2018, 3:30:28 PM (7 years ago)
Author:
mita
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/qNSE/aNgSgEmulator

    v1 v2  
    11== Emulator for Next-Generation Smart Grid Network Management Tutorial ==
     2
     3This wiki page contains tutorial for: "Emulator for Next-Generation Smart Grid Network Management".
     4
     5=== Description ===
     6For 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.
     7
     8
     9Environment setup, test execution and results collecting is covered in this tutorial.
     10
     11=== Prerequisites ===
     12
     13VM that will be used in ORBIT environment should be Ubuntu 14.04 with following installed:
     141. Mininet with POX, available at GitHub with detailed installation instruction.
     152. jsonpickle, used for JSON configuration deserialization. It can be installed using pip (pip install jsonpickle)
     163. nfdump, needed for netflow results parsing. It can be installed using 'sudo apt-get install nfdump'
     174. emulator, provided at - link
     18
     19These steps can be simplified if prepared VM is saved and reused.
     20
     21=== Setting up the environment ===
     22
     23Setting up environment automated. First, time slot at ORBIT should be scheduled. It can be done using ORBIT Control Panel. Once the registrations has been approved via email, prepared VM can be loaded onto the SB9 test bed and the machines can be started:
     241.      omf load -i sg.ndz -t all
     252.      omf tell -a on -t all
     26Once 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:
     271.      start ./setup_ssh.sh ~/nodes.
     28Provided nodes file contains the list of ORBIT nodes that are up and running.
     29
     30=== Running the experiment ===
     31
     32Test is run by executing SG-CommTestBed.py script, locally or remotely using SSH.
     33
     34=== Results analysis ===
     35
     36Results are grouped by node name and there are two types of results:
     371.      Traffic generators
     382.      Netflow data
     39They can be collected by calling on ORBIT gateway box that will collect all the results and copy it locally.
     40Once the results are collected they can be analized. Traffic generators can be opened using any text editor while Netflow can be opened using excel.