-
Notifications
You must be signed in to change notification settings - Fork 289
CP-53478: Implement SSH-related APIs for Dom0 SSH control #6394
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CP-53478: Implement SSH-related APIs for Dom0 SSH control #6394
Conversation
2b4cf41
to
38b776b
Compare
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
I split it into three commits, including both API changes and one CLI change. I believe it's clearer now. |
137eebb
to
7259d11
Compare
The first commit msg:
->
For 2nd one:
->
And would be good to also mentioning that |
4029de2
to
85bd7a0
Compare
85bd7a0
to
b2b4db4
Compare
b2b4db4
to
5b0a968
Compare
5b0a968
to
5e07144
Compare
5e07144
to
ae090a6
Compare
55ab0b0
to
f92711d
Compare
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
f92711d
to
cb9277d
Compare
e29eda2
into
xapi-project:feature/configure-ssh-phase2
Implemented XAPI APIs:
set_ssh_enabled_timeout
set_console_idle_timeout
These APIs allow XAPI to configure timeouts for the SSH service and idle console sessions from both host and pool level.
Updated
records.ml
to supporthost-param-set/get/list
andpool-param-set/get/list
for SSH-related fields.