Test API version to implement backward compatibility
What is the recommended best practice for determining API version via iControl? I have a mixed 10.x and 11.x environment, and I would like to create versions of various scripts that can work with both API versions (when possible). Ideally, the various scripts will test the API version of the device before sending various API-version specific calls.
Thanks for any pointers -- much appreciated!