Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SPDX-License-Identifier #625

Merged
merged 1 commit into from
Oct 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions osism/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

__all__ = ["__version__"]

import pbr.version
Expand Down
2 changes: 2 additions & 0 deletions osism/__main__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

import sys

from osism.main import main
Expand Down
2 changes: 2 additions & 0 deletions osism/actions/check_configuration.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

from loguru import logger
from pottery import Redlock

Expand Down
2 changes: 2 additions & 0 deletions osism/actions/deploy_configuration.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

from loguru import logger
from pottery import Redlock
import git
Expand Down
2 changes: 2 additions & 0 deletions osism/actions/diff_configuration.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

from loguru import logger
import git
from pottery import Redlock
Expand Down
2 changes: 2 additions & 0 deletions osism/actions/generate_configuration.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

from datetime import datetime
import ipaddress
import os
Expand Down
2 changes: 1 addition & 1 deletion osism/actions/manage_device.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: CC-BY-NC-4.0
# Copyright OSISM GmbH, 2022-2023
# LICENSE: CC BY-NC 4.0

import glob
import os
Expand Down
2 changes: 1 addition & 1 deletion osism/actions/manage_interface.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: CC-BY-NC-4.0
# Copyright OSISM GmbH, 2022-2023
# LICENSE: CC BY-NC 4.0

from osism import utils

Expand Down
2 changes: 2 additions & 0 deletions osism/api.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

import datetime
from logging.config import dictConfig
import logging
Expand Down
2 changes: 2 additions & 0 deletions osism/commands/apply.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

import argparse
import time

Expand Down
2 changes: 2 additions & 0 deletions osism/commands/bifrost.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

import argparse

from cliff.command import Command
Expand Down
2 changes: 2 additions & 0 deletions osism/commands/compose.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

import argparse
import subprocess

Expand Down
2 changes: 2 additions & 0 deletions osism/commands/console.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

import subprocess

from cliff.command import Command
Expand Down
2 changes: 2 additions & 0 deletions osism/commands/container.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

import argparse
import subprocess

Expand Down
2 changes: 2 additions & 0 deletions osism/commands/get.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

from datetime import datetime
import pprint
import subprocess
Expand Down
2 changes: 2 additions & 0 deletions osism/commands/log.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

import argparse
import json
import subprocess
Expand Down
2 changes: 2 additions & 0 deletions osism/commands/manage.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

import subprocess

from cliff.command import Command
Expand Down
2 changes: 2 additions & 0 deletions osism/commands/netbox.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

import argparse
from glob import glob
from os.path import basename
Expand Down
2 changes: 2 additions & 0 deletions osism/commands/reconciler.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

import subprocess

from cliff.command import Command
Expand Down
2 changes: 2 additions & 0 deletions osism/commands/service.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

import subprocess
import time

Expand Down
2 changes: 2 additions & 0 deletions osism/commands/status.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

from celery import Celery
from cliff.command import Command
from loguru import logger
Expand Down
2 changes: 2 additions & 0 deletions osism/commands/task.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

from celery import Celery
from cliff.command import Command

Expand Down
2 changes: 2 additions & 0 deletions osism/commands/validate.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

import argparse
import time

Expand Down
2 changes: 2 additions & 0 deletions osism/commands/vault.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

# NOTE: This is a first step to make Ansible Vault usable via OSISM workers.
# It's not ready in that form yet.

Expand Down
2 changes: 2 additions & 0 deletions osism/commands/wait.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

import time

from celery import Celery
Expand Down
2 changes: 2 additions & 0 deletions osism/commands/worker.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

import subprocess

from cliff.command import Command
Expand Down
2 changes: 2 additions & 0 deletions osism/core/enums.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

LOADBALANCER_PLAYBOOKS = [
"loadbalancer-aodh",
"loadbalancer-barbican",
Expand Down
2 changes: 2 additions & 0 deletions osism/core/playbooks.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

from pathlib import Path
from typing import Dict, Any
import yaml
Expand Down
2 changes: 2 additions & 0 deletions osism/main.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

import sys

from cliff.app import App
Expand Down
2 changes: 2 additions & 0 deletions osism/services/listener.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

import os
import time

Expand Down
2 changes: 2 additions & 0 deletions osism/settings.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

import os


Expand Down
2 changes: 2 additions & 0 deletions osism/tasks/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

import io
import os
from pathlib import Path
Expand Down
2 changes: 2 additions & 0 deletions osism/tasks/ansible.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

from celery import Celery

from osism import settings
Expand Down
2 changes: 2 additions & 0 deletions osism/tasks/ceph.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

from celery import Celery

from osism.tasks import Config, run_ansible_in_environment
Expand Down
2 changes: 2 additions & 0 deletions osism/tasks/conductor.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

from celery import Celery
from celery.signals import worker_process_init
import keystoneauth1
Expand Down
2 changes: 2 additions & 0 deletions osism/tasks/kolla.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

from celery import Celery

from osism.tasks import Config, run_ansible_in_environment
Expand Down
2 changes: 2 additions & 0 deletions osism/tasks/netbox.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

import os
import subprocess

Expand Down
2 changes: 2 additions & 0 deletions osism/tasks/openstack.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

import copy
import ipaddress

Expand Down
2 changes: 2 additions & 0 deletions osism/tasks/reconciler.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

import io
import subprocess

Expand Down
2 changes: 2 additions & 0 deletions osism/utils/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

from osism import settings
import pynetbox
from redis import Redis
Expand Down