jepsen.control.net

Network control functions.

control-ip

(control-ip)

Assuming you have a DB node bound in jepsen.client, returns the IP address of the control node, as perceived by that DB node. This is helpful when you want to, say, set up a tcpdump filter which snarfs traffic coming from the control node.

ip

Look up an ip for a hostname. Memoized.

ip*

(ip* host)

Look up an ip for a hostname. Unmemoized.

ip-by-local-dns

(ip-by-local-dns host)

Looks up the IP address for a hostname using the local system resolver.

ip-by-remote-getent

(ip-by-remote-getent host)

Looks up the IP address for a hostname using the currently bound remote node’s agetent. This is a useful fallback when the control node doesn’t have DNS/hosts entries, NS, but the DB nodes do.

local-ip

(local-ip)

The local node’s IP address

reachable?

(reachable? node)

Can the current node ping the given node?