Hi,
In Api document , there is one option which tells
<span style="padding: 0pt;background-color: yellow;display: inline">Vfiler</span>-enabled
Yes
If the any api has that option " Vfiler-enabled yes" then that api is supported on the V-filer.
For example
snapmirror-get-volume-status | [[file:///C:/netapp/netapps_doc/Sdk_Doc/manage-ontap-sdk-1.6/doc/ontapi/ontapi_1 .6/snapmirror/index.html#the_top] |
<!----
-- API Summary
>
|Return SnapMirror status values for a given volume. All of the status values are returned simultaneously.|
|Input Name|Type|Description|
volume | javascript:alert('The field is a sequence of characters, UTF8 encoded.'); | Name of the volume to be queried. |
Output Name | Type | Description |
is-destination | True if the volume is a SnapMirror destination. | |
|---|---|---|
is-source | True if the volume is a SnapMirror source. | |
is-transfer-broken | True if a SnapMirror transfer state as a destination | |
is-transfer-in-progress | True if a SnapMirror transfer as a destinaion or source volume is currently in progress. |
|Errno|
EVOLUMEOFFLINE |
EVOLUMEDOESNOTEXIST |
<span style="padding: 0pt;background-color: yellow;display: inline">Vfiler</span>-enabled |
Yes |
So The Snap-mirror get volume status will get the information from Vfiler since Vfiler-enabled is yes.
Please correct me if i am wrong.
You can invoke all the Vfiler-enabled API's on a vfiler using vfiler tunneling feature.
All the Vfiler enabled APIs can be invoked on the vfiler either directly making API call on the Vfiler or by using vFiler tunneling feature.
All the APIs cannot be queried on vFiler, few APIs are made available on the vFiler. APIs which has information "Vfiler-enabled Yes" indicates the API can be invoked on the vFiler.
The API snapmirror-get-volume-status can be invoked on a vFiler as it contains "Vfiler-enabled Yes".
Thanks for your reply.
when we will be using V-filer tunneling?
If I query the V-filer directly with Api which supported for V-filer then there is no need for V-filer tunneling and api will get data diretly from v-filer.
If i query the filer which is conncted to Vfiler,then we need V-filer tunneling.
Please correct me if my understanding is wrong....
HTTP is the vfiler avaliable protocol for the vfiler direct API query, the same will not work for HTTPS protocol. If you want to make HTTPS call for a Vfiler-Enabled API ,then you have to use Vfiler tunneling feature.