community.network.avi_tenant – Module for setup of Tenant Avi RESTful Object¶
Note
This plugin is part of the community.network collection (version 2.1.1).
To install it use: ansible-galaxy collection install community.network
.
To use it in a playbook, specify: community.network.avi_tenant
.
Synopsis¶
This module is used to configure Tenant object
more examples at https://github.com/avinetworks/devops
Parameters¶
Notes¶
Note
For more information on using Ansible to manage Avi Network devices see https://www.ansible.com/ansible-avi-networks.
Examples¶
- name: Create Tenant using Service Engines in provider mode
community.network.avi_tenant:
controller: '{{ controller }}'
password: '{{ password }}'
username: '{{ username }}'
config_settings:
se_in_provider_context: false
tenant_access_to_provider_se: true
tenant_vrf: false
description: VCenter, Open Stack, AWS Virtual services
local: true
name: Demo
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Key | Returned | Description |
---|---|---|
obj
dictionary
|
success, changed |
Tenant (api/tenant) object
|
Authors¶
Gaurav Rastogi (@grastogi23) <grastogi@avinetworks.com>