mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 03:41:25 -07:00
* Avi Networks Ansible modules. Avi Version: 16.3.4 * Fixed Review comments 1. Changed description to be full sentences 2. Fixed Pep8 warnings. 3. Fixed comments and descriptions. * 1. Fixed descriptions and messages as per review comments. 2. Added descriptions for the missing parameters. * Fixed the shippable break due to the incorrect description format * Removed the extra modules so that there is a single module for the first commit * Updated license to BSD based on review comments * updated comments based on review feedback * Refactored code to handle POST and PUT scenarios where playbook does not need to check whether object is present. Moved ansible helper utilities to module_utils as now roles can be patched with module_utils as well. * fixed pep8 warnings
45 lines
1.6 KiB
Python
45 lines
1.6 KiB
Python
#
|
|
# Created on December 12, 2016
|
|
# @author: Gaurav Rastogi (grastogi@avinetworks.com)
|
|
# Avi Version: 16.3.4
|
|
#
|
|
#
|
|
# 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,
|
|
# 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/>.
|
|
#
|
|
|
|
|
|
class ModuleDocFragment(object):
|
|
# Avi common documentation fragment
|
|
DOCUMENTATION = """
|
|
options:
|
|
controller:
|
|
description:
|
|
- IP address or hostname of the controller. The default value is the environment variable C(AVI_CONTROLLER).
|
|
username:
|
|
description:
|
|
- Username used for accessing Avi controller. The default value is the environment variable C(AVI_USERNAME).
|
|
password:
|
|
description:
|
|
- Password of Avi user in Avi controller. The default value is the environment variable C(AVI_PASSWORD).
|
|
tenant:
|
|
description:
|
|
- Name of tenant used for all Avi API calls and context of object.
|
|
default: admin
|
|
tenant_uuid:
|
|
description:
|
|
- UUID of tenant used for all Avi API calls and context of object.
|
|
default: ''
|
|
"""
|