Skip to main content

flux-config-tui

The Flux node's console, and flux-node: the same program as a command line, a local HTTP gateway and a Python library for working on ArcaneOS nodes over SSH.

uv tool install flux-config-tui     # or: pip install flux-config-tui

The console

flux-config-tui (or flux-node with no command) opens the console: system monitoring, services, logs, network settings, installation and configuration. On the node it talks to configd's operate socket; from your machine it logs in over SSH as fluxtui with an operate key the node was installed with, and keeps the nodes you add in ~/.config/flux-config/.

flux-node

Each command works on --host <address> (with --key, --port), on a saved node (--node <name>), or on your default saved node, and prints configd's answer as JSON. A saved node is operate or status; --status logs in with a status key, which can read but not act.

flux-node status                      # install state, fluxd's node status, fluxbench's status
flux-node benchmarks
flux-node logs fluxd --lines 200
flux-node service restart fluxd
flux-node reboot                      # asks first; the node drains its apps
flux-node call network.get_change     # any method the key's tier answers
flux-node events benchmarks system    # live events, one JSON object a line
flux-node trust <node>                # after a reinstall: trust the node's new host key

The first connection to a node trusts its SSH host key and prints its fingerprint; compare it with the one on the node's own console. A different key later is refused until you trust it.

Network changes

flux-node network show
flux-node network static ens18 192.168.1.50/24 --gateway 192.168.1.1 --dns 1.1.1.1
flux-node network dhcp ens18
flux-node network vlan-add ens18 148

A change asks the node to roll itself back unless flux-node reaches it again with a new login within two minutes, at the new address when the change moves the one you use. Once reached, the change is kept and saved, and a saved node follows its new address. Ctrl-C reverts at once.

The gateway

flux-node serve                       # http://127.0.0.1:8640
flux-node token                       # the bearer token every request needs

GET /nodes, GET /nodes/{name}, GET /nodes/{name}/benchmarks, POST /nodes/{name}/call ({"method": …, "params": {…}}) and GET /nodes/{name}/events?topics=… (server-sent events) for your saved nodes, one SSH connection each. It listens on loopback only and refuses a request without the token, with a Host other than localhost, from a browser (any Origin), or a POST that is not JSON. flux-node token --new replaces the token at once.

The library

from flux_config_tui.node import Node

async with Node("192.168.1.50", key="~/.ssh/operator_ed25519") as node:
    print(await node.state())
    async for event in node.events(["benchmarks"]):
        print(event.type, event.data)

On the node

The node's image installs flux-config-tui[node], whose extra brings what only the node's own screen needs (flux-best-resolution).

Metadata

Release files for flux-config-tui 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flux-config-tui 0.4.0
File Size Uploaded Provenance Actions
flux_config_tui-0.4.0.tar.gz 113.1 kB Without provenance Details for flux_config_tui-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for flux-config-tui 0.4.0
File Interpreter ABI Platform Actions
flux_config_tui-0.4.0-py3-none-any.whl Python 3 none any Details for flux_config_tui-0.4.0-py3-none-any.whl

Total release size: 261.5 kB

Release files / flux_config_tui-0.4.0.tar.gz

Download URL flux_config_tui-0.4.0.tar.gz
Size 113.1 kB
Tags Source
SHA-256 checksum
How to use checksums
1f38b6fe1c0247be0c7164fd2a365783327c6285f93b63db42dbaedaba87b4c7
BLAKE2b-256 checksum
How to use checksums
8fe98da977cc2fe33c06d324c4af2741b2804c275e27bd3a09d51f6cec5134f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.3 {"installer":{"name":"uv","version":"0.13.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / flux_config_tui-0.4.0-py3-none-any.whl

Download URL flux_config_tui-0.4.0-py3-none-any.whl
Size 148.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bce7dfcbe7aa63a5f866119caec9515bfd1fc2f074f152f3c3d0e9d44f1ac236
BLAKE2b-256 checksum
How to use checksums
5dd149170e479df5a688fcc8ffe2b9c211be5b0ca987eb6885ad00a534d469fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.3 {"installer":{"name":"uv","version":"0.13.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for flux-config-tui 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page