Hi Paul,Thanks for your quick response,can you please help me to find the fan ,sensor and LED measures like operational status and health state ,which classes to be needed find theses measuresThanks in advance
On Monday, May 6, 2013 10:12:45 PM UTC+5:30, Paul Robert Marino wrote:
Wrong methodology
Look at the enumerate methods with deepinhritence enabled
Associator methods are more for handling things like reference values.
-- Sent from my HP Pre3
Hi All,First of all ,I am new in this SMIS ,can any help to SMIS associators related doubts ,1. how to find associators method parameter argument class names(Association class ,result class ),and role ,result roleexample if I need volume details for any storage ,which profile should be need for this2.is possible to create a Generic model using SMIS for all storageplease help me ,It would be very helpful to me
Thanks in Advance--
You received this message because you are subscribed to the Google Groups "SMI-S Developers Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to smi-s-developers-group+unsub...@googlegroups.com.
To post to this group, send email to smi-s-devel...@googlegroups.com.
Visit this group at http://groups.google.com/group/smi-s-developers-group?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
Hi Paul ,Thanks your prompt response,let me check
To unsubscribe from this group and stop receiving emails from it, send an email to smi-s-developers-group+unsubscri...@googlegroups.com.
To post to this group, send email to smi-s-devel...@googlegroups.com.
Visit this group at http://groups.google.com/group/smi-s-developers-group?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
$query->EnumerateClassNames ('name/space','CIM_ComputerSystem', { 'DeepInheritance' = 1});''One of the common complaints about SMI-S is that the class names are not standardized from
one vendor to the next; but this is a half truth.SMI-S allows a vendor to create their own CIM subclasses of the CIM classes named the standard.
This allows the vendor to add fields for their one proprietary features and in some cases
remove optional fields that do not apply to their devices. By using the EnumerateClassNames
CIM Intrinsic method with DeepInheritance enabled you can usually figure out very quickly what
the vendor specific CIM class names are, or if youre in doubt just assume they all are.For example if I wanted to know the name of the vendor specific version of CIM_ComputerSystem
on a Fedora Linux box with SBLIM and TOG_OpenPegasus installed I would execute the following queryhere is the query I might create.
Once the query was posted and the results parsed results were either of the following two
results depending on the value of DeepInheritance.With DeepInheritence set to 1 (True) it returns
Notice with DeepInheritence set to 1 (True) and additional CIM class name PG_ComputerSystem
is included in the results, this is because the super class for PG_ComputerSystem is
CIM_UnitaryComputerSystem and the super class for CIM_UnitaryComputerSystem is
CIM_ComputerSystemHere is the relevant portions of the raw XML from a GetClass against the two classes that
illustrates the relationship.From the PG_ComputerSystem CIM Class'<CLASS NAME="PG_ComputerSystem" SUPERCLASS="CIM_UnitaryComputerSystem" >
What that tells me is that CIM_UnitaryComputerSystem class was used as the initial template
for creating the PG_ComputerSystem classFrom the CIM_UnitaryComputerSystem Class.
<CLASS NAME="CIM_UnitaryComputerSystem" SUPERCLASS="CIM_ComputerSystem" >What that tells me is that CIM_ComputerSystem class was used as the initial template for
creating the CIM_UnitaryComputerSystem class.That means that PG_ComputerSystem indirectly inherits from CIM_ComputerSystem and by
enabling DeepInheritance we can see this relationship by using the EnumerateClassNames method
on the CIM_ComputerSystem class; however without DeepInheritance enabled we can not.The great thing about this is it works for standard CIM, SMI-S, WMI, WMWare, etc.. Any standard
or API based on CIM is structured in this manner so the class name discovery process works the
same way for all of them.''
To unsubscribe from this group and stop receiving emails from it, send an email to smi-s-developers-...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to smi-s-developers-...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to smi-s-developers-...@googlegroups.com.