Software Development Kit (SDK) and API Discussions

Perl: No definition for typedef ipmi-version found

wh_slayer
1,734 Views

I'm not a programmer by trade so please excuse my abuse of any programming terms.  I'm using the NMSDK 5.4 Perl bindings and when I use the service_processor_get() API, the data returned has an 'ipmi-version' datum without a defined typedef.

 

I created a simple patch for OntapClusterAPI.pm to fix this.  Patch content is below and is also attached.  Hopefully this gets to the right people.

 

$ cat OntapClusterAPI.pm-ipmi-version.patch.txt
--- OntapClusterAPI.pm 2015-10-16 10:45:54.169568985 -0500
+++ OntapClusterAPI.pm.new 2015-10-16 10:44:02.524189408 -0500
@@ -67708,6 +67708,11 @@
'flags' => 6,
'scope' => [],
},
+ 'ipmi-version' => {
+ 'type' => 'string',
+ 'flags' => 4,
+ 'scope' => [],
+ },
'is-autoupdate-enabled' => {
'type' => 'boolean',
'flags' => 4,

 

0 REPLIES 0
Public