Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start of the Extension: Making an SSH Connection #1

Closed
JMAR059 opened this issue Mar 15, 2023 · 6 comments
Closed

Start of the Extension: Making an SSH Connection #1

JMAR059 opened this issue Mar 15, 2023 · 6 comments
Assignees
Labels
enhancement New feature or request

Comments

@JMAR059
Copy link
Collaborator

JMAR059 commented Mar 15, 2023

As discussed today, the base of the extension will work off a connection between a docker container and a pre-existing Open Horizon Management Hub terminal. So far, we have decided to work with the default container that the template extension for Docker Desktop uses, which is an Arch image. To test with our most familiar and already installed instance of Open Horizon Management Hub, we will try to SSH connect to an Ubuntu instance of it. Thus our goals for the following 2 weeks:

  • Ensure that the Arch image is running on Docker using our Docker Desktop Extension
  • Get familiar with Arch image and how to work with it in our backend
  • Research possible ways to SSH connect from Arch image to separate Ubuntu image, in terms of opening ports and whatnot
  • Make connection from Arch image to Ubuntu image, and test more basic features, like checking Ubuntu image specs and status

We will work primarily with the backend for now. Leave some features from the front-end like being able to specify the specific Ubuntu image for later, as well as other information we might want to get from the Ubuntu instance to the Docker Desktop Extension.

@JMAR059 JMAR059 added the enhancement New feature or request label Mar 15, 2023
@Demopans
Copy link
Collaborator

Make connection from Arch image to Ubuntu image, and test more basic features, like checking Ubuntu image specs and status
We really only need a way to ssh to the ubuntu image OH runs on.

@joewxboy
Copy link
Member

So is your goal to SSH to the remote host so that you can run hzn CLI commands and parse the responses?

@Demopans
Copy link
Collaborator

So is your goal to SSH to the remote host so that you can run hzn CLI commands and parse the responses?

For the time being, yes for the management hub. As for the future, I intend to include UI elements that translate into hzn commands.

@JMAR059
Copy link
Collaborator Author

JMAR059 commented Mar 17, 2023

Yes @joewxboy , this would be to start the foundation of the extension. In the future, as Jeff mentioned, we would add more features regarding how it interacts with the Management Hub. If you think some commands or features should be prioritized, feel free to let us know!

@joewxboy
Copy link
Member

It sounds like a great start and the right direction. It's a lot less problematic than using the APIs directly.

@JMAR059
Copy link
Collaborator Author

JMAR059 commented Mar 29, 2023

Direction of how we connect and use HZN commands changed. Will be closing this issue for now. See issue forum #2

@JMAR059 JMAR059 closed this as completed Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

4 participants