diff options
59 files changed, 245 insertions, 297 deletions
@@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 Anuket contributors +# +# SPDX-License-Identifier: Apache-2.0 + meta-data user-data *.swp diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fa28ab0..7ce3e29 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 Anuket contributors +# +# SPDX-License-Identifier: Apache-2.0 + --- # GitLab CI config file to deploy RI2 on baremetal infra # and run RC2 compliance tests on the deployed platform. @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2021 Anuket contributors +# +# SPDX-License-Identifier: Apache-2.0 [gerrit] host=gerrit.opnfv.org diff --git a/.rstcheck.cfg b/.rstcheck.cfg index a9cf023..86d167d 100644 --- a/.rstcheck.cfg +++ b/.rstcheck.cfg @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 Anuket Contributors +# +# SPDX-License-Identifier: Apache-2.0 + [rstcheck] report=warning ignore_substitutions=today @@ -1,12 +1,7 @@ --- -# SPDX-license-identifier: Apache-2.0 -############################################################################## -# Copyright (c) 2020 Samsung Electronics -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Apache License, Version 2.0 -# which accompanies this distribution, and is available at -# http://www.apache.org/licenses/LICENSE-2.0 -############################################################################## +# SPDX-FileCopyrightText: 2021 Samsung Electronics +# +# SPDX-License-Identifier: Apache-2.0 extends: default @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 Anuket Contributors +# +# SPDX-License-Identifier: Apache-2.0 + --- project: 'kuberef' project_creation_date: '2020-07-08' @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 Anuket contributors +# +# SPDX-License-Identifier: Apache-2.0 + python3-all-dev [platform:dpkg] python3-all [platform:dpkg] python-all-dev [platform:dpkg] @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 Anuket contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Define environment variables export VENDOR=${VENDOR:-intel} @@ -1,12 +1,8 @@ #!/bin/bash -# SPDX-license-identifier: Apache-2.0 -############################################################################## -# Copyright (c) Ericsson AB and others -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Apache License, Version 2.0 -# which accompanies this distribution, and is available at -# http://www.apache.org/licenses/LICENSE-2.0 -############################################################################## + +# SPDX-FileCopyrightText: 2021 Ericsson AB and others +# +# SPDX-License-Identifier: Apache-2.0 set -o errexit set -o nounset diff --git a/docs/conf.py b/docs/conf.py index fb66e70..61f42e3 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 Anuket contributors +# +# SPDX-License-Identifier: Apache-2.0 + """ for docs """ diff --git a/docs/conf.yaml b/docs/conf.yaml index a9bc5de..62e109b 100644 --- a/docs/conf.yaml +++ b/docs/conf.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 Anuket contributors +# +# SPDX-License-Identifier: Apache-2.0 + --- project_cfg: opnfv project: Kuberef diff --git a/docs/index.rst b/docs/index.rst index 1ae2c5a..9db999d 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -1,9 +1,8 @@ -.. _kuberef: +.. SPDX-FileCopyrightText: 2021 Anuket contributors +.. +.. SPDX-License-Identifier: CC-BY-4.0 -.. This work is licensed under a Creative Commons Attribution 4.0 International License. -.. http://creativecommons.org/licenses/by/4.0 -.. SPDX-License-Identifier CC-BY-4.0 -.. (c) 2021 Anuket contributors +.. _kuberef: ************** Anuket Kuberef diff --git a/docs/release/installation/deployment-guide.rst b/docs/release/installation/deployment-guide.rst index b96b616..0390589 100644 --- a/docs/release/installation/deployment-guide.rst +++ b/docs/release/installation/deployment-guide.rst @@ -1,3 +1,7 @@ +.. SPDX-FileCopyrightText: 2021 Anuket contributors +.. +.. SPDX-License-Identifier: CC-BY-4.0 + =================================== Welcome to Kuberef's documentation! =================================== diff --git a/docs/release/installation/index.rst b/docs/release/installation/index.rst index 5d1d8a6..93b0b5d 100644 --- a/docs/release/installation/index.rst +++ b/docs/release/installation/index.rst @@ -1,6 +1,6 @@ -.. This work is licensed under a Creative Commons Attribution 4.0 International License. -.. http://creativecommons.org/licenses/by/4.0 -.. (c) 2021 Anuket contributors. +.. SPDX-FileCopyrightText: 2021 Anuket contributors +.. +.. SPDX-License-Identifier: CC-BY-4.0 .. _kuberef-installation: .. _kuberef-configguide: diff --git a/docs/release/release-notes/index.rst b/docs/release/release-notes/index.rst index e9e401b..a6a651f 100644 --- a/docs/release/release-notes/index.rst +++ b/docs/release/release-notes/index.rst @@ -1,6 +1,6 @@ -.. This work is licensed under a Creative Commons Attribution 4.0 International License. -.. http://creativecommons.org/licenses/by/4.0 -.. (c) 2021 Anuket contributors. +.. SPDX-FileCopyrightText: 2021 Anuket contributors +.. +.. SPDX-License-Identifier: CC-BY-4.0 .. _kuberef-releasenotes: diff --git a/docs/release/release-notes/release-notes.rst b/docs/release/release-notes/release-notes.rst index f5910ae..c5783a3 100644 --- a/docs/release/release-notes/release-notes.rst +++ b/docs/release/release-notes/release-notes.rst @@ -1,6 +1,6 @@ -.. This work is licensed under a Creative Commons Attribution 4.0 International License. -.. http://creativecommons.org/licenses/by/4.0 -.. (c) 2021 Anuket contributors. +.. SPDX-FileCopyrightText: 2021 Anuket contributors +.. +.. SPDX-License-Identifier: CC-BY-4.0 Anuket Kali Release =================== diff --git a/docs/requirements.txt b/docs/requirements.txt index 9fde2df..92d8e94 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,2 +1,6 @@ +# SPDX-FileCopyrightText: 2021 Anuket contributors +# +# SPDX-License-Identifier: Apache-2.0 + lfdocs-conf sphinx_opnfv_theme diff --git a/functions.sh b/functions.sh index ccc8bc7..4265dca 100755 --- a/functions.sh +++ b/functions.sh @@ -1,12 +1,8 @@ #!/bin/bash -# SPDX-license-identifier: Apache-2.0 -############################################################################## -# Copyright (c) Ericsson AB and others -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Apache License, Version 2.0 -# which accompanies this distribution, and is available at -# http://www.apache.org/licenses/LICENSE-2.0 -############################################################################## + +# SPDX-FileCopyrightText: 2021 Ericsson AB and others +# +# SPDX-License-Identifier: Apache-2.0 info() { _print_msg "INFO" "$1" diff --git a/hw_config/equinix-metal/idf.yaml b/hw_config/equinix-metal/idf.yaml index 7b6c07e..0cdcc41 100644 --- a/hw_config/equinix-metal/idf.yaml +++ b/hw_config/equinix-metal/idf.yaml @@ -1,12 +1,8 @@ --- -# SPDX-license-identifier: Apache-2.0 -############################################################################## -# Copyright (c) 2020 -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Apache License, Version 2.0 -# which accompanies this distribution, and is available at -# http://www.apache.org/licenses/LICENSE-2.0 -############################################################################## + +# SPDX-FileCopyrightText: 2021 Anuket contributors +# +# SPDX-License-Identifier: Apache-2.0 idf: version: 0.1 diff --git a/hw_config/equinix-metal/pdf.yaml b/hw_config/equinix-metal/pdf.yaml index 61afc27..734cc8f 100644 --- a/hw_config/equinix-metal/pdf.yaml +++ b/hw_config/equinix-metal/pdf.yaml @@ -1,12 +1,8 @@ --- -# SPDX-license-identifier: Apache-2.0 -############################################################################## -# Copyright (c) 2020 -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Apache License, Version 2.0 -# which accompanies this distribution, and is available at -# http://www.apache.org/licenses/LICENSE-2.0 -############################################################################## + +# SPDX-FileCopyrightText: 2021 Anuket contributors +# +# SPDX-License-Identifier: Apache-2.0 version: 1.0 details: diff --git a/hw_config/ericsson-pod1/idf.yaml b/hw_config/ericsson-pod1/idf.yaml index 10e2433..411d36d 100644 --- a/hw_config/ericsson-pod1/idf.yaml +++ b/hw_config/ericsson-pod1/idf.yaml @@ -1,11 +1,7 @@ -# SPDX-license-identifier: Apache-2.0 -############################################################################## -# Copyright (c) 2020 Ericsson AB and others -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Apache License, Version 2.0 -# which accompanies this distribution, and is available at -# http://www.apache.org/licenses/LICENSE-2.0 -############################################################################## +# SPDX-FileCopyrightText: 2021 Ericsson AB and others +# +# SPDX-License-Identifier: Apache-2.0 + --- ### ERICSSON POD 1 installer descriptor file ### idf: diff --git a/hw_config/ericsson-pod1/pdf.yaml b/hw_config/ericsson-pod1/pdf.yaml index bb8130c..a98afba 100644 --- a/hw_config/ericsson-pod1/pdf.yaml +++ b/hw_config/ericsson-pod1/pdf.yaml @@ -1,12 +1,9 @@ --- -# SPDX-license-identifier: Apache-2.0 -############################################################################## -# Copyright (c) 2020 Ericsson AB and others -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Apache License, Version 2.0 -# which accompanies this distribution, and is available at -# http://www.apache.org/licenses/LICENSE-2.0 -############################################################################## + +# SPDX-FileCopyrightText: 2021 Ericsson AB and others +# +# SPDX-License-Identifier: Apache-2.0 + version: 1.0 details: pod_owner: Ericsson diff --git a/hw_config/ericsson-pod1/setup_network.sh b/hw_config/ericsson-pod1/setup_network.sh index 4696f6b..a631c12 100755 --- a/hw_config/ericsson-pod1/setup_network.sh +++ b/hw_config/ericsson-pod1/setup_network.sh @@ -1,4 +1,9 @@ #!/bin/bash + +# SPDX-FileCopyrightText: 2021 Anuket contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Adapt this script according to your network setup # TODO Get networking info from PDF & IDF # TODO Add support in infra engine to update nameserver, etc diff --git a/hw_config/intel/idf.yaml b/hw_config/intel/idf.yaml index 4ce7c47..72f8c95 100644 --- a/hw_config/intel/idf.yaml +++ b/hw_config/intel/idf.yaml @@ -1,12 +1,8 @@ --- -# SPDX-license-identifier: Apache-2.0 -############################################################################## -# Copyright (c) 2020 -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Apache License, Version 2.0 -# which accompanies this distribution, and is available at -# http://www.apache.org/licenses/LICENSE-2.0 -############################################################################## + +# SPDX-FileCopyrightText: 2021 Anuket contributors +# +# SPDX-License-Identifier: Apache-2.0 idf: version: 0.1 diff --git a/hw_config/intel/pdf.yaml b/hw_config/intel/pdf.yaml index d8836ec..9fb2ea0 100644 --- a/hw_config/intel/pdf.yaml +++ b/hw_config/intel/pdf.yaml @@ -1,12 +1,8 @@ --- -# SPDX-license-identifier: Apache-2.0 -############################################################################## -# Copyright (c) 2020 -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Apache License, Version 2.0 -# which accompanies this distribution, and is available at -# http://www.apache.org/licenses/LICENSE-2.0 -############################################################################## + +# SPDX-FileCopyrightText: 2021 Anuket contributors +# +# SPDX-License-Identifier: Apache-2.0 version: 1.0 details: diff --git a/hw_config/intel/setup_network.sh b/hw_config/intel/setup_network.sh index 4035b7a..18bdeac 100755 --- a/hw_config/intel/setup_network.sh +++ b/hw_config/intel/setup_network.sh @@ -1,12 +1,8 @@ #!/bin/bash -# SPDX-license-identifier: Apache-2.0 -############################################################################## -# Copyright (c) -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Apache License, Version 2.0 -# which accompanies this distribution, and is available at -# http://www.apache.org/licenses/LICENSE-2.0 -############################################################################## + +# SPDX-FileCopyrightText: 2021 Anuket contributors +# +# SPDX-License-Identifier: Apache-2.0 # Adapt this script according to your network setup # TODO Get networking info from PDF & IDF diff --git a/inventory/group_vars/all/global.yaml b/inventory/group_vars/all/global.yaml index 8b2adf9..c032226 100644 --- a/inventory/group_vars/all/global.yaml +++ b/inventory/group_vars/all/global.yaml @@ -1,12 +1,8 @@ --- -# SPDX-license-identifier: Apache-2.0 -############################################################################## -# Copyright (c) Ericsson AB and others -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Apache License, Version 2.0 -# which accompanies this distribution, and is available at -# http://www.apache.org/licenses/LICENSE-2.0 -############################################################################## + +# SPDX-FileCopyrightText: 2021 Ericsson AB and others +# +# SPDX-License-Identifier: Apache-2.0 # root directory of kuberef repository kuberef_root: "{{ lookup('env', 'CURRENTPATH') }}" diff --git a/inventory/localhost.ini b/inventory/localhost.ini index 72f71a5..c332a7f 100644 --- a/inventory/localhost.ini +++ b/inventory/localhost.ini @@ -1,3 +1,7 @@ +; SPDX-FileCopyrightText: 2021 Anuket contributors +; +; SPDX-License-Identifier: Apache-2.0 + [all:vars] ansible_ssh_extra_args=' -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null' diff --git a/playbooks/bmra-config.yaml b/playbooks/bmra-config.yaml index 5b020f1..052415d 100644 --- a/playbooks/bmra-config.yaml +++ b/playbooks/bmra-config.yaml @@ -1,12 +1,9 @@ --- -# SPDX-license-identifier: Apache-2.0 -############################################################################## -# Copyright (c) Ericsson AB and others -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Apache License, Version 2.0 -# which accompanies this distribution, and is available at -# http://www.apache.org/licenses/LICENSE-2.0 -############################################################################## + +# SPDX-FileCopyrightText: 2021 Anuket contributors +# SPDX-FileCopyrightText: 2021 Ericsson AB and others +# +# SPDX-License-Identifier: Apache-2.0 - hosts: localhost connection: local diff --git a/playbooks/bootstrap.yaml b/playbooks/bootstrap.yaml index 4ef2baa..903e671 100644 --- a/playbooks/bootstrap.yaml +++ b/playbooks/bootstrap.yaml @@ -1,12 +1,8 @@ --- -# SPDX-license-identifier: Apache-2.0 -############################################################################## -# Copyright (c) Ericsson AB and others -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Apache License, Version 2.0 -# which accompanies this distribution, and is available at -# http://www.apache.org/licenses/LICENSE-2.0 -############################################################################## + +# SPDX-FileCopyrightText: 2021 Ericsson AB and others +# +# SPDX-License-Identifier: Apache-2.0 - hosts: localhost connection: local diff --git a/playbooks/jump-vm.yaml b/playbooks/jump-vm.yaml index bdad81c..16e4e68 100644 --- a/playbooks/jump-vm.yaml +++ b/playbooks/jump-vm.yaml @@ -1,11 +1,8 @@ --- -############################################################################## -# Copyright (c) Ericsson AB and others -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Apache License, Version 2.0 -# which accompanies this distribution, and is available at -# http://www.apache.org/licenses/LICENSE-2.0 -############################################################################## + +# SPDX-FileCopyrightText: 2021 Ericsson AB and others +# +# SPDX-License-Identifier: Apache-2.0 - hosts: localhost connection: local diff --git a/playbooks/pre-install.yaml b/playbooks/pre-install.yaml index 31d2a1c..0a4267f 100644 --- a/playbooks/pre-install.yaml +++ b/playbooks/pre-install.yaml @@ -1,12 +1,8 @@ --- -# SPDX-license-identifier: Apache-2.0 -############################################################################## -# Copyright (c) 2020 Samsung Electronics -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Apache License, Version 2.0 -# which accompanies this distribution, and is available at -# http://www.apache.org/licenses/LICENSE-2.0 -############################################################################## + +# SPDX-FileCopyrightText: 2021 Samsung Electronics +# +# SPDX-License-Identifier: Apache-2.0 - name: Install requirements on nodes hosts: all,!localhost diff --git a/playbooks/roles/bmra-config/tasks/main.yaml b/playbooks/roles/bmra-config/tasks/main.yaml index e5a692f..396ff79 100644 --- a/playbooks/roles/bmra-config/tasks/main.yaml +++ b/playbooks/roles/bmra-config/tasks/main.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 Anuket contributors +# +# SPDX-License-Identifier: Apache-2.0 + --- - name: Write BMRA inventory config template: diff --git a/playbooks/roles/bmra-config/templates/all.j2 b/playbooks/roles/bmra-config/templates/all.j2 index 1dbabe2..1eca556 100644 --- a/playbooks/roles/bmra-config/templates/all.j2 +++ b/playbooks/roles/bmra-config/templates/all.j2 @@ -1,18 +1,9 @@ -## -## Copyright (c) 2020-2021 Intel Corporation. -## -## 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. -## +{# +SPDX-FileCopyrightText: 2021 Intel Corporation + +SPDX-License-Identifier: Apache-2.0 +#} + --- ## BMRA primary playbook variables ## diff --git a/playbooks/roles/bmra-config/templates/inventory.j2 b/playbooks/roles/bmra-config/templates/inventory.j2 index 7f6cde0..9b91c5f 100644 --- a/playbooks/roles/bmra-config/templates/inventory.j2 +++ b/playbooks/roles/bmra-config/templates/inventory.j2 @@ -1,3 +1,9 @@ +{# +SPDX-FileCopyrightText: 2021 Anuket contributors + +SPDX-License-Identifier: Apache-2.0 +#} + [all] {% for node in nodes %} {{ idf.kubespray.hostnames[node.name] }} ansible_host={{ node.interfaces[idf.net_config[engine.pxe_network].interface].address }} ip={{ node.interfaces[idf.net_config[engine.pxe_network].interface].address }} diff --git a/playbooks/roles/bmra-config/templates/kube-node.j2 b/playbooks/roles/bmra-config/templates/kube-node.j2 index 09a6958..2f66c5a 100644 --- a/playbooks/roles/bmra-config/templates/kube-node.j2 +++ b/playbooks/roles/bmra-config/templates/kube-node.j2 @@ -1,18 +1,9 @@ -## -## Copyright (c) 2020-2021 Intel Corporation. -## -## 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. -## +{# +SPDX-FileCopyrightText: 2021 Intel Corporation + +SPDX-License-Identifier: Apache-2.0 +#} + --- # Kubernetes node configuration diff --git a/playbooks/roles/bootstrap/tasks/main.yaml b/playbooks/roles/bootstrap/tasks/main.yaml index ff20552..1ce4d15 100644 --- a/playbooks/roles/bootstrap/tasks/main.yaml +++ b/playbooks/roles/bootstrap/tasks/main.yaml @@ -1,11 +1,8 @@ --- -############################################################################## -# Copyright (c) Ericsson AB and others -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Apache License, Version 2.0 -# which accompanies this distribution, and is available at -# http://www.apache.org/licenses/LICENSE-2.0 -############################################################################## + +# SPDX-FileCopyrightText: 2021 Ericsson AB and others +# +# SPDX-License-Identifier: Apache-2.0 # collected PDF and IDF are copied into group_vars # folder in order to ensure we have single PDF and IDF diff --git a/playbooks/roles/jump-vm/tasks/main.yaml b/playbooks/roles/jump-vm/tasks/main.yaml index b6ed840..89e35b2 100644 --- a/playbooks/roles/jump-vm/tasks/main.yaml +++ b/playbooks/roles/jump-vm/tasks/main.yaml @@ -1,11 +1,8 @@ --- -############################################################################## -# Copyright (c) Ericsson AB and others -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Apache License, Version 2.0 -# which accompanies this distribution, and is available at -# http://www.apache.org/licenses/LICENSE-2.0 -############################################################################## + +# SPDX-FileCopyrightText: 2021 Ericsson AB and others +# +# SPDX-License-Identifier: Apache-2.0 - name: get all running VMs virt: diff --git a/playbooks/roles/jump-vm/templates/meta-data.j2 b/playbooks/roles/jump-vm/templates/meta-data.j2 index b4cc5e8..28eea16 100644 --- a/playbooks/roles/jump-vm/templates/meta-data.j2 +++ b/playbooks/roles/jump-vm/templates/meta-data.j2 @@ -1 +1,7 @@ +{# +SPDX-FileCopyrightText: 2021 Anuket contributors + +SPDX-License-Identifier: Apache-2.0 +#} + local-hostname: {{ jumphost.name }} diff --git a/playbooks/roles/jump-vm/templates/network-config.j2 b/playbooks/roles/jump-vm/templates/network-config.j2 index 8587a10..a8a366c 100644 --- a/playbooks/roles/jump-vm/templates/network-config.j2 +++ b/playbooks/roles/jump-vm/templates/network-config.j2 @@ -1,3 +1,9 @@ +{# +SPDX-FileCopyrightText: 2021 Anuket contributors + +SPDX-License-Identifier: Apache-2.0 +#} + {% if deployment_type == 'full' %} version: 1 config: diff --git a/playbooks/roles/jump-vm/templates/user-data.j2 b/playbooks/roles/jump-vm/templates/user-data.j2 index 2fad2e3..8b0fba5 100644 --- a/playbooks/roles/jump-vm/templates/user-data.j2 +++ b/playbooks/roles/jump-vm/templates/user-data.j2 @@ -1,3 +1,9 @@ +{# +SPDX-FileCopyrightText: 2021 Anuket contributors + +SPDX-License-Identifier: Apache-2.0 +#} + #jinja2:lstrip_blocks: True #cloud-config users: diff --git a/playbooks/roles/pre-install/molecule/default/converge.yml b/playbooks/roles/pre-install/molecule/default/converge.yml index c7904cf..2efb2b3 100644 --- a/playbooks/roles/pre-install/molecule/default/converge.yml +++ b/playbooks/roles/pre-install/molecule/default/converge.yml @@ -1,12 +1,8 @@ --- -# SPDX-license-identifier: Apache-2.0 -############################################################################## -# Copyright (c) 2020 Samsung Electronics -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Apache License, Version 2.0 -# which accompanies this distribution, and is available at -# http://www.apache.org/licenses/LICENSE-2.0 -############################################################################## + +# SPDX-FileCopyrightText: 2021 Samsung Electronics +# +# SPDX-License-Identifier: Apache-2.0 - name: Converge hosts: all diff --git a/playbooks/roles/pre-install/molecule/default/molecule.yml b/playbooks/roles/pre-install/molecule/default/molecule.yml index a43f45f..d9ee142 100644 --- a/playbooks/roles/pre-install/molecule/default/molecule.yml +++ b/playbooks/roles/pre-install/molecule/default/molecule.yml @@ -1,12 +1,9 @@ --- -# SPDX-license-identifier: Apache-2.0 -############################################################################## -# Copyright (c) 2020 Samsung Electronics -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Apache License, Version 2.0 -# which accompanies this distribution, and is available at -# http://www.apache.org/licenses/LICENSE-2.0 -############################################################################## + +# SPDX-FileCopyrightText: 2021 Samsung Electronics +# +# SPDX-License-Identifier: Apache-2.0 + dependency: name: galaxy driver: diff --git a/playbooks/roles/pre-install/molecule/default/tests/test_default.py b/playbooks/roles/pre-install/molecule/default/tests/test_default.py index c992994..df82092 100644 --- a/playbooks/roles/pre-install/molecule/default/tests/test_default.py +++ b/playbooks/roles/pre-install/molecule/default/tests/test_default.py @@ -1,17 +1,6 @@ -# Copyright 2020 Samsung Electronics -# -# 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.# +# SPDX-FileCopyrightText: 2020 Samsung Electronics # +# SPDX-License-Identifier: Apache-2.0 import os import pytest diff --git a/playbooks/roles/pre-install/tasks/main.yml b/playbooks/roles/pre-install/tasks/main.yml index ba3e1c0..a081068 100644 --- a/playbooks/roles/pre-install/tasks/main.yml +++ b/playbooks/roles/pre-install/tasks/main.yml @@ -1,12 +1,8 @@ --- -# SPDX-license-identifier: Apache-2.0 -############################################################################## -# Copyright (c) 2020 Samsung Electronics -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Apache License, Version 2.0 -# which accompanies this distribution, and is available at -# http://www.apache.org/licenses/LICENSE-2.0 -############################################################################## + +# SPDX-FileCopyrightText: 2020 Samsung Electronics +# +# SPDX-License-Identifier: Apache-2.0 - name: Ensure Python3 is installed for CentOS (Equinix Metal) raw: yum install -y python3 diff --git a/playbooks/roles/pre-install/vars/Debian.yml b/playbooks/roles/pre-install/vars/Debian.yml index 0ff9b92..475b136 100644 --- a/playbooks/roles/pre-install/vars/Debian.yml +++ b/playbooks/roles/pre-install/vars/Debian.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 Anuket contributors +# +# SPDX-License-Identifier: Apache-2.0 + --- bmra_pkgs: - lshw diff --git a/playbooks/roles/pre-install/vars/RedHat.yml b/playbooks/roles/pre-install/vars/RedHat.yml index cf20b89..689bdfb 100644 --- a/playbooks/roles/pre-install/vars/RedHat.yml +++ b/playbooks/roles/pre-install/vars/RedHat.yml @@ -1,12 +1,8 @@ --- -# SPDX-license-identifier: Apache-2.0 -############################################################################## -# Copyright (c) 2020 Samsung Electronics -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Apache License, Version 2.0 -# which accompanies this distribution, and is available at -# http://www.apache.org/licenses/LICENSE-2.0 -############################################################################## + +# SPDX-FileCopyrightText: 2020 Samsung Electronics +# +# SPDX-License-Identifier: Apache-2.0 bmra_pkgs: - lshw diff --git a/requirements.txt b/requirements.txt index c1409de..95bdbf4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,6 @@ +# SPDX-FileCopyrightText: 2021 Anuket contributors +# +# SPDX-License-Identifier: Apache-2.0 + ansible libvirt-python diff --git a/sw_config/bmra/Dockerfile b/sw_config/bmra/Dockerfile index 4ea0f35..3f21241 100644 --- a/sw_config/bmra/Dockerfile +++ b/sw_config/bmra/Dockerfile @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 Anuket contributors +# +# SPDX-License-Identifier: Apache-2.0 + FROM centos:7 MAINTAINER "Rihab Banday <rihab.banday@ericsson.com>" diff --git a/sw_config/bmra/ansible.cfg b/sw_config/bmra/ansible.cfg index 1808b58..a3b5e40 100644 --- a/sw_config/bmra/ansible.cfg +++ b/sw_config/bmra/ansible.cfg @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 Anuket Contributors +# +# SPDX-License-Identifier: Apache-2.0 + [ssh_connection] pipelining=True ssh_args = -o ControlMaster=auto -o ControlPersist=30m -o ConnectionAttempts=100 -o UserKnownHostsFile=/dev/null -o ServerAliveInterval=60 -o ServerAliveCountMax=10 diff --git a/sw_config/bmra/dockerhub_credentials/tasks/main.yml b/sw_config/bmra/dockerhub_credentials/tasks/main.yml index 6531df8..5bc9b0a 100644 --- a/sw_config/bmra/dockerhub_credentials/tasks/main.yml +++ b/sw_config/bmra/dockerhub_credentials/tasks/main.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 Anuket contributors +# +# SPDX-License-Identifier: Apache-2.0 + --- - name: Add Docker hub credentials on target nodes docker_login: diff --git a/sw_config/bmra/patched_cmk_build.yml b/sw_config/bmra/patched_cmk_build.yml index ae0c94d..0b5c774 100644 --- a/sw_config/bmra/patched_cmk_build.yml +++ b/sw_config/bmra/patched_cmk_build.yml @@ -1,18 +1,7 @@ -## -## Copyright (c) 2020 Intel Corporation. -## -## 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. -## +# SPDX-FileCopyrightText: 2020 Intel Corporation. +# +# SPDX-License-Identifier: Apache-2.0 + --- - name: install epel-release on Red Hat based OS package: name=epel-release diff --git a/sw_config/bmra/patched_k8s.yml b/sw_config/bmra/patched_k8s.yml index 52239b0..5dfc3bd 100644 --- a/sw_config/bmra/patched_k8s.yml +++ b/sw_config/bmra/patched_k8s.yml @@ -1,18 +1,7 @@ -## -## Copyright (c) 2020-2021 Intel Corporation. -## -## 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. -## +# SPDX-FileCopyrightText: 2021 Intel Corporation. +# +# SPDX-License-Identifier: Apache-2.0 + --- - hosts: 127.0.0.1 connection: local diff --git a/sw_config/bmra/patched_kubespray_requirements.txt b/sw_config/bmra/patched_kubespray_requirements.txt index de70e12..b6cf112 100644 --- a/sw_config/bmra/patched_kubespray_requirements.txt +++ b/sw_config/bmra/patched_kubespray_requirements.txt @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 Anuket contributors +# +# SPDX-License-Identifier: Apache-2.0 + ansible==2.9.17 jinja2==2.11.1 netaddr==0.7.19 diff --git a/sw_config/bmra/patched_packages.yml b/sw_config/bmra/patched_packages.yml index d637127..90a8519 100644 --- a/sw_config/bmra/patched_packages.yml +++ b/sw_config/bmra/patched_packages.yml @@ -1,18 +1,7 @@ -## -## Copyright (c) 2020-2021 Intel Corporation. -## -## 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. -## +# SPDX-FileCopyrightText: 2021 Intel Corporation. +# +# SPDX-License-Identifier: Apache-2.0 + --- - name: install packages on RHEL-based distro include_tasks: rhel.yml diff --git a/sw_config/bmra/patched_rhel_packages.yml b/sw_config/bmra/patched_rhel_packages.yml index 990f5dc..40b22b6 100644 --- a/sw_config/bmra/patched_rhel_packages.yml +++ b/sw_config/bmra/patched_rhel_packages.yml @@ -1,18 +1,7 @@ -## -## Copyright (c) 2020-2021 Intel Corporation. -## -## 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. -## +# SPDX-FileCopyrightText: 2021 Intel Corporation. +# +# SPDX-License-Identifier: Apache-2.0 + --- - name: enable PowerTools repository on CentOS >= 8 and < 8.3 # noqa 303 - yum is called intenionallly here diff --git a/sw_config/bmra/patched_vfio.yml b/sw_config/bmra/patched_vfio.yml index 81d4ab5..f4b7a1d 100644 --- a/sw_config/bmra/patched_vfio.yml +++ b/sw_config/bmra/patched_vfio.yml @@ -1,18 +1,7 @@ -## -## Copyright (c) 2020-2021 Intel Corporation. -## -## 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. -## +# SPDX-FileCopyrightText: 2021 Intel Corporation. +# +# SPDX-License-Identifier: Apache-2.0 + --- # check if the selected driver module is available on host - name: Check that selected driver module is available diff --git a/test-requirements.txt b/test-requirements.txt index cb560ac..53c91d2 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 Anuket contributors +# +# SPDX-License-Identifier: Apache-2.0 + # The order of packages is significant, because pip processes them in the order # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. @@ -1,3 +1,7 @@ +; SPDX-FileCopyrightText: 2021 Anuket contributors +; +; SPDX-License-Identifier: Apache-2.0 + [tox] minversion = 3.5 skipsdist = True |