package frenetic
The Frenetic Programming Language and Runtime System
Install
Dune Dependency
Authors
Maintainers
Sources
5.0.5.tar.gz
md5=baf754df13a759c32f2c86a1b6f328da
sha512=80140900e7009ccab14b25e244fe7edab87d858676f8a4b3799b4fea16825013cf68363fe5faec71dd54ba825bb4ea2f812c2c666390948ab217ffa75d9cbd29
doc/frenetic.netkat/Frenetic_netkat/Json/index.html
Module Frenetic_netkat.Json
Source
JSON serialization/deserialization of NetKAT messages.
NetKAT comes in two syntaxes: "regular" which is handled by Parser/Lexer and "json" which is handled here. We translate most things to the Syntax.policy type
This module also serializes/deserializes switch-to-controller OpenFlow messages for net apps.
Deserialize a Yojson repesentation of a NetKAT policy
Serialize a NetKAT policy to Yojson format. Note: errors may occur when converting between 64-bit values and JSON-representable integers.
Same as pol_of_json, but reads json from input channel
Same as event_to_json but returns json string
Same as pol_of_json, but receives json string
Sames as stats_to_json but returns json string
Source
val pkt_out_from_json :
json ->
Syntax.switchId * Syntax.portId option * Syntax.payload * Syntax.policy list
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>