Skip to content

Commit d516d10

Browse files
authored
Update datamodel field lifecycle (#6830)
The param_release in create_params is not generated automatically. I have checked the commits when they are added and their next tag to determine which version they are in.
2 parents 1fd6db6 + 74d772f commit d516d10

2 files changed

Lines changed: 22 additions & 22 deletions

File tree

ocaml/idl/datamodel_host.ml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1441,15 +1441,15 @@ let create_params =
14411441
param_type= Map (String, String)
14421442
; param_name= "software_version"
14431443
; param_doc= "Information about the software versions on the host"
1444-
; param_release= numbered_release "25.32.0-next"
1444+
; param_release= numbered_release "25.33.0"
14451445
; param_default= Some (VMap [])
14461446
}
14471447
; {
14481448
param_type= Bool
14491449
; param_name= "https_only"
14501450
; param_doc=
14511451
"updates firewall to open or close port 80 depending on the value"
1452-
; param_release= numbered_release "25.38.0-next"
1452+
; param_release= numbered_release "25.39.0"
14531453
; param_default= Some (VBool false)
14541454
}
14551455
; {
@@ -1459,7 +1459,7 @@ let create_params =
14591459
"The maximum C-state that the host is allowed to enter, \"\" means \
14601460
unlimited; \"N\" means limit to CN; \"N,M\" means limit to CN with \
14611461
max sub cstate M."
1462-
; param_release= numbered_release "25.39.0-next"
1462+
; param_release= numbered_release "26.0.0"
14631463
; param_default= Some (VString "")
14641464
}
14651465
; {
@@ -1468,30 +1468,30 @@ let create_params =
14681468
; param_doc=
14691469
"Indicates NTP servers are assigned by DHCP, or configured by user, or \
14701470
the factory servers, or NTP is disabled"
1471-
; param_release= numbered_release "25.39.0-next"
1471+
; param_release= numbered_release "26.0.0"
14721472
; param_default= Some (VEnum "Factory")
14731473
}
14741474
; {
14751475
param_type= Set String
14761476
; param_name= "ntp_custom_servers"
14771477
; param_doc=
14781478
"Custom NTP servers configured by users, used in Custom NTP mode"
1479-
; param_release= numbered_release "25.39.0-next"
1479+
; param_release= numbered_release "26.0.0"
14801480
; param_default= Some (VSet [])
14811481
}
14821482
; {
14831483
param_type= String
14841484
; param_name= "timezone"
14851485
; param_doc=
14861486
"The time zone identifier as defined in the IANA Time Zone Database"
1487-
; param_release= numbered_release "25.39.0-next"
1487+
; param_release= numbered_release "26.0.0"
14881488
; param_default= Some (VString "UTC")
14891489
}
14901490
; {
14911491
param_type= host_numa_affinity_policy
14921492
; param_name= "numa_affinity_policy"
14931493
; param_doc= "NUMA-aware VM memory and vCPU placement policy"
1494-
; param_release= numbered_release "25.39.0-next"
1494+
; param_release= numbered_release "26.0.0"
14951495
; param_default= Some (VEnum "default_policy")
14961496
}
14971497
; {
@@ -1500,7 +1500,7 @@ let create_params =
15001500
; param_doc=
15011501
"Default as 'unknown', 'yes' if the host is up to date with updates \
15021502
synced from remote CDN, otherwise 'no'"
1503-
; param_release= numbered_release "25.39.0-next"
1503+
; param_release= numbered_release "26.0.0"
15041504
; param_default= Some (VSet [])
15051505
}
15061506
; {
@@ -1511,7 +1511,7 @@ let create_params =
15111511
user should follow to make some updates, e.g. specific hardware \
15121512
drivers or CPU features, fully effective, but the 'average user' \
15131513
doesn't need to"
1514-
; param_release= numbered_release "25.39.0-next"
1514+
; param_release= numbered_release "26.0.0"
15151515
; param_default= Some (VSet [])
15161516
}
15171517
; {
@@ -1521,7 +1521,7 @@ let create_params =
15211521
"The set of pending recommended guidances after applying updates, \
15221522
which most users should follow to make the updates effective, but if \
15231523
not followed, will not cause a failure"
1524-
; param_release= numbered_release "25.39.0-next"
1524+
; param_release= numbered_release "26.0.0"
15251525
; param_default= Some (VSet [])
15261526
}
15271527
]

ocaml/idl/datamodel_lifecycle.ml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -98,15 +98,15 @@ let prototyped_of_field = function
9898
| "SM", "host_pending_features" ->
9999
Some "24.37.0"
100100
| "host", "timezone" ->
101-
Some "25.39.0-next"
101+
Some "26.0.0"
102102
| "host", "ntp_custom_servers" ->
103-
Some "25.39.0-next"
103+
Some "26.0.0"
104104
| "host", "ntp_mode" ->
105-
Some "25.39.0-next"
105+
Some "26.0.0"
106106
| "host", "secure_boot" ->
107107
Some "25.31.0"
108108
| "host", "max_cstate" ->
109-
Some "25.39.0-next"
109+
Some "26.0.0"
110110
| "host", "ssh_auto_mode" ->
111111
Some "25.27.0"
112112
| "host", "console_idle_timeout" ->
@@ -238,21 +238,21 @@ let prototyped_of_message = function
238238
| "VTPM", "create" ->
239239
Some "22.26.0"
240240
| "host", "set_servertime" ->
241-
Some "25.39.0-next"
241+
Some "26.0.0"
242242
| "host", "get_ntp_synchronized" ->
243-
Some "25.39.0-next"
243+
Some "26.0.0"
244244
| "host", "list_timezones" ->
245-
Some "25.39.0-next"
245+
Some "26.0.0"
246246
| "host", "set_timezone" ->
247-
Some "25.39.0-next"
247+
Some "26.0.0"
248248
| "host", "get_ntp_servers_status" ->
249-
Some "25.39.0-next"
249+
Some "26.0.0"
250250
| "host", "set_ntp_custom_servers" ->
251-
Some "25.39.0-next"
251+
Some "26.0.0"
252252
| "host", "set_ntp_mode" ->
253-
Some "25.39.0-next"
253+
Some "26.0.0"
254254
| "host", "set_max_cstate" ->
255-
Some "25.39.0-next"
255+
Some "26.0.0"
256256
| "host", "update_firewalld_service_status" ->
257257
Some "25.34.0"
258258
| "host", "get_tracked_user_agents" ->

0 commit comments

Comments
 (0)