netcore-1.0.0: The NetCore compiler and runtime system for OpenFlow networks.

Safe HaskellSafe-Infered

Frenetic.Server

Synopsis

Documentation

controller :: Policy -> IO ()Source

Starts an OpenFlow controller that runs a static NetCore program.

dynControllerSource

Arguments

:: Chan Policy 
-> Chan (Loc, ByteString)

packets to emit

-> IO () 

Starts an OpenFlow controller that runs dynamic NetCore programs.

The controller reads NetCore programs from the given channel. When the controller receives a program on the channel, it compiles it and reconfigures the network to run it.