CP-53478: Implement SSH-related APIs for Dom0 SSH control#6394
Merged
minglumlu merged 3 commits intoApr 8, 2025
Merged
Conversation
2b4cf41 to
38b776b
Compare
BengangY
reviewed
Mar 31, 2025
lindig
approved these changes
Mar 31, 2025
Member
|
Please get used to splitting things up into separate commits. In this case you could easily have one commit for each API. |
38b776b to
e157273
Compare
Collaborator
Author
I split it into three commits, including both API changes and one CLI change. I believe it's clearer now. |
137eebb to
7259d11
Compare
gangj
reviewed
Apr 2, 2025
gangj
reviewed
Apr 2, 2025
Contributor
|
The first commit msg: -> For 2nd one: -> And would be good to also mentioning that |
gangj
reviewed
Apr 2, 2025
gangj
reviewed
Apr 2, 2025
gangj
reviewed
Apr 2, 2025
gangj
reviewed
Apr 2, 2025
gangj
reviewed
Apr 2, 2025
gangj
reviewed
Apr 2, 2025
gangj
reviewed
Apr 2, 2025
gangj
reviewed
Apr 2, 2025
4029de2 to
85bd7a0
Compare
robhoes
requested changes
Apr 4, 2025
85bd7a0 to
b2b4db4
Compare
b2b4db4 to
5b0a968
Compare
gangj
reviewed
Apr 7, 2025
gangj
reviewed
Apr 7, 2025
5b0a968 to
5e07144
Compare
gangj
reviewed
Apr 7, 2025
5e07144 to
ae090a6
Compare
gangj
reviewed
Apr 7, 2025
55ab0b0 to
f92711d
Compare
robhoes
approved these changes
Apr 7, 2025
Implemented XAPI APIs: - `host.set_console_idle_timeout` - `pool.set_console_idle_timeout` These APIs allow XAPI to configure timeout for idle console sessions. Signed-off-by: Lunfan Zhang <Lunfan.Zhang@cloud.com>
Implemented XAPI APIs: - `host.set_ssh_enabled_timeout` - `pool.set_ssh_enabled_timeout` These APIs allow XAPI to configure timeout for SSH service. `host.enable_ssh` now also supports enabling the SSH service with a ssh_enabled_timeout Signed-off-by: Lunfan Zhang <Lunfan.Zhang@cloud.com>
Updated `records.ml` file to support `host-param-set/get/list` and `pool-param-set/get/list` for SSH-related fields. Signed-off-by: Lunfan Zhang <Lunfan.Zhang@cloud.com>
f92711d to
cb9277d
Compare
e29eda2
into
xapi-project:feature/configure-ssh-phase2
17 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implemented XAPI APIs:
set_ssh_enabled_timeoutset_console_idle_timeoutThese APIs allow XAPI to configure timeouts for the SSH service and idle console sessions from both host and pool level.
Updated
records.mlto supporthost-param-set/get/listandpool-param-set/get/listfor SSH-related fields.