ANNOUNCE: lmishell, method calls and refreshing

Peter Hatina phatina at redhat.com
Fri Sep 20 12:53:07 UTC 2013


Hi,

from commit 4059d9d, LMIShell does *not* auto-refresh a LMIInstance
after a method call.

To make scripts work with current lmishell, it is possible to pass
"RefreshInstance" parameter into a method call, which will instruct
lmishell to behave as before; or refresh the instance by hand.

Example:

instance.Method({"param" : val}, RefreshInstance=True)

or:

instance.Method({"param" : val})
instance.refresh()

Have a nice day!

-- 
Peter Hatina
ENG Server Experience, System Management
Red Hat Czech, Brno


More information about the openlmi-devel mailing list