netapp.elementSW
NetApp ElementSW Collection
Copyright (c) 2019 NetApp, Inc. All rights reserved. Specifications subject to change without notice.
ansible-galaxy collection install netapp.elementsw
To use Collection add the following to the top of your playbook, with out this you will be using Ansible 2.9 version of the module
collections:
- netapp.elementsw
https://docs.ansible.com/ansible/devel/collections/netapp/elementsw/
Join our Discord and look for our #ansible channel.
- all modules - enable usage of Ansible module group defaults - for Ansible 2.12+.
- requirements.txt: point to the correct python dependency
- na_elementsw_qos_policy: explicitly define
minIOPS
,maxIOPS
,burstIOPS
as int.
- na_elementsw_info - add
cluster_nodes
andcluster_drives
.
- na_elementsw_drive - latest SDK does not accept
force_during_bin_sync
andforce_during_upgrade
. - na_elementsw_qos_policy - loop would convert
minIOPS
,maxIOPS
,burstIOPS
to str, causing type mismatch issues in comparisons. - na_elementsw_snapshot_schedule - change of interface in SDK ('ScheduleInfo' object has no attribute 'minutes')
- na_elementsw_snapshot_schedule - Add
retention
in examples.
- na_elementsw_drive - Object of type 'dict_values' is not JSON serializable.
- na_elementsw_info: support for two subsets
cluster_accounts
,node_config
.
- na_elementsw_cluster:
encryption
to enable encryption at rest.order_number
andserial_number
for demo purposes. - na_elementsw_network_interfaces: restructure options, into 2 dictionaries
bond_1g
andbond_10g
, so that there is no shared option. Disallow all older options. - na_elementsw_network_interfaces: make all options not required, so that only bond_1g can be set for example.
- na_elementsw_node: improve error reporting when cluster name cannot be set because node is already active.
- na_elementsw_schedule - missing imports TimeIntervalFrequency, Schedule, ScheduleInfo have been added back
- na_elementsw_qos_policy: create, modify, rename, or delete QOS policy.
- na_elementsw_node:
cluster_name
to set the cluster name on new nodes. - na_elementsw_node:
preset_only
to only set the cluster name before creating a cluster with na_elementsw_cluster. - na_elementsw_volume:
qos_policy_name
to provide a QOS policy name or ID.
- na_elementsw_node: fix check_mode so that no action is taken.
- na_elementsw_drive: add all drives in a cluster, allow for a list of nodes or a list of drives.
- na_elementsw_access_group: fix check_mode so that no action is taken.
- na_elementsw_admin_users: fix check_mode so that no action is taken.
- na_elementsw_cluster: create cluster if it does not exist. Do not expect MVIP or SVIP to exist before create.
- na_elementsw_cluster_snmp: double exception because of AttributeError.
- na_elementsw_drive: node_id or drive_id were not handled properly when using numeric ids.
- na_elementsw_initiators: volume_access_group_id was ignored. volume_access_groups was ignored and redundant.
- na_elementsw_ldap: double exception because of AttributeError.
- na_elementsw_snapshot_schedule: ignore schedules being deleted (idempotency), remove default values and fix documentation.
- na_elementsw_vlan: AttributeError if VLAN already exists.
- na_elementsw_vlan: fix check_mode so that no action is taken.
- na_elementsw_vlan: change in attributes was ignored.
- na_elementsw_volume: double exception because of AttributeError.
- na_elementsw_volume: Argument '512emulation' in argument_spec is not a valid python identifier - renamed to enable512emulation.
- use a three group format for
version_added
. So 2.7 becomes 2.7.0. Same thing for 2.8 and 2.9. - add type: str (or int, dict) where missing in documentation section.
- add required: true where missing.
- remove required: true for state and use present as default.
- galaxy.xml: fix repository and homepage links
- galaxy.yml: fix path to github repository.
- netapp.py: report error in case of connection error rather than raising a generic exception by default.
- na_elementsw_access_group_volumes: add/remove volumes to/from existing access group
Changes in 19.10.0 and September collection releases compared to Ansible 2.9
- na_elementsw_drive: na_elementsw_drive was documented as na_element_drive