Liking cljdoc? Tell your friends :D

bsdkrun.networks

Global-network operations — shared subnets where members reach each other by IP and by name. Mirrors sdk/ruby/lib/bsdkrun/networks.rb.

Global-network operations — shared subnets where members reach each other
by IP and by name. Mirrors `sdk/ruby/lib/bsdkrun/networks.rb`.
raw docstring

connect!clj

(connect! machine network)

Join or switch a machine to a network. Applies on the machine's next start. machine is an id or name.

Join or switch a machine to a network. Applies on the machine's next
start. `machine` is an id or name.
sourceraw docstring

create!clj

(create! name)

Create a global network (starts its shared switch).

Create a global network (starts its shared switch).
sourceraw docstring

disconnect!clj

(disconnect! machine)

Detach a machine from its network. Applies on its next start.

Detach a machine from its network. Applies on its next start.
sourceraw docstring

listclj

(list)

List global networks and their member counts.

List global networks and their member counts.
sourceraw docstring

membersclj

(members network)

The machines currently attached to network (running or stopped).

The machines currently attached to `network` (running or stopped).
sourceraw docstring

remove!clj

(remove! names)
(remove! names {:keys [force]})

Remove one or more networks. names is a string or a vector of strings. {:force true} allows removal with running members.

Remove one or more networks. `names` is a string or a vector of strings.
`{:force true}` allows removal with running members.
sourceraw docstring

sync!clj

(sync! network)

Refresh members' /etc/hosts so peers resolve by name (notably NetBSD).

Refresh members' `/etc/hosts` so peers resolve by name (notably NetBSD).
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close