openflow

package
v0.0.0-...-8b36eab Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 10, 2016 License: GPL-2.0 Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartOpenFlow

func StartOpenFlow(hive bh.Hive, options ...Option) error

StartOpenFlow starts the OpenFlow driver on the given hive using the default OpenFlow configuration that can be set through command line arguments.

Types

type Option

type Option func(l *ofListener)

Option represents an OpenFlow listener option.

func ListenOn

func ListenOn(addr string) Option

ListenOn returns an OpenFlow option that sets the address on which the OpenFlow service listens.

func SetReadBufLen

func SetReadBufLen(rlen int) Option

SetReadBufLen returns an OpenFlow option that sets reader buffer length of the OpenFlow service.

func UseProto

func UseProto(proto string) Option

UseProto returns an Openflow option that sets the protocol that the OpenFlow service uses to listen.

Directories

Path Synopsis
Automatically generated by Packet Go code generator.
Automatically generated by Packet Go code generator.
Automatically generated by Packet Go code generator.
Automatically generated by Packet Go code generator.
Automatically generated by Packet Go code generator.
Automatically generated by Packet Go code generator.
Automatically generated by Packet Go code generator.
Automatically generated by Packet Go code generator.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL