Software Development Kit (SDK) and API Discussions

API Call

VIJAYATSLM
views-count 1998 Views

I tried to access a C-Mode NetApp device via ZEDI tool. Currently getting blank in the API output and error is thrown with input element.

 

Please see below the xml code generated

 

<?xml version="1.0" encoding="UTF-8"?>

<netapp  xmlns="http://www.netapp.com/filer/admin" version="1.20">

  <!--Get useful information about the status of the high availability service. If the monitor is not initialized, this returns an error.-->

  <cf-status>

    <!--This parameter is the name of the node for which High Availability service status is being requested-->

    <node></node>================================================= >>>>>Input element "node" name not obtained automatically in ZEDI

  </cf-status>

</netapp>

 

Output Obtained

 

<?xml version='1.0' encoding='UTF-8' ?>

<netapp version='1.20' xmlns='http://www.netapp.com/filer/admin'>

 

 

    <!-- Output of cf-status, ... [Execution Time: 172 ms] -->

          <results errno='15697' status='failed' reason='Specified node not found'/>

</netapp>

 

The tool is not getting the node name by default in the API call and is always blank.

 

Please advice how to get node name in the API call.

 

Do I need to make any configurations at NetApp device?

1 REPLY 1

Re: API Call

MIKEMWALK
views-count 1999 Views

if you are using the zexplore tool then just manually fill in the node name in the xml in the Execute window

 

 

G2 Review Banner
All Community Forums
Public