@@ -1220,6 +1220,41 @@ let host_ntp_mode =
12201220 ]
12211221 )
12221222
1223+ let host_numa_affinity_policy =
1224+ Enum
1225+ ( " host_numa_affinity_policy"
1226+ , [
1227+ (" any" , " VMs are spread across all available NUMA nodes" )
1228+ ; ( " best_effort"
1229+ , " VMs are placed on the smallest number of NUMA nodes that they fit \
1230+ using soft-pinning, but the policy doesn't guarantee a balanced \
1231+ placement, falling back to the 'any' policy."
1232+ )
1233+ ; ( " default_policy"
1234+ , " Use the NUMA affinity policy that is the default for the current \
1235+ version"
1236+ )
1237+ ]
1238+ )
1239+
1240+ let latest_synced_updates_applied_state =
1241+ Enum
1242+ ( " latest_synced_updates_applied_state"
1243+ , [
1244+ ( " yes"
1245+ , " The host is up to date with the latest updates synced from remote \
1246+ CDN"
1247+ )
1248+ ; ( " no"
1249+ , " The host is outdated with the latest updates synced from remote CDN"
1250+ )
1251+ ; ( " unknown"
1252+ , " If the host is up to date with the latest updates synced from \
1253+ remote CDN is unknown"
1254+ )
1255+ ]
1256+ )
1257+
12231258let create_params =
12241259 [
12251260 {
@@ -1424,7 +1459,7 @@ let create_params =
14241459 " The maximum C-state that the host is allowed to enter, \"\" means \
14251460 unlimited; \" N\" means limit to CN; \" N,M\" means limit to CN with \
14261461 max sub cstate M."
1427- ; param_release= numbered_release " 25.38 .0-next"
1462+ ; param_release= numbered_release " 25.39 .0-next"
14281463 ; param_default= Some (VString " " )
14291464 }
14301465 ; {
@@ -1433,25 +1468,62 @@ let create_params =
14331468 ; param_doc=
14341469 " Indicates NTP servers are assigned by DHCP, or configured by user, or \
14351470 the factory servers, or NTP is disabled"
1436- ; param_release= numbered_release " 25.38 .0-next"
1471+ ; param_release= numbered_release " 25.39 .0-next"
14371472 ; param_default= Some (VEnum " Factory" )
14381473 }
14391474 ; {
14401475 param_type= Set String
14411476 ; param_name= " ntp_custom_servers"
14421477 ; param_doc=
14431478 " Custom NTP servers configured by users, used in Custom NTP mode"
1444- ; param_release= numbered_release " 25.38 .0-next"
1479+ ; param_release= numbered_release " 25.39 .0-next"
14451480 ; param_default= Some (VSet [] )
14461481 }
14471482 ; {
14481483 param_type= String
14491484 ; param_name= " timezone"
14501485 ; param_doc=
14511486 " The time zone identifier as defined in the IANA Time Zone Database"
1452- ; param_release= numbered_release " 25.38 .0-next"
1487+ ; param_release= numbered_release " 25.39 .0-next"
14531488 ; param_default= Some (VString " UTC" )
14541489 }
1490+ ; {
1491+ param_type= host_numa_affinity_policy
1492+ ; param_name= " numa_affinity_policy"
1493+ ; param_doc= " NUMA-aware VM memory and vCPU placement policy"
1494+ ; param_release= numbered_release " 25.39.0-next"
1495+ ; param_default= Some (VEnum " default_policy" )
1496+ }
1497+ ; {
1498+ param_type= latest_synced_updates_applied_state
1499+ ; param_name= " latest_synced_updates_applied"
1500+ ; param_doc=
1501+ " Default as 'unknown', 'yes' if the host is up to date with updates \
1502+ synced from remote CDN, otherwise 'no'"
1503+ ; param_release= numbered_release " 25.39.0-next"
1504+ ; param_default= Some (VSet [] )
1505+ }
1506+ ; {
1507+ param_type= Set update_guidances
1508+ ; param_name= " pending_guidances_full"
1509+ ; param_doc=
1510+ " The set of pending full guidances after applying updates, which a \
1511+ user should follow to make some updates, e.g. specific hardware \
1512+ drivers or CPU features, fully effective, but the 'average user' \
1513+ doesn't need to"
1514+ ; param_release= numbered_release " 25.39.0-next"
1515+ ; param_default= Some (VSet [] )
1516+ }
1517+ ; {
1518+ param_type= Set update_guidances
1519+ ; param_name= " pending_guidances_recommended"
1520+ ; param_doc=
1521+ " The set of pending recommended guidances after applying updates, \
1522+ which most users should follow to make the updates effective, but if \
1523+ not followed, will not cause a failure"
1524+ ; param_release= numbered_release " 25.39.0-next"
1525+ ; param_default= Some (VSet [] )
1526+ }
14551527 ]
14561528
14571529let create =
@@ -2357,23 +2429,6 @@ let cleanup_pool_secret =
23572429 ]
23582430 ~allowed_roles: _R_LOCAL_ROOT_ONLY ~hide_from_docs: true ()
23592431
2360- let host_numa_affinity_policy =
2361- Enum
2362- ( " host_numa_affinity_policy"
2363- , [
2364- (" any" , " VMs are spread across all available NUMA nodes" )
2365- ; ( " best_effort"
2366- , " VMs are placed on the smallest number of NUMA nodes that they fit \
2367- using soft-pinning, but the policy doesn't guarantee a balanced \
2368- placement, falling back to the 'any' policy."
2369- )
2370- ; ( " default_policy"
2371- , " Use the NUMA affinity policy that is the default for the current \
2372- version"
2373- )
2374- ]
2375- )
2376-
23772432let set_numa_affinity_policy =
23782433 call ~name: " set_numa_affinity_policy" ~lifecycle: []
23792434 ~doc: " Set VM placement NUMA affinity policy"
@@ -2581,24 +2636,6 @@ let update_firewalld_service_status =
25812636 status."
25822637 ~allowed_roles: _R_POOL_OP ()
25832638
2584- let latest_synced_updates_applied_state =
2585- Enum
2586- ( " latest_synced_updates_applied_state"
2587- , [
2588- ( " yes"
2589- , " The host is up to date with the latest updates synced from remote \
2590- CDN"
2591- )
2592- ; ( " no"
2593- , " The host is outdated with the latest updates synced from remote CDN"
2594- )
2595- ; ( " unknown"
2596- , " If the host is up to date with the latest updates synced from \
2597- remote CDN is unknown"
2598- )
2599- ]
2600- )
2601-
26022639let get_tracked_user_agents =
26032640 call ~name: " get_tracked_user_agents" ~lifecycle: []
26042641 ~doc:
0 commit comments