netapps

package
v0.0.0-...-1e56809 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2015 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddFlow

func AddFlow(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func NewDemoInstance

func NewDemoInstance() interface{}

func NewHostMap

func NewHostMap() *hostmap

func NewL2Forwarder

func NewL2Forwarder() interface{}

func NewL3Forwarder

func NewL3Forwarder(f []string) func() interface{}

func NewWebService

func NewWebService(apiOn string)

func Switches

func Switches(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

func TestMod

func TestMod(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

Types

type DemoInstance

type DemoInstance struct{}

func (*DemoInstance) ConnectionDown

func (b *DemoInstance) ConnectionDown(dpid net.HardwareAddr)

func (*DemoInstance) ConnectionUp

func (b *DemoInstance) ConnectionUp(dpid net.HardwareAddr)

func (*DemoInstance) PacketIn

func (b *DemoInstance) PacketIn(dpid net.HardwareAddr, pkt *ofp10.PacketIn)

type FlowMods

type FlowMods []*ofp10.FlowMod

type Host

type Host struct {
	// contains filtered or unexported fields
}

type L2Forwarder

type L2Forwarder struct {
	// contains filtered or unexported fields
}

func (L2Forwarder) Add

func (this L2Forwarder) Add(v ...interface{})

func (L2Forwarder) Dpid

func (this L2Forwarder) Dpid(dpid net.HardwareAddr) (map[string]host, bool)

func (L2Forwarder) Host

func (this L2Forwarder) Host(v ...interface{}) (h host, ok bool)

func (*L2Forwarder) PacketIn

func (this *L2Forwarder) PacketIn(dpid net.HardwareAddr, pkt *ofp10.PacketIn)

type L3Forwarder

type L3Forwarder struct {
	// contains filtered or unexported fields
}

func (*L3Forwarder) ConnectionUp

func (this *L3Forwarder) ConnectionUp(dpid net.HardwareAddr)

func (*L3Forwarder) PacketIn

func (this *L3Forwarder) PacketIn(dpid net.HardwareAddr, pkt *ofp10.PacketIn)

Jump to

Keyboard shortcuts

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