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
## Description
- Add site-level `ntp_servers` config.
- Call redfish to `set_ntp_servers` on the BMC during preingestion, see
[libredfish PR87](NVIDIA/libredfish#87).
- Plumb site-level `ntp_servers` config into the `DhcpRecord` response
of `DiscoverDhcp` RPC call.
- Update Kea DHCP config to prefer API-provided `DhcpRecord.ntp_servers`
for Option 42, while keeping the old workflow (read ntp_servers from kea
dhcp config) for fallback.
- Add site level `ntp_servers` into `ManagedHostNetworkConfigResponse`
and have DPU agent use it for DHCP server.
## Type of Change
<!-- Check one that best describes this PR -->
- [x] **Add** - New feature or capability
- [ ] **Change** - Changes in existing functionality
- [ ] **Fix** - Bug fixes
- [ ] **Remove** - Removed features or deprecated functionality
- [ ] **Internal** - Internal changes (refactoring, tests, docs, etc.)
## Related Issues (Optional)
#548 (comment)
## Breaking Changes
- [ ] This PR contains breaking changes
<!-- If checked above, describe the breaking changes and migration steps
-->
## Testing
<!-- How was this tested? Check all that apply -->
- [x] Unit tests added/updated
- [ ] Integration tests added/updated
- [x] Manual testing performed
- [ ] No testing required (docs, internal refactor, etc.)
## Additional Notes
<!-- Any additional context, deployment notes, or reviewer guidance -->
---------
Signed-off-by: Felicity Xu <hanyux@nvidia.com>
Copy file name to clipboardExpand all lines: crates/api-core/src/cfg/README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,7 @@ applicable.
20
20
|`ib_config`|`Option<IBFabricConfig>`| — | InfiniBand fabric configuration (see [IBFabricConfig](#ibfabricconfig)). |
21
21
|`asn`|`u32`|**required**| Autonomous System Number, fixed per environment. Used by nico-dpu-agent for `frr.conf` BGP routing. |
22
22
|`dhcp_servers`|`Vec<Ipv4Addr>`|`[]`| DHCP server addresses announced to DPUs during network provisioning. |
23
+
|`ntp_servers`|`Vec<Ipv4Addr>`|`[]`| Site-level NTP server IPs used for BMC time configuration and DHCP NTP Server configuration. |
23
24
|`route_servers`|`Vec<String>`|`[]`| Route server IPs for L2VPN Ethernet Virtual network support. |
24
25
|`enable_route_servers`|`bool`|`false`| Enables route server injection into DPU FRR configs for L2VPN. |
25
26
|`deny_prefixes`|`Vec<Ipv4Network>`|`[]`| IPv4 CIDR prefixes that tenant instances are blocked from reaching. Generates iptables DROP rules and nvue ACL policies. |
0 commit comments