|
Post by AMI_alvin on Jun 29, 2020 7:18:59 GMT
Hi, I have some questions about MaxConcurrentSessions. Redfish Manager.v1_9_0.json schema defines the minimum value for MaxConcurrentSessions. Let me take "CommandShell" for examples : 1. If my BMC didn't support all these services which defined in CommandConnectTypesSupported (i.e. "SSH", "Telnet", "IPMI"), would the "MaxConcurrentSessions" value is 0 for CommandShell? Or should BMC display null because my BMC didn't support these command shell services? 2. If the max current sessions for SSH is 5, and the max current sessions for IPMI is 10, the value of "MaxConcurrentSessions" should display 15 or 10 for CommandShell?
|
|
|
Post by mraineri on Jun 30, 2020 14:00:08 GMT
For your first scenario, I would recommend not providing the "CommandShell" property at all. Usually for non-negative values, we simply add a "minimum" term of 0 to show this, but we should probably change this value to 1 since it's for the maximum number of sessions (0 is fairly useless for this property).
For your second scenario, I would think 15 makes the most sense here, but that is fairly ambiguous since you have a maximum per protocol. I think others will need to weigh in on this one.
|
|
|
Post by selvir on Jun 2, 2023 6:52:51 GMT
Hi, I have some questions about MaxConcurrentSessions. Redfish Manager.v1_9_0.json schema defines the minimum value for MaxConcurrentSessions. Let me take "CommandShell" for examples : 1. If my BMC didn't support all these services which defined in CommandConnectTypesSupported (i.e. "SSH", "Telnet", "IPMI"), would the "MaxConcurrentSessions" value is 0 for CommandShell? Or should BMC display null because my BMC didn't support these command shell services? 2. If the max current sessions for SSH is 5, and the max current sessions for IPMI is 10, the value of "MaxConcurrentSessions" should display 15 or 10 for CommandShell? for above queries wants to confirm this case If the max current sessions for SSH is 5, and the max current sessions for IPMI is 10, the value of "MaxConcurrentSessions" should display 15 or 10 for CommandShell?
|
|
|
Post by mraineri on Jun 2, 2023 12:13:41 GMT
I haven't heard of any push back on my recommendation, so 15 still makes sense in my opinion. I'll ask others to respond if they disagree.
|
|
|
Post by AMI_Mani on Jun 6, 2023 6:50:29 GMT
I feel it should be minimum value, since we have maximum of concurrent SSh session is 5 and schema also telling value is regardless of protocols
"MaxConcurrentSessions": {
"description": "The maximum number of service sessions, regardless of protocol, that this manager can support.",
"longDescription": "This property shall contain the maximum number of concurrent service sessions that this implementation supports.",
"minimum": 0,
"readonly": true,
"type": "integer"
},
Thanks, Mani
|
|
|
Post by mraineri on Jun 6, 2023 13:17:30 GMT
Since this is at the root of the CommandShell object, this is all encompassing of all command shell sessions. In this example, you can support 5 SSH and and 10 IPMI sessions simultaneously, making it 15.
|
|