Skip to content

Harmonize CLI for support operators (don wrapper for NS8 support session) #7906

@DavidePrincipi

Description

@DavidePrincipi

Current support session management in NS8 does not provide a CLI experience consistent with legacy NS7 operator habits (the don command). Harmonizing the CLI will lower operator friction and errors during support tasks.

Proposed solution

Implement a CLI wrapper (don) for support session operations reflecting the traditional ns7 command interface:

  • don start -> systemctl start support
  • don stop -> systemctl stop support
  • don status -> systemctl status support
  • don extend -> systemctl stop support-expire.timer

With --node, the wrapper operates on a worker node but only when executed from the leader node:

  • don start --node 2 -> api-cli run node/2/start-support-session
  • don stop --node 2 -> api-cli run node/2/stop-support-session
  • don status --node 2 -> api-cli run node/2/get-support-session
  • don extend --node 2 -> not supported. You must reach node 2 first, then run "don extend" there.

Alternative solutions
Continue to rely on direct systemctl and api-cli commands as currently implemented. This preserves flexibility, but lacks operator convenience.

Additional context

The don command on ns7: https://github.com/nethesis/windmill/blob/master/don/don

See also


Thanks to @gsanchietti

Sub-issues

Metadata

Metadata

Labels

No labels
No labels

Projects

Status

In Progress

Relationships

None yet

Development

No branches or pull requests

Issue actions