diff --git a/CI/check_codegen.sh b/CI/check_codegen.sh index bf820056..9c0d83a0 100755 --- a/CI/check_codegen.sh +++ b/CI/check_codegen.sh @@ -1,4 +1,20 @@ #!/usr/bin/env bash +# Copyright 2020 Yi Tseng +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 + set -eo pipefail diff --git a/bazel/example/using-bzlmod/hello_p4runtime.cc b/bazel/example/using-bzlmod/hello_p4runtime.cc index 779c2f3d..aa39ab15 100644 --- a/bazel/example/using-bzlmod/hello_p4runtime.cc +++ b/bazel/example/using-bzlmod/hello_p4runtime.cc @@ -1,3 +1,19 @@ +// Copyright 2024 Steffen Smolka +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 + #include #include "google/protobuf/text_format.h" diff --git a/codegen/Dockerfile b/codegen/Dockerfile index 46e940d2..acd5b8ec 100644 --- a/codegen/Dockerfile +++ b/codegen/Dockerfile @@ -1,3 +1,19 @@ +# Copyright 2020 Antonin Bas +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 + FROM p4lang/third-party:latest LABEL maintainer="P4 API Working Group " LABEL description="Dockerfile used for CI testing of p4lang/p4runtime" diff --git a/codegen/compile_protos.sh b/codegen/compile_protos.sh index a3fefa97..951463c2 100755 --- a/codegen/compile_protos.sh +++ b/codegen/compile_protos.sh @@ -1,4 +1,20 @@ #!/usr/bin/env bash +# Copyright 2020 Antonin Bas +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 + # This ensures that the P4Runtime Protobuf files are correct and compile with # the protoc compiler (CPP, gRPC, Python and Go). diff --git a/codegen/update.sh b/codegen/update.sh index aa8b1772..ee29d287 100755 --- a/codegen/update.sh +++ b/codegen/update.sh @@ -1,4 +1,20 @@ #!/usr/bin/env bash +# Copyright 2020 Yi Tseng +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 + set -e diff --git a/docs/tools/Makefile b/docs/tools/Makefile index 1cda9b14..40d55719 100644 --- a/docs/tools/Makefile +++ b/docs/tools/Makefile @@ -1,3 +1,19 @@ +# Copyright 2025 Davide Scano +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 + all: docker build -t p4rt-asciidoc -f Dockerfile.asciidoc . - docker tag p4rt-asciidoc p4lang/p4rt-asciidoc:latest \ No newline at end of file + docker tag p4rt-asciidoc p4lang/p4rt-asciidoc:latest diff --git a/docs/v1/Makefile b/docs/v1/Makefile index b6343255..7f62c860 100644 --- a/docs/v1/Makefile +++ b/docs/v1/Makefile @@ -1,3 +1,19 @@ +# Copyright 2018 Antonin Bas +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 + SPEC=P4Runtime-Spec ROUGE_STYLE=github diff --git a/docs/v1/resources/theme/p4-stylesheet.css b/docs/v1/resources/theme/p4-stylesheet.css index 0ee77e01..4fc604ad 100644 --- a/docs/v1/resources/theme/p4-stylesheet.css +++ b/docs/v1/resources/theme/p4-stylesheet.css @@ -1,4 +1,5 @@ @import url(//cdnjs.cloudflare.com/ajax/libs/font-awesome/3.2.0/css/font-awesome.css); +/* SPDX-License-Identifier: MIT */ /* normalize.css v2.1.1 | MIT License | git.io/normalize */ /* ========================================================================== HTML5 display definitions ========================================================================== */ /** Correct `block` display not defined in IE 8/9. */ @@ -640,4 +641,4 @@ h2 { color: #030303; border-bottom: 1px solid #dddddd; } .quoteblock blockquote { background: url('../images/github/blockquote-arrow.png?1372292342') 0 2px no-repeat; padding-left: 1em; } -.sidebarblock > .content > .title { margin-top: -20px; margin-right: -20px; margin-left: -20px; margin-bottom: 20px; padding: 1em; font-size: 0.8em; background: #eaeaea; } \ No newline at end of file +.sidebarblock > .content > .title { margin-top: -20px; margin-right: -20px; margin-left: -20px; margin-bottom: 20px; padding: 1em; font-size: 0.8em; background: #eaeaea; } diff --git a/docs/v1/resources/theme/p4-theme.yml b/docs/v1/resources/theme/p4-theme.yml index 0f4a9993..11ee1779 100644 --- a/docs/v1/resources/theme/p4-theme.yml +++ b/docs/v1/resources/theme/p4-theme.yml @@ -1,3 +1,19 @@ +# Copyright 2025 Davide Scano +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 + extends: ~ font: catalog: diff --git a/go/p4/config/v1/p4info.pb.go b/go/p4/config/v1/p4info.pb.go index 1c6deaf3..67ed3b48 100644 --- a/go/p4/config/v1/p4info.pb.go +++ b/go/p4/config/v1/p4info.pb.go @@ -1,4 +1,4 @@ -// Copyright 2013-present Barefoot Networks, Inc. +// Copyright 2013 Barefoot Networks, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 // Code generated by protoc-gen-go. DO NOT EDIT. // versions: diff --git a/go/p4/config/v1/p4types.pb.go b/go/p4/config/v1/p4types.pb.go index fff41698..abb4d924 100644 --- a/go/p4/config/v1/p4types.pb.go +++ b/go/p4/config/v1/p4types.pb.go @@ -1,4 +1,4 @@ -// Copyright 2013-present Barefoot Networks, Inc. +// Copyright 2013 Barefoot Networks, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 // Code generated by protoc-gen-go. DO NOT EDIT. // versions: diff --git a/go/p4/v1/p4data.pb.go b/go/p4/v1/p4data.pb.go index f287fb09..32ab5cb7 100644 --- a/go/p4/v1/p4data.pb.go +++ b/go/p4/v1/p4data.pb.go @@ -1,4 +1,4 @@ -// Copyright 2013-present Barefoot Networks, Inc. +// Copyright 2013 Barefoot Networks, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 // Code generated by protoc-gen-go. DO NOT EDIT. // versions: diff --git a/go/p4/v1/p4runtime.pb.go b/go/p4/v1/p4runtime.pb.go index 25cf432a..e22f4f52 100644 --- a/go/p4/v1/p4runtime.pb.go +++ b/go/p4/v1/p4runtime.pb.go @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 // Code generated by protoc-gen-go. DO NOT EDIT. // versions: diff --git a/go/p4/v1/p4runtime_grpc.pb.go b/go/p4/v1/p4runtime_grpc.pb.go index dfecbe32..56871b97 100644 --- a/go/p4/v1/p4runtime_grpc.pb.go +++ b/go/p4/v1/p4runtime_grpc.pb.go @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: diff --git a/proto/google/rpc/status.proto b/proto/google/rpc/status.proto index dc14c943..97f50b9d 100644 --- a/proto/google/rpc/status.proto +++ b/proto/google/rpc/status.proto @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,7 +18,6 @@ package google.rpc; import "google/protobuf/any.proto"; -option cc_enable_arenas = true; option go_package = "google.golang.org/genproto/googleapis/rpc/status;status"; option java_multiple_files = true; option java_outer_classname = "StatusProto"; diff --git a/proto/p4/config/v1/p4info.proto b/proto/p4/config/v1/p4info.proto index 3ad031a4..36c46647 100644 --- a/proto/p4/config/v1/p4info.proto +++ b/proto/p4/config/v1/p4info.proto @@ -1,4 +1,4 @@ -// Copyright 2013-present Barefoot Networks, Inc. +// Copyright 2013 Barefoot Networks, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 syntax = "proto3"; diff --git a/proto/p4/config/v1/p4types.proto b/proto/p4/config/v1/p4types.proto index ff317b68..b0f9a721 100644 --- a/proto/p4/config/v1/p4types.proto +++ b/proto/p4/config/v1/p4types.proto @@ -1,4 +1,4 @@ -// Copyright 2013-present Barefoot Networks, Inc. +// Copyright 2013 Barefoot Networks, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 syntax = "proto3"; diff --git a/proto/p4/v1/p4data.proto b/proto/p4/v1/p4data.proto index f5b80a9e..cdcd62ff 100644 --- a/proto/p4/v1/p4data.proto +++ b/proto/p4/v1/p4data.proto @@ -1,4 +1,4 @@ -// Copyright 2013-present Barefoot Networks, Inc. +// Copyright 2013 Barefoot Networks, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 syntax = "proto3"; diff --git a/proto/p4/v1/p4runtime.proto b/proto/p4/v1/p4runtime.proto index e34312d8..383a3908 100755 --- a/proto/p4/v1/p4runtime.proto +++ b/proto/p4/v1/p4runtime.proto @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 syntax = "proto3"; diff --git a/proto/update_google_rpc_status.sh b/proto/update_google_rpc_status.sh index 112526c1..d30573b7 100755 --- a/proto/update_google_rpc_status.sh +++ b/proto/update_google_rpc_status.sh @@ -1,4 +1,20 @@ #!/usr/bin/env bash +# Copyright 2025 Steffen Smolka +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 + # # Updates proto/google/rpc/status.proto with the latest version from the # official upstream repository. diff --git a/py/pyproject.toml b/py/pyproject.toml index 993e0455..5367d237 100644 --- a/py/pyproject.toml +++ b/py/pyproject.toml @@ -1,3 +1,19 @@ +# Copyright 2022 Antonin Bas +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 + [build-system] requires = [ "setuptools", diff --git a/py/setup.py b/py/setup.py index 1abbd068..39bc471e 100644 --- a/py/setup.py +++ b/py/setup.py @@ -1,3 +1,19 @@ +# Copyright 2020 Yi Tseng +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 + import setuptools if __name__ == "__main__": diff --git a/rust/Cargo.toml b/rust/Cargo.toml index b9d070ea..e7bf1ae6 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -1,3 +1,19 @@ +# Copyright 2024 Campbell He +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 + [workspace] members = [ "p4runtime-prost", diff --git a/rust/p4runtime-prost/Cargo.toml b/rust/p4runtime-prost/Cargo.toml index 1ace394f..b8b1eee3 100644 --- a/rust/p4runtime-prost/Cargo.toml +++ b/rust/p4runtime-prost/Cargo.toml @@ -1,3 +1,19 @@ +# Copyright 2025 Steffen Smolka +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 + [package] name = "p4runtime-prost" version = "1.5.1-dev" diff --git a/rust/p4runtime-prost/build.rs b/rust/p4runtime-prost/build.rs index 3e2634f6..0926a637 100644 --- a/rust/p4runtime-prost/build.rs +++ b/rust/p4runtime-prost/build.rs @@ -1,3 +1,19 @@ +// Copyright 2025 Steffen Smolka +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 + use std::env; use std::path::PathBuf; diff --git a/rust/p4runtime-prost/src/lib.rs b/rust/p4runtime-prost/src/lib.rs index 364cbb2b..a4af67ab 100644 --- a/rust/p4runtime-prost/src/lib.rs +++ b/rust/p4runtime-prost/src/lib.rs @@ -1,3 +1,19 @@ +// Copyright 2025 Steffen Smolka +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 + use prost::Message; use prost_types::FileDescriptorSet; diff --git a/rust/p4runtime-tonic/Cargo.toml b/rust/p4runtime-tonic/Cargo.toml index 8de6051f..51906eb6 100644 --- a/rust/p4runtime-tonic/Cargo.toml +++ b/rust/p4runtime-tonic/Cargo.toml @@ -1,3 +1,19 @@ +# Copyright 2025 Steffen Smolka +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 + [package] name = "p4runtime-tonic" version = "1.5.0" diff --git a/rust/p4runtime-tonic/build.rs b/rust/p4runtime-tonic/build.rs index 97a4a9d6..5a08c2b8 100644 --- a/rust/p4runtime-tonic/build.rs +++ b/rust/p4runtime-tonic/build.rs @@ -1,3 +1,19 @@ +// Copyright 2025 Steffen Smolka +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 + use std::path::PathBuf; fn main() -> Result<(), Box> { diff --git a/rust/p4runtime-tonic/src/lib.rs b/rust/p4runtime-tonic/src/lib.rs index 4d8e017c..34093a67 100644 --- a/rust/p4runtime-tonic/src/lib.rs +++ b/rust/p4runtime-tonic/src/lib.rs @@ -1,3 +1,19 @@ +// Copyright 2025 Steffen Smolka +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 + /// The official Tonic API for all P4Runtime gRPC services, including clients and server code. pub mod p4 { pub mod v1 { diff --git a/tools/asciidoclint.py b/tools/asciidoclint.py index 3a8b31ae..c1d30134 100755 --- a/tools/asciidoclint.py +++ b/tools/asciidoclint.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -# Copyright 2024 +# Copyright 2024 Davide Scano # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -14,6 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # +# SPDX-License-Identifier: Apache-2.0 # DISCLAIMER: This is a work in progress. This linter was written specifically