Hi Brian You want our SDK - Manage ONTAP.
It provides API calls for a couple OO languages, including Perl, and the output is reurned in XML. There's even a little Windows applet called zexplorer that lets you browse API calls and look at the XML output.
Best bet is to contact your NetApp account team and have them hook up your NOW account to get access (no charge).
Enjoy!
Peter
-----Original Message----- From: Brian.Beaird@cat.com [mailto:Brian.Beaird@cat.com] Sent: Friday, November 30, 2007 12:37 PM To: toasters@mathworks.com Subject: ONTAP Command Output Format
Is there a way to change the command-line output display format in Data ONTAP? I plan to write some scripts to collect some data from certain commands, but the way things are output (i.e. splitting things up into multiple lines) makes parsing somewhat difficult. For example:
ARRAY*> lun show -m LUN path Mapped to LUN ID Protocol ----------------------------------------------------------------------- /vol/LUNS/11 servera 11 FCP serverb 11 FCP /vol/LUNS/12 serverc 12 FCP serverd 12 FCP
Is there a way to make this simpler so that each line has all the details? It wouldn't be as nice to look at, but scripting would definitely be easier.
Brian Beaird