Git Product home page Git Product logo

frenetic's Introduction

Frenetic

An open-source SDN controller platform.

Build Status

Installation

You can install the latest release from OPAM using the following command:

$ opam install frenetic

To install the async subpackage, simply ensure that async is installed before or after installing the library:

$ opam install async

Development

To build from source, first ensure that you've installed all dependencies, which are listed in the _oasis file under the netkat, async, and quickcheck Library sections. To install dependencies that are part of the Frenetic project, you may want to install a custom OPAM repository maintained that the Frenetic project maintains.

$ opam repository add frenetic https://github.com/frenetic-lang/opam-bleeding.git
$ opam update

Once that's done, packages that are part of the Frenetic project will be installed from the HEAD of their master branch on github. Install those packages and then build and install Frenetic using the following commands:

./configure --enable-tests --enable-quickcheck --enable-async
$ make
$ make test
$ make install

Usage Example

Here's how to create a controller that will do simple forwarding for a tree topology with fanout 2 and depth 2:

open Core.Std
open Async.Std

let main () =
  let static = Async_NetKAT.create_from_file "examples/tree-2-2.kat" in
  Async_NetKAT_Controller.start static () in

never_returns (Scheduler.go_main ~main ())

The static policy can be found in examples/tree-2-2.kat. Use the following command to run mininet with the topology for this example:

$ sudo mn --controller=remote --mac --topo=tree,2,2

License

LGPLv3, see LICENSE file for its text.

frenetic's People

Contributors

jnfoster avatar reitblatt avatar seliopou avatar mpmilano avatar arjunguha avatar princedpw avatar nimishgupta avatar rac347 avatar mcanini avatar basus avatar lvanbever avatar adferguson avatar mgscheer avatar moey509 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.