<?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: Setting timezone with NMSDK in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Setting-timezone-with-NMSDK/m-p/121894#M2038</link>
    <description>&lt;P&gt;I managed to solve this using the NMSDK 5.5&amp;nbsp;api call&lt;/P&gt;&lt;P&gt;Here is a snippit of how I was able to do it using python.&lt;/P&gt;&lt;P&gt;It is using an undocumented NMSDK call that I was sent by a NetApp employee who grabbed it from this site.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://andyleonard.com/2012/02/27/filling-in-the-missing-parts-of-netapps-api/" target="_blank"&gt;https://andyleonard.com/2012/02/27/filling-in-the-missing-parts-of-netapps-api/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;timezone = 'Australia/Brisbane'

args = NaElement('args')
args.child_add(NaElement('arg', 'cluster'))
args.child_add(NaElement('arg', 'date'))
args.child_add(NaElement('arg', 'modify'))
args.child_add(NaElement('arg', '-timezone'))
args.child_add(NaElement('arg', timezone))

systemCli = NaElement('system-cli')
systemCli.child_add(args)

connection = NaServer(clusterManagementIp, 1, 15)
connection.set_admin_user(username, password)
response = connection.invoke_elem(systemCli)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 01 Aug 2016 13:32:10 GMT</pubDate>
    <dc:creator>cams</dc:creator>
    <dc:date>2016-08-01T13:32:10Z</dc:date>
    <item>
      <title>Setting timezone with NMSDK</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Setting-timezone-with-NMSDK/m-p/121878#M2036</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to set the timezone of a cluster/vserver with NMSDK?&lt;/P&gt;&lt;P&gt;Looking at the latest manual for 5.5, it appears all you can do is get the timezone (clock-get-timezone)&lt;/P&gt;&lt;P&gt;However if you search the manual, it shows references to 7-mode api calls that suggest setting it was once a thing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"doc/WebHelp/help/guide_to_product_apis/data_ontap_7g_apis/data_ontap_apis/clock/index.html"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;has&lt;/P&gt;&lt;P&gt;clock-set-clock and clock-set-timezone&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Cam&lt;/P&gt;</description>
      <pubDate>Sun, 31 Jul 2016 11:46:50 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Setting-timezone-with-NMSDK/m-p/121878#M2036</guid>
      <dc:creator>cams</dc:creator>
      <dc:date>2016-07-31T11:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: Setting timezone with NMSDK</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Setting-timezone-with-NMSDK/m-p/121893#M2037</link>
      <description>&lt;P&gt;Hi Cam,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately there is no ZAPI for changing the timezone of a cluster.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2016 13:24:56 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Setting-timezone-with-NMSDK/m-p/121893#M2037</guid>
      <dc:creator>asulliva</dc:creator>
      <dc:date>2016-08-01T13:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: Setting timezone with NMSDK</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Setting-timezone-with-NMSDK/m-p/121894#M2038</link>
      <description>&lt;P&gt;I managed to solve this using the NMSDK 5.5&amp;nbsp;api call&lt;/P&gt;&lt;P&gt;Here is a snippit of how I was able to do it using python.&lt;/P&gt;&lt;P&gt;It is using an undocumented NMSDK call that I was sent by a NetApp employee who grabbed it from this site.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://andyleonard.com/2012/02/27/filling-in-the-missing-parts-of-netapps-api/" target="_blank"&gt;https://andyleonard.com/2012/02/27/filling-in-the-missing-parts-of-netapps-api/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;timezone = 'Australia/Brisbane'

args = NaElement('args')
args.child_add(NaElement('arg', 'cluster'))
args.child_add(NaElement('arg', 'date'))
args.child_add(NaElement('arg', 'modify'))
args.child_add(NaElement('arg', '-timezone'))
args.child_add(NaElement('arg', timezone))

systemCli = NaElement('system-cli')
systemCli.child_add(args)

connection = NaServer(clusterManagementIp, 1, 15)
connection.set_admin_user(username, password)
response = connection.invoke_elem(systemCli)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2016 13:32:10 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Setting-timezone-with-NMSDK/m-p/121894#M2038</guid>
      <dc:creator>cams</dc:creator>
      <dc:date>2016-08-01T13:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: Setting timezone with NMSDK</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Setting-timezone-with-NMSDK/m-p/121895#M2039</link>
      <description>&lt;P&gt;system-cli may&amp;nbsp;work, just be aware it's not a supported API (notice it's not in the documentation). &amp;nbsp;The usual recommendation is to use an SSH library to connect to the controller to issue CLI commands...for example, the PowerShell Toolkit has the "Invoke-NcSsh" cmdlet for these instances.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2016 13:40:36 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Setting-timezone-with-NMSDK/m-p/121895#M2039</guid>
      <dc:creator>asulliva</dc:creator>
      <dc:date>2016-08-01T13:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: Setting timezone with NMSDK</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Setting-timezone-with-NMSDK/m-p/121896#M2040</link>
      <description>&lt;P&gt;Do they have an equavilant python and/or unix call for this?&lt;/P&gt;&lt;P&gt;Yeah I could probably write some hack in python to connect to the node using SSH.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But for me system-cli is working and until NetApp decide to fix their broken API this will have to do.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2016 13:43:57 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Setting-timezone-with-NMSDK/m-p/121896#M2040</guid>
      <dc:creator>cams</dc:creator>
      <dc:date>2016-08-01T13:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: Setting timezone with NMSDK</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Setting-timezone-with-NMSDK/m-p/128926#M2310</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is it working for you on a c-mode cluster?&lt;/P&gt;&lt;P&gt;i am running the same command as you but it returns empty.&lt;/P&gt;&lt;P&gt;did you do some&amp;nbsp;configuration on the cluster side to enable the usage of system-cli feature?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;ofer&lt;/P&gt;</description>
      <pubDate>Sun, 12 Mar 2017 18:30:32 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Setting-timezone-with-NMSDK/m-p/128926#M2310</guid>
      <dc:creator>oferkes</dc:creator>
      <dc:date>2017-03-12T18:30:32Z</dc:date>
    </item>
  </channel>
</rss>

