Changes between Version 2 and Version 3 of Tutorials/qNSE/aNgSgEmulator
- Timestamp:
- May 3, 2018, 4:10:38 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Tutorials/qNSE/aNgSgEmulator
v2 v3 5 5 === Description === 6 6 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. 7 7 [[Image(tutorial_topology.png)]] 8 8 9 9 Environment setup, test execution and results collecting is covered in this tutorial. … … 12 12 13 13 VM that will be used in ORBIT environment should be Ubuntu 14.04 with following installed: 14 1. Mininet with POX, available at GitHubwith detailed installation instruction.15 2. jsonpickle, used for JSON configuration deserialization. It can be installed using pip (pip install jsonpickle)16 3. nfdump, needed for netflow results parsing. It can be installed using 'sudo apt-get install nfdump'17 4. emulator, provided at -link14 1. Mininet with POX, available at [https://github.com/mininet/mininet this GitHub page] with detailed installation instruction. 15 2. [https://github.com/jsonpickle/jsonpickle jsonpickle], used for JSON configuration deserialization. It can be installed using pip (pip install jsonpickle) 16 3. [https://github.com/phaag/nfdump nfdump], needed for Net Flow results parsing. It can be installed using `sudo apt-get install nfdump` 17 4. emulator, provided at following link 18 18 19 19 These steps can be simplified if prepared VM is saved and reused. … … 22 22 23 23 Setting 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: 24 1. omf load -i sg.ndz -t all 25 2. omf tell -a on -t all 26 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: 27 1. start ./setup_ssh.sh ~/nodes. 24 1. `omf load -i sg.ndz -t all` 25 2. `omf tell -a on -t all` 26 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.` 28 27 Provided nodes file contains the list of ORBIT nodes that are up and running. 29 28 30 29 === Running the experiment === 31 30 32 Test is run by executing SG-CommTestBed.pyscript, locally or remotely using SSH.31 Test is run by executing `SG-CommTestBed.py` script, locally or remotely using SSH. 33 32 34 33 === Results analysis === … … 38 37 2. Netflow data 39 38 They can be collected by calling on ORBIT gateway box that will collect all the results and copy it locally. 40 Once the results are collected they can be anal ized. Traffic generators can be opened using any text editor while Netflow can be opened using excel.39 Once the results are collected they can be analyzed. Traffic generators can be opened using any text editor while Netflow can be opened using excel.