max
Minnow
Posts: 15
|
Post by max on Aug 13, 2016 14:34:10 GMT
We are a developer of server management software for dedicated server providers. One of the things we currently miss most is a standardized way to start a KVM-over-IP console session to a server without requiring the user to login to the IPMI management webinterface of that server manually first.
It would be very nice if Redfish was extended to support creating sessions on behalf of users for use outside of Redfish.
It could be something similar to the existing SessionService, like:
POST /redfish/v1/ExternalSessionService/Sessions HTTP/1.1 Content-Type: application/json;charset=utf-8 Accept: application/json;charset=utf-8 OData-Version: 4.0
{ "UserName": "username", "Password": "password", "SessionType": "KVM-IP" }
With the only difference that instead of an X-Auth-Token it should return an URL we can redirect the user's browser to. That URL should incorporate a single-use session token that logs the user in without prompting for username and password, and should serve the content necessary to display the console (e.g. JNLP Java webstart file, or HTML5 noVNC console page) straight away.
Location: /redfish/v1/ExternalSessionService/Sessions/1 X-Auth-Single-Use-Url: https://1.2.3.4/kvm-ip-webinterface/?token=80a91934-dd9f-442f-935c-ccfbb737caa2
{ "@odata.context": "/redfish/v1/$metadata#Session.Session", "@odata.id": "/redfish/v1/ExternalSessionService/Sessions/1", "@odata.type": "#Session.v1_0_0.Session", "Id": "1", "Name": "User Session", "Description": "User Session", "UserName": "username" }
|
|
|
Post by jautor on Aug 16, 2016 19:52:06 GMT
Max,
Thanks for the suggestion. We'll investigate a bit and see what we can come up with. Providing client software (especially management consoles) with "frequently used" functions and data are a priority - we'll have to see if there's something we can do here that will provide interoperability. I think we would want a consistent solution for serial console / command line sessions as well for the same type of usage.
Cheers!
Jeff
|
|
|
Post by soumikghosh on Dec 15, 2016 13:50:57 GMT
Will there be schema support for Virtual Machine (VM) management in Redfish?
|
|
|
Post by jautor on Jan 4, 2017 23:02:48 GMT
Will there be schema support for Virtual Machine (VM) management in Redfish? The ComputerSystem schema could allow for some basic VM management - the "SystemType" property has an enumeration defined for "Virtual" systems. But you're correct that more specific VM management would need additional resources (and schema definitions). If there's something you'd like to see, please feel free to make a proposal. Although the first step would more likely be to get your favorite VMM software to support a Redfish interface for management! Jeff
|
|
max
Minnow
Posts: 15
|
Post by max on Oct 12, 2017 21:14:04 GMT
Any update on this? Seems semi-documented vendor specific extensions for this are starting to appear. www.supermicro.nl/manuals/other/RedfishRefGuide.pdf(haven't actually tested it, as this vendor charges a licensing fee if you want to use Redfish, while RCMP+/webinterface usage is free. but it sounds like it does what we would like to see) Would be nice if things were standardized instead of ending up in a situation in which vendors invent their own OEM Redfish command to do the same action...
|
|