summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlvaro Neira Ayuso <aneira@soleta.eu>2020-01-16 19:32:16 +0100
committerAlvaro Neira Ayuso <alvaroneay@gmail.com>2020-01-19 19:50:44 +0100
commit05b1088827ff5b1d5fb5a96bee14f410d78fbc0d (patch)
tree953c4726612b462dddd02886e204399c6c0707a5
parentd5dca0f75614a3319dd528b0e390b8cec812db1b (diff)
Include License header
-rw-r--r--main.py8
-rw-r--r--src/HTTPParser.py8
-rw-r--r--src/__init__.py7
-rw-r--r--src/linux/__init__.py7
-rw-r--r--src/linux/ogOperations.py8
-rw-r--r--src/ogClient.py8
-rw-r--r--src/ogConfig.py8
-rw-r--r--src/ogRest.py8
-rw-r--r--tests/run-tests.py8
-rw-r--r--tests/units/__init__.py8
-rw-r--r--tests/units/client.py8
-rw-r--r--tests/units/server.py8
-rw-r--r--tests/units/test_0001_probe.py8
-rw-r--r--tests/units/test_0003_shellrun.py8
14 files changed, 109 insertions, 1 deletions
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 <info@soleta.eu>
+#
+# 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 <info@soleta.eu>
+#
+# 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 <info@soleta.eu>
+#
+# 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 <info@soleta.eu>
+#
+# 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 <info@soleta.eu>
+#
+# 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 <info@soleta.eu>
+#
+# 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 <info@soleta.eu>
+#
+# 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 <info@soleta.eu>
+#
+# 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 <info@soleta.eu>
+#
+# 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 <info@soleta.eu>
+#
+# 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 <info@soleta.eu>
+#
+# 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 <info@soleta.eu>
+#
+# 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 <info@soleta.eu>
+#
+# 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 <info@soleta.eu>
+#
+# 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