Equinoxe_hlc.IpThis module manages API parts related to ips.
type config = {id : id; |
netmask : string; |
network : string; |
address : string; |
gateway : string; |
public : bool; |
enabled : bool; |
created_at : Equinoxe__Equinoxe_intf.Date.t; |
}Representation of an Ip.
val id_of_string : string -> idid_of_string str turns a string into an Ip id.
val config_of_json : Ezjsonm.value -> configconfig_of_json json returns a config representing the context of the JSON.
val to_string : config -> stringto_string config returns a string that represents the configuration.
get_ips_id t ~id returns informations about an ip referenced by its id.
val pp : config -> unitpp config prints a config in a human readable way.