From afbfc10a5bd78783afe0a2242148fd61a9f74a36 Mon Sep 17 00:00:00 2001 From: BoYuan Chang Date: Wed, 15 Dec 2021 16:59:13 -0500 Subject: [PATCH] Remove standard WR License notice from StarlingX distributedcloud Remove non-applicable license notice from open source python files and update WR Copyright notice year. Closes-Bug: 1954317 Signed-off-by: BoYuan Chang Change-Id: I519f7ea60a54e105e1e49afa5d888bdf40d69f86 --- distributedcloud/dccommon/__init__.py | 8 +----- distributedcloud/dccommon/consts.py | 7 +---- distributedcloud/dccommon/drivers/base.py | 7 +---- .../dccommon/drivers/openstack/barbican.py | 8 +----- .../dccommon/drivers/openstack/fm.py | 7 +---- .../dccommon/drivers/openstack/keystone_v3.py | 26 +++++++----------- .../dccommon/drivers/openstack/patching_v1.py | 8 +----- .../dccommon/drivers/openstack/sysinv_v1.py | 8 +----- .../dccommon/drivers/openstack/vim.py | 8 +----- distributedcloud/dccommon/endpoint_cache.py | 7 +---- distributedcloud/dccommon/install_consts.py | 7 +---- distributedcloud/dccommon/subcloud_install.py | 7 +---- distributedcloud/dccommon/tests/base.py | 7 +---- .../tests/unit/drivers/test_keystone_v3.py | 7 +---- .../tests/unit/drivers/test_sdk_platform.py | 7 +---- .../tests/unit/drivers/test_sysinv_v1.py | 7 +---- .../tests/unit/test_endpoint_cache.py | 7 +---- distributedcloud/dccommon/tests/utils.py | 7 +---- distributedcloud/dccommon/utils.py | 7 +---- distributedcloud/dcmanager/__init__.py | 8 +----- distributedcloud/dcmanager/api/api_config.py | 7 +---- distributedcloud/dcmanager/api/app.py | 7 +---- .../dcmanager/api/controllers/restcomm.py | 7 +---- .../dcmanager/api/controllers/root.py | 7 +---- .../api/controllers/v1/alarm_manager.py | 7 +---- .../api/controllers/v1/notifications.py | 6 +---- .../dcmanager/api/controllers/v1/root.py | 7 +---- .../api/controllers/v1/subcloud_group.py | 7 +---- .../api/controllers/v1/sw_update_options.py | 7 +---- .../api/controllers/v1/sw_update_strategy.py | 7 +---- distributedcloud/dcmanager/api/enforcer.py | 7 +---- .../dcmanager/audit/alarm_aggregation.py | 7 +---- .../dcmanager/audit/firmware_audit.py | 7 +---- .../dcmanager/audit/kubernetes_audit.py | 7 +---- .../dcmanager/audit/patch_audit.py | 7 +---- distributedcloud/dcmanager/audit/rpcapi.py | 7 +---- distributedcloud/dcmanager/audit/service.py | 7 +---- .../dcmanager/audit/subcloud_audit_manager.py | 7 +---- .../audit/subcloud_audit_worker_manager.py | 7 +---- distributedcloud/dcmanager/audit/utils.py | 2 +- distributedcloud/dcmanager/cmd/api.py | 7 +---- distributedcloud/dcmanager/cmd/audit.py | 7 +---- .../dcmanager/cmd/audit_worker.py | 7 +---- distributedcloud/dcmanager/cmd/manage.py | 7 +---- distributedcloud/dcmanager/cmd/manager.py | 8 +----- .../dcmanager/cmd/orchestrator.py | 7 +---- distributedcloud/dcmanager/common/config.py | 27 ++++++++----------- distributedcloud/dcmanager/common/consts.py | 8 +----- distributedcloud/dcmanager/common/context.py | 7 +---- .../dcmanager/common/exceptions.py | 7 +---- distributedcloud/dcmanager/common/i18n.py | 7 +---- distributedcloud/dcmanager/common/manager.py | 7 +---- .../dcmanager/common/messaging.py | 7 +---- distributedcloud/dcmanager/common/policy.py | 7 +---- .../dcmanager/common/scheduler.py | 7 +---- .../dcmanager/common/serializer.py | 7 +---- distributedcloud/dcmanager/common/utils.py | 7 +---- distributedcloud/dcmanager/common/version.py | 10 ++----- distributedcloud/dcmanager/db/api.py | 7 +---- .../dcmanager/db/sqlalchemy/api.py | 7 +---- .../versions/001_first_version.py | 7 +---- .../versions/002_rename_compute_to_worker.py | 7 +---- .../versions/003_add_deploy_status_column.py | 7 +---- .../004_add_openstack_installed_column.py | 7 +---- .../versions/005_add_subcloud_alarms.py | 7 +---- .../versions/006_add_subcloud_group_table.py | 7 +---- .../versions/007_add_subcloud_install.py | 7 +---- .../versions/008_add_subcloud_audits_table.py | 7 +---- .../dcmanager/db/sqlalchemy/migration.py | 7 +---- .../dcmanager/db/sqlalchemy/models.py | 7 +---- distributedcloud/dcmanager/db/utils.py | 7 +---- distributedcloud/dcmanager/manager/service.py | 7 +---- .../dcmanager/manager/subcloud_manager.py | 7 +---- distributedcloud/dcmanager/objects/base.py | 7 +---- .../orchestrator/fw_update_orch_thread.py | 7 +---- .../orchestrator/kube_upgrade_orch_thread.py | 7 +---- .../dcmanager/orchestrator/orch_thread.py | 7 +---- .../orchestrator/patch_orch_thread.py | 7 +---- .../dcmanager/orchestrator/rpcapi.py | 7 +---- .../dcmanager/orchestrator/service.py | 7 +---- .../orchestrator/sw_update_manager.py | 7 +---- .../orchestrator/sw_upgrade_orch_thread.py | 7 +---- distributedcloud/dcmanager/rpc/client.py | 7 +---- distributedcloud/dcmanager/tests/base.py | 7 +---- .../tests/unit/api/test_root_controller.py | 7 +---- .../tests/unit/api/v1/controllers/mixins.py | 7 +---- .../api/v1/controllers/test_alarm_manager.py | 7 +---- .../api/v1/controllers/test_notifications.py | 7 +---- .../v1/controllers/test_subcloud_deploy.py | 7 +---- .../api/v1/controllers/test_subcloud_group.py | 7 +---- .../unit/api/v1/controllers/test_subclouds.py | 7 +---- .../v1/controllers/test_sw_update_strategy.py | 7 +---- .../unit/audit/test_alarm_aggregation.py | 7 +---- .../unit/audit/test_firmware_audit_manager.py | 7 +---- .../unit/audit/test_kube_audit_manager.py | 7 +---- .../unit/audit/test_patch_audit_manager.py | 7 +---- .../tests/unit/audit/test_service.py | 7 +---- .../unit/audit/test_subcloud_audit_manager.py | 7 +---- .../test_subcloud_audit_worker_manager.py | 7 +---- .../tests/unit/db/test_subcloud_alarms.py | 7 +---- .../tests/unit/db/test_subcloud_audits.py | 7 +---- .../tests/unit/db/test_subcloud_db_api.py | 9 ++----- .../dcmanager/tests/unit/fakes.py | 7 +---- .../tests/unit/manager/test_service.py | 7 +---- .../unit/manager/test_subcloud_manager.py | 7 +---- .../dcmanager/tests/unit/objects/test_base.py | 7 +---- .../tests/unit/orchestrator/test_base.py | 7 +---- .../orchestrator/test_sw_update_manager.py | 7 +---- .../tests/unit/rpc/test_rpc_client.py | 8 +----- .../dcmanager/tests/unit/test_dcmanager.py | 8 +----- .../dcmanager/tests/unit/utils/test_utils.py | 7 +---- distributedcloud/dcmanager/tests/utils.py | 7 +---- distributedcloud/dcmanager/version.py | 7 +---- .../dcorch/api/proxy/common/service.py | 7 +---- distributedcloud/dcorch/common/consts.py | 8 +----- distributedcloud/dcorch/db/sqlalchemy/api.py | 7 +---- .../versions/004_delete_subcloud_alarms.py | 7 +---- .../dcorch/db/sqlalchemy/models.py | 8 +----- .../dcorch/drivers/openstack/sdk.py | 7 +---- distributedcloud/dcorch/objects/base.py | 7 +---- .../tests/unit/db/test_subcloud_db_api.py | 7 +---- .../unit/db/test_subcloud_resource_db_api.py | 7 +---- .../unit/engine/test_generic_sync_manager.py | 7 +---- .../unit/engine/test_initial_sync_manager.py | 7 +---- 124 files changed, 145 insertions(+), 773 deletions(-) diff --git a/distributedcloud/dccommon/__init__.py b/distributedcloud/dccommon/__init__.py index 8b398cff5..231cc69d8 100644 --- a/distributedcloud/dccommon/__init__.py +++ b/distributedcloud/dccommon/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- - +# Copyright (c) 2020-2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -12,12 +12,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2020 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import pbr.version diff --git a/distributedcloud/dccommon/consts.py b/distributedcloud/dccommon/consts.py index 87653299e..c7ee77737 100644 --- a/distributedcloud/dccommon/consts.py +++ b/distributedcloud/dccommon/consts.py @@ -1,3 +1,4 @@ +# Copyright (c) 2020-2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -10,12 +11,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2020 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# SECONDS_IN_HOUR = 3600 diff --git a/distributedcloud/dccommon/drivers/base.py b/distributedcloud/dccommon/drivers/base.py index d97aff3b9..1dc1473b5 100644 --- a/distributedcloud/dccommon/drivers/base.py +++ b/distributedcloud/dccommon/drivers/base.py @@ -1,3 +1,4 @@ +# Copyright (c) 2017-2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -10,12 +11,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017-2020 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# """ Base class for all drivers. """ diff --git a/distributedcloud/dccommon/drivers/openstack/barbican.py b/distributedcloud/dccommon/drivers/openstack/barbican.py index 09b91820c..fb26eb5fc 100644 --- a/distributedcloud/dccommon/drivers/openstack/barbican.py +++ b/distributedcloud/dccommon/drivers/openstack/barbican.py @@ -1,5 +1,5 @@ # Copyright 2016 Ericsson AB - +# Copyright (c) 2020-2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -12,12 +12,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2020 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# from barbicanclient import client diff --git a/distributedcloud/dccommon/drivers/openstack/fm.py b/distributedcloud/dccommon/drivers/openstack/fm.py index 239140f0a..dd6df05a5 100644 --- a/distributedcloud/dccommon/drivers/openstack/fm.py +++ b/distributedcloud/dccommon/drivers/openstack/fm.py @@ -1,3 +1,4 @@ +# Copyright (c) 2018-2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -11,12 +12,6 @@ # under the License. # # -# Copyright (c) 2018-2021 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# from oslo_log import log diff --git a/distributedcloud/dccommon/drivers/openstack/keystone_v3.py b/distributedcloud/dccommon/drivers/openstack/keystone_v3.py index 0433d80a7..6d3ad8be5 100644 --- a/distributedcloud/dccommon/drivers/openstack/keystone_v3.py +++ b/distributedcloud/dccommon/drivers/openstack/keystone_v3.py @@ -1,22 +1,16 @@ -# Copyright 2012-2013 OpenStack Foundation -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at +# Copyright 2012-2013 OpenStack Foundation +# Copyright (c) 2017-2021 Wind River Systems, Inc. +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. -# -# Copyright (c) 2017-2021 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. # from keystoneauth1 import exceptions as keystone_exceptions diff --git a/distributedcloud/dccommon/drivers/openstack/patching_v1.py b/distributedcloud/dccommon/drivers/openstack/patching_v1.py index 219f19152..cd7a7bc34 100644 --- a/distributedcloud/dccommon/drivers/openstack/patching_v1.py +++ b/distributedcloud/dccommon/drivers/openstack/patching_v1.py @@ -1,5 +1,5 @@ # Copyright 2016 Ericsson AB - +# Copyright (c) 2017-2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -12,12 +12,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017-2021 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# from oslo_log import log import requests diff --git a/distributedcloud/dccommon/drivers/openstack/sysinv_v1.py b/distributedcloud/dccommon/drivers/openstack/sysinv_v1.py index ea82229b9..7327a97ae 100644 --- a/distributedcloud/dccommon/drivers/openstack/sysinv_v1.py +++ b/distributedcloud/dccommon/drivers/openstack/sysinv_v1.py @@ -1,5 +1,5 @@ # Copyright 2016 Ericsson AB - +# Copyright (c) 2017-2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -12,12 +12,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017-2021 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import hashlib import os diff --git a/distributedcloud/dccommon/drivers/openstack/vim.py b/distributedcloud/dccommon/drivers/openstack/vim.py index a6e4833bb..f8c7002dc 100644 --- a/distributedcloud/dccommon/drivers/openstack/vim.py +++ b/distributedcloud/dccommon/drivers/openstack/vim.py @@ -1,5 +1,5 @@ # Copyright 2016 Ericsson AB - +# Copyright (c) 2017-2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -12,12 +12,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017-2021 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# from oslo_log import log diff --git a/distributedcloud/dccommon/endpoint_cache.py b/distributedcloud/dccommon/endpoint_cache.py index 20672f141..767571189 100644 --- a/distributedcloud/dccommon/endpoint_cache.py +++ b/distributedcloud/dccommon/endpoint_cache.py @@ -1,4 +1,5 @@ # Copyright 2015 Huawei Technologies Co., Ltd. +# Copyright (c) 2018-2021 Wind River Systems, Inc. # All Rights Reserved # # Licensed under the Apache License, Version 2.0 (the "License"); you may @@ -13,12 +14,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2018-2021 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import collections import threading diff --git a/distributedcloud/dccommon/install_consts.py b/distributedcloud/dccommon/install_consts.py index ec2502856..6ba60492e 100644 --- a/distributedcloud/dccommon/install_consts.py +++ b/distributedcloud/dccommon/install_consts.py @@ -1,3 +1,4 @@ +# Copyright (c) 2020-2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -11,12 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# Copyright (c) 2020 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# SUPPORTED_INSTALL_TYPES = 6 diff --git a/distributedcloud/dccommon/subcloud_install.py b/distributedcloud/dccommon/subcloud_install.py index 98e9285e9..57f72207d 100644 --- a/distributedcloud/dccommon/subcloud_install.py +++ b/distributedcloud/dccommon/subcloud_install.py @@ -1,3 +1,4 @@ +# Copyright (c) 2020-2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -11,12 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# Copyright (c) 2020 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# from eventlet.green import subprocess import json diff --git a/distributedcloud/dccommon/tests/base.py b/distributedcloud/dccommon/tests/base.py index 30a79030b..58c56bc0e 100644 --- a/distributedcloud/dccommon/tests/base.py +++ b/distributedcloud/dccommon/tests/base.py @@ -1,4 +1,5 @@ # Copyright (c) 2015 Ericsson AB +# Copyright (c) 2020-2021 Wind River Systems, Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may @@ -13,12 +14,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2020 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# from dccommon.tests import utils from oslotest import base diff --git a/distributedcloud/dccommon/tests/unit/drivers/test_keystone_v3.py b/distributedcloud/dccommon/tests/unit/drivers/test_keystone_v3.py index aaa720d5b..acc7d6714 100644 --- a/distributedcloud/dccommon/tests/unit/drivers/test_keystone_v3.py +++ b/distributedcloud/dccommon/tests/unit/drivers/test_keystone_v3.py @@ -1,3 +1,4 @@ +# Copyright (c) 2017-2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -10,12 +11,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017-2020 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import mock diff --git a/distributedcloud/dccommon/tests/unit/drivers/test_sdk_platform.py b/distributedcloud/dccommon/tests/unit/drivers/test_sdk_platform.py index a6f8dc165..0e1188245 100644 --- a/distributedcloud/dccommon/tests/unit/drivers/test_sdk_platform.py +++ b/distributedcloud/dccommon/tests/unit/drivers/test_sdk_platform.py @@ -1,3 +1,4 @@ +# Copyright (c) 2020-2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -10,12 +11,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2020 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import mock diff --git a/distributedcloud/dccommon/tests/unit/drivers/test_sysinv_v1.py b/distributedcloud/dccommon/tests/unit/drivers/test_sysinv_v1.py index b8a45eb59..9f0240e5f 100644 --- a/distributedcloud/dccommon/tests/unit/drivers/test_sysinv_v1.py +++ b/distributedcloud/dccommon/tests/unit/drivers/test_sysinv_v1.py @@ -1,3 +1,4 @@ +# Copyright (c) 2017-2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -10,12 +11,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017-2020 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import mock diff --git a/distributedcloud/dccommon/tests/unit/test_endpoint_cache.py b/distributedcloud/dccommon/tests/unit/test_endpoint_cache.py index 1c9c8c4ab..36557812b 100644 --- a/distributedcloud/dccommon/tests/unit/test_endpoint_cache.py +++ b/distributedcloud/dccommon/tests/unit/test_endpoint_cache.py @@ -1,4 +1,5 @@ # Copyright 2015 Huawei Technologies Co., Ltd. +# Copyright (c) 2017-2021 Wind River Systems, Inc. # All Rights Reserved # # Licensed under the Apache License, Version 2.0 (the "License"); you may @@ -13,12 +14,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017-2020 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import collections import mock diff --git a/distributedcloud/dccommon/tests/utils.py b/distributedcloud/dccommon/tests/utils.py index bc59080ba..494bb2e44 100644 --- a/distributedcloud/dccommon/tests/utils.py +++ b/distributedcloud/dccommon/tests/utils.py @@ -1,4 +1,5 @@ # Copyright (c) 2015 Ericsson AB +# Copyright (c) 2020-2021 Wind River Systems, Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may @@ -13,12 +14,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2020 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# from oslo_context import context diff --git a/distributedcloud/dccommon/utils.py b/distributedcloud/dccommon/utils.py index d7d49a094..237e46dc1 100644 --- a/distributedcloud/dccommon/utils.py +++ b/distributedcloud/dccommon/utils.py @@ -1,3 +1,4 @@ +# Copyright (c) 2020-2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -11,12 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# Copyright (c) 2020 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# from datetime import datetime from eventlet.green import subprocess diff --git a/distributedcloud/dcmanager/__init__.py b/distributedcloud/dcmanager/__init__.py index f66b26aaf..d0f82b54b 100644 --- a/distributedcloud/dcmanager/__init__.py +++ b/distributedcloud/dcmanager/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- - +# Copyright (c) 2017, 2019, 2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -12,12 +12,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import pbr.version diff --git a/distributedcloud/dcmanager/api/api_config.py b/distributedcloud/dcmanager/api/api_config.py index 3357a70c5..65db47dbf 100644 --- a/distributedcloud/dcmanager/api/api_config.py +++ b/distributedcloud/dcmanager/api/api_config.py @@ -1,4 +1,5 @@ # Copyright 2015 Huawei Technologies Co., Ltd. +# Copyright (c) 2017, 2019, 2021 Wind River Systems, Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may @@ -13,12 +14,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# """ Routines for configuring DC Manager, largely copy from Neutron diff --git a/distributedcloud/dcmanager/api/app.py b/distributedcloud/dcmanager/api/app.py index fca856733..68f85f9de 100644 --- a/distributedcloud/dcmanager/api/app.py +++ b/distributedcloud/dcmanager/api/app.py @@ -1,4 +1,5 @@ # Copyright (c) 2015 Huawei, Tech. Co,. Ltd. +# Copyright (c) 2017, 2019, 2021 Wind River Systems, Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may @@ -13,12 +14,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import pecan diff --git a/distributedcloud/dcmanager/api/controllers/restcomm.py b/distributedcloud/dcmanager/api/controllers/restcomm.py index 9cd2320de..f2861922b 100644 --- a/distributedcloud/dcmanager/api/controllers/restcomm.py +++ b/distributedcloud/dcmanager/api/controllers/restcomm.py @@ -1,4 +1,5 @@ # Copyright (c) 2015 Huawei Tech. Co., Ltd. +# Copyright (c) 2017, 2019, 2021 Wind River Systems, Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may @@ -13,12 +14,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# from pecan import request diff --git a/distributedcloud/dcmanager/api/controllers/root.py b/distributedcloud/dcmanager/api/controllers/root.py index a03246e8f..633a94a84 100644 --- a/distributedcloud/dcmanager/api/controllers/root.py +++ b/distributedcloud/dcmanager/api/controllers/root.py @@ -1,4 +1,5 @@ # Copyright (c) 2015 Huawei Tech. Co., Ltd. +# Copyright (c) 2017, 2019, 2021 Wind River Systems, Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may @@ -13,12 +14,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import pecan diff --git a/distributedcloud/dcmanager/api/controllers/v1/alarm_manager.py b/distributedcloud/dcmanager/api/controllers/v1/alarm_manager.py index 4487b802d..138049a79 100644 --- a/distributedcloud/dcmanager/api/controllers/v1/alarm_manager.py +++ b/distributedcloud/dcmanager/api/controllers/v1/alarm_manager.py @@ -1,4 +1,5 @@ # Copyright (c) 2017 Ericsson AB. +# Copyright (c) 2017-2021 Wind River Systems, Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may @@ -13,12 +14,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017-2020 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# from dcmanager.api.controllers import restcomm from dcmanager.common import consts diff --git a/distributedcloud/dcmanager/api/controllers/v1/notifications.py b/distributedcloud/dcmanager/api/controllers/v1/notifications.py index 16ca250b2..65a3ea719 100644 --- a/distributedcloud/dcmanager/api/controllers/v1/notifications.py +++ b/distributedcloud/dcmanager/api/controllers/v1/notifications.py @@ -1,3 +1,4 @@ +# Copyright (c) 2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -10,11 +11,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2021 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. from oslo_config import cfg from oslo_log import log as logging diff --git a/distributedcloud/dcmanager/api/controllers/v1/root.py b/distributedcloud/dcmanager/api/controllers/v1/root.py index bf7f71302..0680af6c4 100644 --- a/distributedcloud/dcmanager/api/controllers/v1/root.py +++ b/distributedcloud/dcmanager/api/controllers/v1/root.py @@ -1,4 +1,5 @@ # Copyright (c) 2017 Ericsson AB. +# Copyright (c) 2017-2021 Wind River Systems, Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may @@ -13,12 +14,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import pecan from dcmanager.api.controllers.v1 import alarm_manager diff --git a/distributedcloud/dcmanager/api/controllers/v1/subcloud_group.py b/distributedcloud/dcmanager/api/controllers/v1/subcloud_group.py index 9a12f223f..5450c2ba7 100644 --- a/distributedcloud/dcmanager/api/controllers/v1/subcloud_group.py +++ b/distributedcloud/dcmanager/api/controllers/v1/subcloud_group.py @@ -1,4 +1,5 @@ # Copyright (c) 2017 Ericsson AB. +# Copyright (c) 2020-2021 Wind River Systems, Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may @@ -13,12 +14,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2020 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# from oslo_config import cfg from oslo_db import exception as db_exc diff --git a/distributedcloud/dcmanager/api/controllers/v1/sw_update_options.py b/distributedcloud/dcmanager/api/controllers/v1/sw_update_options.py index 918e4e150..1e4eae1fc 100644 --- a/distributedcloud/dcmanager/api/controllers/v1/sw_update_options.py +++ b/distributedcloud/dcmanager/api/controllers/v1/sw_update_options.py @@ -1,4 +1,5 @@ # Copyright (c) 2017 Ericsson AB. +# Copyright (c) 2017-2021 Wind River Systems, Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may @@ -13,12 +14,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# from oslo_config import cfg from oslo_log import log as logging diff --git a/distributedcloud/dcmanager/api/controllers/v1/sw_update_strategy.py b/distributedcloud/dcmanager/api/controllers/v1/sw_update_strategy.py index 0e6598ab0..6cd78b182 100755 --- a/distributedcloud/dcmanager/api/controllers/v1/sw_update_strategy.py +++ b/distributedcloud/dcmanager/api/controllers/v1/sw_update_strategy.py @@ -1,4 +1,5 @@ # Copyright (c) 2017 Ericsson AB. +# Copyright (c) 2017-2021 Wind River Systems, Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may @@ -13,12 +14,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017-2021 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# from oslo_config import cfg from oslo_log import log as logging diff --git a/distributedcloud/dcmanager/api/enforcer.py b/distributedcloud/dcmanager/api/enforcer.py index 14bab5867..5dff4cb28 100644 --- a/distributedcloud/dcmanager/api/enforcer.py +++ b/distributedcloud/dcmanager/api/enforcer.py @@ -1,4 +1,5 @@ # Copyright 2017 Ericsson AB. +# Copyright (c) 2017, 2019, 2021 Wind River Systems, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -12,12 +13,6 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# Copyright (c) 2017 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# """Policy enforcer for DC Manager.""" diff --git a/distributedcloud/dcmanager/audit/alarm_aggregation.py b/distributedcloud/dcmanager/audit/alarm_aggregation.py index de8e58288..71aca18b3 100644 --- a/distributedcloud/dcmanager/audit/alarm_aggregation.py +++ b/distributedcloud/dcmanager/audit/alarm_aggregation.py @@ -1,3 +1,4 @@ +# Copyright (c) 2020-2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -10,12 +11,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2020 Wind River Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# from dcmanager.common import consts from dcmanager.db import api as db_api diff --git a/distributedcloud/dcmanager/audit/firmware_audit.py b/distributedcloud/dcmanager/audit/firmware_audit.py index b9fa4dcee..a1a0e5c02 100644 --- a/distributedcloud/dcmanager/audit/firmware_audit.py +++ b/distributedcloud/dcmanager/audit/firmware_audit.py @@ -1,4 +1,5 @@ # Copyright 2017 Ericsson AB. +# Copyright (c) 2017-2021 Wind River Systems, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -13,12 +14,6 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# Copyright (c) 2017-2021 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# from keystoneauth1 import exceptions as keystone_exceptions from oslo_log import log as logging diff --git a/distributedcloud/dcmanager/audit/kubernetes_audit.py b/distributedcloud/dcmanager/audit/kubernetes_audit.py index fd8d798cc..4e3a69e56 100644 --- a/distributedcloud/dcmanager/audit/kubernetes_audit.py +++ b/distributedcloud/dcmanager/audit/kubernetes_audit.py @@ -1,4 +1,5 @@ # Copyright 2017 Ericsson AB. +# Copyright (c) 2017-2021 Wind River Systems, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -13,12 +14,6 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# Copyright (c) 2017-2021 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# from keystoneauth1 import exceptions as keystone_exceptions from oslo_log import log as logging diff --git a/distributedcloud/dcmanager/audit/patch_audit.py b/distributedcloud/dcmanager/audit/patch_audit.py index fe8f3487e..ec98bc540 100644 --- a/distributedcloud/dcmanager/audit/patch_audit.py +++ b/distributedcloud/dcmanager/audit/patch_audit.py @@ -1,4 +1,5 @@ # Copyright 2017 Ericsson AB. +# Copyright (c) 2017-2021 Wind River Systems, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -13,12 +14,6 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# Copyright (c) 2017-2021 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# from keystoneauth1 import exceptions as keystone_exceptions from oslo_log import log as logging diff --git a/distributedcloud/dcmanager/audit/rpcapi.py b/distributedcloud/dcmanager/audit/rpcapi.py index 0d96c85e5..f6da6af30 100644 --- a/distributedcloud/dcmanager/audit/rpcapi.py +++ b/distributedcloud/dcmanager/audit/rpcapi.py @@ -1,3 +1,4 @@ +# Copyright (c) 2020-2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -10,12 +11,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2020-2021 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# """ Client side of the DC Manager Audit RPC API. diff --git a/distributedcloud/dcmanager/audit/service.py b/distributedcloud/dcmanager/audit/service.py index 4e2b5b5ee..3de83bab0 100644 --- a/distributedcloud/dcmanager/audit/service.py +++ b/distributedcloud/dcmanager/audit/service.py @@ -1,3 +1,4 @@ +# Copyright (c) 2020-2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -11,12 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# Copyright (c) 2020-2021 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import functools import resource diff --git a/distributedcloud/dcmanager/audit/subcloud_audit_manager.py b/distributedcloud/dcmanager/audit/subcloud_audit_manager.py index 0161e8c0d..a57cbeb32 100644 --- a/distributedcloud/dcmanager/audit/subcloud_audit_manager.py +++ b/distributedcloud/dcmanager/audit/subcloud_audit_manager.py @@ -1,4 +1,5 @@ # Copyright 2017 Ericsson AB. +# Copyright (c) 2017-2021 Wind River Systems, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -13,12 +14,6 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# Copyright (c) 2017-2021 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import datetime import eventlet diff --git a/distributedcloud/dcmanager/audit/subcloud_audit_worker_manager.py b/distributedcloud/dcmanager/audit/subcloud_audit_worker_manager.py index 7ffbeecec..9858596ea 100644 --- a/distributedcloud/dcmanager/audit/subcloud_audit_worker_manager.py +++ b/distributedcloud/dcmanager/audit/subcloud_audit_worker_manager.py @@ -1,4 +1,5 @@ # Copyright 2017 Ericsson AB. +# Copyright (c) 2017-2021 Wind River Systems, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -13,12 +14,6 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# Copyright (c) 2017-2021 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import os diff --git a/distributedcloud/dcmanager/audit/utils.py b/distributedcloud/dcmanager/audit/utils.py index 7954d7138..bc97c3454 100644 --- a/distributedcloud/dcmanager/audit/utils.py +++ b/distributedcloud/dcmanager/audit/utils.py @@ -1,3 +1,4 @@ +# Copyright (c) 2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -10,7 +11,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2021 Wind River Systems, Inc. # # The right to copy, distribute, modify, or otherwise make use # of this software may be licensed only pursuant to the terms diff --git a/distributedcloud/dcmanager/cmd/api.py b/distributedcloud/dcmanager/cmd/api.py index 9b953ee13..460fb007d 100644 --- a/distributedcloud/dcmanager/cmd/api.py +++ b/distributedcloud/dcmanager/cmd/api.py @@ -1,4 +1,5 @@ # Copyright 2015 Huawei Technologies Co., Ltd. +# Copyright (c) 2017, 2019, 2021 Wind River Systems, Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may @@ -13,12 +14,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# # Much of this module is based on the work of the Ironic team # see http://git.openstack.org/cgit/openstack/ironic/tree/ironic/cmd/api.py diff --git a/distributedcloud/dcmanager/cmd/audit.py b/distributedcloud/dcmanager/cmd/audit.py index 8a516a28c..e5ef11643 100644 --- a/distributedcloud/dcmanager/cmd/audit.py +++ b/distributedcloud/dcmanager/cmd/audit.py @@ -1,3 +1,4 @@ +# Copyright (c) 2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -10,12 +11,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2021 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# """ DC Manager Audit Service. diff --git a/distributedcloud/dcmanager/cmd/audit_worker.py b/distributedcloud/dcmanager/cmd/audit_worker.py index fb58dccbd..3af29f55c 100644 --- a/distributedcloud/dcmanager/cmd/audit_worker.py +++ b/distributedcloud/dcmanager/cmd/audit_worker.py @@ -1,3 +1,4 @@ +# Copyright (c) 2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -10,12 +11,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2021 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# """ DC Manager Audit Worker Service. diff --git a/distributedcloud/dcmanager/cmd/manage.py b/distributedcloud/dcmanager/cmd/manage.py index c3fea9125..0b185370b 100644 --- a/distributedcloud/dcmanager/cmd/manage.py +++ b/distributedcloud/dcmanager/cmd/manage.py @@ -1,3 +1,4 @@ +# Copyright (c) 2017, 2019, 2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -10,12 +11,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# """ CLI interface for DC Manager management. diff --git a/distributedcloud/dcmanager/cmd/manager.py b/distributedcloud/dcmanager/cmd/manager.py index 7d9c6db43..80524bf94 100644 --- a/distributedcloud/dcmanager/cmd/manager.py +++ b/distributedcloud/dcmanager/cmd/manager.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# +# Copyright (c) 2017-2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -12,12 +12,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# """ DC Manager Engine Server. diff --git a/distributedcloud/dcmanager/cmd/orchestrator.py b/distributedcloud/dcmanager/cmd/orchestrator.py index 4f6805a6c..9bde434a1 100644 --- a/distributedcloud/dcmanager/cmd/orchestrator.py +++ b/distributedcloud/dcmanager/cmd/orchestrator.py @@ -1,3 +1,4 @@ +# Copyright (c) 2020-2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -10,12 +11,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2020 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# """ DC Manager Orchestrator Service. diff --git a/distributedcloud/dcmanager/common/config.py b/distributedcloud/dcmanager/common/config.py index 44c841b85..c4ce424ef 100644 --- a/distributedcloud/dcmanager/common/config.py +++ b/distributedcloud/dcmanager/common/config.py @@ -1,21 +1,16 @@ -# Copyright 2016 Ericsson AB -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. -# +# Copyright 2016 Ericsson AB # Copyright (c) 2017-2021 Wind River Systems, Inc. +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at # -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. # """ diff --git a/distributedcloud/dcmanager/common/consts.py b/distributedcloud/dcmanager/common/consts.py index 44b2803ad..0f2f5daa6 100644 --- a/distributedcloud/dcmanager/common/consts.py +++ b/distributedcloud/dcmanager/common/consts.py @@ -1,5 +1,5 @@ # Copyright (c) 2016 Ericsson AB. - +# Copyright (c) 2017-2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -12,12 +12,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017-2021 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# RPC_API_VERSION = "1.0" diff --git a/distributedcloud/dcmanager/common/context.py b/distributedcloud/dcmanager/common/context.py index aace44db1..c0c886aee 100644 --- a/distributedcloud/dcmanager/common/context.py +++ b/distributedcloud/dcmanager/common/context.py @@ -1,3 +1,4 @@ +# Copyright (c) 2017, 2019, 2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -10,12 +11,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import pecan from pecan import hooks diff --git a/distributedcloud/dcmanager/common/exceptions.py b/distributedcloud/dcmanager/common/exceptions.py index c9b3c79b9..c3f120119 100644 --- a/distributedcloud/dcmanager/common/exceptions.py +++ b/distributedcloud/dcmanager/common/exceptions.py @@ -1,5 +1,6 @@ # Copyright 2015 Huawei Technologies Co., Ltd. # Copyright 2015 Ericsson AB. +# Copyright (c) 2017-2021 Wind River Systems, Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may @@ -14,12 +15,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017-2021 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# """ DC Manager base exception handling. diff --git a/distributedcloud/dcmanager/common/i18n.py b/distributedcloud/dcmanager/common/i18n.py index e8832186f..8e8e5b106 100644 --- a/distributedcloud/dcmanager/common/i18n.py +++ b/distributedcloud/dcmanager/common/i18n.py @@ -1,3 +1,4 @@ +# Copyright (c) 2017, 2019, 2021 Wind River Systems, Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may @@ -12,12 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import oslo_i18n diff --git a/distributedcloud/dcmanager/common/manager.py b/distributedcloud/dcmanager/common/manager.py index c7b0460a9..6fe89d98c 100644 --- a/distributedcloud/dcmanager/common/manager.py +++ b/distributedcloud/dcmanager/common/manager.py @@ -1,5 +1,6 @@ # Copyright 2010 United States Government as represented by the # Administrator of the National Aeronautics and Space Administration. +# Copyright (c) 2017, 2019, 2021 Wind River Systems, Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may @@ -15,12 +16,6 @@ # under the License. # copy and modify from Nova manager.py # -# Copyright (c) 2017 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# """Base Manager class. Managers are responsible for a certain aspect of the system. It is a logical diff --git a/distributedcloud/dcmanager/common/messaging.py b/distributedcloud/dcmanager/common/messaging.py index 9c8586fa0..172408474 100644 --- a/distributedcloud/dcmanager/common/messaging.py +++ b/distributedcloud/dcmanager/common/messaging.py @@ -1,3 +1,4 @@ +# Copyright (c) 2017, 2019, 2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -10,12 +11,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import eventlet diff --git a/distributedcloud/dcmanager/common/policy.py b/distributedcloud/dcmanager/common/policy.py index 351184b29..d01f384c7 100644 --- a/distributedcloud/dcmanager/common/policy.py +++ b/distributedcloud/dcmanager/common/policy.py @@ -1,3 +1,4 @@ +# Copyright (c) 2017, 2019, 2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -10,12 +11,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# """ Policy Engine For DC Manager diff --git a/distributedcloud/dcmanager/common/scheduler.py b/distributedcloud/dcmanager/common/scheduler.py index f98f0777d..0ce2b68b2 100644 --- a/distributedcloud/dcmanager/common/scheduler.py +++ b/distributedcloud/dcmanager/common/scheduler.py @@ -1,3 +1,4 @@ +# Copyright (c) 2017-2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -10,12 +11,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017-2020 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import time diff --git a/distributedcloud/dcmanager/common/serializer.py b/distributedcloud/dcmanager/common/serializer.py index 2381b6078..71f3dfe84 100644 --- a/distributedcloud/dcmanager/common/serializer.py +++ b/distributedcloud/dcmanager/common/serializer.py @@ -1,4 +1,5 @@ # Copyright 2015 Huawei Technologies Co., Ltd. +# Copyright (c) 2017, 2019, 2021 Wind River Systems, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -13,12 +14,6 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# Copyright (c) 2017 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import oslo_messaging diff --git a/distributedcloud/dcmanager/common/utils.py b/distributedcloud/dcmanager/common/utils.py index acc7ce551..c0b33f97f 100644 --- a/distributedcloud/dcmanager/common/utils.py +++ b/distributedcloud/dcmanager/common/utils.py @@ -1,4 +1,5 @@ # Copyright 2015 Huawei Technologies Co., Ltd. +# Copyright (c) 2017-2021 Wind River Systems, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -13,12 +14,6 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# Copyright (c) 2017-2020 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import datetime import grp diff --git a/distributedcloud/dcmanager/common/version.py b/distributedcloud/dcmanager/common/version.py index 25168dc87..9deff1b27 100644 --- a/distributedcloud/dcmanager/common/version.py +++ b/distributedcloud/dcmanager/common/version.py @@ -1,5 +1,5 @@ -# Copyright 2011 OpenStack Foundation -# +# Copyright 2011 OpenStack Foundation +# Copyright (c) 2017, 2019, 2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -12,12 +12,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import pbr.version diff --git a/distributedcloud/dcmanager/db/api.py b/distributedcloud/dcmanager/db/api.py index c038aafee..7c2578547 100644 --- a/distributedcloud/dcmanager/db/api.py +++ b/distributedcloud/dcmanager/db/api.py @@ -1,4 +1,5 @@ # Copyright (c) 2015 Ericsson AB. +# Copyright (c) 2017-2021 Wind River Systems, Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may @@ -13,12 +14,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017-2021 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# """ Interface for database access. diff --git a/distributedcloud/dcmanager/db/sqlalchemy/api.py b/distributedcloud/dcmanager/db/sqlalchemy/api.py index 27e21f2b2..293082662 100644 --- a/distributedcloud/dcmanager/db/sqlalchemy/api.py +++ b/distributedcloud/dcmanager/db/sqlalchemy/api.py @@ -1,4 +1,5 @@ # Copyright (c) 2015 Ericsson AB. +# Copyright (c) 2017-2021 Wind River Systems, Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may @@ -13,12 +14,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017-2021 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# """ Implementation of SQLAlchemy backend. diff --git a/distributedcloud/dcmanager/db/sqlalchemy/migrate_repo/versions/001_first_version.py b/distributedcloud/dcmanager/db/sqlalchemy/migrate_repo/versions/001_first_version.py index 1170a6ebb..e5ec47235 100644 --- a/distributedcloud/dcmanager/db/sqlalchemy/migrate_repo/versions/001_first_version.py +++ b/distributedcloud/dcmanager/db/sqlalchemy/migrate_repo/versions/001_first_version.py @@ -1,4 +1,5 @@ # Copyright (c) 2015 Ericsson AB. +# Copyright (c) 2017-2021 Wind River Systems, Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may @@ -13,12 +14,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017-2020 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# from dccommon.drivers.openstack import vim import sqlalchemy diff --git a/distributedcloud/dcmanager/db/sqlalchemy/migrate_repo/versions/002_rename_compute_to_worker.py b/distributedcloud/dcmanager/db/sqlalchemy/migrate_repo/versions/002_rename_compute_to_worker.py index 261f47826..59227818b 100644 --- a/distributedcloud/dcmanager/db/sqlalchemy/migrate_repo/versions/002_rename_compute_to_worker.py +++ b/distributedcloud/dcmanager/db/sqlalchemy/migrate_repo/versions/002_rename_compute_to_worker.py @@ -1,3 +1,4 @@ +# Copyright (c) 2019-2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -10,12 +11,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2019 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# from sqlalchemy import MetaData from sqlalchemy import Table diff --git a/distributedcloud/dcmanager/db/sqlalchemy/migrate_repo/versions/003_add_deploy_status_column.py b/distributedcloud/dcmanager/db/sqlalchemy/migrate_repo/versions/003_add_deploy_status_column.py index 98b8acd9b..c586029bf 100644 --- a/distributedcloud/dcmanager/db/sqlalchemy/migrate_repo/versions/003_add_deploy_status_column.py +++ b/distributedcloud/dcmanager/db/sqlalchemy/migrate_repo/versions/003_add_deploy_status_column.py @@ -1,3 +1,4 @@ +# Copyright (c) 2019-2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -10,12 +11,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2019 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# from sqlalchemy import Column, MetaData, String, Table diff --git a/distributedcloud/dcmanager/db/sqlalchemy/migrate_repo/versions/004_add_openstack_installed_column.py b/distributedcloud/dcmanager/db/sqlalchemy/migrate_repo/versions/004_add_openstack_installed_column.py index 65f2ce181..4cfb42b9a 100644 --- a/distributedcloud/dcmanager/db/sqlalchemy/migrate_repo/versions/004_add_openstack_installed_column.py +++ b/distributedcloud/dcmanager/db/sqlalchemy/migrate_repo/versions/004_add_openstack_installed_column.py @@ -1,3 +1,4 @@ +# Copyright (c) 2019-2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -10,12 +11,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2019 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# from sqlalchemy import Column, MetaData, Table, Boolean diff --git a/distributedcloud/dcmanager/db/sqlalchemy/migrate_repo/versions/005_add_subcloud_alarms.py b/distributedcloud/dcmanager/db/sqlalchemy/migrate_repo/versions/005_add_subcloud_alarms.py index 409388443..159dff5ca 100644 --- a/distributedcloud/dcmanager/db/sqlalchemy/migrate_repo/versions/005_add_subcloud_alarms.py +++ b/distributedcloud/dcmanager/db/sqlalchemy/migrate_repo/versions/005_add_subcloud_alarms.py @@ -1,3 +1,4 @@ +# Copyright (c) 2020-2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -10,12 +11,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2020 Wind River Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import sqlalchemy diff --git a/distributedcloud/dcmanager/db/sqlalchemy/migrate_repo/versions/006_add_subcloud_group_table.py b/distributedcloud/dcmanager/db/sqlalchemy/migrate_repo/versions/006_add_subcloud_group_table.py index 106da472f..3faac6be6 100644 --- a/distributedcloud/dcmanager/db/sqlalchemy/migrate_repo/versions/006_add_subcloud_group_table.py +++ b/distributedcloud/dcmanager/db/sqlalchemy/migrate_repo/versions/006_add_subcloud_group_table.py @@ -1,3 +1,4 @@ +# Copyright (c) 2020-2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -10,12 +11,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2020 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# from migrate.changeset import constraint import sqlalchemy diff --git a/distributedcloud/dcmanager/db/sqlalchemy/migrate_repo/versions/007_add_subcloud_install.py b/distributedcloud/dcmanager/db/sqlalchemy/migrate_repo/versions/007_add_subcloud_install.py index 23aa9d1b7..c59c5f55d 100644 --- a/distributedcloud/dcmanager/db/sqlalchemy/migrate_repo/versions/007_add_subcloud_install.py +++ b/distributedcloud/dcmanager/db/sqlalchemy/migrate_repo/versions/007_add_subcloud_install.py @@ -1,3 +1,4 @@ +# Copyright (c) 2020-2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -10,12 +11,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2020 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# from sqlalchemy import Column from sqlalchemy import MetaData diff --git a/distributedcloud/dcmanager/db/sqlalchemy/migrate_repo/versions/008_add_subcloud_audits_table.py b/distributedcloud/dcmanager/db/sqlalchemy/migrate_repo/versions/008_add_subcloud_audits_table.py index c1a0374cf..60268f5ea 100644 --- a/distributedcloud/dcmanager/db/sqlalchemy/migrate_repo/versions/008_add_subcloud_audits_table.py +++ b/distributedcloud/dcmanager/db/sqlalchemy/migrate_repo/versions/008_add_subcloud_audits_table.py @@ -1,3 +1,4 @@ +# Copyright (c) 2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -10,12 +11,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2021 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import datetime from sqlalchemy import Boolean diff --git a/distributedcloud/dcmanager/db/sqlalchemy/migration.py b/distributedcloud/dcmanager/db/sqlalchemy/migration.py index 9fefa3078..f6a1bb6c4 100644 --- a/distributedcloud/dcmanager/db/sqlalchemy/migration.py +++ b/distributedcloud/dcmanager/db/sqlalchemy/migration.py @@ -1,4 +1,5 @@ # Copyright (c) 2015 Ericsson AB. +# Copyright (c) 2017, 2019, 2021 Wind River Systems, Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may @@ -13,12 +14,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import os diff --git a/distributedcloud/dcmanager/db/sqlalchemy/models.py b/distributedcloud/dcmanager/db/sqlalchemy/models.py index caf21e129..ad096ed72 100644 --- a/distributedcloud/dcmanager/db/sqlalchemy/models.py +++ b/distributedcloud/dcmanager/db/sqlalchemy/models.py @@ -1,4 +1,5 @@ # Copyright (c) 2015 Ericsson AB +# Copyright (c) 2017-2021 Wind River Systems, Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may @@ -13,12 +14,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017-2021 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# """ SQLAlchemy models for dcmanager data. """ diff --git a/distributedcloud/dcmanager/db/utils.py b/distributedcloud/dcmanager/db/utils.py index dd4e56eaa..73aa5fcc1 100644 --- a/distributedcloud/dcmanager/db/utils.py +++ b/distributedcloud/dcmanager/db/utils.py @@ -1,4 +1,5 @@ # Copyright (c) 2015 Ericsson AB. +# Copyright (c) 2017, 2019, 2021 Wind River Systems, Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may @@ -13,12 +14,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# class LazyPluggable(object): diff --git a/distributedcloud/dcmanager/manager/service.py b/distributedcloud/dcmanager/manager/service.py index 59546a771..8ecf9756d 100644 --- a/distributedcloud/dcmanager/manager/service.py +++ b/distributedcloud/dcmanager/manager/service.py @@ -1,3 +1,4 @@ +# Copyright (c) 2017-2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -10,12 +11,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017-2021 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import os import six diff --git a/distributedcloud/dcmanager/manager/subcloud_manager.py b/distributedcloud/dcmanager/manager/subcloud_manager.py index 4d87053dc..d6ca6f34b 100644 --- a/distributedcloud/dcmanager/manager/subcloud_manager.py +++ b/distributedcloud/dcmanager/manager/subcloud_manager.py @@ -1,4 +1,5 @@ # Copyright 2017 Ericsson AB. +# Copyright (c) 2017-2021 Wind River Systems, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -13,12 +14,6 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# Copyright (c) 2017-2021 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import filecmp import json diff --git a/distributedcloud/dcmanager/objects/base.py b/distributedcloud/dcmanager/objects/base.py index 1c7c43eb9..34d8d535b 100644 --- a/distributedcloud/dcmanager/objects/base.py +++ b/distributedcloud/dcmanager/objects/base.py @@ -1,4 +1,5 @@ # Copyright (c) 2015 Ericsson AB. +# Copyright (c) 2017, 2019, 2021 Wind River Systems, Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may @@ -13,12 +14,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# """DC Manager common internal object model""" diff --git a/distributedcloud/dcmanager/orchestrator/fw_update_orch_thread.py b/distributedcloud/dcmanager/orchestrator/fw_update_orch_thread.py index e5c95b061..65caad1fe 100644 --- a/distributedcloud/dcmanager/orchestrator/fw_update_orch_thread.py +++ b/distributedcloud/dcmanager/orchestrator/fw_update_orch_thread.py @@ -1,4 +1,5 @@ # Copyright 2017 Ericsson AB. +# Copyright (c) 2017-2021 Wind River Systems, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -13,12 +14,6 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# Copyright (c) 2017-2021 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# from dccommon.drivers.openstack import vim from dcmanager.common import consts from dcmanager.orchestrator.orch_thread import OrchThread diff --git a/distributedcloud/dcmanager/orchestrator/kube_upgrade_orch_thread.py b/distributedcloud/dcmanager/orchestrator/kube_upgrade_orch_thread.py index 221d197d7..53c17572f 100644 --- a/distributedcloud/dcmanager/orchestrator/kube_upgrade_orch_thread.py +++ b/distributedcloud/dcmanager/orchestrator/kube_upgrade_orch_thread.py @@ -1,4 +1,5 @@ # Copyright 2017 Ericsson AB. +# Copyright (c) 2017-2021 Wind River Systems, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -13,12 +14,6 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# Copyright (c) 2017-2021 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# from dccommon.drivers.openstack import vim from dcmanager.common import consts from dcmanager.orchestrator.orch_thread import OrchThread diff --git a/distributedcloud/dcmanager/orchestrator/orch_thread.py b/distributedcloud/dcmanager/orchestrator/orch_thread.py index 04bcf790a..e7fdb0961 100644 --- a/distributedcloud/dcmanager/orchestrator/orch_thread.py +++ b/distributedcloud/dcmanager/orchestrator/orch_thread.py @@ -1,4 +1,5 @@ # Copyright 2017 Ericsson AB. +# Copyright (c) 2017-2021 Wind River Systems, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -13,12 +14,6 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# Copyright (c) 2017-2021 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import abc import datetime import threading diff --git a/distributedcloud/dcmanager/orchestrator/patch_orch_thread.py b/distributedcloud/dcmanager/orchestrator/patch_orch_thread.py index 366ee2751..03ee2c53a 100644 --- a/distributedcloud/dcmanager/orchestrator/patch_orch_thread.py +++ b/distributedcloud/dcmanager/orchestrator/patch_orch_thread.py @@ -1,4 +1,5 @@ # Copyright 2017 Ericsson AB. +# Copyright (c) 2017-2021 Wind River Systems, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -13,12 +14,6 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# Copyright (c) 2017-2021 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import datetime import os import threading diff --git a/distributedcloud/dcmanager/orchestrator/rpcapi.py b/distributedcloud/dcmanager/orchestrator/rpcapi.py index c62efc693..b88c92fec 100644 --- a/distributedcloud/dcmanager/orchestrator/rpcapi.py +++ b/distributedcloud/dcmanager/orchestrator/rpcapi.py @@ -1,3 +1,4 @@ +# Copyright (c) 2020-2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -10,12 +11,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2020 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# """ Client side of the DC Manager Orchestrator RPC API. diff --git a/distributedcloud/dcmanager/orchestrator/service.py b/distributedcloud/dcmanager/orchestrator/service.py index f472dbbf8..4c903f57f 100644 --- a/distributedcloud/dcmanager/orchestrator/service.py +++ b/distributedcloud/dcmanager/orchestrator/service.py @@ -1,3 +1,4 @@ +# Copyright (c) 2020-2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -11,12 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# Copyright (c) 2020-2021 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import six diff --git a/distributedcloud/dcmanager/orchestrator/sw_update_manager.py b/distributedcloud/dcmanager/orchestrator/sw_update_manager.py index 0d1c50f92..d8c330d0f 100644 --- a/distributedcloud/dcmanager/orchestrator/sw_update_manager.py +++ b/distributedcloud/dcmanager/orchestrator/sw_update_manager.py @@ -1,4 +1,5 @@ # Copyright 2017 Ericsson AB. +# Copyright (c) 2017-2021 Wind River Systems, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -13,12 +14,6 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# Copyright (c) 2017-2021 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import os import shutil import threading diff --git a/distributedcloud/dcmanager/orchestrator/sw_upgrade_orch_thread.py b/distributedcloud/dcmanager/orchestrator/sw_upgrade_orch_thread.py index c34e5c926..5dd69e9ec 100644 --- a/distributedcloud/dcmanager/orchestrator/sw_upgrade_orch_thread.py +++ b/distributedcloud/dcmanager/orchestrator/sw_upgrade_orch_thread.py @@ -1,4 +1,5 @@ # Copyright 2017 Ericsson AB. +# Copyright (c) 2017-2021 Wind River Systems, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -13,12 +14,6 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# Copyright (c) 2017-2021 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# from dccommon.drivers.openstack import vim from dcmanager.common import consts from dcmanager.orchestrator.orch_thread import OrchThread diff --git a/distributedcloud/dcmanager/rpc/client.py b/distributedcloud/dcmanager/rpc/client.py index b5e9af1ea..ad8e57469 100644 --- a/distributedcloud/dcmanager/rpc/client.py +++ b/distributedcloud/dcmanager/rpc/client.py @@ -1,3 +1,4 @@ +# Copyright (c) 2017-2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -10,12 +11,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017-2021 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# """ Client side of the DC Manager RPC API. diff --git a/distributedcloud/dcmanager/tests/base.py b/distributedcloud/dcmanager/tests/base.py index 91428dc93..b68dbbddd 100644 --- a/distributedcloud/dcmanager/tests/base.py +++ b/distributedcloud/dcmanager/tests/base.py @@ -1,4 +1,5 @@ # Copyright (c) 2015 Ericsson AB +# Copyright (c) 2017-2021 Wind River Systems, Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may @@ -13,12 +14,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import json import sqlalchemy diff --git a/distributedcloud/dcmanager/tests/unit/api/test_root_controller.py b/distributedcloud/dcmanager/tests/unit/api/test_root_controller.py index c4fd2cdec..631677344 100644 --- a/distributedcloud/dcmanager/tests/unit/api/test_root_controller.py +++ b/distributedcloud/dcmanager/tests/unit/api/test_root_controller.py @@ -1,4 +1,5 @@ # Copyright (c) 2015 Huawei Technologies Co., Ltd. +# Copyright (c) 2017-2021 Wind River Systems, Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may @@ -13,12 +14,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import pecan from pecan.configuration import set_config diff --git a/distributedcloud/dcmanager/tests/unit/api/v1/controllers/mixins.py b/distributedcloud/dcmanager/tests/unit/api/v1/controllers/mixins.py index ccc38eb8a..14a64e232 100644 --- a/distributedcloud/dcmanager/tests/unit/api/v1/controllers/mixins.py +++ b/distributedcloud/dcmanager/tests/unit/api/v1/controllers/mixins.py @@ -1,4 +1,5 @@ # Copyright (c) 2017 Ericsson AB +# Copyright (c) 2020-2021 Wind River Systems, Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may @@ -13,12 +14,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2020 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import mock from six.moves import http_client diff --git a/distributedcloud/dcmanager/tests/unit/api/v1/controllers/test_alarm_manager.py b/distributedcloud/dcmanager/tests/unit/api/v1/controllers/test_alarm_manager.py index ab5435222..9b195d910 100644 --- a/distributedcloud/dcmanager/tests/unit/api/v1/controllers/test_alarm_manager.py +++ b/distributedcloud/dcmanager/tests/unit/api/v1/controllers/test_alarm_manager.py @@ -1,3 +1,4 @@ +# Copyright (c) 2020-2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -10,12 +11,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2020 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# from six.moves import http_client diff --git a/distributedcloud/dcmanager/tests/unit/api/v1/controllers/test_notifications.py b/distributedcloud/dcmanager/tests/unit/api/v1/controllers/test_notifications.py index 62b38bae4..11a3d8765 100644 --- a/distributedcloud/dcmanager/tests/unit/api/v1/controllers/test_notifications.py +++ b/distributedcloud/dcmanager/tests/unit/api/v1/controllers/test_notifications.py @@ -1,3 +1,4 @@ +# Copyright (c) 2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -10,12 +11,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2021 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import json import mock diff --git a/distributedcloud/dcmanager/tests/unit/api/v1/controllers/test_subcloud_deploy.py b/distributedcloud/dcmanager/tests/unit/api/v1/controllers/test_subcloud_deploy.py index e6500269e..b2a0b4c25 100644 --- a/distributedcloud/dcmanager/tests/unit/api/v1/controllers/test_subcloud_deploy.py +++ b/distributedcloud/dcmanager/tests/unit/api/v1/controllers/test_subcloud_deploy.py @@ -1,3 +1,4 @@ +# Copyright (c) 2020-2021 Wind River Systems, Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may @@ -12,12 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2020 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import mock from six.moves import http_client diff --git a/distributedcloud/dcmanager/tests/unit/api/v1/controllers/test_subcloud_group.py b/distributedcloud/dcmanager/tests/unit/api/v1/controllers/test_subcloud_group.py index c7b8c5707..cccd4993b 100644 --- a/distributedcloud/dcmanager/tests/unit/api/v1/controllers/test_subcloud_group.py +++ b/distributedcloud/dcmanager/tests/unit/api/v1/controllers/test_subcloud_group.py @@ -1,4 +1,5 @@ # Copyright (c) 2017 Ericsson AB +# Copyright (c) 2020-2021 Wind River Systems, Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may @@ -13,12 +14,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2020 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import mock from six.moves import http_client diff --git a/distributedcloud/dcmanager/tests/unit/api/v1/controllers/test_subclouds.py b/distributedcloud/dcmanager/tests/unit/api/v1/controllers/test_subclouds.py index 0b38f639e..f090fd481 100644 --- a/distributedcloud/dcmanager/tests/unit/api/v1/controllers/test_subclouds.py +++ b/distributedcloud/dcmanager/tests/unit/api/v1/controllers/test_subclouds.py @@ -1,4 +1,5 @@ # Copyright (c) 2017 Ericsson AB +# Copyright (c) 2017-2021 Wind River Systems, Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may @@ -13,12 +14,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017-2021 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# from oslo_utils import timeutils diff --git a/distributedcloud/dcmanager/tests/unit/api/v1/controllers/test_sw_update_strategy.py b/distributedcloud/dcmanager/tests/unit/api/v1/controllers/test_sw_update_strategy.py index c8fd7bcd1..9d82d2c7d 100644 --- a/distributedcloud/dcmanager/tests/unit/api/v1/controllers/test_sw_update_strategy.py +++ b/distributedcloud/dcmanager/tests/unit/api/v1/controllers/test_sw_update_strategy.py @@ -1,4 +1,5 @@ # Copyright (c) 2017 Ericsson AB +# Copyright (c) 2017-2021 Wind River Systems, Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may @@ -13,12 +14,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import copy import mock diff --git a/distributedcloud/dcmanager/tests/unit/audit/test_alarm_aggregation.py b/distributedcloud/dcmanager/tests/unit/audit/test_alarm_aggregation.py index 5a653594f..e9ba12df9 100644 --- a/distributedcloud/dcmanager/tests/unit/audit/test_alarm_aggregation.py +++ b/distributedcloud/dcmanager/tests/unit/audit/test_alarm_aggregation.py @@ -1,3 +1,4 @@ +# Copyright (c) 2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -10,12 +11,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2021 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import mock diff --git a/distributedcloud/dcmanager/tests/unit/audit/test_firmware_audit_manager.py b/distributedcloud/dcmanager/tests/unit/audit/test_firmware_audit_manager.py index f1856c33f..558b42ba7 100644 --- a/distributedcloud/dcmanager/tests/unit/audit/test_firmware_audit_manager.py +++ b/distributedcloud/dcmanager/tests/unit/audit/test_firmware_audit_manager.py @@ -1,3 +1,4 @@ +# Copyright (c) 2017-2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -10,12 +11,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017-2021 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import mock diff --git a/distributedcloud/dcmanager/tests/unit/audit/test_kube_audit_manager.py b/distributedcloud/dcmanager/tests/unit/audit/test_kube_audit_manager.py index f2a50de05..4fc80ab92 100644 --- a/distributedcloud/dcmanager/tests/unit/audit/test_kube_audit_manager.py +++ b/distributedcloud/dcmanager/tests/unit/audit/test_kube_audit_manager.py @@ -1,3 +1,4 @@ +# Copyright (c) 2017-2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -10,12 +11,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017-2021 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import mock import uuid diff --git a/distributedcloud/dcmanager/tests/unit/audit/test_patch_audit_manager.py b/distributedcloud/dcmanager/tests/unit/audit/test_patch_audit_manager.py index e12205f0c..0e1bcf479 100644 --- a/distributedcloud/dcmanager/tests/unit/audit/test_patch_audit_manager.py +++ b/distributedcloud/dcmanager/tests/unit/audit/test_patch_audit_manager.py @@ -1,3 +1,4 @@ +# Copyright (c) 2017-2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -10,12 +11,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017-2021 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import mock diff --git a/distributedcloud/dcmanager/tests/unit/audit/test_service.py b/distributedcloud/dcmanager/tests/unit/audit/test_service.py index 287076e93..70fc4adc7 100644 --- a/distributedcloud/dcmanager/tests/unit/audit/test_service.py +++ b/distributedcloud/dcmanager/tests/unit/audit/test_service.py @@ -1,3 +1,4 @@ +# Copyright (c) 2020-2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -10,12 +11,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2020 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# from dcmanager.audit import service from dcmanager.common import scheduler diff --git a/distributedcloud/dcmanager/tests/unit/audit/test_subcloud_audit_manager.py b/distributedcloud/dcmanager/tests/unit/audit/test_subcloud_audit_manager.py index ec35dd4cb..d359375f8 100644 --- a/distributedcloud/dcmanager/tests/unit/audit/test_subcloud_audit_manager.py +++ b/distributedcloud/dcmanager/tests/unit/audit/test_subcloud_audit_manager.py @@ -1,3 +1,4 @@ +# Copyright (c) 2017-2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -10,12 +11,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017-2021 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import mock diff --git a/distributedcloud/dcmanager/tests/unit/audit/test_subcloud_audit_worker_manager.py b/distributedcloud/dcmanager/tests/unit/audit/test_subcloud_audit_worker_manager.py index 80bb98524..4aa7ff310 100644 --- a/distributedcloud/dcmanager/tests/unit/audit/test_subcloud_audit_worker_manager.py +++ b/distributedcloud/dcmanager/tests/unit/audit/test_subcloud_audit_worker_manager.py @@ -1,3 +1,4 @@ +# Copyright (c) 2017-2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -10,12 +11,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017-2021 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import copy import mock diff --git a/distributedcloud/dcmanager/tests/unit/db/test_subcloud_alarms.py b/distributedcloud/dcmanager/tests/unit/db/test_subcloud_alarms.py index 373b0b40b..32b1ec0c6 100644 --- a/distributedcloud/dcmanager/tests/unit/db/test_subcloud_alarms.py +++ b/distributedcloud/dcmanager/tests/unit/db/test_subcloud_alarms.py @@ -1,3 +1,4 @@ +# Copyright (c) 2020-2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -10,12 +11,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2020 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# from oslo_db import exception as db_exception from dcmanager.common import consts diff --git a/distributedcloud/dcmanager/tests/unit/db/test_subcloud_audits.py b/distributedcloud/dcmanager/tests/unit/db/test_subcloud_audits.py index 86aac7ef4..20eafc75d 100644 --- a/distributedcloud/dcmanager/tests/unit/db/test_subcloud_audits.py +++ b/distributedcloud/dcmanager/tests/unit/db/test_subcloud_audits.py @@ -1,3 +1,4 @@ +# Copyright (c) 2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -10,12 +11,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2021 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import datetime import sqlalchemy diff --git a/distributedcloud/dcmanager/tests/unit/db/test_subcloud_db_api.py b/distributedcloud/dcmanager/tests/unit/db/test_subcloud_db_api.py index daacf9f1f..1f8eebd95 100644 --- a/distributedcloud/dcmanager/tests/unit/db/test_subcloud_db_api.py +++ b/distributedcloud/dcmanager/tests/unit/db/test_subcloud_db_api.py @@ -1,7 +1,8 @@ # Copyright (c) 2015 Ericsson AB +# Copyright (c) 2017-2021 Wind River Systems, Inc. # All Rights Reserved. # -# Licensed under the Apache License, Version 2.0 (the "License"); you may +# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # @@ -13,12 +14,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# from oslo_db import exception as db_exception from dcmanager.common import config diff --git a/distributedcloud/dcmanager/tests/unit/fakes.py b/distributedcloud/dcmanager/tests/unit/fakes.py index d20930ec7..3d3446a35 100644 --- a/distributedcloud/dcmanager/tests/unit/fakes.py +++ b/distributedcloud/dcmanager/tests/unit/fakes.py @@ -1,3 +1,4 @@ +# Copyright (c) 2017-2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -10,12 +11,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import uuid from oslo_utils import timeutils diff --git a/distributedcloud/dcmanager/tests/unit/manager/test_service.py b/distributedcloud/dcmanager/tests/unit/manager/test_service.py index ab9d492f8..6dfd8c158 100644 --- a/distributedcloud/dcmanager/tests/unit/manager/test_service.py +++ b/distributedcloud/dcmanager/tests/unit/manager/test_service.py @@ -1,3 +1,4 @@ +# Copyright (c) 2017-2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -10,12 +11,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017-2020 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import mock import os.path diff --git a/distributedcloud/dcmanager/tests/unit/manager/test_subcloud_manager.py b/distributedcloud/dcmanager/tests/unit/manager/test_subcloud_manager.py index 9474decfa..0350dc65a 100644 --- a/distributedcloud/dcmanager/tests/unit/manager/test_subcloud_manager.py +++ b/distributedcloud/dcmanager/tests/unit/manager/test_subcloud_manager.py @@ -1,3 +1,4 @@ +# Copyright (c) 2017-2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -10,12 +11,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017-2021 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import copy import mock diff --git a/distributedcloud/dcmanager/tests/unit/objects/test_base.py b/distributedcloud/dcmanager/tests/unit/objects/test_base.py index 1df4c8d11..504e600b1 100644 --- a/distributedcloud/dcmanager/tests/unit/objects/test_base.py +++ b/distributedcloud/dcmanager/tests/unit/objects/test_base.py @@ -1,4 +1,5 @@ # Copyright (c) 2015 Ericsson AB. +# Copyright (c) 2017, 2019, 2021 Wind River Systems, Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may @@ -13,12 +14,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import mock diff --git a/distributedcloud/dcmanager/tests/unit/orchestrator/test_base.py b/distributedcloud/dcmanager/tests/unit/orchestrator/test_base.py index 108ea04f9..962958d34 100644 --- a/distributedcloud/dcmanager/tests/unit/orchestrator/test_base.py +++ b/distributedcloud/dcmanager/tests/unit/orchestrator/test_base.py @@ -1,3 +1,4 @@ +# Copyright (c) 2017-2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -10,12 +11,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017-2021 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import mock from oslo_config import cfg diff --git a/distributedcloud/dcmanager/tests/unit/orchestrator/test_sw_update_manager.py b/distributedcloud/dcmanager/tests/unit/orchestrator/test_sw_update_manager.py index 2a08a5387..29b6e5b9d 100644 --- a/distributedcloud/dcmanager/tests/unit/orchestrator/test_sw_update_manager.py +++ b/distributedcloud/dcmanager/tests/unit/orchestrator/test_sw_update_manager.py @@ -1,3 +1,4 @@ +# Copyright (c) 2017-2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -10,12 +11,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017-2021 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import copy import mock from os import path as os_path diff --git a/distributedcloud/dcmanager/tests/unit/rpc/test_rpc_client.py b/distributedcloud/dcmanager/tests/unit/rpc/test_rpc_client.py index 3a5e31655..94ec5cc1d 100644 --- a/distributedcloud/dcmanager/tests/unit/rpc/test_rpc_client.py +++ b/distributedcloud/dcmanager/tests/unit/rpc/test_rpc_client.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- - +# Copyright (c) 2017, 2019, 2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -12,12 +12,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import mock diff --git a/distributedcloud/dcmanager/tests/unit/test_dcmanager.py b/distributedcloud/dcmanager/tests/unit/test_dcmanager.py index a9562ea65..8b7f0d54e 100644 --- a/distributedcloud/dcmanager/tests/unit/test_dcmanager.py +++ b/distributedcloud/dcmanager/tests/unit/test_dcmanager.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- - +# Copyright (c) 2017, 2019, 2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -12,12 +12,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# """ test_dcmanager diff --git a/distributedcloud/dcmanager/tests/unit/utils/test_utils.py b/distributedcloud/dcmanager/tests/unit/utils/test_utils.py index 8e990bf2f..a8c36b38d 100644 --- a/distributedcloud/dcmanager/tests/unit/utils/test_utils.py +++ b/distributedcloud/dcmanager/tests/unit/utils/test_utils.py @@ -1,4 +1,5 @@ # Copyright 2016 Ericsson AB +# Copyright (c) 2017, 2019, 2021 Wind River Systems, Inc. # All Rights Reserved # # Licensed under the Apache License, Version 2.0 (the "License"); you may @@ -13,12 +14,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# from dcmanager.tests import base diff --git a/distributedcloud/dcmanager/tests/utils.py b/distributedcloud/dcmanager/tests/utils.py index 8ebc4c386..e5ff02e45 100644 --- a/distributedcloud/dcmanager/tests/utils.py +++ b/distributedcloud/dcmanager/tests/utils.py @@ -1,4 +1,5 @@ # Copyright (c) 2015 Ericsson AB +# Copyright (c) 2017-2021 Wind River Systems, Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may @@ -13,12 +14,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import eventlet import random diff --git a/distributedcloud/dcmanager/version.py b/distributedcloud/dcmanager/version.py index 3deb66b44..f77b7bf5b 100644 --- a/distributedcloud/dcmanager/version.py +++ b/distributedcloud/dcmanager/version.py @@ -1,3 +1,4 @@ +# Copyright (c) 2017-2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -10,12 +11,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017-2021 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import pbr.version diff --git a/distributedcloud/dcorch/api/proxy/common/service.py b/distributedcloud/dcorch/api/proxy/common/service.py index 3a71839f8..a64b947e9 100644 --- a/distributedcloud/dcorch/api/proxy/common/service.py +++ b/distributedcloud/dcorch/api/proxy/common/service.py @@ -1,3 +1,4 @@ +# Copyright (c) 2017-2021 Wind River Systems, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain @@ -11,12 +12,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# from oslo_log import log as logging from oslo_service.wsgi import Request diff --git a/distributedcloud/dcorch/common/consts.py b/distributedcloud/dcorch/common/consts.py index 84d1f700b..82ee05fd6 100644 --- a/distributedcloud/dcorch/common/consts.py +++ b/distributedcloud/dcorch/common/consts.py @@ -1,5 +1,5 @@ # Copyright (c) 2016 Ericsson AB. - +# Copyright (c) 2017-2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -12,12 +12,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017-2021 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# NOVA_QUOTA_FIELDS = ("metadata_items", diff --git a/distributedcloud/dcorch/db/sqlalchemy/api.py b/distributedcloud/dcorch/db/sqlalchemy/api.py index 4662a5c69..4597fb0c2 100644 --- a/distributedcloud/dcorch/db/sqlalchemy/api.py +++ b/distributedcloud/dcorch/db/sqlalchemy/api.py @@ -1,4 +1,5 @@ # Copyright (c) 2015 Ericsson AB. +# Copyright (c) 2017-2021 Wind River Systems, Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may @@ -13,12 +14,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017-2020 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# """ diff --git a/distributedcloud/dcorch/db/sqlalchemy/migrate_repo/versions/004_delete_subcloud_alarms.py b/distributedcloud/dcorch/db/sqlalchemy/migrate_repo/versions/004_delete_subcloud_alarms.py index 585419cec..c5721a87d 100644 --- a/distributedcloud/dcorch/db/sqlalchemy/migrate_repo/versions/004_delete_subcloud_alarms.py +++ b/distributedcloud/dcorch/db/sqlalchemy/migrate_repo/versions/004_delete_subcloud_alarms.py @@ -1,3 +1,4 @@ +# Copyright (c) 2020-2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -10,12 +11,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2020 Wind River Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import sqlalchemy diff --git a/distributedcloud/dcorch/db/sqlalchemy/models.py b/distributedcloud/dcorch/db/sqlalchemy/models.py index d6c7d948c..063c40626 100644 --- a/distributedcloud/dcorch/db/sqlalchemy/models.py +++ b/distributedcloud/dcorch/db/sqlalchemy/models.py @@ -1,11 +1,5 @@ -# Copyright (c) 2017-2020 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# -# # Copyright (c) 2015 Ericsson AB +# Copyright (c) 2017-2021 Wind River Systems, Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may diff --git a/distributedcloud/dcorch/drivers/openstack/sdk.py b/distributedcloud/dcorch/drivers/openstack/sdk.py index 87606f9ee..9dfcc5c77 100644 --- a/distributedcloud/dcorch/drivers/openstack/sdk.py +++ b/distributedcloud/dcorch/drivers/openstack/sdk.py @@ -1,5 +1,5 @@ # Copyright 2016 Ericsson AB - +# Copyright (c) 2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -12,11 +12,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2021 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. """ OpenStack Driver diff --git a/distributedcloud/dcorch/objects/base.py b/distributedcloud/dcorch/objects/base.py index 829e6f072..15b1d588f 100644 --- a/distributedcloud/dcorch/objects/base.py +++ b/distributedcloud/dcorch/objects/base.py @@ -1,4 +1,5 @@ # Copyright (c) 2015 Ericsson AB. +# Copyright (c) 2017, 2019, 2021 Wind River Systems, Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may @@ -13,12 +14,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2017 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# """Orchestrator common internal object model""" diff --git a/distributedcloud/dcorch/tests/unit/db/test_subcloud_db_api.py b/distributedcloud/dcorch/tests/unit/db/test_subcloud_db_api.py index 9f40c5c2e..768b9f0b2 100644 --- a/distributedcloud/dcorch/tests/unit/db/test_subcloud_db_api.py +++ b/distributedcloud/dcorch/tests/unit/db/test_subcloud_db_api.py @@ -1,10 +1,5 @@ -# Copyright (c) 2017 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# # Copyright (c) 2015 Ericsson AB +# Copyright (c) 2017, 2019, 2021 Wind River Systems, Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may diff --git a/distributedcloud/dcorch/tests/unit/db/test_subcloud_resource_db_api.py b/distributedcloud/dcorch/tests/unit/db/test_subcloud_resource_db_api.py index ff222a570..77960279b 100644 --- a/distributedcloud/dcorch/tests/unit/db/test_subcloud_resource_db_api.py +++ b/distributedcloud/dcorch/tests/unit/db/test_subcloud_resource_db_api.py @@ -1,10 +1,5 @@ -# Copyright (c) 2017 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# # Copyright (c) 2017 Ericsson AB +# Copyright (c) 2017-2021 Wind River Systems, Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may diff --git a/distributedcloud/dcorch/tests/unit/engine/test_generic_sync_manager.py b/distributedcloud/dcorch/tests/unit/engine/test_generic_sync_manager.py index e8a7f3f10..01846a45c 100644 --- a/distributedcloud/dcorch/tests/unit/engine/test_generic_sync_manager.py +++ b/distributedcloud/dcorch/tests/unit/engine/test_generic_sync_manager.py @@ -1,3 +1,4 @@ +# Copyright (c) 2020-2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -10,12 +11,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2020 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import mock diff --git a/distributedcloud/dcorch/tests/unit/engine/test_initial_sync_manager.py b/distributedcloud/dcorch/tests/unit/engine/test_initial_sync_manager.py index 3f1195720..4932644b6 100644 --- a/distributedcloud/dcorch/tests/unit/engine/test_initial_sync_manager.py +++ b/distributedcloud/dcorch/tests/unit/engine/test_initial_sync_manager.py @@ -1,3 +1,4 @@ +# Copyright (c) 2020-2021 Wind River Systems, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -10,12 +11,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# Copyright (c) 2020 Wind River Systems, Inc. -# -# The right to copy, distribute, modify, or otherwise make use -# of this software may be licensed only pursuant to the terms -# of an applicable Wind River license agreement. -# import mock