Skip to content

Commit

Permalink
Update copyright header
Browse files Browse the repository at this point in the history
  • Loading branch information
louisroyer committed Dec 4, 2024
1 parent 40625c1 commit 06d1673
Show file tree
Hide file tree
Showing 65 changed files with 127 additions and 66 deletions.
3 changes: 2 additions & 1 deletion internal/app/api/registry.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// Copyright 2023 Louis Royer and the NextMN-SRv6 contributors. All rights reserved.
// Copyright 2023 Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
// SPDX-License-Identifier: MIT

package app_api

import (
Expand Down
3 changes: 2 additions & 1 deletion internal/app/registry.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// Copyright 2023 Louis Royer and the NextMN-SRv6 contributors. All rights reserved.
// Copyright 2023 Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
// SPDX-License-Identifier: MIT

package app

import (
Expand Down
3 changes: 2 additions & 1 deletion internal/app/setup.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// Copyright 2023 Louis Royer and the NextMN-SRv6 contributors. All rights reserved.
// Copyright 2023 Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
// SPDX-License-Identifier: MIT

package app

import (
Expand Down
3 changes: 2 additions & 1 deletion internal/config/behavior-options.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// Copyright 2023 Louis Royer and the NextMN-SRv6 contributors. All rights reserved.
// Copyright 2023 Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
// SPDX-License-Identifier: MIT

package config

type BehaviorOptions struct {
Expand Down
3 changes: 2 additions & 1 deletion internal/config/bsid.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// Copyright 2023 Louis Royer and the NextMN-SRv6 contributors. All rights reserved.
// Copyright 2023 Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
// SPDX-License-Identifier: MIT

package config

import (
Expand Down
2 changes: 1 addition & 1 deletion internal/config/config.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 Louis Royer and the NextMN-SRv6 contributors. All rights reserved.
// Copyright 2023 Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
// SPDX-License-Identifier: MIT
Expand Down
3 changes: 2 additions & 1 deletion internal/config/endpoint.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// Copyright 2023 Louis Royer and the NextMN-SRv6 contributors. All rights reserved.
// Copyright 2023 Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
// SPDX-License-Identifier: MIT

package config

import "github.com/nextmn/srv6/internal/iana"
Expand Down
3 changes: 2 additions & 1 deletion internal/config/headend-behavior.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// Copyright 2023 Louis Royer and the NextMN-SRv6 contributors. All rights reserved.
// Copyright 2023 Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
// SPDX-License-Identifier: MIT

package config

import (
Expand Down
3 changes: 2 additions & 1 deletion internal/config/headend.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// Copyright 2023 Louis Royer and the NextMN-SRv6 contributors. All rights reserved.
// Copyright 2023 Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
// SPDX-License-Identifier: MIT

package config

type Headend struct {
Expand Down
3 changes: 2 additions & 1 deletion internal/config/hooks.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// Copyright 2023 Louis Royer and the NextMN-SRv6 contributors. All rights reserved.
// Copyright 2023 Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
// SPDX-License-Identifier: MIT

package config

type Hooks struct {
Expand Down
3 changes: 2 additions & 1 deletion internal/config/logger.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// Copyright 2024 Louis Royer and the NextMN-SRv6 contributors. All rights reserved.
// Copyright 2024 Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
// SPDX-License-Identifier: MIT

package config

import "github.com/sirupsen/logrus"
Expand Down
3 changes: 2 additions & 1 deletion internal/config/match.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// Copyright 2023 Louis Royer and the NextMN-SRv6 contributors. All rights reserved.
// Copyright 2023 Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
// SPDX-License-Identifier: MIT

package config

type Match struct {
Expand Down
3 changes: 2 additions & 1 deletion internal/config/policy.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// Copyright 2023 Louis Royer and the NextMN-SRv6 contributors. All rights reserved.
// Copyright 2023 Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
// SPDX-License-Identifier: MIT

package config

type Policy struct {
Expand Down
3 changes: 2 additions & 1 deletion internal/config/provider.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// Copyright 2023 Louis Royer and the NextMN-SRv6 contributors. All rights reserved.
// Copyright 2023 Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
// SPDX-License-Identifier: MIT

package config

import (
Expand Down
3 changes: 2 additions & 1 deletion internal/constants/constants.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// Copyright 2023 Louis Royer and the NextMN-SRv6 contributors. All rights reserved.
// Copyright 2023 Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
// SPDX-License-Identifier: MIT

package constants

// ports
Expand Down
3 changes: 2 additions & 1 deletion internal/ctrl/api/rules-registry-http.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// Copyright 2024 Louis Royer and the NextMN-SRv6 contributors. All rights reserved.
// Copyright 2024 Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
// SPDX-License-Identifier: MIT

package ctrl_api

import (
Expand Down
3 changes: 2 additions & 1 deletion internal/ctrl/controller-registry.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// Copyright 2023 Louis Royer and the NextMN-SRv6 contributors. All rights reserved.
// Copyright 2023 Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
// SPDX-License-Identifier: MIT

package ctrl

import (
Expand Down
3 changes: 2 additions & 1 deletion internal/ctrl/rules-registry.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// Copyright 2024 Louis Royer and the NextMN-SRv6 contributors. All rights reserved.
// Copyright 2024 Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
// SPDX-License-Identifier: MIT

package ctrl

import (
Expand Down
3 changes: 2 additions & 1 deletion internal/database/api/downlink.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// Copyright 2024 Louis Royer and the NextMN-SRv6 contributors. All rights reserved.
// Copyright 2024 Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
// SPDX-License-Identifier: MIT

package database_api

import (
Expand Down
3 changes: 2 additions & 1 deletion internal/database/api/uplink.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// Copyright 2024 Louis Royer and the NextMN-SRv6 contributors. All rights reserved.
// Copyright 2024 Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
// SPDX-License-Identifier: MIT

package database_api

import (
Expand Down
3 changes: 2 additions & 1 deletion internal/database/database.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// Copyright 2024 Louis Royer and the NextMN-SRv6 contributors. All rights reserved.
// Copyright 2024 Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
// SPDX-License-Identifier: MIT

package database

import (
Expand Down
2 changes: 1 addition & 1 deletion internal/database/database.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-- Copyright 2024 Louis Royer and the NextMN-SRv6 contributors. All rights reserved.
-- Copyright 2024 Louis Royer and the NextMN contributors. All rights reserved.
-- Use of this source code is governed by a MIT-style license that can be
-- SPDX-License-Identifier: MIT
CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
Expand Down
2 changes: 1 addition & 1 deletion internal/database/database_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions internal/database/gen.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
//go:build ignore

// Copyright 2024 Louis Royer and the NextMN-SRv6 contributors. All rights reserved.
// Copyright 2024 Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.

package main

import (
Expand Down Expand Up @@ -47,7 +48,7 @@ func main() {
panic(err)
}
licence := `
// Copyright 2024 Louis Royer and the NextMN-SRv6 contributors. All rights reserved.
// Copyright 2024 Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
Expand Down
3 changes: 2 additions & 1 deletion internal/iana/srv6-endpoint-behaviors-registry.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// Copyright 2023 Louis Royer and the NextMN-SRv6 contributors. All rights reserved.
// Copyright 2023 Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
// SPDX-License-Identifier: MIT

package iana

import (
Expand Down
3 changes: 2 additions & 1 deletion internal/iproute2/api/iface.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// Copyright 2023 Louis Royer and the NextMN-SRv6 contributors. All rights reserved.
// Copyright 2023 Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
// SPDX-License-Identifier: MIT

package iproute2_api

type Iface interface {
Expand Down
3 changes: 2 additions & 1 deletion internal/iproute2/dummy-iface.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// Copyright 2023 Louis Royer and the NextMN-SRv6 contributors. All rights reserved.
// Copyright 2023 Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
// SPDX-License-Identifier: MIT

package iproute2

// IPRoute2 Dummy interface
Expand Down
3 changes: 2 additions & 1 deletion internal/iproute2/table.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// Copyright 2023 Louis Royer and the NextMN-SRv6 contributors. All rights reserved.
// Copyright 2023 Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
// SPDX-License-Identifier: MIT

package iproute2

import "github.com/nextmn/srv6/internal/iana"
Expand Down
3 changes: 2 additions & 1 deletion internal/iproute2/tun-iface.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// Copyright 2023 Louis Royer and the NextMN-SRv6 contributors. All rights reserved.
// Copyright 2023 Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
// SPDX-License-Identifier: MIT

package iproute2

import (
Expand Down
3 changes: 2 additions & 1 deletion internal/iproute2/utils.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// Copyright 2023 Louis Royer and the NextMN-SRv6 contributors. All rights reserved.
// Copyright 2023 Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
// SPDX-License-Identifier: MIT

package iproute2

import (
Expand Down
3 changes: 2 additions & 1 deletion internal/netfunc/api/handler.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// Copyright 2023 Louis Royer and the NextMN-SRv6 contributors. All rights reserved.
// Copyright 2023 Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
// SPDX-License-Identifier: MIT

package netfunc

import "context"
Expand Down
3 changes: 2 additions & 1 deletion internal/netfunc/api/netfunc.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// Copyright 2023 Louis Royer and the NextMN-SRv6 contributors. All rights reserved.
// Copyright 2023 Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
// SPDX-License-Identifier: MIT

package netfunc

import (
Expand Down
3 changes: 2 additions & 1 deletion internal/netfunc/base-handler.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// Copyright 2023 Louis Royer and the NextMN-SRv6 contributors. All rights reserved.
// Copyright 2023 Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
// SPDX-License-Identifier: MIT

package netfunc

import (
Expand Down
3 changes: 2 additions & 1 deletion internal/netfunc/endpoint-m-gtp4-e.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// Copyright 2023 Louis Royer and the NextMN-SRv6 contributors. All rights reserved.
// Copyright 2023 Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
// SPDX-License-Identifier: MIT

package netfunc

import (
Expand Down
3 changes: 2 additions & 1 deletion internal/netfunc/endpoint.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// Copyright 2023 Louis Royer and the NextMN-SRv6 contributors. All rights reserved.
// Copyright 2023 Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
// SPDX-License-Identifier: MIT

package netfunc

import (
Expand Down
3 changes: 2 additions & 1 deletion internal/netfunc/headend-ctrl.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// Copyright 2023 Louis Royer and the NextMN-SRv6 contributors. All rights reserved.
// Copyright 2023 Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
// SPDX-License-Identifier: MIT

package netfunc

import (
Expand Down
3 changes: 2 additions & 1 deletion internal/netfunc/headend-encaps-ctrl.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// Copyright 2023 Louis Royer and the NextMN-SRv6 contributors. All rights reserved.
// Copyright 2023 Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
// SPDX-License-Identifier: MIT

package netfunc

import (
Expand Down
3 changes: 2 additions & 1 deletion internal/netfunc/headend-gtp4-ctrl.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// Copyright 2023 Louis Royer and the NextMN-SRv6 contributors. All rights reserved.
// Copyright 2023 Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
// SPDX-License-Identifier: MIT

package netfunc

import (
Expand Down
3 changes: 2 additions & 1 deletion internal/netfunc/headend-gtp4.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// Copyright 2023 Louis Royer and the NextMN-SRv6 contributors. All rights reserved.
// Copyright 2023 Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
// SPDX-License-Identifier: MIT

package netfunc

import (
Expand Down
3 changes: 2 additions & 1 deletion internal/netfunc/headend.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// Copyright 2023 Louis Royer and the NextMN-SRv6 contributors. All rights reserved.
// Copyright 2023 Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
// SPDX-License-Identifier: MIT

package netfunc

import (
Expand Down
Loading

0 comments on commit 06d1673

Please sign in to comment.