base/frameworks/openflow/plugins/log.bro

OpenFlow

OpenFlow plugin that outputs flow-modification commands to a Bro log file.

Namespace:OpenFlow
Imports:base/frameworks/logging, base/frameworks/openflow
Source File:/scripts/base/frameworks/openflow/plugins/log.bro

Summary

Types

OpenFlow::Info: record The record type which contains column fields of the OpenFlow log.

Events

OpenFlow::log_openflow: event Event that can be handled to access the OpenFlow::Info record as it is sent on to the logging framework.

Functions

OpenFlow::log_new: function Log controller constructor.

Detailed Interface

Types

OpenFlow::Info
Type:

record

ts: time &log

Network time.

dpid: count &log

OpenFlow switch datapath id.

match: OpenFlow::ofp_match &log

OpenFlow match fields.

flow_mod: OpenFlow::ofp_flow_mod &log

OpenFlow modify flow entry message.

The record type which contains column fields of the OpenFlow log.

Events

OpenFlow::log_openflow
Type:event (rec: OpenFlow::Info)

Event that can be handled to access the OpenFlow::Info record as it is sent on to the logging framework.

Functions

OpenFlow::log_new
Type:function (dpid: count, success_event: bool &default = T &optional) : OpenFlow::Controller

Log controller constructor.

Dpid:OpenFlow switch datapath id.
Success_event:If true, flow_mod_success is raised for each logged line.
Returns:OpenFlow::Controller record.
Copyright 2016, The Bro Project. Last updated on January 10, 2019. Created using Sphinx 1.7.5.