Skip to content
Open
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
1 change: 0 additions & 1 deletion api_identity/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

// Copyright 2020 Oxide Computer Company
//! This macro is a helper to generate an accessor for the identity of any
//! `api::Object`.

Expand Down
2 changes: 0 additions & 2 deletions clients/ddm-admin-client/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

// Copyright 2023 Oxide Computer Company

#![allow(clippy::redundant_closure_call)]
#![allow(clippy::needless_lifetimes)]
#![allow(clippy::match_single_binding)]
Expand Down
2 changes: 0 additions & 2 deletions clients/gateway-client/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

// Copyright 2022 Oxide Computer Company

//! Interface for API requests to a Management Gateway Service (MGS) instance
pub use gateway_messages::SpComponent;
Expand Down
2 changes: 0 additions & 2 deletions clients/oximeter-client/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

// Copyright 2025 Oxide Computer Company

//! Interface for API requests to an Oximeter metric collection server

progenitor::generate_api!(
Expand Down
2 changes: 0 additions & 2 deletions dev-tools/omdb/src/bin/omdb/oxql.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

//! omdb OxQL shell for interactive queries on metrics/timeseries.

// Copyright 2024 Oxide Computer

use crate::Omdb;
use crate::helpers::CONNECTION_OPTIONS_HEADING;
use anyhow::Context;
Expand Down
2 changes: 0 additions & 2 deletions gateway-cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

// Copyright 2023 Oxide Computer Company

use anyhow::Context;
use anyhow::Result;
use anyhow::anyhow;
Expand Down
2 changes: 0 additions & 2 deletions gateway-cli/src/usart.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

// Copyright 2023 Oxide Computer Company

use crate::picocom_map::RemapRules;
use anyhow::Context;
use anyhow::Result;
Expand Down
2 changes: 0 additions & 2 deletions gateway-test-utils/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

// Copyright 2022 Oxide Computer Company

pub mod setup;
mod sim_state;

Expand Down
2 changes: 0 additions & 2 deletions gateway-test-utils/src/setup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

// Copyright 2022 Oxide Computer Company

use camino::Utf8Path;
use camino::Utf8PathBuf;
use dropshot::test_util::LogContext;
Expand Down
2 changes: 0 additions & 2 deletions gateway-test-utils/src/sim_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

// Copyright 2022 Oxide Computer Company

use gateway_messages::ignition::SystemPowerState;
use gateway_messages::ignition::SystemType;
use gateway_types::component::SpIdentifier;
Expand Down
2 changes: 0 additions & 2 deletions gateway/src/http_entrypoints.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

// Copyright 2022 Oxide Computer Company

//! HTTP entrypoint functions for the gateway service

use crate::ServerContext;
Expand Down
2 changes: 0 additions & 2 deletions gateway/src/management_switch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

// Copyright 2022 Oxide Computer Company

//!
//! Long-running task responsible for tracking the topology of the SPs connected
//! to the management network switch ports.
Expand Down
2 changes: 0 additions & 2 deletions gateway/src/management_switch/location_map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

// Copyright 2022 Oxide Computer Company

use super::SpIdentifier;
use super::SwitchPort;
use crate::error::StartupError;
Expand Down
2 changes: 0 additions & 2 deletions gateway/src/serial_console.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

// Copyright 2022 Oxide Computer Company

use crate::SpIdentifier;
use crate::error::SpCommsError;
use dropshot::WebsocketChannelResult;
Expand Down
2 changes: 0 additions & 2 deletions gateway/tests/integration_tests/component_list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

// Copyright 2022 Oxide Computer Company

use gateway_client::types::{SpComponentInfo, SpComponentPresence};
use gateway_messages::DeviceCapabilities;
use gateway_messages::SpComponent;
Expand Down
2 changes: 0 additions & 2 deletions gateway/tests/integration_tests/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

// Copyright 2024 Oxide Computer Company

use omicron_gateway::Config;

#[test]
Expand Down
2 changes: 0 additions & 2 deletions gateway/tests/integration_tests/ereports.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

// Copyright 2025 Oxide Computer Company

use ereport_types::Ena;
use ereport_types::EreporterRestartUuid;
use gateway_messages::SpPort;
Expand Down
2 changes: 0 additions & 2 deletions gateway/tests/integration_tests/location_discovery.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

// Copyright 2022 Oxide Computer Company

use gateway_messages::SpPort;
use gateway_test_utils::setup;
use gateway_types::component::SpType;
Expand Down
2 changes: 0 additions & 2 deletions gateway/tests/integration_tests/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

// Copyright 2022 Oxide Computer Company

mod component_list;
mod config;
mod ereports;
Expand Down
2 changes: 0 additions & 2 deletions gateway/tests/integration_tests/serial_console.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

// Copyright 2022 Oxide Computer Company

use dropshot::HttpErrorResponseBody;
use futures::prelude::*;
use gateway_messages::SpPort;
Expand Down
2 changes: 0 additions & 2 deletions gateway/tests/integration_tests/task_dump.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

// Copyright 2025 Oxide Computer Company

use base64::prelude::*;
use gateway_messages::SpPort;
use gateway_test_utils::current_simulator_state;
Expand Down
2 changes: 0 additions & 2 deletions installinator/src/bootstrap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

// Copyright 2023 Oxide Computer Company

//! Perform "bootstrap-agent lite" sled setup.

use anyhow::Context;
Expand Down
2 changes: 0 additions & 2 deletions ipcc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

// Copyright 2023 Oxide Computer Company

//! An interface to libipcc (inter-processor communications channel) which
//! currently supports looking up values stored in the SP by key. These
//! values are variously static, passed from the control plane to the SP
Expand Down
2 changes: 0 additions & 2 deletions nexus/db-fixed-data/src/allow_list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

// Copyright 2024 Oxide Computer Company

//! Fixed data for source IP allowlist implementation.

/// UUID of singleton source IP allowlist.
Expand Down
2 changes: 0 additions & 2 deletions nexus/db-macros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
//! provides support for auto-generating structures that are common among many
//! tables.

// Copyright 2021 Oxide Computer Company

extern crate proc_macro;

use nexus_macros_common::PrimaryKeyType;
Expand Down
2 changes: 0 additions & 2 deletions nexus/db-model/src/affinity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

// Copyright 2026 Oxide Computer Company

//! Database representation of affinity and anti-affinity groups

use super::Name;
Expand Down
2 changes: 0 additions & 2 deletions nexus/db-model/src/allow_list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

// Copyright 2026 Oxide Computer Company

//! Database representation of allowed source IP address, for implementing basic
//! IP allowlisting.

Expand Down
2 changes: 0 additions & 2 deletions nexus/db-model/src/audit_log.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

// Copyright 2026 Oxide Computer Company

use std::net::IpAddr;

use crate::{SqlU16, impl_enum_type};
Expand Down
2 changes: 0 additions & 2 deletions nexus/src/app/allow_list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

// Copyright 2026 Oxide Computer Company

//! Nexus methods for operating on source IP allowlists.

use nexus_db_queries::context::OpContext;
Expand Down
1 change: 0 additions & 1 deletion nexus/tests/integration_tests/multicast/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
//
// Copyright 2025 Oxide Computer Company

//! Tests for multicast API behavior and functionality.
//!
Expand Down
1 change: 0 additions & 1 deletion nexus/tests/integration_tests/multicast/failures.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
//
// Copyright 2025 Oxide Computer Company

//! Integration tests for multicast group failure and recovery scenarios.
//!
Expand Down
1 change: 0 additions & 1 deletion nexus/tests/integration_tests/multicast/groups.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
//
// Copyright 2025 Oxide Computer Company

//! Integration tests for multicast group APIs and IP pool operations.
//!
Expand Down
2 changes: 0 additions & 2 deletions nexus/tests/integration_tests/multicast/instances.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

// Copyright 2025 Oxide Computer Company

//! Tests multicast group + instance integration.
//!
//! Instance lifecycle tests:
Expand Down
2 changes: 0 additions & 2 deletions nexus/types/src/identity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

//! Identity-related traits which may be derived for DB structures.

// Copyright 2021 Oxide Computer Company

use chrono::{DateTime, Utc};
use omicron_common::api::external::IdentityMetadata;
use omicron_common::api::external::Name;
Expand Down
2 changes: 0 additions & 2 deletions oximeter/collector/src/agent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

//! The oximeter agent handles collection tasks for each producer.
// Copyright 2025 Oxide Computer Company

use crate::DbConfig;
use crate::Error;
use crate::ProducerEndpoint;
Expand Down
2 changes: 0 additions & 2 deletions oximeter/collector/src/bin/clickhouse-schema-updater.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

//! CLI tool to apply offline updates to ClickHouse schema.

// Copyright 2023 Oxide Computer Company

use anyhow::Context;
use anyhow::anyhow;
use camino::Utf8PathBuf;
Expand Down
2 changes: 0 additions & 2 deletions oximeter/collector/src/bin/oximeter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

//! Main entry point to run an `oximeter` server in the control plane.

// Copyright 2023 Oxide Computer Company

use anyhow::{Context, anyhow};
use clap::Parser;
use omicron_common::cmd::CmdError;
Expand Down
2 changes: 0 additions & 2 deletions oximeter/collector/src/collection_task.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

//! Task responsible for collecting from a single producer.
// Copyright 2025 Oxide Computer Company

use crate::agent::CollectionTaskSenderWrapper;
use crate::probes;
use crate::self_stats;
Expand Down
2 changes: 0 additions & 2 deletions oximeter/collector/src/http_entrypoints.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

//! Oximeter collector server HTTP API

// Copyright 2025 Oxide Computer Company

use crate::OximeterAgent;
use dropshot::ApiDescription;
use dropshot::EmptyScanParams;
Expand Down
2 changes: 0 additions & 2 deletions oximeter/collector/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

//! Implementation of the `oximeter` metric collection server.

// Copyright 2025 Oxide Computer Company

pub use collection_task::ForcedCollectionError;
use dropshot::ConfigDropshot;
use dropshot::ConfigLogging;
Expand Down
2 changes: 0 additions & 2 deletions oximeter/collector/src/results_sink.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
//! This includes the usual task that inserts data into ClickHouse, and a
//! printing task used in `oximeter` standalone.

// Copyright 2026 Oxide Computer Company

use crate::collection_task::CollectionTaskOutput;
use crate::probes;
use oximeter::Sample;
Expand Down
2 changes: 0 additions & 2 deletions oximeter/collector/src/self_stats.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

//! Metrics oximeter reports about itself

// Copyright 2023 Oxide Computer Company

use crate::ProducerEndpoint;
use oximeter::MetricsError;
use oximeter::Sample;
Expand Down
2 changes: 0 additions & 2 deletions oximeter/collector/src/standalone.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
//! Implementation of a standalone fake Nexus, simply for registering producers
//! and collectors with one another.

// Copyright 2024 Oxide Computer Company

use crate::Error;
use dropshot::ApiDescription;
use dropshot::ConfigDropshot;
Expand Down
2 changes: 0 additions & 2 deletions oximeter/collector/tests/test_commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

// Copyright 2021 Oxide Computer Company

use std::path::PathBuf;

use expectorate::assert_contents;
Expand Down
Loading
Loading