Active IQ Unified Manager Discussions

Syntax errors in 9.x versions of NMSDK in lib/perl/NetApp/Ontap7ModeAPI.pm

SCOTT_LINDLEY
2,201 Views

The last few versions of NMSDK have contained a syntax error in the Perl module located at lib/perl/NetApp/Ontap7ModeAPI.pm. The error appears to be the result of an automatically generated data structure. The original block of code reads (note that the error is in the 'type' line):

 

'volume-dsid' => {
     'type' => 'string the identity of the volume on which the lock is held. <p> the legal choice for a volume identifer is the volume dsid. dsids are formatted as 16-character strings composed of 16 hex characters prefixed with '0x'.',
     'flags' => 0,
     'scope' => [],
},

 

The corrected 'type' line (line number 22331 in version 9.5) should read:

     'type' => 'string the identity of the volume on which the lock is held. <p> the legal choice for a volume identifer is the volume dsid. dsids are formatted as 16-character strings composed of 16 hex characters prefixed with \'0x\'.',

 

Please update the generation process so future versions do not contain this error.

 

Thank you for your attention to this matter,

    Scott Lindley

 

2 REPLIES 2

MartinBoere
2,105 Views

@Vineet Would this be something that you would be able to arrange?

Officially NMSDK is supported over the community board and for this reason asking this to you.

SCOTT_LINDLEY
1,980 Views

It appears that this has been fixed in version 9.6. Thank you! I am enjoying not having to repair the NMSDK before I install it!

Public