package frenetic

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

Switch features data structure. See Section 5.3.1 of the OpenFlow 1.0 specification.

type supported_wildcards = {
  1. dlSrc : bool;
  2. dlDst : bool;
  3. dlTyp : bool;
  4. dlVlan : bool;
  5. dlVlanPcp : bool;
  6. nwSrc : bool;
  7. nwDst : bool;
  8. nwProto : bool;
  9. nwTos : bool;
  10. tpSrc : bool;
  11. tpDst : bool;
  12. inPort : bool;
}

Fields that support wildcard patterns on this switch.

val sexp_of_supported_wildcards : supported_wildcards -> Ppx_sexp_conv_lib.Sexp.t
val supported_wildcards_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> supported_wildcards
module Capabilities : sig ... end

See the ofp_capabilities enumeration in Section 5.3.1 of the OpenFlow 1.0 specification.

module SupportedActions : sig ... end

Describes which actions (Action.t) this switch supports.

type t = {
  1. switch_id : switchId;
  2. num_buffers : int32;
  3. num_tables : Packet.int8;
  4. supported_capabilities : Capabilities.t;
  5. supported_actions : SupportedActions.t;
  6. ports : portDescription list;
}
include Ppx_sexp_conv_lib.Sexpable.S with type t := t
val t_of_sexp : Sexplib0__.Sexp.t -> t
val sexp_of_t : t -> Sexplib0__.Sexp.t
val to_string : t -> string

to_string v pretty-prints v.

OCaml

Innovation. Community. Security.