Documentation ¶
Index ¶
- func AddFlow(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func NewDemoInstance() interface{}
- func NewHostMap() *hostmap
- func NewL2Forwarder() interface{}
- func NewL3Forwarder(f []string) func() interface{}
- func NewWebService(apiOn string)
- func Switches(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- func TestMod(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- type DemoInstance
- type FlowMods
- type Host
- type L2Forwarder
- type L3Forwarder
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 L2Forwarder ¶
type L2Forwarder struct {
// contains filtered or unexported fields
}
func (L2Forwarder) Dpid ¶
func (this L2Forwarder) Dpid(dpid net.HardwareAddr) (map[string]host, 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)
Click to show internal directories.
Click to hide internal directories.