Giter Site home page Giter Site logo

inasalkamachy / fatgraphgenerator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sameedali/fatgraphgenerator

0.0 0.0 0.0 292 KB

Generates a graph for a K-ary FAT tree.

Shell 6.57% Python 22.51% Tcl 67.86% Awk 0.50% Jupyter Notebook 2.55%

fatgraphgenerator's Introduction

Build Status Code Climate Issue Count

FatTreeGenerator

This repository contains an k-ary FAT tree topology generator.

A tcl representing the topology or the given k is genrated on running the python FatTreeGenerator.py script

Example topology:

               (CORE)
              .     .
            .        .
          .           .
        (Agg)         (Agg)
      .     .           ...
     .       .
    (TOR)    (TOR)
   . .         .
  .   .       . .
 .     .     .   .
(0)    (1)  (2)  (3) ...

Numbering for nodes starts at the end host and continues hierarchically i.e. End hosts then TOR then AGG then core switches.

Links are numbered similiarly stating form the node 0.

Summary of the files

cleanup.py

Cleans up the result files in the out/ folder after an experiment.

createUtilGraph.py

Creates the graphs from the result files in the out/ folder

FatTreeGenerator.py

Generates the topology and moves the resulting files in the out/ folder

make_graphs.py

A wrapper script which calls createUtilGraph.py

ratioCalc.py

Calculates the ratio of data plane traffic (TCP) to control plane traffic (eSDN DHT, SDN controller polling traffic)

tcl/

Holds the TCL templates and reference files.

Running the Experiment

Edit the start of the FatTreeGenerator.py file to adjust the topology's K-value and the link bandwidths then run the file using the following command:

python FatTreeGenerator.py

The result will be stored in the out/ folder.

Then run ns2 on the generated TCL file after ajusting the parameters in out.tcl.

cd ../out/

vi out.tcl

ns out.tcl

The simulation will produce its results in the out/ directory.

fatgraphgenerator's People

Contributors

sameedali avatar muqsitnawaz avatar

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.