<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: API version for clusterd ONTAP 9.4 in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/API-version-for-clusterd-ONTAP-9-4/m-p/147861#M2908</link>
    <description>&lt;P&gt;No. You have to choose correct version for each connection. Generally, I have a practice to having all version's connection in one file and use that file as python class.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Apr 2019 12:04:21 GMT</pubDate>
    <dc:creator>gaurav_verma</dc:creator>
    <dc:date>2019-04-10T12:04:21Z</dc:date>
    <item>
      <title>API version for clusterd ONTAP 9.4</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/API-version-for-clusterd-ONTAP-9-4/m-p/146878#M2865</link>
      <description>&lt;P&gt;I use "system-get-version" to check my ontap&amp;nbsp;version,&amp;nbsp;it comes to "NetApp Release 9.4P1".&lt;/P&gt;
&lt;P&gt;and I downloaded netapp-manageability-sdk-9.5, in tool&amp;nbsp;zedi, there are many API&amp;nbsp;version to choose.&lt;/P&gt;
&lt;P&gt;Which one should I use?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 12:47:32 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/API-version-for-clusterd-ONTAP-9-4/m-p/146878#M2865</guid>
      <dc:creator>chibata</dc:creator>
      <dc:date>2025-06-04T12:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: API version for clusterd ONTAP 9.4</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/API-version-for-clusterd-ONTAP-9-4/m-p/147544#M2903</link>
      <description>&lt;P&gt;In ZEDI GUI connect to cluster and it will automatically connect to correct API vesion.&lt;/P&gt;
&lt;P&gt;If you want to check API version use API "system-get-ontapi-version"&lt;/P&gt;</description>
      <pubDate>Fri, 29 Mar 2019 13:45:50 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/API-version-for-clusterd-ONTAP-9-4/m-p/147544#M2903</guid>
      <dc:creator>gaurav_verma</dc:creator>
      <dc:date>2019-03-29T13:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: API version for clusterd ONTAP 9.4</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/API-version-for-clusterd-ONTAP-9-4/m-p/147858#M2907</link>
      <description>&lt;P&gt;thanks a lot!!!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And I have another problem. We have many netapp storage machines and they have different ontap&amp;nbsp;version from 8.x to 9.5, if I use SDK api version of 1.130, does it adapt to old ontap&amp;nbsp;version like 8.x?&lt;/P&gt;
&lt;P&gt;Any response would be helpful, thank you a lot again.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2019 09:05:45 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/API-version-for-clusterd-ONTAP-9-4/m-p/147858#M2907</guid>
      <dc:creator>chibata</dc:creator>
      <dc:date>2019-04-10T09:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: API version for clusterd ONTAP 9.4</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/API-version-for-clusterd-ONTAP-9-4/m-p/147861#M2908</link>
      <description>&lt;P&gt;No. You have to choose correct version for each connection. Generally, I have a practice to having all version's connection in one file and use that file as python class.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2019 12:04:21 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/API-version-for-clusterd-ONTAP-9-4/m-p/147861#M2908</guid>
      <dc:creator>gaurav_verma</dc:creator>
      <dc:date>2019-04-10T12:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: API version for clusterd ONTAP 9.4</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/API-version-for-clusterd-ONTAP-9-4/m-p/147880#M2910</link>
      <description>&lt;P&gt;Thank you it's a very good idea, but I have two questions.&lt;/P&gt;
&lt;P&gt;First, before connected to the ontap, I can't get the correct api version but connect to ontap need input api version.&lt;/P&gt;
&lt;PRE&gt;s = Naserver('host',1,140)
s.set_server_type()
s.set_transport_type()
s.set_port()
s.set_style()
s.set_admin_user()
s.set_vserver()

api = NaElement('system-get-ontapi-version')
xo = s.invoke_elem(api)&lt;/PRE&gt;
&lt;P&gt;Second, one api's(like 'volume-create') parameters are different from a different version.&lt;/P&gt;
&lt;P&gt;Like in 'volume-create', older api version doesn't have an input parameter 'space-slo'.&lt;/P&gt;
&lt;P&gt;So when I change api version, do I need to change my whole code?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Would you mind sharing your different connection python class code demo?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you a lot again, you really helped me!&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2019 01:53:13 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/API-version-for-clusterd-ONTAP-9-4/m-p/147880#M2910</guid>
      <dc:creator>chibata</dc:creator>
      <dc:date>2019-04-11T01:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: API version for clusterd ONTAP 9.4</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/API-version-for-clusterd-ONTAP-9-4/m-p/147906#M2911</link>
      <description>&lt;P&gt;get the output of api version and call same function from PY class.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;from NaServer import *

class Connection:
	
	def conn115(node):
		filer_name = node
		
		s = NaServer(filer_name, 1 , 15)
		s.set_server_type("FILER")
		s.set_transport_type("HTTPS")
		s.set_port(443)
		s.set_style("LOGIN")
		s.set_admin_user("username", "password")
		return s

	def conn121(node):
		filer_name = node
		
		s = NaServer(filer_name, 1 , 21)
		s.set_server_type("FILER")
		s.set_transport_type("HTTPS")
		s.set_port(443)
		s.set_style("LOGIN")
		s.set_admin_user("username", "password")
		return s	

	
	def conn111(node):
		filer_name = node
		
		s = NaServer(filer_name, 1 , 11)
		s.set_server_type("FILER")
		s.set_transport_type("HTTPS")
		s.set_port(443)
		s.set_style("LOGIN")
		s.set_admin_user("username", "password")
		return s

	def conn113(node):
		filer_name = node
		
		s = NaServer(filer_name, 1 , 13)
		s.set_server_type("FILER")
		s.set_transport_type("HTTPS")
		s.set_port(443)
		s.set_style("LOGIN")
		s.set_admin_user("username", "password")
		return s	


	
	def conn119(node):
		filer_name = node
		
		s = NaServer(filer_name, 1 , 19)
		s.set_server_type("FILER")
		s.set_transport_type("HTTPS")
		s.set_port(443)
		s.set_style("LOGIN")
		s.set_admin_user("username", "password")
		return s	
		
	def conn130(node):
		filer_name = node
		
		s = NaServer(filer_name, 1 , 30)
		s.set_server_type("FILER")
		s.set_transport_type("HTTPS")
		s.set_port(443)
		s.set_style("LOGIN")
		s.set_admin_user("username", "password")
		return s

	def conn132(node):
		filer_name = node
		
		s = NaServer(filer_name, 1 , 32)
		s.set_server_type("FILER")
		s.set_transport_type("HTTPS")
		s.set_port(443)
		s.set_style("LOGIN")
		s.set_admin_user("username", "password")
		return s&lt;/PRE&gt;
&lt;PRE&gt;s = Connection.conn115(l)&lt;/PRE&gt;
&lt;P&gt;Hope this will help you.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2019 11:52:37 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/API-version-for-clusterd-ONTAP-9-4/m-p/147906#M2911</guid>
      <dc:creator>gaurav_verma</dc:creator>
      <dc:date>2019-04-11T11:52:37Z</dc:date>
    </item>
  </channel>
</rss>

