From 5c61259eddfbb9ffeac6a0e7f3c47494f0068481 Mon Sep 17 00:00:00 2001 From: Pim van Pelt Date: Sun, 13 Mar 2022 21:08:32 +0000 Subject: [PATCH] Add copyright and license --- tests.py | 13 +++++++++++++ validator/__init__.py | 13 +++++++++++++ validator/bondethernet.py | 13 +++++++++++++ validator/bridgedomain.py | 13 +++++++++++++ validator/interface.py | 13 +++++++++++++ validator/lcp.py | 13 +++++++++++++ validator/loopback.py | 13 +++++++++++++ vppcfg | 13 +++++++++++++ 8 files changed, 104 insertions(+) diff --git a/tests.py b/tests.py index aa969ed..2d8a09d 100755 --- a/tests.py +++ b/tests.py @@ -1,4 +1,17 @@ #!/usr/bin/env python3 +# +# Copyright (c) 2022 Pim van Pelt +# +# 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. +# # -*- coding: utf-8 -*- import sys diff --git a/validator/__init__.py b/validator/__init__.py index e342764..9fc9a35 100644 --- a/validator/__init__.py +++ b/validator/__init__.py @@ -1,4 +1,17 @@ #!/usr/bin/env python +# +# Copyright (c) 2022 Pim van Pelt +# +# 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. +# # -*- coding: utf-8 -*- from __future__ import ( absolute_import, diff --git a/validator/bondethernet.py b/validator/bondethernet.py index fe858b2..1c5d521 100644 --- a/validator/bondethernet.py +++ b/validator/bondethernet.py @@ -1,3 +1,16 @@ +# +# Copyright (c) 2022 Pim van Pelt +# +# 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. +# import logging import validator.interface as interface diff --git a/validator/bridgedomain.py b/validator/bridgedomain.py index 86f2baa..0dd4f84 100644 --- a/validator/bridgedomain.py +++ b/validator/bridgedomain.py @@ -1,3 +1,16 @@ +# +# Copyright (c) 2022 Pim van Pelt +# +# 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. +# import logging import validator.interface as interface import validator.lcp as lcp diff --git a/validator/interface.py b/validator/interface.py index b400ece..dacb4f5 100644 --- a/validator/interface.py +++ b/validator/interface.py @@ -1,3 +1,16 @@ +# +# Copyright (c) 2022 Pim van Pelt +# +# 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. +# import logging import validator.bondethernet as bondethernet import validator.lcp as lcp diff --git a/validator/lcp.py b/validator/lcp.py index 1e87571..a404437 100644 --- a/validator/lcp.py +++ b/validator/lcp.py @@ -1,3 +1,16 @@ +# +# Copyright (c) 2022 Pim van Pelt +# +# 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. +# import logging def is_unique(yaml, lcpname): diff --git a/validator/loopback.py b/validator/loopback.py index 2dc9c55..b62068a 100644 --- a/validator/loopback.py +++ b/validator/loopback.py @@ -1,3 +1,16 @@ +# +# Copyright (c) 2022 Pim van Pelt +# +# 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. +# import logging import validator.lcp as lcp diff --git a/vppcfg b/vppcfg index babb899..267236d 100755 --- a/vppcfg +++ b/vppcfg @@ -1,4 +1,17 @@ #!/usr/bin/env python3 +# +# Copyright (c) 2022 Pim van Pelt +# +# 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. +# # -*- coding: utf-8 -*- import sys