Unsolved
This post is more than 5 years old
7 Posts
0
1691
February 6th, 2019 18:00
Create CIFS servers/CIFS shares by storOps
Hi,
I am using this Python package of StorOps from https://pypi.org/project/storops/ in my script to do API calls with Unity. The tutorial looks helpful but I want to know more user guide such as creating CIFS servers, CIFS shares. Can anyone advise how to implement this please?
I can successfully connect to the Unity system in Python,
>>> unity=UnitySystem('10.xx.xx.xx','user','pwd')
when doing "dir(unity)" to search available functions/properties, only "get_cifs_server" was found.
0 events found
No Events found!


Ricardo_Lopes
14 Posts
0
February 12th, 2019 06:00
Hi @Brian119
Thank you for your post.
After reviewing the the details provided, a POST request can be done to create a CIFS Server or a CIFS share.
For the task I recommend reviewing the cifsServer and CifsShare sections of the Unisphere Management REST API Reference Guide.
Please note that in order to submit POST requests to the array, certain criteria such as a CSRF Token and a Cookie need to be included. This information can be also found in the Programmers guide present here.
I hope that the above details are useful to answer your queries.
Brian119
7 Posts
0
February 12th, 2019 15:00
@Ricardo_Lopes, Much appreciated for your reply. I was lazy and wanted to utilize the Python package of storops instead of scripting API code. Now I know programming is not that much difficult and I understand how to do with that.
Rainer_EMC
6 Operator
•
8.6K Posts
0
February 13th, 2019 08:00
Otherwise I would suggest to ask the storOps developers
I dont think they are following the forum here