Isilon/isilon_sdk_python

Is there a way to specify a OneFS API version?

jeanlaganiere opened this issue · 1 comments

In some case I want to connect to multiple Isilon clusters of different API versions using latest Isilon Python SDK. Is there a way to specify a OneFS API version base one the cluster version?

Example :
ApiVersion = Get /platform/latest
api_instance = isi_sdk_9_0_0.ClusterApi(isi_sdk_9_0_0.ApiClient(ApiVersion)

It looks like the API version (which is specific to each endpoint, not entire APIs) is hard-coded. For example:

'/platform/10/cluster/nodes', 'GET',

That version may change depending on which SDK you use, though:

'/platform/7/cluster/nodes', 'GET',