<?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 api vserver tunneling in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/api-vserver-tunneling/m-p/134089#M2454</link>
    <description>&lt;P&gt;I'm new in API development, and ... development&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have to develop a web portal to do some provisionning in a vserver.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With zexplore, i succeed to do queries till i'm at cluster level, but when i want to do some within a vserver, it fails.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;message is&amp;nbsp;'Vserver API missing vserver parameter.' errno='13006'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my query is :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;BR /&gt;&amp;lt;netapp xmlns="&lt;A href="http://www.netapp.com/filer/admin" target="_blank"&gt;http://www.netapp.com/filer/admin&lt;/A&gt;" version="1.110"&amp;gt;&lt;BR /&gt;&amp;lt;qtree-create&amp;gt;&lt;BR /&gt;&amp;lt;export-policy&amp;gt;default&amp;lt;/export-policy&amp;gt;&lt;BR /&gt;&amp;lt;mode&amp;gt;755&amp;lt;/mode&amp;gt;&lt;BR /&gt;&amp;lt;oplocks&amp;gt;Enabled&amp;lt;/oplocks&amp;gt;&lt;BR /&gt;&amp;lt;qtree&amp;gt;qtt&amp;lt;/qtree&amp;gt;&lt;BR /&gt;&amp;lt;security-style&amp;gt;unix&amp;lt;/security-style&amp;gt;&lt;BR /&gt;&amp;lt;volume&amp;gt;VOL_01&amp;lt;/volume&amp;gt;&lt;BR /&gt;&amp;lt;/qtree-create&amp;gt;&lt;BR /&gt;&amp;lt;/netapp&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I guess i need to specify the vserver i want to access to, but how ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I succeeded to use the vserver_tunnel.py to do something, but this is not the way I intend to.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Perhaps i'm on the wrong way, but I would like not &amp;nbsp;to use third party language like perl, python .., but build on the fly and send xml request directly to the filer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help ?&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 14:39:50 GMT</pubDate>
    <dc:creator>PHILIPPE_MESLINOBS</dc:creator>
    <dc:date>2025-06-04T14:39:50Z</dc:date>
    <item>
      <title>api vserver tunneling</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/api-vserver-tunneling/m-p/134089#M2454</link>
      <description>&lt;P&gt;I'm new in API development, and ... development&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have to develop a web portal to do some provisionning in a vserver.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With zexplore, i succeed to do queries till i'm at cluster level, but when i want to do some within a vserver, it fails.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;message is&amp;nbsp;'Vserver API missing vserver parameter.' errno='13006'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my query is :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;BR /&gt;&amp;lt;netapp xmlns="&lt;A href="http://www.netapp.com/filer/admin" target="_blank"&gt;http://www.netapp.com/filer/admin&lt;/A&gt;" version="1.110"&amp;gt;&lt;BR /&gt;&amp;lt;qtree-create&amp;gt;&lt;BR /&gt;&amp;lt;export-policy&amp;gt;default&amp;lt;/export-policy&amp;gt;&lt;BR /&gt;&amp;lt;mode&amp;gt;755&amp;lt;/mode&amp;gt;&lt;BR /&gt;&amp;lt;oplocks&amp;gt;Enabled&amp;lt;/oplocks&amp;gt;&lt;BR /&gt;&amp;lt;qtree&amp;gt;qtt&amp;lt;/qtree&amp;gt;&lt;BR /&gt;&amp;lt;security-style&amp;gt;unix&amp;lt;/security-style&amp;gt;&lt;BR /&gt;&amp;lt;volume&amp;gt;VOL_01&amp;lt;/volume&amp;gt;&lt;BR /&gt;&amp;lt;/qtree-create&amp;gt;&lt;BR /&gt;&amp;lt;/netapp&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I guess i need to specify the vserver i want to access to, but how ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I succeeded to use the vserver_tunnel.py to do something, but this is not the way I intend to.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Perhaps i'm on the wrong way, but I would like not &amp;nbsp;to use third party language like perl, python .., but build on the fly and send xml request directly to the filer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help ?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 14:39:50 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/api-vserver-tunneling/m-p/134089#M2454</guid>
      <dc:creator>PHILIPPE_MESLINOBS</dc:creator>
      <dc:date>2025-06-04T14:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: api vserver tunneling</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/api-vserver-tunneling/m-p/134170#M2457</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/2398"&gt;@PHILIPPE_MESLINOBS&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you manually creating the XML for ZAPI? &amp;nbsp;If so, you need to have a vfiler definition in the opening XML tag:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;netapp xmlns="http://www.netapp.com/filer/admin" version="1.110" vfiler="svm_name"&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;If you're using one of the SDKs, then you need to use the "set_vfiler" method for the language of your choice. &amp;nbsp;Here is an example using Python:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;from NaServer import *

server = NaServer("your.cluster", 1, 110)
server.set_admin_user("username", "password")&lt;BR /&gt;server.set_vfiler("svm name")&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you don't *want* to talk directly to ZAPI, then I'd recommend checking out API Services and/or NetApp Service Level Manager. &amp;nbsp;Both have REST APIs and&amp;nbsp;use JSON.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2017 17:56:54 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/api-vserver-tunneling/m-p/134170#M2457</guid>
      <dc:creator>asulliva</dc:creator>
      <dc:date>2017-09-01T17:56:54Z</dc:date>
    </item>
  </channel>
</rss>

