|
AQIT 0.1.0
|
Functions | |
| str | _utc_now () |
| dict[str, Any] | _gpu_summary () |
| dict[str, Any] | _sshd_listening () |
| list[str] | _local_ips () |
| Path | _ensure_aquin_home () |
| dict[str, Any] | _start_daemon (int port, float wait_s=40.0) |
| Path | _write_machine_record (dict[str, Any] payload) |
| str | _tunnel_block (int port, str user, str host) |
| None | cmd_setup (list[str] args) |
|
protected |
Definition at line 99 of file setup_cli.py.
Referenced by _write_machine_record().
|
protected |
Definition at line 30 of file setup_cli.py.
Referenced by cmd_setup().
|
protected |
Definition at line 86 of file setup_cli.py.
Referenced by cmd_setup().
|
protected |
Best-effort: is something listening on port 22? (OpenSSH usually).
Definition at line 52 of file setup_cli.py.
Referenced by cmd_setup().
|
protected |
Definition at line 105 of file setup_cli.py.
Referenced by cmd_setup().
|
protected |
Definition at line 139 of file setup_cli.py.
Referenced by cmd_setup().
|
protected |
Definition at line 26 of file setup_cli.py.
Referenced by cmd_setup().
|
protected |
Definition at line 132 of file setup_cli.py.
References _ensure_aquin_home().
Referenced by cmd_setup().
| None cmd_setup | ( | list[str] | args | ) |
aquin setup machine : prepare this host for local or remote (desktop tunnel) compute.
Definition at line 161 of file setup_cli.py.
References _gpu_summary(), _local_ips(), _sshd_listening(), _start_daemon(), _tunnel_block(), _utc_now(), _write_machine_record(), and cmd_setup().
Referenced by cmd_setup().