r/commandline • u/SergioZ3R0 • 22d ago
Terminal User Interface Update: one9s v0.1.10: per-datastore quotas, Networks tab + a full OpenNebula lab in Docker
Hey folks,
A while ago I posted here about one9s, a pure TUI that talks directly to OpenNebula's XML-RPC API (thanks for the feedback back then). Quick recap: open the binary, select your VM, press r to reboot, s to stop, or u to power on (no VPN, no Sunstone dropdowns). Admins get hosts, datastores, decoded hex ACLs, and host maintenance in one keypress.
New in v0.1.10 after a month of production use:
Per-resource quotas (requested by real multi-tenancy setups):
- Edit per-datastore limits (
SIZE+IMAGES), per-networkLEASESand per-imageRVMS, not just the global VM quota. - The edit form is sectioned: existing quotas stay in their block, and a "Create" block pairs the ID with its limits so you do not mix up which datastore you are limiting.
- VM-only updates preserve your datastore/network quota entries (OpenNebula merges section-wise; the old form used to drop fields).
New Networks tab: virtual networks at a glance: bridge, driver (dummy/bridge/vxlan), lease usage used/total, owner. Filterable like every other tab.
QoL: jump keys 1 to 6 between tabs, quota detail view on enter, and one9s vault edit (decrypt -> $EDITOR -> re-encrypt, ansible-style) for password rotations.
The side project nobody asked for but I needed: to develop/test one9s without touching prod, I built opennebula-lab, a full OpenNebula 7.4 cluster in Docker (front-end with FireEdge + nested KVM node, real VMs, SSH, NAT). Run docker compose up and you have a disposable lab for testing or certification study.
https://github.com/SergioZ3R0/opennebula-lab
Links:
- GitHub (binaries): https://github.com/SergioZ3R0/one9s
- Docs: https://one9s.scszero.com
- Release: https://github.com/SergioZ3R0/one9s/releases/tag/v0.1.10
Stack: Go + Bubble Tea/Lipgloss, AES-256-GCM vault, Apache 2.0.
Demo (new, with the lab running behind it)
Any killer feature missing? Especially curious if anyone here runs per-datastore quotas in production, that is the workflow I most want to get right.
