Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Using API: Create, Offline and Delete clone volume using web API on OnTap 9.8
2021-08-25
10:49 AM
2,939 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am trying on a Linux server to create a script using either curl or python to create create, offline and delete cloned copies of existing snaps using the API interface on OnTap 9.8
Solved! See The Solution
1 ACCEPTED SOLUTION
JRH0759 has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There are many examples shown on github to help you create your scripts. Depending on your use case this may also be a good time to investigate Ansible. The use of Ansible allows control and automation of multiple devices.
NetApp / ontap-rest-python
https://github.com/NetApp/ontap-rest-python/tree/master/examples/rest_api
Get started with automating your dev work flows with NetApp and Ansible
https://www.netapp.com/devops-solutions/ansible/
netapp.ontap.na_ontap_volume_clone – NetApp ONTAP manage volume clones.
https://docs.ansible.com/ansible/latest/collections/netapp/ontap/na_ontap_volume_clone_module.html
2 REPLIES 2
JRH0759 has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There are many examples shown on github to help you create your scripts. Depending on your use case this may also be a good time to investigate Ansible. The use of Ansible allows control and automation of multiple devices.
NetApp / ontap-rest-python
https://github.com/NetApp/ontap-rest-python/tree/master/examples/rest_api
Get started with automating your dev work flows with NetApp and Ansible
https://www.netapp.com/devops-solutions/ansible/
netapp.ontap.na_ontap_volume_clone – NetApp ONTAP manage volume clones.
https://docs.ansible.com/ansible/latest/collections/netapp/ontap/na_ontap_volume_clone_module.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your post..
Though I am writing the script in BASH, the articles you suggested pointed me in the right direction to get it done..
