ontap-rest-python
ontap-rest-python copied to clipboard
This repository contains sample code illustrating how to access the ONTAP REST API using Python. This Repository also contains ONTAPI Usage reporting code that helps to identify ONTAPI usage in your e...
Fix get_key only ever matching the first volume
Hi NetApp, we need to build and compile from source and using `netapp_ontap-9.14.1.0.tar.gz` for that which fails with: ``` ╭─ /tmp/netapp_original/netapp_ontap-9.14.1.0 ╰─$ python -m pip install --no-binary=":all:" --no-deps --compile --isolated...
Hi, I am trying to retrieve a a LUN mapping resource for a single specific LUN. `get()` on a LunMap with a filter which should only match a single entry...
I want to collect the list of snapshot along with its size. But under this api `/api/storage/volumes/{volume.uuid}/snapshots`, I couldn't find the size of the snapshot. Is there any other api...
When marshmallow 4.0.0 is installed, Aggregate.get_collection(fields="space") throws an exception: ``` Traceback (most recent call last): File "/workspaces/test.py", line 17, in for aggregate in aggregates: File "/usr/local/lib/python3.9/site-packages/netapp_ontap/resource.py", line 784, in _get_collection...
ValidationError for "svm" field field within the "lifecycle_management" S3BucketSvm.get_collection
I am writing to report a potential issue encountered while using the `netapp-ontap` library to interact with our ONTAP 9.15. **Issue Description**: When attempting to retrieve a collection of `S3BucketSvm`...
``` print("1. Loading onTAP dependencies...") from netapp_ontap import NetAppRestError from netapp_ontap.resources import Volume from netapp_ontap.resources import Aggregate from netapp_ontap.resources import Node from netapp_ontap import config, HostConnection print("Time taken: " +...
In the resources/cli.py module there is a bug which causes the library to do a POST instead of GET for the command `vserver export-policy check-access` The `_parse_command(command)` function looks for...
When creating a network interface with the rest endpoint it is not possible to specifiy the -is-vip field. Is it possible to add this somehow?