Software Development Kit (SDK) and API Discussions

Please update NMSDK Sample for error 13006

aditya_pandit
3,078 Views

Hi,

 

I downloaded NMSDK 9.3 and was trying out the sample code. I was getting error: Error 13006: Vserver API missing vserver parameter.

if you add:

assign vserver the name of the vserver and add the following code for C samples:

 

na_server_set_vserver(s, vserver);

 

it starts working. otherwise it gives error: Error 13006: Vserver API missing vserver parameter.

 

Same problem exists for other languages too.

 

e.g. in Python under netapp-manageability-sdk-9.3/src/sample/Data_ONTAP/Python/snapman.py

 

If I run it as:

 

python snapman.py -l filer admin Password volume

snapshot-list-info failed:Vserver API missing vserver parameter.

 

If you add the code in snapman.py:

 

s.set_vserver(svmname)

 

it starts working.

 

Can you please update all the sample codes in the NMSDK?

 

Thanks,

Aditya

 

1 REPLY 1
Public