From 90ae5494bba9800ce6e532e2e9e77121783931fc Mon Sep 17 00:00:00 2001 From: Alejandro Tjaarda <alexdecb@yahoo.es> Date: Thu, 3 Oct 2024 19:39:44 +0000 Subject: [PATCH] repo: added license to all files --- Dockerfile | 14 ++++++++++ Makefile | 20 +++++++++++++ api/v1/groupversion_info.go | 28 +++++++++---------- api/v1/l2network_types.go | 28 +++++++++---------- api/v1/networkedgedevice_types.go | 28 +++++++++---------- api/v1/overlay_types.go | 28 +++++++++---------- api/v1/zz_generated.deepcopy.go | 28 +++++++++---------- cmd/main.go | 28 +++++++++---------- config/certmanager/certificate.yaml | 14 ++++++++++ config/certmanager/kustomization.yaml | 14 ++++++++++ config/certmanager/kustomizeconfig.yaml | 14 ++++++++++ .../bases/l2sm.l2sm.k8s.local_l2networks.yaml | 14 ++++++++++ ...2sm.l2sm.k8s.local_networkedgedevices.yaml | 14 ++++++++++ .../bases/l2sm.l2sm.k8s.local_overlays.yaml | 14 ++++++++++ config/crd/kustomization.yaml | 14 ++++++++++ config/crd/kustomizeconfig.yaml | 14 ++++++++++ config/default/kustomization.yaml | 14 ++++++++++ config/default/manager_auth_proxy_patch.yaml | 14 ++++++++++ config/default/manager_config_patch.yaml | 14 ++++++++++ config/default/manager_webhook_patch.yaml | 14 ++++++++++ config/default/webhookcainjection_patch.yaml | 14 ++++++++++ config/dev/kustomization.yaml | 14 ++++++++++ config/dev/webhookcainjection_patch.yaml | 14 ++++++++++ config/manager/kustomization.yaml | 14 ++++++++++ config/manager/manager.yaml | 14 ++++++++++ config/prometheus/kustomization.yaml | 14 ++++++++++ config/prometheus/monitor.yaml | 14 ++++++++++ .../rbac/auth_proxy_client_clusterrole.yaml | 14 ++++++++++ config/rbac/auth_proxy_role.yaml | 14 ++++++++++ config/rbac/auth_proxy_role_binding.yaml | 14 ++++++++++ config/rbac/auth_proxy_service.yaml | 14 ++++++++++ config/rbac/kustomization.yaml | 14 ++++++++++ config/rbac/l2overlay_editor_role.yaml | 14 ++++++++++ config/rbac/l2smmdnoverlay_viewer_role.yaml | 14 ++++++++++ config/rbac/l2smnetwork_editor_role.yaml | 14 ++++++++++ config/rbac/l2smnetwork_viewer_role.yaml | 14 ++++++++++ config/rbac/l2smoverlay_viewer_role.yaml | 14 ++++++++++ config/rbac/leader_election_role.yaml | 14 ++++++++++ config/rbac/leader_election_role_binding.yaml | 14 ++++++++++ config/rbac/overlay_editor_role.yaml | 14 ++++++++++ config/rbac/overlay_viewer_role.yaml | 14 ++++++++++ config/rbac/role.yaml | 14 ++++++++++ config/rbac/role_binding.yaml | 14 ++++++++++ config/rbac/service_account.yaml | 14 ++++++++++ config/samples/kustomization.yaml | 14 ++++++++++ config/samples/l2sm_v1_l2network.yaml | 14 ++++++++++ config/samples/l2sm_v1_networkedgedevice.yaml | 14 ++++++++++ config/samples/l2sm_v1_overlay.yaml | 14 ++++++++++ config/sdncontroller/kustomization.yaml | 14 ++++++++++ config/sdncontroller/manifests.yaml | 14 ++++++++++ config/sdncontroller/service.yaml | 14 ++++++++++ config/tmp/kustomization.yaml | 14 ++++++++++ config/tmp/vhost1.yaml | 14 ++++++++++ config/tmp/vhost10.yaml | 14 ++++++++++ config/tmp/vhost2.yaml | 14 ++++++++++ config/tmp/vhost3.yaml | 14 ++++++++++ config/tmp/vhost4.yaml | 14 ++++++++++ config/tmp/vhost5.yaml | 14 ++++++++++ config/tmp/vhost6.yaml | 14 ++++++++++ config/tmp/vhost7.yaml | 14 ++++++++++ config/tmp/vhost8.yaml | 14 ++++++++++ config/tmp/vhost9.yaml | 14 ++++++++++ config/webhook/kustomization.yaml | 14 ++++++++++ config/webhook/kustomizeconfig.yaml | 14 ++++++++++ config/webhook/manifests.yaml | 14 ++++++++++ config/webhook/service.yaml | 14 ++++++++++ deployments/l2sm-deployment.yaml | 14 ++++++++++ examples/cdn/cdn-server.yaml | 14 ++++++++++ examples/cdn/content-server.yaml | 14 ++++++++++ examples/cdn/router.yaml | 14 ++++++++++ examples/cdn/v-network-1.yaml | 14 ++++++++++ examples/cdn/v-network-2.yaml | 14 ++++++++++ examples/cdn/video-server/Dockerfile | 14 ++++++++++ examples/inter-cluster-setup/example-ned.yaml | 14 ++++++++++ .../inter-cluster-setup/inter-network.yaml | 14 ++++++++++ examples/inter-cluster-setup/ping.yaml | 14 ++++++++++ examples/inter-cluster-setup/pong.yaml | 14 ++++++++++ examples/overlay-setup/overlay-sample.yaml | 14 ++++++++++ examples/ping-pong/network.yaml | 14 ++++++++++ examples/ping-pong/ping.yaml | 14 ++++++++++ examples/ping-pong/pong.yaml | 14 ++++++++++ examples/vlink/ping.yaml | 14 ++++++++++ examples/vlink/pong.yaml | 14 ++++++++++ examples/vlink/vlink-sample.yaml | 14 ++++++++++ hack/LICENSE.txt | 13 +++++++++ hack/boilerplate.go.txt | 28 +++++++++---------- internal/controller/l2network_controller.go | 28 +++++++++---------- .../controller/l2network_controller_test.go | 28 +++++++++---------- .../networkedgedevice_controller.go | 28 +++++++++---------- .../networkedgedevice_controller_test.go | 28 +++++++++---------- internal/controller/overlay_controller.go | 28 +++++++++---------- .../controller/overlay_controller_test.go | 28 +++++++++---------- internal/controller/pod_controller.go | 28 +++++++++---------- internal/controller/pod_utils.go | 14 ++++++++++ internal/controller/pod_webhook.go | 14 ++++++++++ internal/controller/suite_test.go | 28 +++++++++---------- internal/nedinterface/nedinterface.go | 14 ++++++++++ internal/sdnclient/client.go | 14 ++++++++++ internal/sdnclient/external_client.go | 14 ++++++++++ internal/sdnclient/internal_client.go | 14 ++++++++++ internal/sdnclient/session_client.go | 14 ++++++++++ internal/utils/utils.go | 14 ++++++++++ test/e2e/e2e_suite_test.go | 28 +++++++++---------- test/e2e/e2e_test.go | 28 +++++++++---------- test/utils/utils.go | 28 +++++++++---------- 105 files changed, 1457 insertions(+), 270 deletions(-) create mode 100644 hack/LICENSE.txt diff --git a/Dockerfile b/Dockerfile index fa0ed5d..d1dd039 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + # Build the manager binary FROM golang:1.21 AS builder ARG TARGETOS diff --git a/Makefile b/Makefile index 4341568..ebd41f4 100644 --- a/Makefile +++ b/Makefile @@ -22,6 +22,8 @@ CONTAINER_TOOL ?= sudo docker SHELL = /usr/bin/env bash -o pipefail .SHELLFLAGS = -ec +REPOSITORY=L2S-M + .PHONY: all all: build @@ -182,6 +184,22 @@ undeploy-dev: kustomize ## Undeploy validating and mutating webhooks from the K8 $(KUSTOMIZE) build config/dev | $(KUBECTL) delete --ignore-not-found=$(ignore-not-found) -f - +# Define file extensions for various formats +FILES := $(shell find . -type f \( -name "*.go" -o -name "*.json" -o -name "*.yaml" -o -name "*.yml" -o -name "*.md" \)) + +# Install the addlicense tool if not installed +.PHONY: install-tools +install-tools: + @go install github.com/google/addlicense@latest + +# Add license headers to the files +.PHONY: add-license +add-license: install-tools + @for file in $(FILES); do \ + addlicense -f ./hack/LICENSE.txt -l apache "$${file}"; \ + done + + ##@ Dependencies ## Location to install dependencies to @@ -222,6 +240,7 @@ golangci-lint: $(GOLANGCI_LINT) ## Download golangci-lint locally if necessary. $(GOLANGCI_LINT): $(LOCALBIN) $(call go-install-tool,$(GOLANGCI_LINT),github.com/golangci/golangci-lint/cmd/golangci-lint,${GOLANGCI_LINT_VERSION}) + # go-install-tool will 'go install' any package with custom target and name of binary, if it doesn't exist # $1 - target path with name of binary (ideally with version) # $2 - package url which can be installed @@ -235,3 +254,4 @@ GOBIN=$(LOCALBIN) go install $${package} ;\ mv "$$(echo "$(1)" | sed "s/-$(3)$$//")" $(1) ;\ } endef + diff --git a/api/v1/groupversion_info.go b/api/v1/groupversion_info.go index 117c5a8..84e2a29 100644 --- a/api/v1/groupversion_info.go +++ b/api/v1/groupversion_info.go @@ -1,18 +1,16 @@ -/* -Copyright 2024. - -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. -*/ +// Copyright 2024 Universidad Carlos III de Madrid +// +// 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. // Package v1 contains API Schema definitions for the l2sm v1 API group // +kubebuilder:object:generate=true diff --git a/api/v1/l2network_types.go b/api/v1/l2network_types.go index 74536b4..6645b79 100644 --- a/api/v1/l2network_types.go +++ b/api/v1/l2network_types.go @@ -1,18 +1,16 @@ -/* -Copyright 2024. - -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. -*/ +// Copyright 2024 Universidad Carlos III de Madrid +// +// 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. package v1 diff --git a/api/v1/networkedgedevice_types.go b/api/v1/networkedgedevice_types.go index 8ce50c4..c7f9c18 100644 --- a/api/v1/networkedgedevice_types.go +++ b/api/v1/networkedgedevice_types.go @@ -1,18 +1,16 @@ -/* -Copyright 2024. - -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. -*/ +// Copyright 2024 Universidad Carlos III de Madrid +// +// 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. package v1 diff --git a/api/v1/overlay_types.go b/api/v1/overlay_types.go index 9af3a45..191aaf3 100644 --- a/api/v1/overlay_types.go +++ b/api/v1/overlay_types.go @@ -1,18 +1,16 @@ -/* -Copyright 2024. - -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. -*/ +// Copyright 2024 Universidad Carlos III de Madrid +// +// 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. package v1 diff --git a/api/v1/zz_generated.deepcopy.go b/api/v1/zz_generated.deepcopy.go index 0377207..deb5ad3 100644 --- a/api/v1/zz_generated.deepcopy.go +++ b/api/v1/zz_generated.deepcopy.go @@ -1,20 +1,18 @@ //go:build !ignore_autogenerated -/* -Copyright 2024. - -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. -*/ +// Copyright 2024 Universidad Carlos III de Madrid +// +// 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. // Code generated by controller-gen. DO NOT EDIT. diff --git a/cmd/main.go b/cmd/main.go index 1d9f621..25b2c4e 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -1,18 +1,16 @@ -/* -Copyright 2024. - -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. -*/ +// Copyright 2024 Universidad Carlos III de Madrid +// +// 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. package main diff --git a/config/certmanager/certificate.yaml b/config/certmanager/certificate.yaml index 71d942d..ab6227c 100644 --- a/config/certmanager/certificate.yaml +++ b/config/certmanager/certificate.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + # The following manifests contain a self-signed issuer CR and a certificate CR. # More document can be found at https://docs.cert-manager.io # WARNING: Targets CertManager v1.0. Check https://cert-manager.io/docs/installation/upgrading/ for breaking changes. diff --git a/config/certmanager/kustomization.yaml b/config/certmanager/kustomization.yaml index bebea5a..9ed8178 100644 --- a/config/certmanager/kustomization.yaml +++ b/config/certmanager/kustomization.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + resources: - certificate.yaml diff --git a/config/certmanager/kustomizeconfig.yaml b/config/certmanager/kustomizeconfig.yaml index cf6f89e..f5b004f 100644 --- a/config/certmanager/kustomizeconfig.yaml +++ b/config/certmanager/kustomizeconfig.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + # This configuration is for teaching kustomize how to update name ref substitution nameReference: - kind: Issuer diff --git a/config/crd/bases/l2sm.l2sm.k8s.local_l2networks.yaml b/config/crd/bases/l2sm.l2sm.k8s.local_l2networks.yaml index d471460..d0ea7de 100644 --- a/config/crd/bases/l2sm.l2sm.k8s.local_l2networks.yaml +++ b/config/crd/bases/l2sm.l2sm.k8s.local_l2networks.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition diff --git a/config/crd/bases/l2sm.l2sm.k8s.local_networkedgedevices.yaml b/config/crd/bases/l2sm.l2sm.k8s.local_networkedgedevices.yaml index 03cb298..006ffba 100644 --- a/config/crd/bases/l2sm.l2sm.k8s.local_networkedgedevices.yaml +++ b/config/crd/bases/l2sm.l2sm.k8s.local_networkedgedevices.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition diff --git a/config/crd/bases/l2sm.l2sm.k8s.local_overlays.yaml b/config/crd/bases/l2sm.l2sm.k8s.local_overlays.yaml index 28e1947..e2c5e85 100644 --- a/config/crd/bases/l2sm.l2sm.k8s.local_overlays.yaml +++ b/config/crd/bases/l2sm.l2sm.k8s.local_overlays.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition diff --git a/config/crd/kustomization.yaml b/config/crd/kustomization.yaml index ea3e486..4d89c69 100644 --- a/config/crd/kustomization.yaml +++ b/config/crd/kustomization.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + # This kustomization.yaml is not intended to be run by itself, # since it depends on service name and namespace that are out of this kustomize package. # It should be run by config/default diff --git a/config/crd/kustomizeconfig.yaml b/config/crd/kustomizeconfig.yaml index ec5c150..f852d19 100644 --- a/config/crd/kustomizeconfig.yaml +++ b/config/crd/kustomizeconfig.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + # This file is for teaching kustomize how to substitute name and namespace reference in CRD nameReference: - kind: Service diff --git a/config/default/kustomization.yaml b/config/default/kustomization.yaml index e155b41..50bdc2f 100644 --- a/config/default/kustomization.yaml +++ b/config/default/kustomization.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + # Adds namespace to all resources. namespace: l2sm-system diff --git a/config/default/manager_auth_proxy_patch.yaml b/config/default/manager_auth_proxy_patch.yaml index 70c3437..38276e4 100644 --- a/config/default/manager_auth_proxy_patch.yaml +++ b/config/default/manager_auth_proxy_patch.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + # This patch inject a sidecar container which is a HTTP proxy for the # controller manager, it performs RBAC authorization against the Kubernetes API using SubjectAccessReviews. apiVersion: apps/v1 diff --git a/config/default/manager_config_patch.yaml b/config/default/manager_config_patch.yaml index f6f5891..ee4b754 100644 --- a/config/default/manager_config_patch.yaml +++ b/config/default/manager_config_patch.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + apiVersion: apps/v1 kind: Deployment metadata: diff --git a/config/default/manager_webhook_patch.yaml b/config/default/manager_webhook_patch.yaml index 738de35..0060c90 100644 --- a/config/default/manager_webhook_patch.yaml +++ b/config/default/manager_webhook_patch.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + apiVersion: apps/v1 kind: Deployment metadata: diff --git a/config/default/webhookcainjection_patch.yaml b/config/default/webhookcainjection_patch.yaml index 430e24a..6e177fd 100644 --- a/config/default/webhookcainjection_patch.yaml +++ b/config/default/webhookcainjection_patch.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + # This patch add annotation to admission webhook config and # CERTIFICATE_NAMESPACE and CERTIFICATE_NAME will be substituted by kustomize apiVersion: admissionregistration.k8s.io/v1 diff --git a/config/dev/kustomization.yaml b/config/dev/kustomization.yaml index 1b5adc4..5b65a64 100644 --- a/config/dev/kustomization.yaml +++ b/config/dev/kustomization.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + # # Adds namespace to all resources. #namespace: l2sm-system diff --git a/config/dev/webhookcainjection_patch.yaml b/config/dev/webhookcainjection_patch.yaml index 963e835..0f98e68 100644 --- a/config/dev/webhookcainjection_patch.yaml +++ b/config/dev/webhookcainjection_patch.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + apiVersion: admissionregistration.k8s.io/v1 kind: MutatingWebhookConfiguration metadata: diff --git a/config/manager/kustomization.yaml b/config/manager/kustomization.yaml index 6ca6a37..aaf2697 100644 --- a/config/manager/kustomization.yaml +++ b/config/manager/kustomization.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + resources: - manager.yaml apiVersion: kustomize.config.k8s.io/v1beta1 diff --git a/config/manager/manager.yaml b/config/manager/manager.yaml index 2093a3f..40b53d3 100644 --- a/config/manager/manager.yaml +++ b/config/manager/manager.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + apiVersion: v1 kind: Namespace metadata: diff --git a/config/prometheus/kustomization.yaml b/config/prometheus/kustomization.yaml index ed13716..dc2d0e5 100644 --- a/config/prometheus/kustomization.yaml +++ b/config/prometheus/kustomization.yaml @@ -1,2 +1,16 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + resources: - monitor.yaml diff --git a/config/prometheus/monitor.yaml b/config/prometheus/monitor.yaml index ffdd827..d92d95f 100644 --- a/config/prometheus/monitor.yaml +++ b/config/prometheus/monitor.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + # Prometheus Monitor Service (Metrics) apiVersion: monitoring.coreos.com/v1 kind: ServiceMonitor diff --git a/config/rbac/auth_proxy_client_clusterrole.yaml b/config/rbac/auth_proxy_client_clusterrole.yaml index bdd10d3..e937328 100644 --- a/config/rbac/auth_proxy_client_clusterrole.yaml +++ b/config/rbac/auth_proxy_client_clusterrole.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: diff --git a/config/rbac/auth_proxy_role.yaml b/config/rbac/auth_proxy_role.yaml index 9f5c3cb..872af57 100644 --- a/config/rbac/auth_proxy_role.yaml +++ b/config/rbac/auth_proxy_role.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: diff --git a/config/rbac/auth_proxy_role_binding.yaml b/config/rbac/auth_proxy_role_binding.yaml index 6b9a1ff..a5212a1 100644 --- a/config/rbac/auth_proxy_role_binding.yaml +++ b/config/rbac/auth_proxy_role_binding.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: diff --git a/config/rbac/auth_proxy_service.yaml b/config/rbac/auth_proxy_service.yaml index 447e07e..23237ce 100644 --- a/config/rbac/auth_proxy_service.yaml +++ b/config/rbac/auth_proxy_service.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + apiVersion: v1 kind: Service metadata: diff --git a/config/rbac/kustomization.yaml b/config/rbac/kustomization.yaml index 731832a..ea304e1 100644 --- a/config/rbac/kustomization.yaml +++ b/config/rbac/kustomization.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + resources: # All RBAC will be applied under this service account in # the deployment namespace. You may comment out this resource diff --git a/config/rbac/l2overlay_editor_role.yaml b/config/rbac/l2overlay_editor_role.yaml index f9f8b32..7773329 100644 --- a/config/rbac/l2overlay_editor_role.yaml +++ b/config/rbac/l2overlay_editor_role.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + # permissions for end users to edit networkedgedevices. apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole diff --git a/config/rbac/l2smmdnoverlay_viewer_role.yaml b/config/rbac/l2smmdnoverlay_viewer_role.yaml index a5e62da..b34c34f 100644 --- a/config/rbac/l2smmdnoverlay_viewer_role.yaml +++ b/config/rbac/l2smmdnoverlay_viewer_role.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + # permissions for end users to view networkedgedevices. apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole diff --git a/config/rbac/l2smnetwork_editor_role.yaml b/config/rbac/l2smnetwork_editor_role.yaml index 93b25a8..cf921ff 100644 --- a/config/rbac/l2smnetwork_editor_role.yaml +++ b/config/rbac/l2smnetwork_editor_role.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + # permissions for end users to edit l2networks. apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole diff --git a/config/rbac/l2smnetwork_viewer_role.yaml b/config/rbac/l2smnetwork_viewer_role.yaml index 88d1a63..8995b66 100644 --- a/config/rbac/l2smnetwork_viewer_role.yaml +++ b/config/rbac/l2smnetwork_viewer_role.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + # permissions for end users to view l2networks. apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole diff --git a/config/rbac/l2smoverlay_viewer_role.yaml b/config/rbac/l2smoverlay_viewer_role.yaml index a5e62da..b34c34f 100644 --- a/config/rbac/l2smoverlay_viewer_role.yaml +++ b/config/rbac/l2smoverlay_viewer_role.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + # permissions for end users to view networkedgedevices. apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole diff --git a/config/rbac/leader_election_role.yaml b/config/rbac/leader_election_role.yaml index e5c7c75..b49417f 100644 --- a/config/rbac/leader_election_role.yaml +++ b/config/rbac/leader_election_role.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + # permissions to do leader election. apiVersion: rbac.authorization.k8s.io/v1 kind: Role diff --git a/config/rbac/leader_election_role_binding.yaml b/config/rbac/leader_election_role_binding.yaml index 4abffc9..c6efb60 100644 --- a/config/rbac/leader_election_role_binding.yaml +++ b/config/rbac/leader_election_role_binding.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: diff --git a/config/rbac/overlay_editor_role.yaml b/config/rbac/overlay_editor_role.yaml index 977e8a8..f43697b 100644 --- a/config/rbac/overlay_editor_role.yaml +++ b/config/rbac/overlay_editor_role.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + # permissions for end users to edit overlays. apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole diff --git a/config/rbac/overlay_viewer_role.yaml b/config/rbac/overlay_viewer_role.yaml index d71fbdf..c2e992a 100644 --- a/config/rbac/overlay_viewer_role.yaml +++ b/config/rbac/overlay_viewer_role.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + # permissions for end users to view overlays. apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole diff --git a/config/rbac/role.yaml b/config/rbac/role.yaml index 2d0b278..41f6e90 100644 --- a/config/rbac/role.yaml +++ b/config/rbac/role.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole diff --git a/config/rbac/role_binding.yaml b/config/rbac/role_binding.yaml index a315f59..266ef59 100644 --- a/config/rbac/role_binding.yaml +++ b/config/rbac/role_binding.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: diff --git a/config/rbac/service_account.yaml b/config/rbac/service_account.yaml index 3304d24..1791cb2 100644 --- a/config/rbac/service_account.yaml +++ b/config/rbac/service_account.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + apiVersion: v1 kind: ServiceAccount metadata: diff --git a/config/samples/kustomization.yaml b/config/samples/kustomization.yaml index bc4c61e..8d15b7b 100644 --- a/config/samples/kustomization.yaml +++ b/config/samples/kustomization.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + ## Append samples of your project ## resources: - l2sm_v1_l2network.yaml diff --git a/config/samples/l2sm_v1_l2network.yaml b/config/samples/l2sm_v1_l2network.yaml index 073d66e..909e433 100644 --- a/config/samples/l2sm_v1_l2network.yaml +++ b/config/samples/l2sm_v1_l2network.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + apiVersion: l2sm.l2sm.k8s.local/v1 kind: L2Network metadata: diff --git a/config/samples/l2sm_v1_networkedgedevice.yaml b/config/samples/l2sm_v1_networkedgedevice.yaml index 38ed969..6be3cca 100644 --- a/config/samples/l2sm_v1_networkedgedevice.yaml +++ b/config/samples/l2sm_v1_networkedgedevice.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + apiVersion: l2sm.l2sm.k8s.local/v1 kind: NetworkEdgeDevice metadata: diff --git a/config/samples/l2sm_v1_overlay.yaml b/config/samples/l2sm_v1_overlay.yaml index 1725911..8df97f3 100644 --- a/config/samples/l2sm_v1_overlay.yaml +++ b/config/samples/l2sm_v1_overlay.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + apiVersion: l2sm.l2sm.k8s.local/v1 kind: Overlay metadata: diff --git a/config/sdncontroller/kustomization.yaml b/config/sdncontroller/kustomization.yaml index 33699b3..5350348 100644 --- a/config/sdncontroller/kustomization.yaml +++ b/config/sdncontroller/kustomization.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + resources: - manifests.yaml - service.yaml \ No newline at end of file diff --git a/config/sdncontroller/manifests.yaml b/config/sdncontroller/manifests.yaml index c59d090..bdea6e3 100644 --- a/config/sdncontroller/manifests.yaml +++ b/config/sdncontroller/manifests.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + apiVersion: apps/v1 kind: Deployment metadata: diff --git a/config/sdncontroller/service.yaml b/config/sdncontroller/service.yaml index aedbfc4..d025982 100644 --- a/config/sdncontroller/service.yaml +++ b/config/sdncontroller/service.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + apiVersion: v1 kind: Service metadata: diff --git a/config/tmp/kustomization.yaml b/config/tmp/kustomization.yaml index 2d3fbf2..a9303b4 100644 --- a/config/tmp/kustomization.yaml +++ b/config/tmp/kustomization.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + namespace: l2sm-system resources: - vhost1.yaml diff --git a/config/tmp/vhost1.yaml b/config/tmp/vhost1.yaml index 35ec50b..1d2e76d 100644 --- a/config/tmp/vhost1.yaml +++ b/config/tmp/vhost1.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + apiVersion: "k8s.cni.cncf.io/v1" kind: NetworkAttachmentDefinition diff --git a/config/tmp/vhost10.yaml b/config/tmp/vhost10.yaml index 4937c12..ba43d7f 100644 --- a/config/tmp/vhost10.yaml +++ b/config/tmp/vhost10.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + apiVersion: "k8s.cni.cncf.io/v1" kind: NetworkAttachmentDefinition diff --git a/config/tmp/vhost2.yaml b/config/tmp/vhost2.yaml index cb536e6..49d690a 100644 --- a/config/tmp/vhost2.yaml +++ b/config/tmp/vhost2.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + apiVersion: "k8s.cni.cncf.io/v1" kind: NetworkAttachmentDefinition diff --git a/config/tmp/vhost3.yaml b/config/tmp/vhost3.yaml index e9895a6..32231b4 100644 --- a/config/tmp/vhost3.yaml +++ b/config/tmp/vhost3.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + apiVersion: "k8s.cni.cncf.io/v1" kind: NetworkAttachmentDefinition diff --git a/config/tmp/vhost4.yaml b/config/tmp/vhost4.yaml index c78bb1d..8738478 100644 --- a/config/tmp/vhost4.yaml +++ b/config/tmp/vhost4.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + apiVersion: "k8s.cni.cncf.io/v1" kind: NetworkAttachmentDefinition diff --git a/config/tmp/vhost5.yaml b/config/tmp/vhost5.yaml index 624a4e0..44c449e 100644 --- a/config/tmp/vhost5.yaml +++ b/config/tmp/vhost5.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + apiVersion: "k8s.cni.cncf.io/v1" kind: NetworkAttachmentDefinition diff --git a/config/tmp/vhost6.yaml b/config/tmp/vhost6.yaml index 2de8c5a..4deed49 100644 --- a/config/tmp/vhost6.yaml +++ b/config/tmp/vhost6.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + apiVersion: "k8s.cni.cncf.io/v1" kind: NetworkAttachmentDefinition diff --git a/config/tmp/vhost7.yaml b/config/tmp/vhost7.yaml index f4d707b..b5e2022 100644 --- a/config/tmp/vhost7.yaml +++ b/config/tmp/vhost7.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + apiVersion: "k8s.cni.cncf.io/v1" kind: NetworkAttachmentDefinition diff --git a/config/tmp/vhost8.yaml b/config/tmp/vhost8.yaml index 2369034..b05b60f 100644 --- a/config/tmp/vhost8.yaml +++ b/config/tmp/vhost8.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + apiVersion: "k8s.cni.cncf.io/v1" kind: NetworkAttachmentDefinition diff --git a/config/tmp/vhost9.yaml b/config/tmp/vhost9.yaml index b2a6f9b..6e9f277 100644 --- a/config/tmp/vhost9.yaml +++ b/config/tmp/vhost9.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + apiVersion: "k8s.cni.cncf.io/v1" kind: NetworkAttachmentDefinition diff --git a/config/webhook/kustomization.yaml b/config/webhook/kustomization.yaml index 9cf2613..68193e6 100644 --- a/config/webhook/kustomization.yaml +++ b/config/webhook/kustomization.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + resources: - manifests.yaml - service.yaml diff --git a/config/webhook/kustomizeconfig.yaml b/config/webhook/kustomizeconfig.yaml index 02ea918..e9f56f8 100644 --- a/config/webhook/kustomizeconfig.yaml +++ b/config/webhook/kustomizeconfig.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + # the following config is for teaching kustomize where to look at when substituting nameReference. # It requires kustomize v2.1.0 or newer to work properly. nameReference: diff --git a/config/webhook/manifests.yaml b/config/webhook/manifests.yaml index b3c7ff9..eaefcbf 100644 --- a/config/webhook/manifests.yaml +++ b/config/webhook/manifests.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + --- apiVersion: admissionregistration.k8s.io/v1 kind: MutatingWebhookConfiguration diff --git a/config/webhook/service.yaml b/config/webhook/service.yaml index 67e4c17..4f4940d 100644 --- a/config/webhook/service.yaml +++ b/config/webhook/service.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + apiVersion: v1 kind: Service metadata: diff --git a/deployments/l2sm-deployment.yaml b/deployments/l2sm-deployment.yaml index 92c519d..c492519 100644 --- a/deployments/l2sm-deployment.yaml +++ b/deployments/l2sm-deployment.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + --- apiVersion: v1 diff --git a/examples/cdn/cdn-server.yaml b/examples/cdn/cdn-server.yaml index 520318d..27db00a 100644 --- a/examples/cdn/cdn-server.yaml +++ b/examples/cdn/cdn-server.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + apiVersion: v1 kind: Pod metadata: diff --git a/examples/cdn/content-server.yaml b/examples/cdn/content-server.yaml index 2ce71c0..0991c4a 100644 --- a/examples/cdn/content-server.yaml +++ b/examples/cdn/content-server.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + apiVersion: apps/v1 kind: Deployment metadata: diff --git a/examples/cdn/router.yaml b/examples/cdn/router.yaml index 8cfb661..0504dda 100644 --- a/examples/cdn/router.yaml +++ b/examples/cdn/router.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + apiVersion: v1 kind: Pod metadata: diff --git a/examples/cdn/v-network-1.yaml b/examples/cdn/v-network-1.yaml index a0e8bd9..6f1e7e2 100644 --- a/examples/cdn/v-network-1.yaml +++ b/examples/cdn/v-network-1.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + apiVersion: l2sm.l2sm.k8s.local/v1 kind: L2Network metadata: diff --git a/examples/cdn/v-network-2.yaml b/examples/cdn/v-network-2.yaml index 32c3090..2845e06 100644 --- a/examples/cdn/v-network-2.yaml +++ b/examples/cdn/v-network-2.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + apiVersion: l2sm.l2sm.k8s.local/v1 kind: L2Network metadata: diff --git a/examples/cdn/video-server/Dockerfile b/examples/cdn/video-server/Dockerfile index 95291b2..a4f6142 100644 --- a/examples/cdn/video-server/Dockerfile +++ b/examples/cdn/video-server/Dockerfile @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + # Use the official Nginx image as the base image FROM nginx:latest diff --git a/examples/inter-cluster-setup/example-ned.yaml b/examples/inter-cluster-setup/example-ned.yaml index a439910..dd2389c 100644 --- a/examples/inter-cluster-setup/example-ned.yaml +++ b/examples/inter-cluster-setup/example-ned.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + apiVersion: l2sm.l2sm.k8s.local/v1 kind: NetworkEdgeDevice metadata: diff --git a/examples/inter-cluster-setup/inter-network.yaml b/examples/inter-cluster-setup/inter-network.yaml index 3d9aa85..d27ebaa 100644 --- a/examples/inter-cluster-setup/inter-network.yaml +++ b/examples/inter-cluster-setup/inter-network.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + apiVersion: l2sm.l2sm.k8s.local/v1 kind: L2Network metadata: diff --git a/examples/inter-cluster-setup/ping.yaml b/examples/inter-cluster-setup/ping.yaml index f157a59..6d30f76 100644 --- a/examples/inter-cluster-setup/ping.yaml +++ b/examples/inter-cluster-setup/ping.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + apiVersion: v1 kind: Pod metadata: diff --git a/examples/inter-cluster-setup/pong.yaml b/examples/inter-cluster-setup/pong.yaml index 57f1715..421c4c0 100644 --- a/examples/inter-cluster-setup/pong.yaml +++ b/examples/inter-cluster-setup/pong.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + apiVersion: v1 kind: Pod metadata: diff --git a/examples/overlay-setup/overlay-sample.yaml b/examples/overlay-setup/overlay-sample.yaml index 3a16f9d..75e6a72 100644 --- a/examples/overlay-setup/overlay-sample.yaml +++ b/examples/overlay-setup/overlay-sample.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + apiVersion: l2sm.l2sm.k8s.local/v1 kind: Overlay metadata: diff --git a/examples/ping-pong/network.yaml b/examples/ping-pong/network.yaml index dca3087..d940c86 100644 --- a/examples/ping-pong/network.yaml +++ b/examples/ping-pong/network.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + apiVersion: l2sm.l2sm.k8s.local/v1 kind: L2Network metadata: diff --git a/examples/ping-pong/ping.yaml b/examples/ping-pong/ping.yaml index f157a59..6d30f76 100644 --- a/examples/ping-pong/ping.yaml +++ b/examples/ping-pong/ping.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + apiVersion: v1 kind: Pod metadata: diff --git a/examples/ping-pong/pong.yaml b/examples/ping-pong/pong.yaml index a775d34..ae5456f 100644 --- a/examples/ping-pong/pong.yaml +++ b/examples/ping-pong/pong.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + apiVersion: v1 kind: Pod metadata: diff --git a/examples/vlink/ping.yaml b/examples/vlink/ping.yaml index d2aa90d..99c22b1 100644 --- a/examples/vlink/ping.yaml +++ b/examples/vlink/ping.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + apiVersion: v1 kind: Pod metadata: diff --git a/examples/vlink/pong.yaml b/examples/vlink/pong.yaml index 410c97a..66c2956 100644 --- a/examples/vlink/pong.yaml +++ b/examples/vlink/pong.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + apiVersion: v1 kind: Pod metadata: diff --git a/examples/vlink/vlink-sample.yaml b/examples/vlink/vlink-sample.yaml index 9752249..3f2e202 100644 --- a/examples/vlink/vlink-sample.yaml +++ b/examples/vlink/vlink-sample.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Universidad Carlos III de Madrid +# +# 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. + apiVersion: l2sm.l2sm.k8s.local/v1 kind: L2Network metadata: diff --git a/hack/LICENSE.txt b/hack/LICENSE.txt new file mode 100644 index 0000000..9cfdc0b --- /dev/null +++ b/hack/LICENSE.txt @@ -0,0 +1,13 @@ +Copyright 2024 Universidad Carlos III de Madrid + +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. \ No newline at end of file diff --git a/hack/boilerplate.go.txt b/hack/boilerplate.go.txt index ff72ff2..4356493 100644 --- a/hack/boilerplate.go.txt +++ b/hack/boilerplate.go.txt @@ -1,15 +1,13 @@ -/* -Copyright 2024. - -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. -*/ \ No newline at end of file +// Copyright 2024 Universidad Carlos III de Madrid +// +// 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. \ No newline at end of file diff --git a/internal/controller/l2network_controller.go b/internal/controller/l2network_controller.go index 20716e2..2c3d174 100644 --- a/internal/controller/l2network_controller.go +++ b/internal/controller/l2network_controller.go @@ -1,18 +1,16 @@ -/* -Copyright 2024. - -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. -*/ +// Copyright 2024 Universidad Carlos III de Madrid +// +// 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. package controller diff --git a/internal/controller/l2network_controller_test.go b/internal/controller/l2network_controller_test.go index ed91b8b..6725c22 100644 --- a/internal/controller/l2network_controller_test.go +++ b/internal/controller/l2network_controller_test.go @@ -1,18 +1,16 @@ -/* -Copyright 2024. - -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. -*/ +// Copyright 2024 Universidad Carlos III de Madrid +// +// 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. package controller diff --git a/internal/controller/networkedgedevice_controller.go b/internal/controller/networkedgedevice_controller.go index 2f6a38c..ab2aaf2 100644 --- a/internal/controller/networkedgedevice_controller.go +++ b/internal/controller/networkedgedevice_controller.go @@ -1,18 +1,16 @@ -/* -Copyright 2024. - -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. -*/ +// Copyright 2024 Universidad Carlos III de Madrid +// +// 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. package controller diff --git a/internal/controller/networkedgedevice_controller_test.go b/internal/controller/networkedgedevice_controller_test.go index 9d3a00c..29611ae 100644 --- a/internal/controller/networkedgedevice_controller_test.go +++ b/internal/controller/networkedgedevice_controller_test.go @@ -1,18 +1,16 @@ -/* -Copyright 2024. - -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. -*/ +// Copyright 2024 Universidad Carlos III de Madrid +// +// 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. package controller diff --git a/internal/controller/overlay_controller.go b/internal/controller/overlay_controller.go index 833d504..8ff853f 100644 --- a/internal/controller/overlay_controller.go +++ b/internal/controller/overlay_controller.go @@ -1,18 +1,16 @@ -/* -Copyright 2024. - -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. -*/ +// Copyright 2024 Universidad Carlos III de Madrid +// +// 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. package controller diff --git a/internal/controller/overlay_controller_test.go b/internal/controller/overlay_controller_test.go index cd13e45..342bf15 100644 --- a/internal/controller/overlay_controller_test.go +++ b/internal/controller/overlay_controller_test.go @@ -1,18 +1,16 @@ -/* -Copyright 2024. - -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. -*/ +// Copyright 2024 Universidad Carlos III de Madrid +// +// 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. package controller diff --git a/internal/controller/pod_controller.go b/internal/controller/pod_controller.go index 2df0a6b..93ef743 100644 --- a/internal/controller/pod_controller.go +++ b/internal/controller/pod_controller.go @@ -1,18 +1,16 @@ -/* -Copyright 2024. - -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. -*/ +// Copyright 2024 Universidad Carlos III de Madrid +// +// 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. package controller diff --git a/internal/controller/pod_utils.go b/internal/controller/pod_utils.go index 45cc901..3b0d20f 100644 --- a/internal/controller/pod_utils.go +++ b/internal/controller/pod_utils.go @@ -1,3 +1,17 @@ +// Copyright 2024 Universidad Carlos III de Madrid +// +// 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. + package controller import ( diff --git a/internal/controller/pod_webhook.go b/internal/controller/pod_webhook.go index 4026111..641a965 100644 --- a/internal/controller/pod_webhook.go +++ b/internal/controller/pod_webhook.go @@ -1,3 +1,17 @@ +// Copyright 2024 Universidad Carlos III de Madrid +// +// 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. + package controller import ( diff --git a/internal/controller/suite_test.go b/internal/controller/suite_test.go index bdcab0a..52623dc 100644 --- a/internal/controller/suite_test.go +++ b/internal/controller/suite_test.go @@ -1,18 +1,16 @@ -/* -Copyright 2024. - -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. -*/ +// Copyright 2024 Universidad Carlos III de Madrid +// +// 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. package controller diff --git a/internal/nedinterface/nedinterface.go b/internal/nedinterface/nedinterface.go index 4b69530..cd35f8f 100644 --- a/internal/nedinterface/nedinterface.go +++ b/internal/nedinterface/nedinterface.go @@ -1,3 +1,17 @@ +// Copyright 2024 Universidad Carlos III de Madrid +// +// 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. + package nedinterface import ( diff --git a/internal/sdnclient/client.go b/internal/sdnclient/client.go index 43f7901..ff6736c 100644 --- a/internal/sdnclient/client.go +++ b/internal/sdnclient/client.go @@ -1,3 +1,17 @@ +// Copyright 2024 Universidad Carlos III de Madrid +// +// 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. + package sdnclient import ( diff --git a/internal/sdnclient/external_client.go b/internal/sdnclient/external_client.go index 5b25379..ecd9f77 100644 --- a/internal/sdnclient/external_client.go +++ b/internal/sdnclient/external_client.go @@ -1,3 +1,17 @@ +// Copyright 2024 Universidad Carlos III de Madrid +// +// 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. + package sdnclient import ( diff --git a/internal/sdnclient/internal_client.go b/internal/sdnclient/internal_client.go index 3cfda57..856bef0 100644 --- a/internal/sdnclient/internal_client.go +++ b/internal/sdnclient/internal_client.go @@ -1,3 +1,17 @@ +// Copyright 2024 Universidad Carlos III de Madrid +// +// 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. + package sdnclient import ( diff --git a/internal/sdnclient/session_client.go b/internal/sdnclient/session_client.go index e452975..cc69eab 100644 --- a/internal/sdnclient/session_client.go +++ b/internal/sdnclient/session_client.go @@ -1,3 +1,17 @@ +// Copyright 2024 Universidad Carlos III de Madrid +// +// 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. + package sdnclient import ( diff --git a/internal/utils/utils.go b/internal/utils/utils.go index 6568881..943540c 100644 --- a/internal/utils/utils.go +++ b/internal/utils/utils.go @@ -1,3 +1,17 @@ +// Copyright 2024 Universidad Carlos III de Madrid +// +// 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. + package utils import ( diff --git a/test/e2e/e2e_suite_test.go b/test/e2e/e2e_suite_test.go index 174d959..9d17ae7 100644 --- a/test/e2e/e2e_suite_test.go +++ b/test/e2e/e2e_suite_test.go @@ -1,18 +1,16 @@ -/* -Copyright 2024. - -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. -*/ +// Copyright 2024 Universidad Carlos III de Madrid +// +// 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. package e2e diff --git a/test/e2e/e2e_test.go b/test/e2e/e2e_test.go index 4d17f16..6a828bb 100644 --- a/test/e2e/e2e_test.go +++ b/test/e2e/e2e_test.go @@ -1,18 +1,16 @@ -/* -Copyright 2024. - -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. -*/ +// Copyright 2024 Universidad Carlos III de Madrid +// +// 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. package e2e diff --git a/test/utils/utils.go b/test/utils/utils.go index 7363aa5..b195406 100644 --- a/test/utils/utils.go +++ b/test/utils/utils.go @@ -1,18 +1,16 @@ -/* -Copyright 2024. - -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. -*/ +// Copyright 2024 Universidad Carlos III de Madrid +// +// 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. package utils -- GitLab