1 karl 1.1 <html>
|
2 karl 1.7 <HEAD>
3 <script LANGUAGE="JavaScript">
4 function gatherWindowData() {
5 var msg = "Testing" +"<br>"
6 msg = msg + "topname: " + top.name + "<BR>"
7 msg = msg + "parent name: " + parent.name + "<BR>"
8 msg = msg + "parent.document.title: " + parent.document.title + "<P>"
9 msg = msg + "window.name: " + window.name + "<BR>"
10 msg = msg + "self.name: " + self.name + "<BR>"
11 msg = msg + "self.document.title: " + self.document.title
12 return msg
13 }
14 </script>
15 </HEAD>
|
16 karl 1.1 <body bgcolor="#CCCCCC">
17 <table width="100%">
18 <tr>
|
19 karl 1.3 <td width="50%" align="bottom"><h1>Enumerate NameSpaces</h1><td>
|
20 karl 1.1 <td width="50%" align="right">
21 <img border=1 src="/pegasus/icons/OpenGroupLogo.gif">
22 </td>
23 </tr>
24 </table>
25 <hr>
|
26 karl 1.7 <form name="EnumerateNamespaces" METHOD=GET ACTION="/pegasus/cgi-bin/CGIClient">
|
27 karl 1.3 <INPUT TYPE="hidden" NAME="Operation" VALUE="EnumerateNameSpaces">
|
28 karl 1.7 <INPUT TYPE="hidden" NAME="hostaddress" VALUE="localhost:5988">
29 <INPUT TYPE="hidden" NAME="debug" VALUE="">
|
30 karl 1.1 <p>
|
31 karl 1.3 <a name="TOP"></a>
32 This request enumerates the namespaces defined in the repository. This is not a CIM intrinsic method but uses CIM enumerateInstance.
33 <p><b><a href="#NameSpace">NameSpace</a></b>
|
34 karl 1.1 <INPUT TYPE="text" NAME="NameSpace" SIZE=30 VALUE="root">
|
35 karl 1.3 Defines the root namespace where the __Namespace class is defined. (DO NOT CHANGE)
36 <p><b><a href="#ClassName">ClassName</a></b> <INPUT TYPE="text" NAME="ClassName" SIZE=30 VALUE="__Namespace">
37 Defines the __Namespace class within the repository. (DO NOT CHANGE)<p><b>DO
38 NOT CHANGE THE ABOVE. THE FIELDS ARE PROVIDED FOR INFORMATION ONLY</b>
|
39 karl 1.1 <p><INPUT TYPE="submit" VALUE="Submit Request">
|
40 a.arora 1.8 <INPUT TYPE="reset" VALUE="Reset Form">
|
41 karl 1.1
42 <hr>
|
43 karl 1.3 <hr>
|
44 karl 1.4 </form>
45 <h2>Return Results</h2>
46 If successful, the method returns zero or more named
47 Instances that meet the required criteria.
48
49 If unsuccessful, one of the following status codes MUST be returned
50 by this method, where the first applicable error in the list (starting
51 with the first element of the list, and working down) is the error
52 returned. Any additional method-specific interpretation of the error in
53 is given in parentheses.
54
55 <UL>
56 <LI>CIM_ERR_ACCESS_DENIED
57 <LI>CIM_ERR_NOT_SUPPORTED
58 <LI>CIM_ERR_INVALID_NAMESPACE
59 <LI>CIM_ERR_INVALID_PARAMETER (including missing,
60 duplicate, unrecognized or otherwise incorrect parameters)
61 <LI>CIM_ERR_INVALID_CLASS (the CIM Class that is the
62 basis for this enumeration does not exist)
63 <LI>CIM_ERR_FAILED (some other unspecified error occurred)</LI>
64 </UL>
|
65 karl 1.7 <hr>
|
66 karl 1.3 <h2>Additional Information on the Fields</h2>
67 <p><a name="NameSpace"><b>NameSpace</b></a> - The NameSpace parameter is a string that defines the
68 target namespace
69
70 <p><a name="className"><b>ClassName</b></a> - The <TT>ClassName</TT> input parameter defines the Class
71 that is the basis for the enumeration. Note that the class named is not
72 retrieved as part of the enumeration. Thus, if there are no subclasses to
73 the named class, zero classe names are returned.
74 <p><b>Definition of the Namespace -</b> An object that defines a scope within which object keys must be unique. Multiple namespaces typically indicate the presence
75 of multiple management spaces or multiple devices.
76
77 The namespace pragma
78 <PRE> #pragma namespace( )</PRE>
79 This pragma is used to specify a Namespace path. The syntax
80 needs to conform to the following:
81 <PRE> <namespacetype>://<namespacehandle></PRE>
82 <P>The contents of a MOF file are loaded into a namespace that provides a domain (in other words, a container), in which the instances of the classes are guaranteed to be unique per the KEY qualifier definitions. The term namespace is used to refer to an implementation that provides such a domain.
83 Namespaces can be used to:
84 <UL>
85 <LI>Define chunks of management information (objects and associations) to limit implementation resource requirements, such as database size.
86 <LI>Define views on the model for applications managing only specific objects, such as hubs.
87 karl 1.3 <LI>Pre-structure groups of objects for optimized query speed.
88 </UL>
89 <p><b>Implementation of Namespace Manipulation - </b>Today the namespace manipulation defined in CIM Operations over HTTP
90 (Section 2.5) is
91 proprietary in nature. It is based on a class named __Namespace
92 which creates an instance for each namespace defined for the CIMOM. The
93 only required property in the __namespace class is the name.
94 <p>Within Pegasus, the namespace manipulation based on the __namespace
95 class can be executed through this HTML page or through the <a href="EnumerateInstanceNames.html">enumerateInstanceNames</a>
96 operation with the classname = __namespace and the namespace
97 parameter = root. While it has not been formally defined
98 within the specification,
99 Pegasus today maintains the __namespace class in the root namespace.</p>
100 <p style="line-height: 100%; margin-top: 0; margin-bottom: 0">Operations
101 on the __NameSpace class are handled within Pegasus by a special provider
102 that manipulates the instances of the class and also creates and deletes
103 namespaces.</p>
|
104 karl 1.4 <hr><p style="margin-top: 0; margin-bottom: 0"> <font size="2">Demonstration
105 Prepared by the OpenGroup Manageability Work Group Pegasus Development Team</font>
106
107 <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>)
108 for more information on Pegasus</font>
109
|
110 karl 1.3 <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"><font size="1">Last
111 Modified <!--webbot bot="Timestamp" S-Type="EDITED"
|
112 karl 1.7 S-Format="%A, %B %d, %Y %I:%M:%S %p" startspan -->Friday, June 29, 2001 06:39:39 PM<!--webbot bot="Timestamp" i-CheckSum="55159" endspan -->
|
113 karl 1.4 Copyright @ The Open Group 2001 </font>
|
114 karl 1.7
115 <script LANGUAGE="JavaScript">
116 document.EnumerateNamespaces.hostaddress.value = top.hostAddress;
|
117 a.arora 1.8 document.EnumerateNamespaces.debug.value = top.debug;
118 <!--document.EnumerateNamespaces.NameSpace.value = top.NameSpace;-->
|
119 karl 1.7 window.focus();
120 </script>
|
121 karl 1.1 </body>
122 </html>
|