From 23f15e6ff60809121f3daa01d54d9e4f9f71ed6d Mon Sep 17 00:00:00 2001 From: Anil Kumar Muraleedharan Date: Tue, 6 Mar 2018 23:32:46 +0530 Subject: [PATCH] Lenovo license update (#36840) * Editing the License text after Review of Lenovo Legal team. --- lib/ansible/modules/network/enos/enos_command.py | 8 ++++++++ lib/ansible/modules/network/enos/enos_config.py | 9 ++++++++- lib/ansible/modules/network/enos/enos_facts.py | 8 +++++++- lib/ansible/plugins/action/enos.py | 16 +++++----------- lib/ansible/plugins/action/enos_config.py | 15 ++++----------- lib/ansible/plugins/cliconf/enos.py | 16 +++++----------- lib/ansible/plugins/terminal/enos.py | 15 ++++----------- lib/ansible/utils/module_docs_fragments/enos.py | 16 +++++----------- 8 files changed, 46 insertions(+), 57 deletions(-) diff --git a/lib/ansible/modules/network/enos/enos_command.py b/lib/ansible/modules/network/enos/enos_command.py index 9f11f6950c0..0818fa60bbb 100644 --- a/lib/ansible/modules/network/enos/enos_command.py +++ b/lib/ansible/modules/network/enos/enos_command.py @@ -1,8 +1,16 @@ #!/usr/bin/python # -*- coding: utf-8 -*- # +# (C) 2017 Red Hat Inc. # Copyright (C) 2017 Lenovo. +# # GNU General Public License v3.0+ +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # # Module to execute ENOS Commands on Lenovo Switches. diff --git a/lib/ansible/modules/network/enos/enos_config.py b/lib/ansible/modules/network/enos/enos_config.py index 8afb575043f..265c0a66475 100644 --- a/lib/ansible/modules/network/enos/enos_config.py +++ b/lib/ansible/modules/network/enos/enos_config.py @@ -1,14 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- # +# (C) 2017 Red Hat Inc. # Copyright (C) 2017 Lenovo. +# # GNU General Public License v3.0+ +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # # Module to configure Lenovo Switches. # Lenovo Networking # - from __future__ import absolute_import, division, print_function __metaclass__ = type diff --git a/lib/ansible/modules/network/enos/enos_facts.py b/lib/ansible/modules/network/enos/enos_facts.py index 133d42f22dc..7ff20449b21 100644 --- a/lib/ansible/modules/network/enos/enos_facts.py +++ b/lib/ansible/modules/network/enos/enos_facts.py @@ -1,11 +1,17 @@ #!/usr/bin/python # -*- coding: utf-8 -*- # +# (C) 2017 Red Hat Inc. # Copyright (C) 2017 Lenovo. +# # GNU General Public License v3.0+ -# (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # +# (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # Module to Collect facts from Lenovo Switches running Lenovo ENOS commands # Lenovo Networking # diff --git a/lib/ansible/plugins/action/enos.py b/lib/ansible/plugins/action/enos.py index a5da914839c..69f256b3c5d 100644 --- a/lib/ansible/plugins/action/enos.py +++ b/lib/ansible/plugins/action/enos.py @@ -1,20 +1,14 @@ +# (C) 2017 Red Hat Inc. +# Copyright (C) 2017 Lenovo. # -# (c) 2017 Red Hat Inc. +# GNU General Public License v3.0+ # -# This file is part of Ansible -# -# Ansible is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Ansible is distributed in the hope that it will be useful, +# This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # -# You should have received a copy of the GNU General Public License -# along with Ansible. If not, see . +# (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # # Contains Action Plugin methods for ENOS Config Module # Lenovo Networking diff --git a/lib/ansible/plugins/action/enos_config.py b/lib/ansible/plugins/action/enos_config.py index 21dbe7261cb..2f74d97e041 100644 --- a/lib/ansible/plugins/action/enos_config.py +++ b/lib/ansible/plugins/action/enos_config.py @@ -1,21 +1,14 @@ -# +# (C) 2017 Red Hat Inc. # Copyright (C) 2017 Lenovo. -# All rights reserved. -# -# This file is part of Ansible # -# Ansible is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# GNU General Public License v3.0+ # -# Ansible is distributed in the hope that it will be useful, +# This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # -# You should have received a copy of the GNU General Public License -# along with Ansible. If not, see . +# (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # # Contains Action Plugin methods for ENOS Config Module # Lenovo Networking diff --git a/lib/ansible/plugins/cliconf/enos.py b/lib/ansible/plugins/cliconf/enos.py index 882e4c0eab1..d8506cf724f 100644 --- a/lib/ansible/plugins/cliconf/enos.py +++ b/lib/ansible/plugins/cliconf/enos.py @@ -1,20 +1,14 @@ +# (C) 2017 Red Hat Inc. +# Copyright (C) 2017 Lenovo. # -# (c) 2017 Red Hat Inc. +# GNU General Public License v3.0+ # -# This file is part of Ansible -# -# Ansible is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Ansible is distributed in the hope that it will be useful, +# This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # -# You should have received a copy of the GNU General Public License -# along with Ansible. If not, see . +# (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # # Contains CLIConf Plugin methods for ENOS Modules # Lenovo Networking diff --git a/lib/ansible/plugins/terminal/enos.py b/lib/ansible/plugins/terminal/enos.py index 4d269a817ca..e1b82d25622 100644 --- a/lib/ansible/plugins/terminal/enos.py +++ b/lib/ansible/plugins/terminal/enos.py @@ -1,21 +1,14 @@ -# +# (C) 2017 Red Hat Inc. # Copyright (C) 2017 Lenovo. -# All rights reserved. -# -# This file is part of Ansible # -# Ansible is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# GNU General Public License v3.0+ # -# Ansible is distributed in the hope that it will be useful, +# This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # -# You should have received a copy of the GNU General Public License -# along with Ansible. If not, see . +# (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # # Contains terminal Plugin methods for ENOS Config Module # Lenovo Networking diff --git a/lib/ansible/utils/module_docs_fragments/enos.py b/lib/ansible/utils/module_docs_fragments/enos.py index 91924ca8eeb..ccc59cfad21 100644 --- a/lib/ansible/utils/module_docs_fragments/enos.py +++ b/lib/ansible/utils/module_docs_fragments/enos.py @@ -1,20 +1,14 @@ -# Copyright (C) 2017 Lenovo, Inc. +# (C) 2017 Red Hat Inc. +# Copyright (C) 2017 Lenovo. # -# This file is part of Ansible +# GNU General Public License v3.0+ # -# Ansible is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Ansible is distributed in the hope that it will be useful, +# This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # -# You should have received a copy of the GNU General Public License -# along with Ansible. If not, see . -# +# (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) class ModuleDocFragment(object):