package mirage-net-xen

  1. Overview
  2. Docs

Module type S.CONFIGURATIONSource

Sourceval read_frontend_mac : id -> Macaddr.t Lwt.t
Sourceval read_backend_mac : id -> Macaddr.t Lwt.t
Sourceval read_mtu : id -> int Lwt.t
Sourceval read_frontend_configuration : id -> frontend_configuration Lwt.t

Waits for the frontend configuration to become available and returns it.

Sourceval write_frontend_configuration : id -> frontend_configuration -> unit Lwt.t
Sourceval enumerate : unit -> string list Lwt.t

List the names of available devices.

Sourceval connect : id -> unit Lwt.t
Sourceval disconnect_frontend : id -> unit Lwt.t

Set the frontend state to Closed.

Sourceval disconnect_backend : id -> unit Lwt.t

Delete the backend directory.

Sourceval wait_until_backend_connected : backend_configuration -> unit Lwt.t
Sourceval read_backend : id -> backend_configuration Lwt.t
Sourceval init_backend : id -> Features.t -> backend_configuration Lwt.t

Initialise the configuration for a new backend.

Sourceval description : string

Human-readable description suitable for help text or a manpage

Sourceval wait_for_frontend_closing : id -> unit Lwt.t

wait_for_frontend_closing id is a thread that returns when id's frontend moves to the closing state.

Sourceval wait_for_backend_closing : id -> unit Lwt.t

wait_for_backend_closing id is a thread that returns when id's backend moves to the closing state.

OCaml

Innovation. Community. Security.