Module Frenetic_kernel.OpenFlow0x01.SwitchFeatures

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

type supported_wildcards = {
dlSrc : bool;
dlDst : bool;
dlTyp : bool;
dlVlan : bool;
dlVlanPcp : bool;
nwSrc : bool;
nwDst : bool;
nwProto : bool;
nwTos : bool;
tpSrc : bool;
tpDst : bool;
inPort : bool;
}

Fields that support wildcard patterns on this switch.

include sig ... end
val supported_wildcards_of_sexp : Ppx_sexp_conv_lib.Sexp.t ‑> supported_wildcards
val sexp_of_supported_wildcards : supported_wildcards ‑> Ppx_sexp_conv_lib.Sexp.t
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 = {
switch_id : switchId;
num_buffers : int32;
num_tables : Packet.int8;
supported_capabilities : Capabilities.t;
supported_actions : SupportedActions.t;
ports : portDescription list;
}
include sig ... end
val t_of_sexp : Ppx_sexp_conv_lib.Sexp.t ‑> t
val sexp_of_t : t ‑> Ppx_sexp_conv_lib.Sexp.t
val to_string : t ‑> string

to_string v pretty-prints v.