Software Development Kit (SDK) and API Discussions

vfiler-create api example

francoisbnc
2,931 Views

Hi,

I looking a way for create vfiler with api vfiler-create and storage-units for parameters

I experience  Exception

Operation not completed, error in usage

Any help appreciate.

francois

3 REPLIES 3

kunalm
2,931 Views

There is a sample code of creating a vfiler inside NMSDK. Please refer that.

You can also use ZExplore to create the code for vfiler-create and provide parameters there.

francoisbnc
2,931 Views

Hi,

I found, the problem was in the format of storage-unit, that must begin by /vol/.....

Do you know if it's possible to create by api vfiler in the same way like  command line "vfiler create vfiler -r /vol/vfiler_root ?

Thanks in advance.

francois

rgoyal
2,931 Views

Do you know if it's possible to create by api vfiler in the same way like  command line "vfiler create vfiler -r /vol/vfiler_root ?

> NO. In vfiler-create API, both ip address and storage-unit are mandatory inputs. AFAIK, there is no equivalent API for this CLI.

Public