@@ -1305,7 +1305,7 @@ let create_params =
13051305 ; param_name= " ssh_enabled"
13061306 ; param_doc= " True if SSH access is enabled for the host"
13071307 ; param_release= numbered_release " 25.14.0-next"
1308- ; param_default= Some (VBool true )
1308+ ; param_default= Some (VBool Constants. default_ssh_enabled )
13091309 }
13101310 ; {
13111311 param_type= Int
@@ -1315,7 +1315,7 @@ let create_params =
13151315 disabled (0 means never), this setting will be applied every time the \
13161316 SSH is enabled by XAPI"
13171317 ; param_release= numbered_release " 25.14.0-next"
1318- ; param_default= Some (VInt 0L )
1318+ ; param_default= Some (VInt Constants. default_ssh_enabled_timeout )
13191319 }
13201320 ; {
13211321 param_type= DateTime
@@ -1333,7 +1333,7 @@ let create_params =
13331333 " The timeout in seconds after which idle console will be automatically \
13341334 terminated (0 means never)"
13351335 ; param_release= numbered_release " 25.14.0-next"
1336- ; param_default= Some (VInt 0L )
1336+ ; param_default= Some (VInt Constants. default_console_idle_timeout )
13371337 }
13381338 ]
13391339
@@ -2436,7 +2436,7 @@ let set_console_idle_timeout =
24362436 ~params:
24372437 [
24382438 (Ref _host, " self" , " The host" )
2439- ; (Int , " value" , " The idle console timeout in seconds" )
2439+ ; (Int , " value" , " The console idle timeout in seconds" )
24402440 ]
24412441 ~allowed_roles: _R_POOL_ADMIN ()
24422442
@@ -3039,10 +3039,11 @@ let t =
30393039 " The SHA256 checksum of updateinfo of the most recently applied \
30403040 update on the host"
30413041 ; 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"
30443044 ; 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"
30463047 " The timeout in seconds after which SSH access will be \
30473048 automatically disabled (0 means never), this setting will be \
30483049 applied every time the SSH is enabled by XAPI"
@@ -3051,7 +3052,8 @@ let t =
30513052 " The time in UTC after which the SSH access will be automatically \
30523053 disabled"
30533054 ; 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"
30553057 " The timeout in seconds after which idle console will be \
30563058 automatically terminated (0 means never)"
30573059 ]
0 commit comments