Coder Social home page Coder Social logo

d-itg-neat's Introduction

d-itg-neat

This project is a derivative work of the code from the D-ITG traffic generator with the aim to support the NEAT transport system.

Requirements

  • cmake
  • libuv
  • ldns
  • ljansson
  • libmnl
  • libsctp-dev
OS Install Dependencies
Ubuntu 15.04 or higher apt-get install cmake libuv1-dev libldns-dev libjansson-dev libmnl-dev libsctp-dev

Installation

Get the source files

$ git clone --recursive https://github.com/karlgrin/d-itg-neat.git
$ cd d-itg-neat 
$ mkdir bin

Build NEAT

$ git clone https://github.com/NEAT-project/neat.git
$ cd neat
$ mkdir build && cd build
$ cmake ..
$ cmake --build .

Build D-ITG

$ cd d-itg-neat/src
$ make -B

Add libneat to local libraries

$ cd d-itg-neat
$ sudo cp NEAT/build/libneat.so /usr/local/lib
$ sudo ldconfig

Quick start

In this example ITGSend will generate one NEAT flow with constant payload size (100 bytes) and constant packet rate (10 pps) for 15 seconds (15000 ms) with the neat properties set in custom.json

Open two console windows

$ cd d-itg-neat/bin

Start server

$ ./ITGRecv -NO "-P ../custom.json"

Start client

$ ./ITGSend -T NEAT -a 127.0.0.1 -c 100 -C 10 -t 15000 -NO "-P ../custom.json"

d-itg-neat's People

Contributors

karlgrin avatar pmatsson avatar bozakov avatar

Stargazers

 avatar

Watchers

Darkphàs Dé Lône avatar  avatar  avatar

Forkers

bozakov

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.