Project

General

Profile

Actions

Feature #3779

open

Expose console access through the API

Added by Ewoud Kohl van Wijngaarden over 10 years ago. Updated over 8 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
API
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

As a user I'd like to open the console through the API. Note that this is very similar as how the current UI does it.

Technically I'd see it something like this:
  • The user calls PUT /api/hosts/:id/console
  • Foreman returns the following information
    • URL
      • Protocol (ws:// or ws:///)
      • Host (I think foreman should proxy itself, but this prepares it in case you want to split the proxy to its own host or if you're behind a load balancer and need to connect to a specific foreman host)
      • Port
    • Display type (VNC or spice)
    • Password

This will allow me to build extra functionality in our own product, but tools like Hammer could use it as well.


Related issues 2 (2 open0 closed)

Related to Foreman - Feature #4338: Show VNC Connection Information in Server ConsoleNew02/13/2014Actions
Related to Foreman - Feature #33712: Console action should respond with jsonReady For TestingOndřej EzrActions
Actions

Also available in: Atom PDF