Git Product home page Git Product logo

ryu-controller-port-statistics-monitoring-and-recording's Introduction

Ryu-controller-port-statistics-monitoring-and-recording ( Extension )

This is an extension of of Ryu controller "simple_switch_13" that collect the port statistics data to csv files (for more, read Ryu controller generous documentation).

The code will generate an $n$ csv files, where $n$ is the number of datapaths ( OVS switches , in our below example ). A time stamp field has been added, this is very important if you want to do time-series data analyis. Do not forget to change the line : path = './my_ryu_apps/monitor_data' to put your own path.

Ex:

Run a mininet network :

sudo mn --topo tree,3 --mac --arp --switch ovsk --link tc --controller remote,ip=127.0.0.1,port=6633

and run the script above:

ryu run --verbose --observe-links ./my_ryu_apps/FILENAME.py

Replace FILENAME with name of the script above

In case you want the data of the whole network in single csv file, you can concatenate these csv files into a single file using Pandas libarary .

Note that , the data will continuosely be added to the csv files as long as the script is monitoring, in real time...

ryu-controller-port-statistics-monitoring-and-recording's People

Contributors

aiman-g avatar

Watchers

 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.