Change in ovirt-engine[master]: core, engine: servlet to support the console proxy

ofrenkel at redhat.com ofrenkel at redhat.com
Wed Jun 3 07:55:43 UTC 2015


Omer Frenkel has submitted this change and it was merged.

Change subject: core, engine: servlet to support the console proxy
......................................................................


core, engine: servlet to support the console proxy

This patch creates two services that provide information to the SSH
server that acts as the VirtIO console proxy in the
/services/consoleproxy endpoint in the engine, this endpoint
accepts two commands:

- "public_keys": Provides to the authkeys script the list of
  allowed public keys into the SSH server and the respective ID of
  each allowed user.

- "available_consoles": Lists the available VMs to be accessed
by the user given his ID and in which host these VMs are located.

In order to protect these services, a ticket must emitted with the
desired command and arguments by the client to the service.

Feature wiki page: http://www.ovirt.org/Features/Serial_Console

Bug-Url: https://bugzilla.redhat.com/1223671
Change-Id: I53c721da21cefcf4069d14c7016b6f7d97f9eac9
Signed-off-by: Vitor de Lima <vdelima at redhat.com>
Signed-off-by: Francesco Romani <fromani at redhat.com>
---
M README.oid
A backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/GetAllUserProfilesQuery.java
A backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/GetAllVmsForAnotherUserQuery.java
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/config/ConfigValues.java
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/queries/VdcQueryType.java
M backend/manager/modules/services/pom.xml
A backend/manager/modules/services/src/main/java/org/ovirt/engine/core/services/VMConsoleProxyServlet.java
A backend/manager/modules/services/src/main/webapp/WEB-INF/beans.xml
M backend/manager/modules/services/src/main/webapp/WEB-INF/web.xml
9 files changed, 305 insertions(+), 0 deletions(-)

Approvals:
  Jenkins CI: Verified; Looks good to me, but someone else must approve
  Francesco Romani: Verified
  Omer Frenkel: Looks good to me, approved



-- 
To view, visit https://gerrit.ovirt.org/35887
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I53c721da21cefcf4069d14c7016b6f7d97f9eac9
Gerrit-PatchSet: 38
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Vitor de Lima <vdelima at redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Francesco Romani <fromani at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Omer Frenkel <ofrenkel at redhat.com>
Gerrit-Reviewer: Ravi Nori <rnori at redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: Shahar Havivi <shavivi at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <wallaroo1976 at gmail.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list