Skip to content

Commit 6bbc962

Browse files
committed
Use timesync status to decide when to upgrade boundary NTP zones
1 parent 75b39c7 commit 6bbc962

File tree

4 files changed

+682
-0
lines changed

4 files changed

+682
-0
lines changed

nexus-sled-agent-shared/src/inventory.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -944,6 +944,11 @@ impl OmicronZoneType {
944944
}
945945
}
946946

947+
/// Identifies whether this is a boundary NTP zone
948+
pub fn is_boundary_ntp(&self) -> bool {
949+
matches!(self, OmicronZoneType::BoundaryNtp { .. })
950+
}
951+
947952
/// Identifies whether this is a Nexus zone
948953
pub fn is_nexus(&self) -> bool {
949954
match self {

nexus/reconfigurator/planning/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ daft.workspace = true
1515
gateway-client.workspace = true
1616
iddqd.workspace = true
1717
id-map.workspace = true
18+
iddqd.workspace = true
1819
illumos-utils.workspace = true
1920
indexmap.workspace = true
2021
internal-dns-resolver.workspace = true

0 commit comments

Comments
 (0)