summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2021-05-14 00:26:16 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2021-05-14 00:26:33 +0200
commit5f922571e259622fee4266b89c964baa48cc3949 (patch)
tree195e0ac16668695bcdb01b5a4946030e2798ef95
parenta2f1056c40773bb64d8fecafd5b684b94eaed892 (diff)
ogCLI is AGPLv3+
Update license header in files.
-rw-r--r--cli/cli.py7
-rw-r--r--cli/objects/client.py7
-rw-r--r--cli/objects/disks.py7
-rw-r--r--cli/objects/images.py7
-rw-r--r--cli/objects/modes.py7
-rw-r--r--cli/objects/poweroff.py7
-rw-r--r--cli/objects/scopes.py7
-rw-r--r--cli/objects/wol.py7
-rw-r--r--cli/utils.py7
-rwxr-xr-xogcli7
10 files changed, 30 insertions, 40 deletions
diff --git a/cli/cli.py b/cli/cli.py
index 21d69ed..4a1547b 100644
--- a/cli/cli.py
+++ b/cli/cli.py
@@ -1,10 +1,9 @@
-#
-# Copyright (C) 2020 Soleta Networks <info@soleta.eu>
+# Copyright (C) 2020-2021 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.
-#
+# Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
from cli.objects.client import OgClient
from cli.objects.scopes import OgScope
diff --git a/cli/objects/client.py b/cli/objects/client.py
index bee1ba4..bd84dd8 100644
--- a/cli/objects/client.py
+++ b/cli/objects/client.py
@@ -1,10 +1,9 @@
-#
-# Copyright (C) 2020 Soleta Networks <info@soleta.eu>
+# Copyright (C) 2020-2021 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.
-#
+# Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
import argparse
diff --git a/cli/objects/disks.py b/cli/objects/disks.py
index 0aa5a50..064a43e 100644
--- a/cli/objects/disks.py
+++ b/cli/objects/disks.py
@@ -1,10 +1,9 @@
-#
-# Copyright (C) 2021 Soleta Networks <info@soleta.eu>
+# Copyright (C) 2020-2021 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.
-#
+# Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
import argparse
import re
diff --git a/cli/objects/images.py b/cli/objects/images.py
index ed0d9ac..4383d4c 100644
--- a/cli/objects/images.py
+++ b/cli/objects/images.py
@@ -1,10 +1,9 @@
-#
-# Copyright (C) 2021 Soleta Networks <info@soleta.eu>
+# Copyright (C) 2020-2021 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.
-#
+# Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
from urllib.parse import urlparse
from cli.utils import *
diff --git a/cli/objects/modes.py b/cli/objects/modes.py
index 84d6f45..e350da7 100644
--- a/cli/objects/modes.py
+++ b/cli/objects/modes.py
@@ -1,10 +1,9 @@
-#
-# Copyright (C) 2020 Soleta Networks <info@soleta.eu>
+# Copyright (C) 2020-2021 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.
-#
+# Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
from cli.utils import *
diff --git a/cli/objects/poweroff.py b/cli/objects/poweroff.py
index b4eb81d..f5eb1dd 100644
--- a/cli/objects/poweroff.py
+++ b/cli/objects/poweroff.py
@@ -1,10 +1,9 @@
-#
-# Copyright (C) 2021 Soleta Networks <info@soleta.eu>
+# Copyright (C) 2020-2021 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.
-#
+# Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
from cli.utils import *
diff --git a/cli/objects/scopes.py b/cli/objects/scopes.py
index 975b82f..4b8fa95 100644
--- a/cli/objects/scopes.py
+++ b/cli/objects/scopes.py
@@ -1,10 +1,9 @@
-#
-# Copyright (C) 2020 Soleta Networks <info@soleta.eu>
+# Copyright (C) 2020-2021 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.
-#
+# Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
class OgScope():
diff --git a/cli/objects/wol.py b/cli/objects/wol.py
index a3d00d8..5b8e490 100644
--- a/cli/objects/wol.py
+++ b/cli/objects/wol.py
@@ -1,10 +1,9 @@
-#
-# Copyright (C) 2021 Soleta Networks <info@soleta.eu>
+# Copyright (C) 2020-2021 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.
-#
+# Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
from cli.utils import *
diff --git a/cli/utils.py b/cli/utils.py
index a69c0cd..9c472c3 100644
--- a/cli/utils.py
+++ b/cli/utils.py
@@ -1,10 +1,9 @@
-#
-# Copyright (C) 2020 Soleta Networks <info@soleta.eu>
+# Copyright (C) 2020-2021 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.
-#
+# Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
def scope_lookup(scope_id, scope_type, d):
if scope_id == d.get('id') and scope_type == d.get('type'):
diff --git a/ogcli b/ogcli
index 4c834db..fd6eade 100755
--- a/ogcli
+++ b/ogcli
@@ -1,12 +1,11 @@
#!/usr/bin/env python3
-#
-# Copyright (C) 2020 Soleta Networks <info@soleta.eu>
+# Copyright (C) 2020-2021 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.
-#
+# Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
from cli.cli import OgCLI
import argparse