ansible-collections / netapp.ontap

Ansible collection to support NetApp ONTAP configuration.
https://galaxy.ansible.com/netapp/ontap
GNU General Public License v3.0
51 stars 34 forks source link

Volume attributes atime_update, snapdir_access and snapshot_auto_delete available in REST #171

Closed robertattenberger closed 5 months ago

robertattenberger commented 10 months ago

Summary

The modul netapp.ontap.na_ontap_volume provides the option to set the attributes "atime_update", "snapdir_access" and "snapshot_auto_delete". This options cannot be set using REST, the message "REST API currently does not support 'atime_update, snapdir_access, snapshot_auto_delete'" is reported (collection version: 22.6.0). In newer Ontap-versions those three attributes seem also to be available in the REST-API.

https://docs.netapp.com/us-en/ontap-restmap-9131/volume.html

Ansible-attribute: REST-key atime_update: access_time_enabled (Not found in link above, but on rest-api-doc at Ontap 9.11-system) snapdir_access: snapshot_directory_access_enabled snapshot_auto_delete: space.snapshot.autodelete.*

It would be fine if you could enable REST for those attributes.

Component Name

netapp.ontap.na_ontap_volume

Additional Information

Usage of the attributes in ansible I would prefer equal to the usage with ZAPI.

carchi8py commented 10 months ago

We have story open DEVOPS-6395 to add these options.

carchi8py commented 5 months ago

This was fixed in 22.8.0