Skip to content

Commit

Permalink
*: convert licence headers to use an SPDX License Identifier
Browse files Browse the repository at this point in the history
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
  • Loading branch information
rwestphal committed Oct 12, 2023
1 parent 381a3b4 commit e03e673
Show file tree
Hide file tree
Showing 246 changed files with 246 additions and 246 deletions.
2 changes: 1 addition & 1 deletion holo-bfd/src/debug.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Copyright (c) The Holo Core Contributors
//
// See LICENSE for license details.
// SPDX-License-Identifier: MIT
//

use holo_utils::bfd::{ClientId, SessionKey, State};
Expand Down
2 changes: 1 addition & 1 deletion holo-bfd/src/error.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Copyright (c) The Holo Core Contributors
//
// See LICENSE for license details.
// SPDX-License-Identifier: MIT
//

use std::net::IpAddr;
Expand Down
2 changes: 1 addition & 1 deletion holo-bfd/src/events.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Copyright (c) The Holo Core Contributors
//
// See LICENSE for license details.
// SPDX-License-Identifier: MIT
//

use std::net::SocketAddr;
Expand Down
2 changes: 1 addition & 1 deletion holo-bfd/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Copyright (c) The Holo Core Contributors
//
// See LICENSE for license details.
// SPDX-License-Identifier: MIT
//

#![warn(rust_2018_idioms)]
Expand Down
2 changes: 1 addition & 1 deletion holo-bfd/src/master.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Copyright (c) The Holo Core Contributors
//
// See LICENSE for license details.
// SPDX-License-Identifier: MIT
//

use std::collections::HashMap;
Expand Down
2 changes: 1 addition & 1 deletion holo-bfd/src/network.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Copyright (c) The Holo Core Contributors
//
// See LICENSE for license details.
// SPDX-License-Identifier: MIT
//

use std::io::IoSliceMut;
Expand Down
2 changes: 1 addition & 1 deletion holo-bfd/src/northbound/configuration.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Copyright (c) The Holo Core Contributors
//
// See LICENSE for license details.
// SPDX-License-Identifier: MIT
//

use std::net::SocketAddr;
Expand Down
2 changes: 1 addition & 1 deletion holo-bfd/src/northbound/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Copyright (c) The Holo Core Contributors
//
// See LICENSE for license details.
// SPDX-License-Identifier: MIT
//

pub mod configuration;
Expand Down
2 changes: 1 addition & 1 deletion holo-bfd/src/northbound/notification.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Copyright (c) The Holo Core Contributors
//
// See LICENSE for license details.
// SPDX-License-Identifier: MIT
//

use std::net::IpAddr;
Expand Down
2 changes: 1 addition & 1 deletion holo-bfd/src/northbound/state.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Copyright (c) The Holo Core Contributors
//
// See LICENSE for license details.
// SPDX-License-Identifier: MIT
//

use std::sync::{atomic, LazyLock as Lazy};
Expand Down
2 changes: 1 addition & 1 deletion holo-bfd/src/northbound/yang.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Copyright (c) The Holo Core Contributors
//
// See LICENSE for license details.
// SPDX-License-Identifier: MIT
//

use holo_yang::ToYang;
Expand Down
2 changes: 1 addition & 1 deletion holo-bfd/src/packet.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Copyright (c) The Holo Core Contributors
//
// See LICENSE for license details.
// SPDX-License-Identifier: MIT
//

use bitflags::bitflags;
Expand Down
2 changes: 1 addition & 1 deletion holo-bfd/src/session.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Copyright (c) The Holo Core Contributors
//
// See LICENSE for license details.
// SPDX-License-Identifier: MIT
//

use std::collections::{hash_map, BTreeMap, HashMap, HashSet};
Expand Down
2 changes: 1 addition & 1 deletion holo-bfd/src/southbound/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Copyright (c) The Holo Core Contributors
//
// See LICENSE for license details.
// SPDX-License-Identifier: MIT
//

pub mod rx;
Expand Down
2 changes: 1 addition & 1 deletion holo-bfd/src/southbound/rx.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Copyright (c) The Holo Core Contributors
//
// See LICENSE for license details.
// SPDX-License-Identifier: MIT
//

use std::collections::hash_map;
Expand Down
2 changes: 1 addition & 1 deletion holo-bfd/src/southbound/tx.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Copyright (c) The Holo Core Contributors
//
// See LICENSE for license details.
// SPDX-License-Identifier: MIT
//

use derive_new::new;
Expand Down
2 changes: 1 addition & 1 deletion holo-bfd/src/tasks.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Copyright (c) The Holo Core Contributors
//
// See LICENSE for license details.
// SPDX-License-Identifier: MIT
//

use std::net::SocketAddr;
Expand Down
2 changes: 1 addition & 1 deletion holo-bfd/tests/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Copyright (c) The Holo Core Contributors
//
// See LICENSE for license details.
// SPDX-License-Identifier: MIT
//

#![feature(lazy_cell)]
Expand Down
2 changes: 1 addition & 1 deletion holo-bfd/tests/packet/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Copyright (c) The Holo Core Contributors
//
// See LICENSE for license details.
// SPDX-License-Identifier: MIT
//

use std::sync::LazyLock as Lazy;
Expand Down
2 changes: 1 addition & 1 deletion holo-cli/src/client/grpc.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Copyright (c) The Holo Core Contributors
//
// See LICENSE for license details.
// SPDX-License-Identifier: MIT
//

use holo_yang as yang;
Expand Down
2 changes: 1 addition & 1 deletion holo-cli/src/client/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Copyright (c) The Holo Core Contributors
//
// See LICENSE for license details.
// SPDX-License-Identifier: MIT
//

