Module Frenetic_kernel.GroupTable0x04

type t
val to_string : t ‑> string

String representation of group table.

val create : unit ‑> t

Create a new group table

val add_group : t ‑> OpenFlow0x04.groupType ‑> OpenFlow0x04.bucket list ‑> OpenFlow0x04.groupId

Creates a new group, allocating a fresh ID.

val clear_groups : t ‑> unit

Forgets all groups

val commit : t ‑> OpenFlow0x04.Message.t list

Produces a list of messages to realize the previous add_group and clear_groups commands, upto the last commit command.

val add_fastfail_group : t ‑> OpenFlow0x04.portId list ‑> OpenFlow0x04.groupId

Creates a new fast fail group which forwards out of the first live port in * ports and otherwise drops.