diff options
author | Anil Kumar Muraleedharan <amuraleedhar@lenovo.com> | 2018-03-07 19:41:47 +0530 |
---|---|---|
committer | John R Barker <john@johnrbarker.com> | 2018-03-07 14:11:47 +0000 |
commit | 895d9abd7b53a3bcecea394347f41fe2f92b297a (patch) | |
tree | a9efdd26ed429472eaef05171803b176bdccf8c7 | |
parent | 0c4d8a9ce59bafb23f0b354f16c8f2ea10f1fa1c (diff) | |
download | ansible-895d9abd7b53a3bcecea394347f41fe2f92b297a.tar.gz |
2.5lenovo license update (#37118)
* Syncing with the latest License information in main branch
* Adding License to 2.5 branch
-rw-r--r-- | lib/ansible/modules/network/enos/enos_command.py | 16 | ||||
-rw-r--r-- | lib/ansible/modules/network/enos/enos_config.py | 15 | ||||
-rw-r--r-- | lib/ansible/modules/network/enos/enos_facts.py | 22 | ||||
-rw-r--r-- | lib/ansible/plugins/action/enos.py | 18 | ||||
-rw-r--r-- | lib/ansible/plugins/action/enos_config.py | 18 | ||||
-rw-r--r-- | lib/ansible/plugins/cliconf/enos.py | 17 | ||||
-rw-r--r-- | lib/ansible/plugins/terminal/enos.py | 18 | ||||
-rw-r--r-- | lib/ansible/utils/module_docs_fragments/enos.py | 17 |
8 files changed, 68 insertions, 73 deletions
diff --git a/lib/ansible/modules/network/enos/enos_command.py b/lib/ansible/modules/network/enos/enos_command.py index 77ac4896d4..7cd7a3f9e1 100644 --- a/lib/ansible/modules/network/enos/enos_command.py +++ b/lib/ansible/modules/network/enos/enos_command.py @@ -1,8 +1,22 @@ #!/usr/bin/python +# -*- coding: utf-8 -*- +# +# (C) 2017 Red Hat Inc. +# Copyright (C) 2017 Lenovo. # -# Copyright (C) 2017 Lenovo, Inc. # 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. +# Lenovo Networking +# + from __future__ import absolute_import, division, print_function __metaclass__ = type diff --git a/lib/ansible/modules/network/enos/enos_config.py b/lib/ansible/modules/network/enos/enos_config.py index 2271d39c31..d30d3879de 100644 --- a/lib/ansible/modules/network/enos/enos_config.py +++ b/lib/ansible/modules/network/enos/enos_config.py @@ -1,8 +1,21 @@ #!/usr/bin/python +# -*- coding: utf-8 -*- +# +# (C) 2017 Red Hat Inc. +# Copyright (C) 2017 Lenovo. # -# Copyright (C) 2017 Lenovo, Inc. # 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 b9072b5c61..ea52973b0b 100644 --- a/lib/ansible/modules/network/enos/enos_facts.py +++ b/lib/ansible/modules/network/enos/enos_facts.py @@ -1,29 +1,25 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -from __future__ import absolute_import, division, print_function -__metaclass__ = type # -# 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 <http://www.gnu.org/licenses/>. -# +# (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 # +from __future__ import absolute_import, division, print_function +__metaclass__ = type + + ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['preview'], 'supported_by': 'community'} diff --git a/lib/ansible/plugins/action/enos.py b/lib/ansible/plugins/action/enos.py index a5da914839..435ce02b69 100644 --- a/lib/ansible/plugins/action/enos.py +++ b/lib/ansible/plugins/action/enos.py @@ -1,22 +1,16 @@ +# (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 <http://www.gnu.org/licenses/>. +# (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # -# Contains Action Plugin methods for ENOS Config Module +# 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 b7080c6e60..2a9337abf9 100644 --- a/lib/ansible/plugins/action/enos_config.py +++ b/lib/ansible/plugins/action/enos_config.py @@ -1,24 +1,18 @@ +# (C) 2017 Red Hat Inc. +# Copyright (C) 2017 Lenovo. # -# Copyright (C) 2017 Lenovo, Inc. -# All rights reserved. +# 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 <http://www.gnu.org/licenses/>. +# (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # # Contains Action Plugin methods for ENOS Config Module # Lenovo Networking + from __future__ import (absolute_import, division, print_function) __metaclass__ = type diff --git a/lib/ansible/plugins/cliconf/enos.py b/lib/ansible/plugins/cliconf/enos.py index 882e4c0eab..9fdca6ee30 100644 --- a/lib/ansible/plugins/cliconf/enos.py +++ b/lib/ansible/plugins/cliconf/enos.py @@ -1,24 +1,19 @@ +# (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 <http://www.gnu.org/licenses/>. +# (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # # Contains CLIConf Plugin methods for ENOS Modules # Lenovo Networking # + from __future__ import (absolute_import, division, print_function) __metaclass__ = type diff --git a/lib/ansible/plugins/terminal/enos.py b/lib/ansible/plugins/terminal/enos.py index 16f8ac7d97..dd1abe6933 100644 --- a/lib/ansible/plugins/terminal/enos.py +++ b/lib/ansible/plugins/terminal/enos.py @@ -1,25 +1,19 @@ +# (C) 2017 Red Hat Inc. +# Copyright (C) 2017 Lenovo. # -# Copyright (C) 2017 Lenovo, Inc. -# All rights reserved. +# 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 <http://www.gnu.org/licenses/>. +# (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # # Contains terminal Plugin methods for ENOS Config Module # Lenovo Networking # + from __future__ import (absolute_import, division, print_function) __metaclass__ = type diff --git a/lib/ansible/utils/module_docs_fragments/enos.py b/lib/ansible/utils/module_docs_fragments/enos.py index 91924ca8ee..06a9898b15 100644 --- a/lib/ansible/utils/module_docs_fragments/enos.py +++ b/lib/ansible/utils/module_docs_fragments/enos.py @@ -1,20 +1,15 @@ -# 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 <http://www.gnu.org/licenses/>. -# +# (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) +# Common documentation class ModuleDocFragment(object): |