(file) Return to GetProperty.html CVS log (file) (dir) Up to [Pegasus] / pegasus / cgi / htdocs

 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.8     <hr>
12 karl  1.6     <form name="GetProperty" METHOD=GET ACTION="/pegasus/cgi-bin/CGIClient">
13 mike  1.1       <INPUT TYPE="hidden" NAME="Operation" VALUE="GetProperty">
14 karl  1.8       <INPUT TYPE="hidden" NAME="hostaddress" VALUE="localhost:5988">
15                  <INPUT TYPE="hidden" NAME="debug" VALUE="">
16                 <p>NameSpace&nbsp;&nbsp;&nbsp; <INPUT TYPE="text" NAME="NameSpace" SIZE=30 VALUE="root/cimv2">
17                 <p>ClassName&nbsp;&nbsp;&nbsp;&nbsp; <INPUT TYPE="text" NAME="ClassName" SIZE=30>
18 karl  1.6       <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.&nbsp;<p><b>&nbsp;<a name="NameSpace">NameSpace</a></b>&nbsp;
56               - The NameSpace parameter is a string that defines the target
57               namespace \Ref{NAMESPACE}&nbsp;<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>}&nbsp;<p><b><a name="PropertyName">PropertyName
61               </a></b>-&nbsp; The PropertyName input parameter specifies the name of the
62 karl  1.4     CIMProperty whose value is to be returned.&nbsp;
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&amp; nameSpace,
69               	const CIMReference&amp; instanceName,
70               	const String&amp; 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.8     S-Format="%A, %B %d, %Y %I:%M:%S %p" startspan -->Friday, June 29, 2001 06:45:16 PM<!--webbot bot="Timestamp" i-CheckSum="55017" endspan -->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
83 karl  1.4      Copyright @ The Open Group 2001&nbsp;</font>
84           
85 karl  1.6    <script>
86 karl  1.8    	   document.GetProperty.hostaddress.value = top.hostAddress;
87                  document.GetProperty.debug.value = top.debug;
88                  document.GetProperty.NameSpace.value = top.NameSpace;
89           
90           	   window.focus();
91 karl  1.6    </script>
92 mike  1.1   </body>
93           </html>

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2