2011-02-25 06:59 AM
I can see how that would work for snapshot-list-info, but the documentation does not include an equivalent parameter for other snapshot commands.
So how do we get and set aggregate snap reserve via the API?
Is this am ommision in the coverage of the API?
2011-03-01 02:17 AM
I don't see any documentation for system-cli, though a quick search of this forum provided some examples.
This raises a couple of questions though:
1. what is the official view on coding to use the system-cli API method? will this be retained in future versions? Is this call used by any of NetApp's own manangement tools?
2. is there a plan to fill the gaps in the API coverage? Managing the properties of aggregates is hardly a new requirement, so is this an indication that there is not a commitment for the API to be fully functional, or are the gaps being plugged?
We've been told for years that the answer to avoid the pain of screen scraping cli commands, where the return output format is not garanteed to be consistet between versions, is to move to the API. It seems to me that system-cli via the API does not acheive this pain reduction.
2011-03-01 03:14 AM
system-cli is a unsupported API. It has been retained till now. I know, quote a few people using it, but all said and done its unsupported.
Not sure about plan for filling the gaps. You could file a RFE for the same.