Skip to main content

alphaWorks  >  Forums  >  Scripting Tools for SAN Volume Controller  >  developerWorks

lslicense works as designed?    Point your RSS reader here for a feed of the latest messages in this thread


     

 
 

My developerWorks
 Welcome, Guest
Sign in or register
This question is not answered.

Permlink Replies: 0 - Pages: 1 Threads: [ Previous | Next ]
unsster

Posts: 1
Registered: Mar 03, 2009 01:43:40 PM
lslicense works as designed?
Posted: Mar 03, 2009 01:51:47 PM
 
Click to report abuse...   Click to reply to this thread Reply
Hello,

i tried to get the configured license information using something like this:

my ($rc, $info_ref) = $svc->svcinfo("lslicense");
print $info_ref->{'license_virtualization'};

However, $info_ref turned out not to be a HASH ref.
$svc->svcinfo("lslicense", {}, " ") seems to be a workaround that makes SVC.pm use the parsing mode that I was hoping for.

Is that the intended behavior (for lslicense)?

BTW: svqueryclock does not seem to be accessable through the API, but would be nice to have.

Cheers
Kai

PS:
@(#)67 1.7 SVCTools/lib/IBM/SVC.pm, cmpss_cust_scripts, cust_scripts 3/18/08 14:07:14

Point your RSS reader here for a feed of the latest messages in all forums