@@ -1305,7 +1305,7 @@ let create_params =
1305
1305
; param_name= " ssh_enabled"
1306
1306
; param_doc= " True if SSH access is enabled for the host"
1307
1307
; param_release= numbered_release " 25.14.0-next"
1308
- ; param_default= Some (VBool true )
1308
+ ; param_default= Some (VBool Constants. default_ssh_enabled )
1309
1309
}
1310
1310
; {
1311
1311
param_type= Int
@@ -1315,7 +1315,7 @@ let create_params =
1315
1315
disabled (0 means never), this setting will be applied every time the \
1316
1316
SSH is enabled by XAPI"
1317
1317
; param_release= numbered_release " 25.14.0-next"
1318
- ; param_default= Some (VInt 0L )
1318
+ ; param_default= Some (VInt Constants. default_ssh_enabled_timeout )
1319
1319
}
1320
1320
; {
1321
1321
param_type= DateTime
@@ -1333,7 +1333,7 @@ let create_params =
1333
1333
" The timeout in seconds after which idle console will be automatically \
1334
1334
terminated (0 means never)"
1335
1335
; param_release= numbered_release " 25.14.0-next"
1336
- ; param_default= Some (VInt 0L )
1336
+ ; param_default= Some (VInt Constants. default_console_idle_timeout )
1337
1337
}
1338
1338
]
1339
1339
@@ -2436,7 +2436,7 @@ let set_console_idle_timeout =
2436
2436
~params:
2437
2437
[
2438
2438
(Ref _host, " self" , " The host" )
2439
- ; (Int , " value" , " The idle console timeout in seconds" )
2439
+ ; (Int , " value" , " The console idle timeout in seconds" )
2440
2440
]
2441
2441
~allowed_roles: _R_POOL_ADMIN ()
2442
2442
@@ -3039,10 +3039,11 @@ let t =
3039
3039
" The SHA256 checksum of updateinfo of the most recently applied \
3040
3040
update on the host"
3041
3041
; field ~qualifier: DynamicRO ~lifecycle: [] ~ty: Bool
3042
- ~default_value: (Some (VBool true )) " ssh_enabled "
3043
- " True if SSH access is enabled for the host"
3042
+ ~default_value: (Some (VBool Constants. default_ssh_enabled))
3043
+ " ssh_enabled " " True if SSH access is enabled for the host"
3044
3044
; field ~qualifier: DynamicRO ~lifecycle: [] ~ty: Int
3045
- ~default_value: (Some (VInt 0L )) " ssh_enabled_timeout"
3045
+ ~default_value: (Some (VInt Constants. default_ssh_enabled_timeout))
3046
+ " ssh_enabled_timeout"
3046
3047
" The timeout in seconds after which SSH access will be \
3047
3048
automatically disabled (0 means never), this setting will be \
3048
3049
applied every time the SSH is enabled by XAPI"
@@ -3051,7 +3052,8 @@ let t =
3051
3052
" The time in UTC after which the SSH access will be automatically \
3052
3053
disabled"
3053
3054
; field ~qualifier: DynamicRO ~lifecycle: [] ~ty: Int
3054
- ~default_value: (Some (VInt 0L )) " console_idle_timeout"
3055
+ ~default_value: (Some (VInt Constants. default_console_idle_timeout))
3056
+ " console_idle_timeout"
3055
3057
" The timeout in seconds after which idle console will be \
3056
3058
automatically terminated (0 means never)"
3057
3059
]
0 commit comments