1 karl 1.1 <html>
2 <body bgcolor="#CCCCCC">
3 <table width="100%">
4 <tr>
5 <td width="50%" align="bottom"><h1>Delete NameSpace 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="DeleteNameSpace" METHOD=GET ACTION="/pegasus/cgi-bin/CGIClient">
|
13 karl 1.1 <INPUT TYPE="hidden" NAME="Operation" VALUE="DeleteNameSpace">
|
14 karl 1.3 <INPUT TYPE="hidden" NAME="hostaddress" VALUE="localhost:5988">
15 <INPUT TYPE="hidden" NAME="debug" VALUE="">
16 <p>The <tt>DeleteNameSpace</tt> method deletes an existing namespace in the Pegasus repository.
|
17 karl 1.1 <p><b><a href="#NameSpace">NameSpace</a></b>
18 <INPUT TYPE="text" NAME="NameSpace" SIZE=30 VALUE="root">
19 Defines the root namespace where the __Namespace class is defined. (DO NOT CHANGE)
20 <p><b>NameSpace </b> <INPUT TYPE="text" NAME="DeletionNameSpace" SIZE=30>
21 String that defines the namespace to be deleted
|
22 karl 1.2
|
23 karl 1.1 <p><INPUT TYPE="submit" VALUE="Submit Request">
24 <INPUT TYPE="reset" VALUE="Reset Form">
25 <p>
26
27 </form>
28
29 <hr>
30 <h2>Return Results</h2>
31 <p>If successful, the specified Namespace MUST have been removed by the CIM Server. If unsuccessful, one of the following status codes MUST be returned by this method, where the first applicable error in
32 the list (starting with the first element of the list, and working down) is the error returned. Any additional method-specific interpretation of the error in is given in parentheses.</p>
33 <UL
|
34 karl 1.2 <LI>CIM_ERR_ACCESS_DENIED
35 <LI>CIM_ERR_NOT_SUPPORTED
36 <LI>CIM_ERR_INVALID_NAMESPACE
37 <LI>CIM_ERR_INVALID_PARAMETER (including missing, duplicate, unrecognized or otherwise incorrect parameters)
38 <LI>CIM_ERR_INVALID_CLASS (the CIM Class does not exist in the specified namespace)
39 <LI>CIM_ERR_NOT_FOUND (the CIM Class does exist, but the requested CIM Instance does not exist in the specified namespace)
|
40 karl 1.1 <LI>CIM_ERR_FAILED (some other unspecified error occurred)
41 </UL>
|
42 karl 1.2
43
|
44 karl 1.1 <p><b> </b>
45 <hr>
46
47 <h2>ADDITIONAL Description of Fields</h2>
48 <p>Delete Namespace is not an intrinsic CIM operation today. In
49 accordance with the current CIM operations over HTTP specification, the
50 deleteion of namespaces is executed instances of the class __Namespace. This
51 class is defined with a single property, the name property which is the
52 key. Deletion of an instance of of this class causes the namespace
53 to be deleted. If the namespace does not exist, the delete namespace returns
54 the error CIM_ERR_NOT_FOUND.</p>
55 <p>In the Pegasus implementation, namespace manipulation is managed
56 through a special provider __Namespace that is registered for the
57 __Namespace class and returns creates and deletes namespaces as well as
58 returning instances of __Namespace corresponding to the current set of
59 namespaces.</p>
60 <p>The documentation does not clarify any special behavior on the namespace
61 deletion function. The Pegasus implementation will insure that a
62 namespace is empty before it can be deleted. If a namespace contains
63 classes Pegasus will refuse the deletetion command with the error
64 CIM_ERR_NOT_FOUND</p>
65 karl 1.1 <p>The use of the __Namespace class to delete namespaces is considered
66 implementation dependent and was never completely defined in the CIM
67 Operations over HTTP Documents. In addition, the __Namespace class itself
68 was never defined. In the next version of CIM Operations over HTTP, the technique will
69 be changed to allow for intrinsic methods that permit both creation and
70 deletion of namespaces.</p>
|
71 karl 1.2
|
72 karl 1.1 <hr>
73 <h2>C++ Pegasus API</h2>
|
74 karl 1.2
75
|
76 karl 1.1 The following is the CIM operation that is used to create a new namespace.
77 <PRE>
78 virtual void deleteInstance(
79 const String& nameSpace
80 };</PRE>
|
81 karl 1.2
|
82 karl 1.1 <hr><p style="margin-top: 0; margin-bottom: 0"> <font size="2">Demonstration
83 Prepared by the OpenGroup Manageability Work Group Pegasus Development Team</font>
84
85 <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>)
86 for more information on Pegasus</font>
87
88 <p style="margin-top: 0; margin-bottom: 0"> <font size="1">Last Modified <!--webbot bot="Timestamp" S-Type="EDITED"
89 S-Format="%A, %B %d, %Y %I:%M:%S %p" startspan -->Monday, March 26, 2001 03:06:48 PM<!--webbot bot="Timestamp" i-CheckSum="50711" endspan -->
90 Copyright @ The Open Group 2001 </font>
91
|
92 karl 1.2 <script>
|
93 karl 1.3 document.DeleteNameSpace.hostaddress.value = top.hostAddress;
94 document.DeleteNameSpace.debug.value = top.debug;
95 document.DeleteNameSpace.NameSpace.value = top.NameSpace;
96 window.focus();
|
97 karl 1.2 </script>
|
98 karl 1.1
99 </body>
|
100 karl 1.2
101
|
102 karl 1.1 </html>
103
|