package mirage

  1. Overview
  2. Docs
type ipv4 = {
  1. address : Ipaddr.V4.t;
  2. netmask : Ipaddr.V4.t;
  3. gateway : Ipaddr.V4.t list;
}
type config =
  1. | DHCP
  2. | IPv4 of ipv4
type t = {
  1. name : string;
  2. config : config;
  3. networks : Network.t list;
}
val name : t -> string
val packages : t -> mode -> string list
val libraries : t -> mode -> string list
val configure : t -> mode -> main_ml -> unit
val clean : t -> unit
val local : Network.t -> t
OCaml

Innovation. Community. Security.