pub mod grpc;
Expand Down
2 changes: 1 addition & 1 deletion holo-cli/src/error.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Copyright (c) The Holo Core Contributors
//
// See LICENSE for license details.
// SPDX-License-Identifier: MIT
//

use indextree::NodeId;
Expand Down
2 changes: 1 addition & 1 deletion holo-cli/src/internal_commands.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Copyright (c) The Holo Core Contributors
//
// See LICENSE for license details.
// SPDX-License-Identifier: MIT
//

use std::fmt::Write;
Expand Down
2 changes: 1 addition & 1 deletion holo-cli/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Copyright (c) The Holo Core Contributors
//
// See LICENSE for license details.
// SPDX-License-Identifier: MIT
//

mod client;
Expand Down
2 changes: 1 addition & 1 deletion holo-cli/src/parser.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Copyright (c) The Holo Core Contributors
//
// See LICENSE for license details.
// SPDX-License-Identifier: MIT
//

use std::collections::VecDeque;
Expand Down
2 changes: 1 addition & 1 deletion holo-cli/src/session.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Copyright (c) The Holo Core Contributors
//
// See LICENSE for license details.
// SPDX-License-Identifier: MIT
//

use derive_new::new;
Expand Down
2 changes: 1 addition & 1 deletion holo-cli/src/terminal.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Copyright (c) The Holo Core Contributors
//
// See LICENSE for license details.
// SPDX-License-Identifier: MIT
//

use std::borrow::Cow;
Expand Down
2 changes: 1 addition & 1 deletion holo-cli/src/token.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Copyright (c) The Holo Core Contributors
//
// See LICENSE for license details.
// SPDX-License-Identifier: MIT
//

use indextree::{Arena, NodeId};
Expand Down
2 changes: 1 addition & 1 deletion holo-cli/src/token_xml.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Copyright (c) The Holo Core Contributors
//
// See LICENSE for license details.
// SPDX-License-Identifier: MIT
//

use indextree::NodeId;
Expand Down
2 changes: 1 addition & 1 deletion holo-cli/src/token_yang.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Copyright (c) The Holo Core Contributors
//
// See LICENSE for license details.
// SPDX-License-Identifier: MIT
//

use std::fmt::Write;
Expand Down
2 changes: 1 addition & 1 deletion holo-daemon/src/config.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Copyright (c) The Holo Core Contributors
//
// See LICENSE for license details.
// SPDX-License-Identifier: MIT
//

#![allow(clippy::derivable_impls)]
Expand Down
2 changes: 1 addition & 1 deletion holo-daemon/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Copyright (c) The Holo Core Contributors
//
// See LICENSE for license details.
// SPDX-License-Identifier: MIT
//

#![warn(rust_2018_idioms)]
Expand Down
2 changes: 1 addition & 1 deletion holo-daemon/src/northbound/client/api.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Copyright (c) The Holo Core Contributors
//
// See LICENSE for license details.
// SPDX-License-Identifier: MIT
//

use holo_utils::Responder;
Expand Down
2 changes: 1 addition & 1 deletion holo-daemon/src/northbound/client/gnmi.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Copyright (c) The Holo Core Contributors
//
// See LICENSE for license details.
// SPDX-License-Identifier: MIT
//

use std::time::SystemTime;
Expand Down
2 changes: 1 addition & 1 deletion holo-daemon/src/northbound/client/grpc.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Copyright (c) The Holo Core Contributors
//
// See LICENSE for license details.
// SPDX-License-Identifier: MIT
//

use std::convert::TryFrom;
Expand Down
2 changes: 1 addition & 1 deletion holo-daemon/src/northbound/client/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Copyright (c) The Holo Core Contributors
//
// See LICENSE for license details.
// SPDX-License-Identifier: MIT
//

pub mod api;
Expand Down
2 changes: 1 addition & 1 deletion holo-daemon/src/northbound/core.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Copyright (c) The Holo Core Contributors
//
// See LICENSE for license details.
// SPDX-License-Identifier: MIT
//

use std::collections::BTreeMap;
Expand Down
2 changes: 1 addition & 1 deletion holo-daemon/src/northbound/db.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Copyright (c) The Holo Core Contributors
//
// See LICENSE for license details.
// SPDX-License-Identifier: MIT
//

use pickledb::PickleDb;
Expand Down
2 changes: 1 addition & 1 deletion holo-daemon/src/northbound/error.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Copyright (c) The Holo Core Contributors
//
// See LICENSE for license details.
// SPDX-License-Identifier: MIT
//

use holo_northbound as northbound;
Expand Down
2 changes: 1 addition & 1 deletion holo-daemon/src/northbound/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Copyright (c) The Holo Core Contributors
//
// See LICENSE for license details.
// SPDX-License-Identifier: MIT
//

mod client;
Expand Down
2 changes: 1 addition & 1 deletion holo-daemon/src/northbound/yang.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Copyright (c) The Holo Core Contributors
//
// See LICENSE for license details.
// SPDX-License-Identifier: MIT
//

use std::sync::Arc;
Expand Down
2 changes: 1 addition & 1 deletion holo-interface/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Copyright (c) The Holo Core Contributors
//
// See LICENSE for license details.
// SPDX-License-Identifier: MIT
//

#![forbid(unsafe_code)]
Expand Down
2 changes: 1 addition & 1 deletion holo-interface/src/northbound/configuration.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Copyright (c) The Holo Core Contributors
//
// See LICENSE for license details.
// SPDX-License-Identifier: MIT
//

use std::sync::LazyLock as Lazy;
Expand Down
2 changes: 1 addition & 1 deletion holo-interface/src/northbound/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Copyright (c) The Holo Core Contributors
//
// See LICENSE for license details.
// SPDX-License-Identifier: MIT
//

pub mod configuration;
Expand Down
Loading

0 comments on commit e03e673

Please sign in to comment.