Skip to content

Commit 3a830b3

Browse files
Update README.md
Updated with new scripts description
1 parent 34cc7f2 commit 3a830b3

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

examples/rest_api/README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ The following table summaries the scripts used to access the ONTAP REST API . Ma
2727
|:------------------------------------|:-------------|
2828
| account_operations.py | Demonstrates user account creation, deletion, updation and listing using ONTAP REST API |
2929
| cifs_setup.py | Demonstrates how CIFS shares can be setup using ONTAP REST API. It creates a volume and then creates a share on the volume. |
30+
| file_analytics_enable_disable.py | Demonstrates enabling and disabling of File System analytics using ONTAP REST API |
3031
| initiator_operations.py | Demonstrates initiator creation, deletion, updation and listing using ONTAP REST API |
3132
| iscsi_setup.py | Demonstrates how ISCSI luns can be setup using ONTAP REST API. It creates a lun within a volume and creates a new initiator group. The script, then, maps the lun to the initiator group. |
3233
| nfs_setup.py | Demonstrates NFS Setup using ONTAP REST API. The script creates an export-policy and a volume and then, sets up a mount. |
@@ -42,14 +43,27 @@ The following table summaries the scripts used to access the ONTAP REST API . Ma
4243
| create_svm_volume.py | Demonstrates SVM creation, volume creation and the associated Export Policy creation using ONTAP REST API. |
4344
| create_volume.py | Demonstrates volume creation using ONTAP REST API on the specified SVM. |
4445
| events.py | Demonstrates events management usecases in ONTAP such as listing of events, look for specific message and severity,workflow to notify specific event with event,filter and destination creation using ONTAP REST API. |
46+
| file_system_analytics.py | Demonstrates File System Analytics usecases using using ONTAP REST API. |
4547
| list_aggregates.py | Lists all the aggregates in a cluster using ONTAP REST API. |
4648
| list_clones.py | Lists all the clones in a cluster using ONTAP REST API. |
4749
| list_snapshots.py | Lists all the snapshots in the specified volume using ONTAP REST API. |
4850
| list_volumes.py | Lists all the volumes in a SVM using ONTAP REST API. |
4951
| list_vserver.py | Lists all the SVMs in a cluster using ONTAP REST API. |
5052
| lun_operations.py | Demonstrates lun creation, deletion, updation and listing using ONTAP REST API |
5153
| qtree_operations.py | Demonstrates qtree operations like qtree creation, updation, deletion and listing using ONTAP REST API. |
54+
| qtree_quota_metrics.py | Demonstrates NAS usecase of qtree creation in a volume, Enabling Quota and displaying raw metrics of Qtree using ONTAP REST API. |
5255
| quota_operations.py | Demonstrates quota operations like quota creation, updation, deletion and listing using ONTAP REST API. |
56+
| schedules_policies_sm_relationship.py | Demonstrates workflow of creating new schedules using cron or interval and retriving list of policies using ONTAP REST API. |
5357
| snapmirror_operations.py | Demonstrates SnapMirror operations like SnapMirror relationship creation, deletion, updation and listing using ONTAP REST API. |
5458
| svm_operations.py | Demonstrates SVM operations like SVM creation, deletion, updation and listing using ONTAP REST API. |
5559
| volume_operations.py | Demonstrates volume operations like volume creation, deletion, updation, cloning and listing using ONTAP REST API. |
60+
61+
## CLI Passthrough Scripts:
62+
To assist CLI and ONTAPI API users in their transition to the ONTAP REST API, ONTAP provides a REST endpoint to access the CLI. You can use this passthrough feature to execute any CLI command. For more information, Read [NetApp Documentation](https://docs.netapp.com/ontap-9/index.jsp?topic=%2Fcom.netapp.doc.dot-rest-api%2FGUID-BC72E449-FD75-4687-96C0-6A9A68708FBF.html).
63+
64+
| Script | Description |
65+
|:------------------------------------|:-------------|
66+
| service_policy.py | Demonstrates network interface service-policy Diag mode CLI command usage in ONTAP REST API |
67+
| system_fru_check.py | Demonstrates fru-check show CLI command usage in ONTAP REST API. |
68+
| vserver_file_security_cli_passthrough.py | Demonstrates vserver security file-directory CLI usage in ONTAP REST API |
69+

0 commit comments

Comments
 (0)