----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://reviewboard-openlmi.rhcloud.com/r/568/ -----------------------------------------------------------
(Updated Sept. 19, 2013, 1:13 p.m.)
Status ------
This change has been marked as submitted.
Review request for OpenLMI Developers.
Repository: openlmi-tools
Description -------
This patch introduces the access to contant values present either in the CIMClass or in the CIMMethod.
To access desired contant, do following (eg. storage provider):
conf_class = c.root.cimv2.LMI_FileSystemConfigurationService conf_class.OperatingStatusValues.Completed
8
For quick list, just type following:
conf_class.OperatingStatusValues
Dormant = 7 Immigrating = 11 Unknown = 0 Completed = 8 InService = 16 ShuttingDown = 13 InTest = 14 Stopping = 4 Stopped = 5 Servicing = 2 Aborted = 6 NotAvailable = 1 Snapshotting = 12 Transitioning = 15 Migrating = 9 Starting = 3 Emigrating = 10
Similar action can be performed within method:
conf_service = conf_class.first_instance() conf_service.RequestStateChange.RequestedStateValues.Enabled
2
Diffs -----
cli-tools/lmi/lmi_client_shell.py 8c25cece6c0782f77b47d1888f9f031691b27a4b cli-tools/lmishell bbbe0df89844320c84c8445699046c656d058fd9
Diff: http://reviewboard-openlmi.rhcloud.com/r/568/diff/
Testing -------
Thanks,
Peter Hatina
_______________________________________________ openlmi-reviews mailing list openlmi-reviews@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/openlmi-reviews
openlmi-devel@lists.stg.fedorahosted.org