base/frameworks/openflow/plugins/broker.zeek

OpenFlow

OpenFlow plugin for interfacing to controllers via Broker.

Namespace:OpenFlow
Imports:base/frameworks/broker, base/frameworks/openflow

Summary

Redefinitions

OpenFlow::ControllerState: record &redef
New Fields:

OpenFlow::ControllerState

broker_host: addr &optional

Controller ip.

broker_port: port &optional

Controller listen port.

broker_dpid: count &optional

OpenFlow switch datapath id.

broker_topic: string &optional

Topic to send events for this controller to.

OpenFlow::Plugin: enum

Functions

OpenFlow::broker_new: function Broker controller constructor.

Detailed Interface

Events

OpenFlow::broker_flow_clear
Type:event (name: string, dpid: count)
OpenFlow::broker_flow_mod
Type:event (name: string, dpid: count, match: OpenFlow::ofp_match, flow_mod: OpenFlow::ofp_flow_mod)

Functions

OpenFlow::broker_new
Type:function (name: string, host: addr, host_port: port, topic: string, dpid: count) : OpenFlow::Controller

Broker controller constructor.

Host:Controller ip.
Host_port:Controller listen port.
Topic:Broker topic to send messages to.
Dpid:OpenFlow switch datapath id.
Returns:OpenFlow::Controller record.