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`.
(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.
(create! name)Create a global network (starts its shared switch).
Create a global network (starts its shared switch).
(disconnect! machine)Detach a machine from its network. Applies on its next start.
Detach a machine from its network. Applies on its next start.
(list)List global networks and their member counts.
List global networks and their member counts.
(members network)The machines currently attached to network (running or stopped).
The machines currently attached to `network` (running or stopped).
(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.(sync! network)Refresh members' /etc/hosts so peers resolve by name (notably NetBSD).
Refresh members' `/etc/hosts` so peers resolve by name (notably NetBSD).
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |