<?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: Is there an ONTAP SDK interface to change a qtree's security style? in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Is-there-an-ONTAP-SDK-interface-to-change-a-qtree-s-security-style/m-p/51255#M435</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no 7-mode API to change qtree security.&amp;nbsp; You will have to use the system-cli API.&amp;nbsp; See &lt;A _jive_internal="true" href="https://community.netapp.com/message/3072#3072" target="_blank"&gt;https://communities.netapp.com/message/3072#3072&lt;/A&gt; for an example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; - Rick -&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Feb 2012 23:01:19 GMT</pubDate>
    <dc:creator>rle</dc:creator>
    <dc:date>2012-02-16T23:01:19Z</dc:date>
    <item>
      <title>Is there an ONTAP SDK interface to change a qtree's security style?</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Is-there-an-ONTAP-SDK-interface-to-change-a-qtree-s-security-style/m-p/51251#M434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Am I missing something, or is there no means to change a qtree's security style in the Manageability SDK version 4.1 ONTAP APIs?&amp;nbsp; I'm looking for an API equivalent to "qtree security" on the CLI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:34:29 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Is-there-an-ONTAP-SDK-interface-to-change-a-qtree-s-security-style/m-p/51251#M434</guid>
      <dc:creator>sbriatnetapp</dc:creator>
      <dc:date>2025-06-05T06:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an ONTAP SDK interface to change a qtree's security style?</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Is-there-an-ONTAP-SDK-interface-to-change-a-qtree-s-security-style/m-p/51255#M435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no 7-mode API to change qtree security.&amp;nbsp; You will have to use the system-cli API.&amp;nbsp; See &lt;A _jive_internal="true" href="https://community.netapp.com/message/3072#3072" target="_blank"&gt;https://communities.netapp.com/message/3072#3072&lt;/A&gt; for an example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; - Rick -&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2012 23:01:19 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Is-there-an-ONTAP-SDK-interface-to-change-a-qtree-s-security-style/m-p/51255#M435</guid>
      <dc:creator>rle</dc:creator>
      <dc:date>2012-02-16T23:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an ONTAP SDK interface to change a qtree's security style?</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Is-there-an-ONTAP-SDK-interface-to-change-a-qtree-s-security-style/m-p/51263#M436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does system-cli still exist in version 4.1?&amp;nbsp; I'm not seeing it in the Docs...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2012 23:10:15 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Is-there-an-ONTAP-SDK-interface-to-change-a-qtree-s-security-style/m-p/51263#M436</guid>
      <dc:creator>sbriatnetapp</dc:creator>
      <dc:date>2012-02-16T23:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an ONTAP SDK interface to change a qtree's security style?</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Is-there-an-ONTAP-SDK-interface-to-change-a-qtree-s-security-style/m-p/51268#M437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Andy -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is undocumented.&amp;nbsp; That is why I pointed you to the example.&amp;nbsp; There is also a code example in the SDK.&amp;nbsp; I suggest writing a small standalone Perl script or C or Java program and call "qtree security".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is some documentation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: 'Times New Roman'; text-align: -webkit-auto; background-color: #ffffff; font-size: medium;"&gt;&lt;A name="system-cli" target="_blank"&gt;&lt;/A&gt;&lt;/P&gt;&lt;TABLE bgcolor="#FFFFFF" border="0" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;system-cli&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right"&gt;&lt;SPAN style="font-family: verdana; font-size: 10pt;"&gt;&lt;A href="http://web.netapp.com/engineering/design-depot/appliance-mgmt/zephyr/zapidoc.cache/RironcityN/web_unsupported/system/index.html#the_top" target="_blank"&gt;[top]&lt;/A&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive-quote" style="color: #000000; font-family: 'Times New Roman'; text-align: -webkit-auto; font-size: medium;"&gt;&lt;A name="system-cli" target="_blank"&gt;&lt;/A&gt;&lt;TABLE bgcolor="#E8E8E8"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="font-family: verdana; font-size: 10pt;"&gt;An interface to the CLI.&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;A name="system-cli" style="color: #000000; font-family: 'Times New Roman'; text-align: -webkit-auto; background-color: #ffffff; font-size: medium;" target="_blank"&gt;&lt;/A&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR bgcolor="#D0D0D0"&gt;&lt;TD align="center"&gt;&lt;STRONG style="font-size: 10pt; font-family: verdana;"&gt;Input Name&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD align="center"&gt;&lt;STRONG style="font-size: 10pt; font-family: verdana;"&gt;Range&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD align="center"&gt;&lt;STRONG style="font-size: 10pt; font-family: verdana;"&gt;Type&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD align="center"&gt;&lt;STRONG style="font-size: 10pt; font-family: verdana;"&gt;Description&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#E8E8E8"&gt;&lt;TD align="center"&gt;&lt;STRONG style="font-size: 10pt; font-family: verdana;"&gt;args&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD align="center"&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD align="center"&gt;&lt;SPAN style="font-family: verdana; font-size: 10pt;"&gt;&lt;A href="http://web.netapp.com/engineering/design-depot/appliance-mgmt/zephyr/zapidoc.cache/RironcityN/web_unsupported/system/index.html#arg" target="_blank"&gt;arg[]&lt;/A&gt; &lt;BR /&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-family: verdana; font-size: 10pt;"&gt;The arguments of the command line.&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#E8E8E8"&gt;&lt;TD align="center"&gt;&lt;STRONG style="font-size: 10pt; font-family: verdana;"&gt;priv&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD align="center"&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD align="center"&gt;&lt;SPAN style="font-family: verdana; font-size: 10pt;"&gt;&lt;A href="http://web.netapp.com/engineering/design-depot/appliance-mgmt/zephyr/zapidoc.cache/RironcityN/web_unsupported/system/index.html" target="_blank"&gt;string&lt;/A&gt; &lt;BR /&gt;&lt;A href="http://web.netapp.com/engineering/design-depot/appliance-mgmt/zephyr/zapidoc.cache/RironcityN/web_unsupported/system/index.html" target="_blank"&gt;optional&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-family: verdana; font-size: 10pt;"&gt;Priviledge level, e.g. "admin" or "advanced".&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#D0D0D0"&gt;&lt;TD align="center"&gt;&lt;STRONG style="font-size: 10pt; font-family: verdana;"&gt;Output Name&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD align="center"&gt;&lt;STRONG style="font-size: 10pt; font-family: verdana;"&gt;Range&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD align="center"&gt;&lt;STRONG style="font-size: 10pt; font-family: verdana;"&gt;Type&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD align="center"&gt;&lt;STRONG style="font-size: 10pt; font-family: verdana;"&gt;Description&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#E8E8E8"&gt;&lt;TD align="center"&gt;&lt;STRONG style="font-size: 10pt; font-family: verdana;"&gt;cli-output&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD align="center"&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD align="center"&gt;&lt;SPAN style="font-family: verdana; font-size: 10pt;"&gt;&lt;A href="http://web.netapp.com/engineering/design-depot/appliance-mgmt/zephyr/zapidoc.cache/RironcityN/web_unsupported/system/index.html" target="_blank"&gt;string&lt;/A&gt; &lt;BR /&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-family: verdana; font-size: 10pt;"&gt;All output (including error messages) from the command.&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#E8E8E8"&gt;&lt;TD align="center"&gt;&lt;STRONG style="font-size: 10pt; font-family: verdana;"&gt;cli-result-value&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD align="center"&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD align="center"&gt;&lt;SPAN style="font-family: verdana; font-size: 10pt;"&gt;&lt;A href="http://web.netapp.com/engineering/design-depot/appliance-mgmt/zephyr/zapidoc.cache/RironcityN/web_unsupported/system/index.html" target="_blank"&gt;integer&lt;/A&gt; &lt;BR /&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-family: verdana; font-size: 10pt;"&gt;The result value of the command execution (as in CLI 'result'). Possible Values: 0 (command could not be executed), 1 (command executed, but may have errors). Data ONTAP 6.4 and earlier returned 255 if the command executed.&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR bgcolor="#D0D0D0"&gt;&lt;TD align="left"&gt;&lt;SPAN style="font-family: verdana; font-size: 10pt;"&gt; &lt;STRONG&gt;Vfiler-enabled&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#E8E8E8"&gt;&lt;TD align="left"&gt;&lt;SPAN style="font-family: verdana; font-size: 10pt;"&gt; &lt;STRONG&gt;Yes&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;A name="system-cli" style="color: #000000; font-family: 'Times New Roman'; text-align: -webkit-auto; background-color: #ffffff; font-size: medium;" target="_blank"&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;TABLE bgcolor="#FFFFFF" border="0" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="font-size: 10pt;"&gt;Element definition: &lt;STRONG&gt;arg&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right"&gt;&lt;SPAN style="font-family: verdana; font-size: 10pt;"&gt;&lt;A href="http://web.netapp.com/engineering/design-depot/appliance-mgmt/zephyr/zapidoc.cache/RironcityN/web_unsupported/system/index.html#the_top" target="_blank"&gt;[top]&lt;/A&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;TABLE bgcolor="#E8E8E8"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="font-family: verdana; font-size: 10pt;"&gt;The individual arguments of a command&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;A name="arg" style="color: #000000; font-family: 'Times New Roman'; text-align: -webkit-auto; background-color: #ffffff; font-size: medium;" target="_blank"&gt;&lt;/A&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;A name="arg" style="color: #000000; font-family: 'Times New Roman'; text-align: -webkit-auto; background-color: #ffffff; font-size: medium;" target="_blank"&gt;&lt;SPAN style="font-family: verdana; font-size: 10pt;"&gt;[none]&lt;/SPAN&gt;&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; - Rick -&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2012 00:45:56 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Is-there-an-ONTAP-SDK-interface-to-change-a-qtree-s-security-style/m-p/51268#M437</guid>
      <dc:creator>rle</dc:creator>
      <dc:date>2012-02-17T00:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an ONTAP SDK interface to change a qtree's security style?</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Is-there-an-ONTAP-SDK-interface-to-change-a-qtree-s-security-style/m-p/51275#M438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For the benefit of anyone who comes across this discussion later, here's the way I did this in Python, possibly useful as an example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;def invoke_cli(self, *cli_args):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; """&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Call the unsupported/undocumented system-cli API.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cli_args, joined with spaces, would represent the command line&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if executing in the CLI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Return the NaElement result of executing the command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; """&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; args = NaElement('args')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for arg in cli_args:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; args.child_add(NaElement('arg', arg))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cli = NaElement('system-cli')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cli.child_add(args)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; out = self.api.invoke_elem(cli)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if out.results_status() == 'failed':&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; raise OntapApiException(out.results_errno(), out.results_reason())&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return out&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"self.api" is simply an NaServer instance; OntapApiException is an exception I use to handle errors that would be shown in out.results_status().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 18:12:03 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Is-there-an-ONTAP-SDK-interface-to-change-a-qtree-s-security-style/m-p/51275#M438</guid>
      <dc:creator>sbriatnetapp</dc:creator>
      <dc:date>2012-03-01T18:12:03Z</dc:date>
    </item>
  </channel>
</rss>

