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 #1

Updated by Dominic Cleal over 10 years ago

  • Category set to API
Actions #2

Updated by Lukas Zapletal over 10 years ago

Hammer could even spawn remote-viewer program with the correct parameters!

Actions #3

Updated by Ewoud Kohl van Wijngaarden over 10 years ago

  • Status changed from New to Assigned
  • Assignee set to Ewoud Kohl van Wijngaarden
Actions #4

Updated by Dominic Cleal about 10 years ago

  • Related to Feature #4338: Show VNC Connection Information in Server Console added
Actions #5

Updated by The Foreman Bot over 9 years ago

  • Status changed from Assigned to Ready For Testing
  • Target version set to 1.7.3
  • Pull request https://github.com/theforeman/foreman/pull/1163 added
Actions #6

Updated by Dominic Cleal over 9 years ago

  • Target version changed from 1.7.3 to 1.7.2
Actions #7

Updated by Dominic Cleal over 8 years ago

  • Status changed from Ready For Testing to New
  • Assignee deleted (Ewoud Kohl van Wijngaarden)
  • Target version deleted (1.7.2)
  • Pull request added
  • Pull request deleted (https://github.com/theforeman/foreman/pull/1163)
Actions #8

Updated by Ondřej Ezr over 2 years ago

  • Related to Feature #33712: Console action should respond with json added
Actions

Also available in: Atom PDF