base/frameworks/openflow/plugins/ryu.zeek

OpenFlow

OpenFlow plugin for the Ryu controller.

Namespace

OpenFlow

Imports

base/frameworks/openflow, base/utils/active-http.zeek, base/utils/exec.zeek

Summary

Redefinitions

OpenFlow::ControllerState: record &redef

New Fields

OpenFlow::ControllerState

ryu_host: addr &optional

Controller ip.

ryu_port: count &optional

Controller listen port.

ryu_dpid: count &optional

OpenFlow switch datapath id.

ryu_debug: bool &default = F &optional

Enable debug mode - output JSON to stdout; do not perform actions.

OpenFlow::Plugin: enum

Functions

OpenFlow::ryu_new: function

Ryu controller constructor.

Detailed Interface

Functions

OpenFlow::ryu_new
Type

function (host: addr, host_port: count, dpid: count) : OpenFlow::Controller

Ryu controller constructor.

Parameters
  • host – Controller ip.

  • host_port – Controller listen port.

  • dpid – OpenFlow switch datapath id.

Returns

OpenFlow::Controller record.