Safe Haskell | Safe-Infered |
---|
- controller :: Policy -> IO ()
- dynController :: Chan Policy -> Chan (Loc, ByteString) -> IO ()
Documentation
controller :: Policy -> IO ()Source
Starts an OpenFlow controller that runs a static NetCore program.
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.