package frenetic

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

switch_connected sw is a callback invoked with sw when a switch with identifer sw connects to the controller.

val switch_disconnected : Frenetic_kernel.OpenFlow0x01.switchId -> unit

switch_disconnected sw is a callback invoked with sw when a switch with identifer sw disconnects from the controller.

packet_in sw xid pkt is a callback invoked when a packet pkt with transaction ID xid from switch sw arrives at the controller.

barrier_reply sw xid is a callback invoked when a barrier reply with transaction ID xid from switch sw arrives at the controller.

stats_reply sw xid rep is a callback invoked when switch sw responds with a reply rep to a statistics request with transaction ID xid.

val cleanup : unit -> unit

cleanup is called when an exception stops the running of the main controller loop.