Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions nexus-sled-agent-shared/src/inventory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1239,6 +1239,11 @@ impl OmicronZoneType {
}
}

/// Identifies whether this is a boundary NTP zone
pub fn is_boundary_ntp(&self) -> bool {
matches!(self, OmicronZoneType::BoundaryNtp { .. })
}

/// Identifies whether this is a Nexus zone
pub fn is_nexus(&self) -> bool {
match self {
Expand Down
Loading
Loading