Reply to Message

View discussion in a popup

Replying to:
stumpr
Virtuoso
Virtuoso

Unfortunately, the modules aren't versioned, every version uses the same name 'VIM25Stub.pm' in this case.  The likely problem here is an older VIM25Stub.pm (from <5.5, since 5.5 introduced that object type).

Might want to double check to see how many VIM25Stub.pm files are on the system, and if they are the same (simple md5sum would work).

From my vSphere 6.0 VIPerl SDK install system:

$ sudo find /  -name VIM25Stub.pm -type f -exec md5 {} \; 2>/dev/null

MD5 (/System/Library/Perl/5.18/VMware/VIM25Stub.pm) = 6740555623a9613b4f9a50b29b457eaf

You can just check if the package name is in the file (make sure you're getting the one that Perl is picking up in it's @INC).

$ egrep -r "HostSriovInfo" ./*

./VIM25Stub.pm:package HostSriovInfo;

./VIM25Stub.pm:VIMRuntime::make_get_set('HostSriovInfo', 'sriovEnabled', 'sriovCapable', 'sriovActive', 'numVirtualFunctionRequested', 'numVirtualFunction', 'maxVirtualFunctionSupported');

Reuben Stump | http://www.virtuin.com | @ReubenStump

View solution in original post

Reply
0 Kudos