package topology

  1. Overview
  2. Docs
type t
val compare : t -> t -> int
val to_string : t -> string
val to_dot : t -> string
val to_mininet : t -> string
val parse_dot : Graph.Dot_ast.node_id -> Graph.Dot_ast.attr list -> t
val parse_gml : Graph.Gml.value_list -> t
type device =
  1. | Switch
  2. | Host
  3. | Middlebox
val default : t
val create : string -> int64 -> device -> int32 -> int64 -> t
val name : t -> string
val id : t -> int64
val device : t -> device
val mac : t -> int64
val ip : t -> int32
OCaml

Innovation. Community. Security.