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

 1 karl  1.1 <html>
 2             <body bgcolor="#CCCCCC">
 3               <table width="100%">
 4                 <tr>
 5           	<td width="50%" align="bottom"><h1>Set Property CIM Operation</h1><td>
 6           	<td width="50%" align="right">
 7           	  <img border=1 src="/pegasus/icons/OpenGroupLogo.gif">
 8                   </td>
 9                 </tr>
10               </table>
11               <hr>
12 karl  1.3     <form name="SetProperty" METHOD=GET ACTION="/pegasus/cgi-bin/CGIClient">
13 karl  1.1       <INPUT TYPE="hidden" NAME="Operation" VALUE="GetProperty">
14 karl  1.3       <INPUT TYPE="hidden" NAME="hostaddress" VALUE="localhost:5988">
15                 <INPUT TYPE="hidden" NAME="debug" VALUE="">
16 karl  1.1       <p>The <tt>setProperty</tt>  CIM operation sets a single property value from a CIM Instance.
17 karl  1.2       <p>NameSpace&nbsp;&nbsp;&nbsp; <INPUT TYPE="text" NAME="NameSpace" SIZE=30 VALUE="root/cimv2">
18 karl  1.1       <p>InstanceName <INPUT TYPE="text" NAME="ClassName" SIZE=30>
19                 <p>PropertyName <INPUT TYPE="text" NAME="PropertyName" SIZE=30>
20                 <p>Newvalue&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <input type="text" name="T1" size="30">
21                 <p><INPUT TYPE="submit" VALUE="Submit" name="Submit">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
22                 <INPUT TYPE="reset" VALUE="Reset">
23               </form>
24 karl  1.2 
25 karl  1.1     <hr>
26               &nbsp;
27               <hr>
28               <h2>Return Request</h2>
29            If unsuccessful, one of the following status codes MUST be returned
30               by this method, where the first applicable error in the list (starting with
31               the first element of the list, and working down) is the error returned. Any
32               additional method-specific interpretation of the error in is given in
33               parentheses.
34               <UL>
35                 <LI>CIM_ERR_ACCESS_DENIED
36                 <LI>CIM_ERR_INVALID_NAMESPACE
37           
38                 <LI>CIM_ERR_INVALID_PARAMETER (including
39                 missing,duplicate, unrecognized or otherwise incorrect parameters)
40           
41                 <LI>CIM_ERR_INVALID_CLASS (the CIM Class does not exist in the specified
42                 namespace)
43                 <LI>CIM_ERR_NOT_FOUND (the CIM Class does exist, but the requested
44                 CIM Instance does not exist in the specified namespace)
45                 <LI>CIM_ERR_NO_SUCH_PROPERTY (the CIM Instance does exist, but the
46 karl  1.1       requested CIMProperty does not)
47                 <LI>CIM_ERR_FAILED (some other unspecified error occurred)</LI>
48               </UL>
49               <hr>
50               <h2>Additional Information</h2>
51            The <TT>setProperty</TT> operation sets a single property value in a CIM
52               Instance in the target Namespace.&nbsp;
53               <p>NameSpace The NameSpace parameter is a string that defines the target
54               namespace.&nbsp;
55               <p>InstanceName The InstanceName input parameter specifies the name of
56               the Instance (model
57               path) for which the CIMProperty value is to be updated.&nbsp;
58               <p>PropertyName The PropertyName input parameter specifies the name of
59               the CIMProperty whose
60               value is to be updated.&nbsp;
61               <p>Newvalue The NewValue input parameter specifies the new value for the
62               CIMProperty (which
63               may be NULL).&nbsp;
64               <hr>
65               <h2>    Pegasus C++ API as defined in Operations.h
66           
67 karl  1.1 </h2>
68               <pre>    virtual void setProperty(
69                   const String&amp; nameSpace,
70           		const CIMReference&amp; instanceName,
71           		const String&amp; propertyName,
72           		const CIMValue&amp; newValue = CIMValue()) = 0;
73           
74           </pre>
75             <hr><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.3     S-Format="%A, %B %d, %Y %I:%M:%S %p" startspan -->Friday, June 29, 2001 06:46:49 PM<!--webbot bot="Timestamp" i-CheckSum="55165" endspan -->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
83 karl  1.1      Copyright @ The Open Group 2001&nbsp;</font>
84 karl  1.3    <script>
85           	   document.SetProperty.hostaddress.value = top.hostAddress;
86                  document.SetProperty.debug.value = top.debug;
87                  document.SetProperty.NameSpace.value = top.NameSpace;
88           	   window.focus();
89              </script>
90 karl  1.1   </body>
91           </html>
92           

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2