Hello all,
I wonder if you could have your take on your ideal dry-run
functionality.
Post London User Group, we had much feedback regarding the need for
dry-run functionality.
Therefore we have implemented dry-run functionality for our
GPFS/Scale Python API across all calls.
API calls for Policies have the ability to run in 'test' or 'run'
mode. (ref: man mmapplypolicy)
How would you expect to use dry-run functionality on a policy?
We have our own opinion, but we'd like to hear yours.
1) Validate the policy and print the policy content to
stdout/other. No mmapplypolicy is performed.
2) Validate the policy and enforce mmapplypolicy with -I test
3) Return what would be called. E.G. mmapplypolicy -P mypol.pol
--flag1 --flag2 --etc
4) Other
Best regards,
Jez