Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1 ACCEPTED SOLUTION
neha_T has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
SVM never has an IP address rather IP address is assign to port (Logical or Physical) within SVM. To get SVM(vserver), Port and IP details use API "net-interface-get-iter".
Thanks
6 REPLIES 6
neha_T has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
SVM never has an IP address rather IP address is assign to port (Logical or Physical) within SVM. To get SVM(vserver), Port and IP details use API "net-interface-get-iter".
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks, @gaurav_verma I can get the information now
I want to fetch all CIFS shares on filer: NMSDK provide an API: cifs-share-get-iter
same way I want to fetch all NSF volumes, is there any NMSDK API to fetch all NFS volumes?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
You could query for volumes / qtrees and then filter out all with "default" export policy assigned to them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
API: volume-get-iter
If you want to exclude root volume use "is-node-root" as false.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
But "is-node-root" attribute is present in both CIFS and NFS shares
I want to fetch all NFS shares only, or we can say that I want to list all the volumes which are listed in Namespace column in Array console.
One thing I can filter out is on the basis of Junction_path but it is set in both CIFS and NFS share
Basically, I want a separate list for NFS and CIFS shares
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I dont think there is any API which gives you list of NFS shares. You have to first get list of volume and qtree which has some export policy (volume-export-attributes in volume-get-iter) excluding "default". That list should be list of NFS shares.
