1 mike 1.1 <html>
2 <body bgcolor="#CCCCCC">
3 <table width="100%">
4 <tr>
|
5 karl 1.6 <td width="50%" align="bottom"><h1>GetClassProperty</h1><td>
6 <td width="50%" align="right">
7 <img border=1 src="/pegasus/icons/OpenGroupLogo.gif">
|
8 mike 1.1 </td>
9 </tr>
10 </table>
|
11 karl 1.6 <hr></hr>
12 <form name="GetProperty" METHOD=GET ACTION="/pegasus/cgi-bin/CGIClient">
|
13 mike 1.1 <INPUT TYPE="hidden" NAME="Operation" VALUE="GetProperty">
|
14 karl 1.6 <input type="hidden" name="hostip" value="localhost">
|
15 karl 1.7 <input type="hidden" name="portnum" value="5988">
16 <p>NameSpace <INPUT TYPE="text" NAME="NameSpace" SIZE=30 VALUE="root/cimv2">
|
17 karl 1.6 <p>ClassName <INPUT TYPE="text" NAME="ClassName" SIZE=30>
18 <p>PropertyName <INPUT TYPE="text" NAME="PropertyName" SIZE=30>
19 <p><INPUT TYPE="submit" VALUE="GetProperty">
20 <p><INPUT TYPE="reset" VALUE="Reset">
|
21 mike 1.1 </form>
|
22 karl 1.7
|
23 karl 1.4 <hr>
24 <h2>
25
26 Return Results</h2>
27 <p>
28
29 If successful, the return value specifies the value of the requested
30 CIMProperty. If the value is NULL then no element is returned.
31
32 If unsuccessful, one of the following status codes MUST be returned by this
33 method, where the first applicable error in the list (starting with the
34 first element of the list, and working down) is the error returned. Any
35 additional method-specific interpretation of the error in is given in
36 parentheses.
37 <UL>
38 <LI>CIM_ERR_ACCESS_DENIED
39 <LI>CIM_ERR_INVALID_NAMESPACE
40 <LI>CIM_ERR_INVALID_PARAMETER (including missing, duplicate,
41 unrecognized or otherwise incorrect parameters)
42 <LI>CIM_ERR_INVALID_CLASS (the CIM Class does not exist in the specified
43 namespace)
44 karl 1.4 <LI>CIM_ERR_NOT_FOUND (the CIM Class does exist, but the requested CIM
45 Instance does not exist in the specified namespace)
|
46 karl 1.5 <LI>CIM_ERR_NO_SUCH_PROPERTY (the CIM Instance does exist, but the
|
47 karl 1.4 requested CIMProperty does not)
48 <LI>CIM_ERR_FAILED (some other unspecified error occurred)
49 </UL>
|
50 karl 1.7
|
51 karl 1.4 <hr>
52 <h2>Additional Description of the Operation</h2>
|
53 karl 1.7
|
54 karl 1.4 This operation is used to retrieve a single property value from a CIM
|
55 karl 1.5 Instance in the target Namespace. <p><b> <a name="NameSpace">NameSpace</a></b>
56 - The NameSpace parameter is a string that defines the target
57 namespace \Ref{NAMESPACE} <p><b><a name="InstanceName">InstanceName</a></b>
58 - The InstanceName input parameter specifies the name of the Instance
|
59 karl 1.4 (model path) from which the CIMProperty value is
|
60 karl 1.5 requested. <a href="file://Ref{INSTANCENAME">\\Ref{INSTANCENAME</a>} <p><b><a name="PropertyName">PropertyName
61 </a></b>- The PropertyName input parameter specifies the name of the
|
62 karl 1.4 CIMProperty whose value is to be returned.
63 <hr>
64 <h2>Pegasus API in Operations.h</h2>
|
65 karl 1.7
|
66 karl 1.4 <pre>
67 virtual CIMValue getProperty(
|
68 karl 1.5 const String& nameSpace,
69 const CIMReference& instanceName,
70 const String& propertyName) = 0;
|
71 karl 1.4 </pre>
72
73 <hr>
74
75 <p style="margin-top: 0; margin-bottom: 0"> <font size="2">Demonstration
76 Prepared by the OpenGroup Manageability Work Group Pegasus Development Team</font>
77
78 <p style="margin-top: 0; margin-bottom: 0"> <font size="2">See (<a href="http://www.opengroup.org/management">http://www.opengroup.org/management</a>)
79 for more information on Pegasus </font>
80
81 <p style="margin-top: 0; margin-bottom: 0"> <font size="1">Last Modified <!--webbot bot="Timestamp" S-Type="EDITED"
|
82 karl 1.5 S-Format="%A, %B %d, %Y %I:%M:%S %p" startspan -->Thursday, March 29, 2001 02:32:59 PM<!--webbot bot="Timestamp" i-CheckSum="6845" endspan -->
|
83 karl 1.4 Copyright @ The Open Group 2001 </font>
84
|
85 karl 1.6 <script>
86 GetProperty.hostip.value = opener.top.hostip;
87 GetProperty.portnum.value = opener.top.portnum;
88 window.focus();
89 </script>
|
90 mike 1.1 </body>
91 </html>
|