From 05b1088827ff5b1d5fb5a96bee14f410d78fbc0d Mon Sep 17 00:00:00 2001 From: Alvaro Neira Ayuso Date: Thu, 16 Jan 2020 19:32:16 +0100 Subject: Include License header --- main.py | 8 ++++++++ src/HTTPParser.py | 8 ++++++++ src/__init__.py | 7 +++++++ src/linux/__init__.py | 7 +++++++ src/linux/ogOperations.py | 8 ++++++++ src/ogClient.py | 8 ++++++++ src/ogConfig.py | 8 ++++++++ src/ogRest.py | 8 ++++++++ tests/run-tests.py | 8 ++++++++ tests/units/__init__.py | 8 +++++++- tests/units/client.py | 8 ++++++++ tests/units/server.py | 8 ++++++++ tests/units/test_0001_probe.py | 8 ++++++++ tests/units/test_0003_shellrun.py | 8 ++++++++ 14 files changed, 109 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 5987705..e172005 100644 --- a/main.py +++ b/main.py @@ -1,3 +1,11 @@ +# +# Copyright (C) 2020 Soleta Networks +# +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU Affero General Public License as published by the +# Free Software Foundation, version 3. +# + from src.ogClient import * from src.ogConfig import * from signal import signal, SIGPIPE, SIG_DFL diff --git a/src/HTTPParser.py b/src/HTTPParser.py index c422c12..c3be006 100644 --- a/src/HTTPParser.py +++ b/src/HTTPParser.py @@ -1,3 +1,11 @@ +# +# Copyright (C) 2020 Soleta Networks +# +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU Affero General Public License as published by the +# Free Software Foundation, version 3. +# + import email from io import StringIO import json diff --git a/src/__init__.py b/src/__init__.py index e69de29..d98c85c 100644 --- a/src/__init__.py +++ b/src/__init__.py @@ -0,0 +1,7 @@ +# +# Copyright (C) 2020 Soleta Networks +# +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU Affero General Public License as published by the +# Free Software Foundation, version 3. +# diff --git a/src/linux/__init__.py b/src/linux/__init__.py index e69de29..d98c85c 100644 --- a/src/linux/__init__.py +++ b/src/linux/__init__.py @@ -0,0 +1,7 @@ +# +# Copyright (C) 2020 Soleta Networks +# +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU Affero General Public License as published by the +# Free Software Foundation, version 3. +# diff --git a/src/linux/ogOperations.py b/src/linux/ogOperations.py index 082f1fd..829af2f 100644 --- a/src/linux/ogOperations.py +++ b/src/linux/ogOperations.py @@ -1,3 +1,11 @@ +# +# Copyright (C) 2020 Soleta Networks +# +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU Affero General Public License as published by the +# Free Software Foundation, version 3. +# + import os import subprocess diff --git a/src/ogClient.py b/src/ogClient.py index bd54420..8f1d954 100644 --- a/src/ogClient.py +++ b/src/ogClient.py @@ -1,3 +1,11 @@ +# +# Copyright (C) 2020 Soleta Networks +# +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU Affero General Public License as published by the +# Free Software Foundation, version 3. +# + import errno import select import socket diff --git a/src/ogConfig.py b/src/ogConfig.py index 84d3346..1763b39 100644 --- a/src/ogConfig.py +++ b/src/ogConfig.py @@ -1,3 +1,11 @@ +# +# Copyright (C) 2020 Soleta Networks +# +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU Affero General Public License as published by the +# Free Software Foundation, version 3. +# + import configparser class ogConfig: diff --git a/src/ogRest.py b/src/ogRest.py index a26375e..2bae2ab 100644 --- a/src/ogRest.py +++ b/src/ogRest.py @@ -1,3 +1,11 @@ +# +# Copyright (C) 2020 Soleta Networks +# +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU Affero General Public License as published by the +# Free Software Foundation, version 3. +# + import threading import platform import time diff --git a/tests/run-tests.py b/tests/run-tests.py index 5e6bfe7..ef9da83 100644 --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -1,3 +1,11 @@ +# +# Copyright (C) 2020 Soleta Networks +# +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU Affero General Public License as published by the +# Free Software Foundation, version 3. +# + #!/usr/bin/env python3 import subprocess diff --git a/tests/units/__init__.py b/tests/units/__init__.py index 8b13789..d98c85c 100644 --- a/tests/units/__init__.py +++ b/tests/units/__init__.py @@ -1 +1,7 @@ - +# +# Copyright (C) 2020 Soleta Networks +# +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU Affero General Public License as published by the +# Free Software Foundation, version 3. +# diff --git a/tests/units/client.py b/tests/units/client.py index 4e780a7..21cf21f 100644 --- a/tests/units/client.py +++ b/tests/units/client.py @@ -1,3 +1,11 @@ +# +# Copyright (C) 2020 Soleta Networks +# +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU Affero General Public License as published by the +# Free Software Foundation, version 3. +# + import subprocess import os diff --git a/tests/units/server.py b/tests/units/server.py index 764ae6a..672414b 100644 --- a/tests/units/server.py +++ b/tests/units/server.py @@ -1,3 +1,11 @@ +# +# Copyright (C) 2020 Soleta Networks +# +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU Affero General Public License as published by the +# Free Software Foundation, version 3. +# + import socket import sys diff --git a/tests/units/test_0001_probe.py b/tests/units/test_0001_probe.py index dc0cc17..fc66dbc 100644 --- a/tests/units/test_0001_probe.py +++ b/tests/units/test_0001_probe.py @@ -1,3 +1,11 @@ +# +# Copyright (C) 2020 Soleta Networks +# +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU Affero General Public License as published by the +# Free Software Foundation, version 3. +# + from server import Server from client import Client import unittest diff --git a/tests/units/test_0003_shellrun.py b/tests/units/test_0003_shellrun.py index 5a77346..cd0a8e1 100644 --- a/tests/units/test_0003_shellrun.py +++ b/tests/units/test_0003_shellrun.py @@ -1,3 +1,11 @@ +# +# Copyright (C) 2020 Soleta Networks +# +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU Affero General Public License as published by the +# Free Software Foundation, version 3. +# + from server import Server from client import Client import unittest -- cgit v1.2.3-18-g5258