netcore-1.0.0: The NetCore compiler and runtime system for OpenFlow networks.

Safe HaskellSafe-Infered

Frenetic.NetCore.Semantics

Description

Composes NetCore policies and predicates, and defines how these policies interpret abstract packets.

Synopsis

Documentation

interpretPredicate :: FreneticImpl a => Predicate -> Transmission (PatternImpl a) (PacketImpl a) -> BoolSource

Implements the denotation function for predicates.

interpretPolicy :: FreneticImpl a => Policy -> Transmission (PatternImpl a) (PacketImpl a) -> ActionSource

Implements the denotation function for policies.