Skip to content

hypervisor UI: network-wide discovery pages expose none of the CLI's filters #3922

Description

@0pcom

Filed as worth considering — incremental additions to pages that already exist.

The UI has Services Health, Network view, network-wide Transports, and Uptime pages. NodeService.getNetworkView() (GET network-view) aggregates SD + TPD + UT server-side and is explicitly commented as mirroring skywire cli sd.

But none of the filters those CLI commands offer are exposed:

  • sd: --country, --version, --min (min transport count), --noton (include offline)
  • ut: --min (uptime %), --version/--min-version, --list-versions, --max-tp, --date
  • tp v: --country, --version, --stats
  • tp tree: --noton/--good, --version, --keys (BFS reachable-PK dump)
  • tp uptime: -v3 (per-5-min timeline bitmap — a different payload shape entirely)

Note these are genuinely capability-changing, not display toggles: several change what is fetched (--max-tp triggers an extra TPD /all-transports fetch; tp --more adds three SD/UT fetches), and --noton reveals rows that are otherwise omitted rather than reordering them.

Also worth recording: network-view aggregates server-side on the visor, whereas sd aggregates client-side in the CLI process. Same data, different place, so filter semantics need deciding rather than copying.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions