Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

This repository contains sample scripts illustrating how to use the ONTAP(NETAPP) REST API using python.

License

NotificationsYou must be signed in to change notification settings

anon1303/Netapp-ONTAP-python-RESTApi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

REST API offers a vastly simplified and workflow-driven user experience, allowing you to perform multiple operations on the storage objects with a single API. REST is the industry standard for API development and the ONTAP REST API provides a great opportunity to automate your storage deployments.

This repository contains sample scripts illustrating how to use the ONTAP REST API. You can access the API through the use ofrequests library.

To install the requirements needed to run the simple script. Double click thereq.sh file.

Requirements

  • Python 3.6 or higher
  • requests 2.21.0 or later
  • ONTAP 9 (NetApp storage system) or higher (untested on earlier versions)
  • Install docopt
  • Install prettytable

Accessing the ONTAP REST API

The repository folderexamples/ contains sample scripts to directly access the ONTAP REST API using therequests library. You need to run each of the scripts with the appropriate parameters. Use the help provided with each script to get started. For example:

 python3 create_vol.py -s <STORAGE> -vm <SVM> -VN <VOLUME> <SIZE>

About

This repository contains sample scripts illustrating how to use the ONTAP(NETAPP) REST API using python.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp