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

File: [Pegasus] / pegasus / cgi / htdocs / Attic / enumeratenamespaces.html (download) / (as text)
Revision: 1.9, Thu Aug 28 17:10:40 2008 UTC (15 years, 9 months ago) by kumpf
Branch: MAIN
CVS Tags: TASK-PEP362_RestfulService-merged_out_from_trunk, TASK-PEP348_SCMO-merged_out_from_trunk, TASK-PEP317_pullop-merged_out_from_trunk, TASK-PEP317_pullop-merged_in_to_trunk, HPUX_TEST, HEAD
Changes since 1.8: +0 -0 lines
FILE REMOVED
BUG#: 7860
TITLE: pegasus/cgi directory is obsolete
DESCRIPTION: Remove unused files.

<html>
  <HEAD>
   <script LANGUAGE="JavaScript">
   	  function gatherWindowData() {
   	    var msg = "Testing" +"<br>"
	    msg = msg + "topname: " + top.name + "<BR>"
		msg = msg + "parent name: " + parent.name + "<BR>"
		msg = msg + "parent.document.title: " + parent.document.title + "<P>"
		msg = msg + "window.name: " + window.name + "<BR>"
		msg = msg + "self.name: " + self.name + "<BR>"
		msg = msg + "self.document.title: " + self.document.title
		return msg
	  }
   </script>
  </HEAD>
  <body bgcolor="#CCCCCC">
    <table width="100%">
      <tr>
	<td width="50%" align="bottom"><h1>Enumerate NameSpaces</h1><td>
	<td width="50%" align="right">
	    <img border=1 src="/pegasus/icons/OpenGroupLogo.gif">
	</td>
      </tr>
    </table>
    <hr>
  <form name="EnumerateNamespaces" METHOD=GET ACTION="/pegasus/cgi-bin/CGIClient">
       <INPUT TYPE="hidden" NAME="Operation" VALUE="EnumerateNameSpaces">
       <INPUT TYPE="hidden" NAME="hostaddress" VALUE="localhost:5988">
       <INPUT TYPE="hidden" NAME="debug" VALUE="">
       <p>
       <a name="TOP"></a>
       This request enumerates the namespaces defined in the repository. This is not a CIM intrinsic method but uses CIM enumerateInstance.
       <p><b><a href="#NameSpace">NameSpace</a></b>
	         <INPUT TYPE="text" NAME="NameSpace" SIZE=30 VALUE="root">&nbsp;
       		Defines the root namespace where the __Namespace class is defined. (DO NOT CHANGE)
       <p><b><a href="#ClassName">ClassName</a></b> <INPUT TYPE="text" NAME="ClassName" SIZE=30 VALUE="__Namespace">&nbsp;&nbsp;
       Defines the __Namespace class within the repository. (DO NOT CHANGE)<p><b>DO
       NOT CHANGE THE ABOVE.&nbsp; THE FIELDS ARE PROVIDED FOR INFORMATION ONLY</b>
	       <p><INPUT TYPE="submit" VALUE="Submit Request">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
           <INPUT TYPE="reset" VALUE="Reset Form">

       <hr>
      <hr>
    </form>
    <h2>Return Results</h2>
    If successful, the method returns zero or more&nbsp;named
    Instances that meet the required criteria.

    If unsuccessful, one of the following status codes&nbsp;MUST be returned
    by this method, where the first applicable error in the list (starting
    with the first element of the list, and working down) is&nbsp;the error
    returned. Any additional method-specific interpretation of the error in
    is given in parentheses.

	<UL>
	  <LI>CIM_ERR_ACCESS_DENIED
	  <LI>CIM_ERR_NOT_SUPPORTED
	  <LI>CIM_ERR_INVALID_NAMESPACE&nbsp;
	  <LI>CIM_ERR_INVALID_PARAMETER (including missing,
		duplicate,&nbsp;unrecognized or otherwise incorrect parameters)
	  <LI>CIM_ERR_INVALID_CLASS (the CIM Class that is the
		basis for this enumeration does not exist)
	  <LI>CIM_ERR_FAILED (some other unspecified error occurred)</LI>
	</UL>
    <hr>
    <h2>Additional Information on the Fields</h2>
    <p><a name="NameSpace"><b>NameSpace</b></a> - The NameSpace parameter is a string that defines the
    target namespace

    <p><a name="className"><b>ClassName</b></a> - The <TT>ClassName</TT> input parameter defines the Class
    that is the basis for the enumeration.&nbsp;Note that the class named is not
    retrieved as part of the enumeration. Thus, if there are no subclasses to
    the named class, zero classe names are returned.
    <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
	of multiple management spaces or multiple devices.

	The namespace pragma
	    <PRE>     #pragma namespace( )</PRE>
	This pragma is used to specify a Namespace path. The syntax
	needs to conform to the following:
    	<PRE>     	<namespacetype>://<namespacehandle></PRE>
	<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.
	Namespaces can be used to:
	<UL>
    	<LI>Define chunks of management information (objects and associations) to limit implementation resource requirements, such as database size.
    	<LI>Define views on the model for applications managing only specific objects, such as hubs.
    	<LI>Pre-structure groups of objects for optimized query speed.
 	</UL>
    <p><b>Implementation of Namespace Manipulation - </b>Today the namespace manipulation defined in CIM Operations over HTTP
    (Section 2.5) is
    proprietary in nature.&nbsp; It is based on a class named __Namespace
    which creates an instance for each namespace defined for the CIMOM. The
    only required property in the __namespace class is the name.
    <p>Within Pegasus, the namespace manipulation based on the __namespace
    class can be executed through this HTML page or through the <a href="EnumerateInstanceNames.html">enumerateInstanceNames</a>
    operation with the classname = __namespace and the namespace
    parameter =&nbsp; root.&nbsp; While it has not been formally defined
    within the specification,
    Pegasus today maintains the __namespace class in the root namespace.</p>
    <p style="line-height: 100%; margin-top: 0; margin-bottom: 0">Operations
    on the __NameSpace class are handled within Pegasus by a special provider
    that manipulates the instances of the class and also creates and deletes
    namespaces.</p>
  <hr><p style="margin-top: 0; margin-bottom: 0"> <font size="2">Demonstration
     Prepared by the OpenGroup Manageability Work Group Pegasus Development Team</font>

     <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>)
     for more information on Pegasus</font>

    <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"><font size="1">Last
    Modified <!--webbot bot="Timestamp" S-Type="EDITED"
    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 -->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    Copyright @ The Open Group 2001&nbsp;</font>

   <script LANGUAGE="JavaScript">
   	   document.EnumerateNamespaces.hostaddress.value = top.hostAddress;
       document.EnumerateNamespaces.debug.value = top.debug;
       <!--document.EnumerateNamespaces.NameSpace.value = top.NameSpace;-->
   	   window.focus();
   </script>
  </body>
</html>

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2