You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: crates/api-core/src/cfg/README.md
+18-15Lines changed: 18 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,6 @@ applicable.
45
45
|`machine_update_run_interval`|`Option<u64>`| — |`machines`| Interval (seconds) at which the machine update manager checks for updates. |
46
46
|`retained_boot_interface_window`|`Option<Duration>`| — |`machines`| How long a retained boot interface pair (`retained_boot_interfaces` table) stays applicable after its `machine_interfaces` row was deleted. Unset retains forever; set a window (e.g. `30d`) so a MAC reappearing on different hardware doesn't inherit an obsolete Redfish interface id. |
47
47
|`site_explorer`|`SiteExplorerConfig`|*(see below)*|`hardware`| SiteExplorer hardware discovery settings (see [SiteExplorerConfig](#siteexplorerconfig)). |
48
-
|`nvue_enabled`|`bool`|`true`|`machines`| DPU agent uses NVUE for config instead of writing files directly. |
49
48
|`vpc_peering_policy`|`Option<VpcPeeringPolicy>`| — |`networking`| Policy for VPC peering based on network virtualization type at creation time. |
50
49
|`vpc_peering_policy_on_existing`|`Option<VpcPeeringPolicy>`| — |`networking`| Policy for whether existing VPC peerings should be active. |
51
50
|`attestation_enabled`|`bool`|`false`|`security`| Enables TPM-based machine attestation (adds `Measuring` state before `Ready`). |
@@ -282,7 +281,8 @@ flows.
282
281
|`nmx_c_tls_client_key_path`|`Option<String>`| — | Client private key for mTLS to NMX-C. |
283
282
|`nmx_c_tls_authority`|`Option<String>`| — | TLS server name used for SNI and certificate verification. |
284
283
|`allow_insecure`|`bool`|`false`| Skip TLS verification for NMX-C. |
285
-
284
+
|`nmx_c_endpoint_port`|`Option<u16>`| — | TCP port for NMX-C endpoints derived from switch NVOS IP. Unset uses the production NMX-C port. |
285
+
|`nmx_c_certificate_rotation`|`NmxCCertificateRotationConfig`|*(default)*| Optional monitoring for NMX-C server certificate propagation. |
286
286
### `SiteExplorerConfig`
287
287
288
288
| Field | Type | Default | Description |
@@ -306,9 +306,8 @@ flows.
306
306
|`power_shelves_created_per_run`|`u64`|`1`| Max power shelves created per run. |
307
307
|`create_switches`|`bool`|`false`| Auto-create Switch state machines. |
308
308
|`switches_created_per_run`|`u64`|`9`| Max switches created per run. |
309
-
|`use_onboard_nic`|`bool`|`false`| Use onboard NIC instead of DPU NICs. |
310
309
|`explore_mode`|`SiteExplorerExploreMode`|`LibRedfish`| Redfish backend: `libredfish`, `nv-redfish`, or `compare-result`. |
311
-
310
+
|`dpu_mode`|`Option<DpuMode>`| — | Site-wide DPU operating mode. When set, applies to every host that doesn't declare a per-host `ExpectedMachine.dpu_mode` override. |
312
311
### `StateControllerConfig`
313
312
314
313
Shared by all `*StateControllerConfig` structs (machine, network segment, VPC prefix, IB
|`common_internal_route_target`|`Option<RouteTargetConfig>`| — | Double-tag for internal tenant routes (consumed by the network infrastructure). |
456
456
|`additional_route_target_imports`|`Vec<RouteTargetConfig>`|`[]`| Extra route targets imported on DPU VRFs. |
457
457
|`routing_profiles`|`HashMap<String, FnnRoutingProfileConfig>`|`{}`| Named per-VPC routing profiles (see [FnnRoutingProfileConfig](#fnnroutingprofileconfig)). |
458
-
458
+
|`use_vpc_vrf_loopback`|`bool`|`false`| Whether IPs are allocated for VPC loopbacks. When false, the VPC loopback pool is unused and no VPC/VRF loopback IP is sent to the DPU. |
|`topic_prefix`|`String`|`NICO/v1/machine`| Topic prefix used when publishing `ManagedHostState` transitions; the full topic is `{topic_prefix}/{machineId}/state`. NATS subjects are case-sensitive, so this must match the producer pub allow configured on the broker. |
|`docker_image_pull_secret`|`Option<String>`| — | Override for the Kubernetes `imagePullSecrets` entry used to pull mandatory-service images (applied to every mandatory service except `dts` and `doca_hbn`). |
509
+
|`proxy`|`Option<DpfProxyDetails>`| — | Proxy configuration for the DPU. When set, containerd on the DPU routes outbound HTTPS traffic through it. |
510
+
|`deployments`|`DpfDeploymentsConfig`|*(default)*| Per-generation DPUDeployment configurations. BF3 is always present with defaults; BF4Generic is opt-in via `[dpf.deployments.bf4_generic]`. |
|`current_encryption_key_id`|`Option<String>`| — | Key-id for encrypting new tenant identity ciphertext (selects from the `machine_identity.encryption_keys` secrets). |
538
+
|`trust_domain_allowlist`|`Vec<String>`|`[]`| Trust domains allowed for tenant JWT `iss` (normalized host). Empty allows any. Patterns: exact hostname, `*.suffix` (one label under suffix), `**.suffix` (suffix or any subdomain). |
539
+
|`token_endpoint_domain_allowlist`|`Vec<String>`|`[]`| Allowed DNS names for the `token_endpoint` URL host (`http://` / `https://` only). Empty allows any; same pattern syntax as `trust_domain_allowlist`. |
540
+
|`signing_key_overlap_max_sec`|`u32`|`604800`| Upper bound for `signing_key_overlap_sec` on `SetTenantIdentityConfiguration` when `rotate_key` is true (seconds). |
0 commit comments