Skip to content

Commit fe7c677

Browse files
committed
Use timesync status to decide when to upgrade boundary NTP zones
1 parent bbea115 commit fe7c677

File tree

3 files changed

+655
-0
lines changed

3 files changed

+655
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1239,6 +1239,11 @@ impl OmicronZoneType {
12391239
}
12401240
}
12411241

1242+
/// Identifies whether this is a boundary NTP zone
1243+
pub fn is_boundary_ntp(&self) -> bool {
1244+
matches!(self, OmicronZoneType::BoundaryNtp { .. })
1245+
}
1246+
12421247
/// Identifies whether this is a Nexus zone
12431248
pub fn is_nexus(&self) -> bool {
12441249
match self {

0 commit comments

Comments
 (0)