New in version 2.7.
The below requirements are needed on the host that executes this module.
Parameter | Choices/Defaults | Comments |
---|---|---|
address_blocks | List of address blocks for the VLAN Each address block contains the starting IP address and size for the block Required for create | |
attributes | Dictionary of attributes with name and value for each attribute | |
gateway | Gateway for the VLAN | |
hostname required | The hostname or IP address of the SolidFire cluster. | |
name | User defined name for the new VLAN Name of the vlan is unique Required for create | |
namespace bool |
| Enable or disable namespaces |
netmask | Netmask for the VLAN Required for create | |
password required | Password for the specified user. aliases: pass | |
state |
| Whether the specified vlan should exist or not. |
svip | Storage virtual IP which is unique Required for create | |
username required | Please ensure that the user has the adequate permissions. For more information, please read the official documentation https://mysupport.netapp.com/documentation/docweb/index.html?productID=62636&language=en-US. aliases: user | |
vlan_tag required | Virtual Network Tag |
Note
- name: Create vlan na_elementsw_vlan: state: present name: test vlan_tag: 1 svip: "{{ ip address }}" netmask: "{{ netmask }}" address_blocks: - start: "{{ starting ip_address }}" size: 5 - start: "{{ starting ip_address }}" size: 5 hostname: "{{ netapp_hostname }}" username: "{{ netapp_username }}" password: "{{ netapp_password }}" - name: Delete Lun na_elementsw_vlan: state: present vlan_tag: 1 hostname: "{{ netapp_hostname }}" username: "{{ netapp_username }}" password: "{{ netapp_password }}"
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.
This module is flagged as community which means that it is maintained by the Ansible Community. See Module Maintenance & Support for more info.
For a list of other modules that are also maintained by the Ansible Community, see here.
Hint
If you notice any issues in this documentation you can edit this document to improve it.
© 2012–2018 Michael DeHaan
© 2018 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.7/modules/na_elementsw_vlan_module.html