Skip to content

Commit e176df8

Browse files
committed
Use timesync status to decide when to upgrade boundary NTP zones
1 parent 71e2738 commit e176df8

File tree

3 files changed

+681
-0
lines changed

3 files changed

+681
-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 {

0 commit comments

Comments
 (0)