ogCLI is AGPLv3+

Update license header in files.
master
OpenGnSys Support Team 2021-05-14 00:26:16 +02:00
parent a2f1056c40
commit 5f922571e2
10 changed files with 30 additions and 40 deletions

View File

@ -1,10 +1,9 @@
# # Copyright (C) 2020-2021 Soleta Networks <info@soleta.eu>
# Copyright (C) 2020 Soleta Networks <info@soleta.eu>
# #
# This program is free software: you can redistribute it and/or modify it under # 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 # 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.client import OgClient
from cli.objects.scopes import OgScope from cli.objects.scopes import OgScope

View File

@ -1,10 +1,9 @@
# # Copyright (C) 2020-2021 Soleta Networks <info@soleta.eu>
# Copyright (C) 2020 Soleta Networks <info@soleta.eu>
# #
# This program is free software: you can redistribute it and/or modify it under # 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 # 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 argparse

View File

@ -1,10 +1,9 @@
# # Copyright (C) 2020-2021 Soleta Networks <info@soleta.eu>
# Copyright (C) 2021 Soleta Networks <info@soleta.eu>
# #
# This program is free software: you can redistribute it and/or modify it under # 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 # 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 argparse
import re import re

View File

@ -1,10 +1,9 @@
# # Copyright (C) 2020-2021 Soleta Networks <info@soleta.eu>
# Copyright (C) 2021 Soleta Networks <info@soleta.eu>
# #
# This program is free software: you can redistribute it and/or modify it under # 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 # 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 urllib.parse import urlparse
from cli.utils import * from cli.utils import *

View File

@ -1,10 +1,9 @@
# # Copyright (C) 2020-2021 Soleta Networks <info@soleta.eu>
# Copyright (C) 2020 Soleta Networks <info@soleta.eu>
# #
# This program is free software: you can redistribute it and/or modify it under # 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 # 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 * from cli.utils import *

View File

@ -1,10 +1,9 @@
# # Copyright (C) 2020-2021 Soleta Networks <info@soleta.eu>
# Copyright (C) 2021 Soleta Networks <info@soleta.eu>
# #
# This program is free software: you can redistribute it and/or modify it under # 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 # 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 * from cli.utils import *

View File

@ -1,10 +1,9 @@
# # Copyright (C) 2020-2021 Soleta Networks <info@soleta.eu>
# Copyright (C) 2020 Soleta Networks <info@soleta.eu>
# #
# This program is free software: you can redistribute it and/or modify it under # 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 # 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(): class OgScope():

View File

@ -1,10 +1,9 @@
# # Copyright (C) 2020-2021 Soleta Networks <info@soleta.eu>
# Copyright (C) 2021 Soleta Networks <info@soleta.eu>
# #
# This program is free software: you can redistribute it and/or modify it under # 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 # 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 * from cli.utils import *

View File

@ -1,10 +1,9 @@
# # Copyright (C) 2020-2021 Soleta Networks <info@soleta.eu>
# Copyright (C) 2020 Soleta Networks <info@soleta.eu>
# #
# This program is free software: you can redistribute it and/or modify it under # 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 # 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): def scope_lookup(scope_id, scope_type, d):
if scope_id == d.get('id') and scope_type == d.get('type'): if scope_id == d.get('id') and scope_type == d.get('type'):

7
ogcli
View File

@ -1,12 +1,11 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# # Copyright (C) 2020-2021 Soleta Networks <info@soleta.eu>
# Copyright (C) 2020 Soleta Networks <info@soleta.eu>
# #
# This program is free software: you can redistribute it and/or modify it under # 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 # 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 from cli.cli import OgCLI
import argparse import argparse