| install |
|---|
|
pip install netapp_ontap |
| modules |
|---|
|
ansible-doc -t module -l | grep -i netapp ansible-doc -t module -l | grep netapp.ontap ansible-doc -t module -l | grep netapp.storagegrid ansible-galaxy collection list | grep -i netapp |
| Docs and Examples in ONTAP |
|---|
|
https://cl1/docs/api |
|
https://cl1/api |
|
https://cl1/api/v1 |
| ONTAP REST-API |
|---|
|
https://cl1/api/svm/svms |
|
https://cl1/api/svm/svms?order_by=name |
|
https://cl1/api/storage/volumes |
|
https://cl1/api/storage/volumes?order_by=name |
| curl |
|---|
|
curl --request GET "https://cl1/api/cluster?fields=version" --user admin:apix1234 --insecure |
|
curl -X GET "https://cl1/api/cluster?fields=version" --user admin:apix1234 --insecure |
| curl -ik --cert cert_user.crt --key cert_user.key https://cl2/api/cluster?fields=version |
| curl -X GET https://cl1/api/storage/volumes?fields=uuid --user admin:apix1234 --insecure |
| curl -X DELETE https://cl1/api/storage/volumes/dd7b47a9-275f-11ef-891c-000c296d50f6 --user admin:apix1234 --insecure |
| Python |
|---|
| create_volume.py |
| list_vol.py |
| delete_vol.py |
| create_naslif.py |
| delete_lif.py |
| list_snapshots.py |
| nfs_setup.py |
|
This file should be stored in script directory. utils.py |
| Ansible |
|---|
| addlif.yml |
| removelif.yml |
| Access Key and Secret Key |
|---|
| Bucket access with keys |
| Certificate Creation Procedure |
|---|
|
procedure |