@@ -238,7 +238,6 @@ let update_config config name data =
238238
239239(* * {2 API functions} *)
240240
241- external reopen_logs : unit -> bool = " "
242241external clear_state : unit -> unit = " "
243242external reset_state : unit -> unit = " "
244243
@@ -253,25 +252,14 @@ module Interface = struct
253252 external get_ipv4_addr : debug_info -> name :iface -> (Unix .inet_addr * int ) list = " "
254253 external set_ipv4_conf : debug_info -> name :iface -> conf :ipv4 -> unit = " "
255254 external get_ipv4_gateway : debug_info -> name :iface -> Unix .inet_addr option = " "
256- external set_ipv4_gateway : debug_info -> name :iface -> address :Unix .inet_addr -> unit = " "
257255 external get_ipv6_addr : debug_info -> name :iface -> (Unix .inet_addr * int ) list = " "
258- external set_ipv6_conf : debug_info -> name :iface -> conf :ipv6 -> unit = " "
259- external get_ipv6_gateway : debug_info -> name :iface -> Unix .inet_addr option = " "
260- external set_ipv6_gateway : debug_info -> name :iface -> address :Unix .inet_addr -> unit = " "
261- external set_ipv4_routes : debug_info -> name :iface -> routes :(Unix .inet_addr * int * Unix .inet_addr ) list -> unit = " "
262256 external get_dns : debug_info -> name :iface -> Unix .inet_addr list * string list = " "
263- external set_dns : debug_info -> name :iface -> nameservers :Unix .inet_addr list -> domains :string list -> unit = " "
264257 external get_mtu : debug_info -> name :iface -> int = " "
265- external set_mtu : debug_info -> name :iface -> mtu :int -> unit = " "
266- external set_ethtool_settings : debug_info -> name :iface -> params :(string * string ) list -> unit = " "
267- external set_ethtool_offload : debug_info -> name :iface -> params :(string * string ) list -> unit = " "
268258 external get_capabilities : debug_info -> name :iface -> string list = " "
269259 external is_connected : debug_info -> name :iface -> bool = " "
270260 external is_physical : debug_info -> name :iface -> bool = " "
271261 external has_vlan : debug_info -> name :iface -> vlan :int -> bool = " "
272- external bring_up : debug_info -> name :iface -> unit = " "
273262 external bring_down : debug_info -> name :iface -> unit = " "
274- external is_persistent : debug_info -> name :iface -> bool = " "
275263 external set_persistent : debug_info -> name :iface -> value :bool -> unit = " "
276264 external make_config : debug_info -> ?conservative : bool -> config :(iface * interface_config_t ) list -> unit -> unit = " "
277265end
@@ -286,24 +274,18 @@ let string_of_kind = function
286274
287275module Bridge = struct
288276 external get_all : debug_info -> unit -> bridge list = " "
289- external get_bond_links_up : debug_info -> name :port -> int = " "
290277 external create : debug_info -> ?vlan : (bridge * int ) ->
291278 ?mac : string -> ?igmp_snooping : bool -> ?other_config : (string * string ) list -> name :bridge -> unit -> unit = " "
292279 external destroy : debug_info -> ?force : bool -> name :bridge -> unit -> unit = " "
293280 external get_kind : debug_info -> unit -> kind = " "
294- external get_ports : debug_info -> name :bridge -> (port * iface list ) list = " "
295281 external get_all_ports : debug_info -> ?from_cache : bool -> unit -> (port * iface list ) list = " "
296- external get_bonds : debug_info -> name :bridge -> (port * iface list ) list = " "
297282 external get_all_bonds : debug_info -> ?from_cache : bool -> unit -> (port * iface list ) list = " "
298- external is_persistent : debug_info -> name :bridge -> bool = " "
299283 external set_persistent : debug_info -> name :bridge -> value :bool -> unit = " "
300- external get_vlan : debug_info -> name :bridge -> (bridge * int ) option = " "
301284 external add_port : debug_info -> ?bond_mac : string -> bridge :bridge -> name :port -> interfaces :iface list ->
302285 ?bond_properties : (string * string ) list -> ?kind : port_kind -> unit -> unit = " "
303286 external remove_port : debug_info -> bridge :bridge -> name :port -> unit = " "
304287 external get_interfaces : debug_info -> name :bridge -> iface list = " "
305288 external get_physical_interfaces : debug_info -> name :bridge -> iface list = " "
306- external get_fail_mode : debug_info -> name :bridge -> fail_mode option = " "
307289 external make_config : debug_info -> ?conservative : bool -> config :(bridge * bridge_config_t ) list -> unit -> unit = " "
308290end
309291
0 commit comments