Skip to content

feat: add ochami rcs XXX subcommands#96

Open
cjh1 wants to merge 1 commit into
OpenCHAMI:mainfrom
cjh1:rcs
Open

feat: add ochami rcs XXX subcommands#96
cjh1 wants to merge 1 commit into
OpenCHAMI:mainfrom
cjh1:rcs

Conversation

@cjh1
Copy link
Copy Markdown
Member

@cjh1 cjh1 commented Jun 3, 2026

Checklist

  • My code follows the style guidelines of this project
  • I have added/updated comments where needed
  • I have added tests that prove my fix is effective or my feature works
  • I have run make test (or equivalent) locally and all tests pass
  • DCO Sign-off: All commits are signed off (git commit -s) with my real name and email
  • REUSE Compliance:
    • Each new/modified source file has SPDX copyright and license headers
    • Any non-commentable files include a <filename>.license sidecar
    • All referenced licenses are present in the LICENSES/ directory

Description

This adds subcommands to access the remote console service:

ochami rcs service status - Return the status of the service.
ochami rcs console list - List the currently active consoles.
ochami rcs console show <xname> - Show the console output for a particular console.
ochami rcs console connect <xname> - Will connect you to an interactive console session.

The best way to try this out is to use the dev docker-compose env in remote-console, which will setup an environment with a mock console. This can be brought up using:

docker compose -f docker-compose-devel.yaml up

You can then update you config with the folllowing:

        rcs:
            uri: http://localhost:26776/remote-console

Then you should be able run for example:

ochami rcs console connect x0c0s1b0

Fixes #72

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

For more info, see Contributing Guidelines.

@cjh1 cjh1 marked this pull request as draft June 3, 2026 19:56
@cjh1 cjh1 force-pushed the rcs branch 3 times, most recently from 30f1ef8 to 3f6206f Compare June 3, 2026 20:16
Signed-off-by: Chris Harris <cjh@lbl.gov>
@cjh1 cjh1 marked this pull request as ready for review June 3, 2026 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Add 'ochami console' command

1 participant