-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3cf5ac7
commit 8383191
Showing
4 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
open Corosync_lib | ||
|
||
val local_get : unit -> (int, Corotypes.CsError.t) result | ||
(** [local_get ()] returns the nodeid of the node on which this function is called. *) | ||
|
||
val reload_config : unit -> (unit, Corotypes.CsError.t) result | ||
(** [realod_config ()] will ask corosync to reload config on the current node. *) | ||
|
||
val get_node_addrs : | ||
int -> (Cfg.cfg_node_address list, Corotypes.CsError.t) result | ||
(** [get_node_addrs nodeid] returns the addresses of the node with id [nodeid]. | ||
Note that Corosync 3 supports multiple homing, so there could be multiple addresses for one node. *) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters