Coder Social home page Coder Social logo

hyojoonkim / oftrace Goto Github PK

View Code? Open in Web Editor NEW

This project forked from capveg/oftrace

0.0 2.0 0.0 60 KB

A library for programmatically parsing openflow control channel messages

Home Page: http://www.openflow.org/wk/index.php/Liboftrace

License: Other

oftrace's Introduction

WHAT: OpenFlow dump Analyzer/tracing
---------------------------
Take as input a libpcap formated file (i.e., from tcpdump/wireshark) and
output useful statistics about the OpenFlow session (defaults to port 6633)
liboftrace is available as a C library (liboftrace.{a,so}) and by higher
level programing languages, e.g., python, via swig.



HOW to build:
------------------------------
[if there is no ./configure script, i.e., building from git]
./boot.sh

./configure
	OR 
./configure --with-openflow-src-dir=/path/to/openflow/src

make
make install

to clean up all of the created files, run (mostly for developers):
./mr_proper.sh


TOOLS:
-----------------------------------
Included are two sample/example tools, written in both C and python:

ofdump: (python version: pyofdump.py)
	lists the messages and timestamps from a libpcap file

ofstats: (python version: pyofstats.py)
	prints the controller processing delay, i.e., the
	time between packet_in and corresponding packet_out or
	flow_mod 


Mac OS X support
----------------
liboftrace has been tested with Mac OS X. SWIG is required to build Python
support. It is recommended to use the MacPorts package management system to
install SWIG.

SWIG can be installed via MacPorts as follows:
   1. Download the latest version MacPorts
      (http://www.macports.org/install.php)
   2. Install MacPorts
   3. Open a terminal window and run:
        sudo port -v selfupdate
        sudo port install swig-python

------------------------------
- capveg 03/09

oftrace's People

Contributors

grg avatar

Watchers

 avatar  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.