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

File: [Pegasus] / pegasus / cgi / htdocs / Attic / DeleteNameSpace.html (download) / (as text)
Revision: 1.4, 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.3: +0 -0 lines
FILE REMOVED
BUG#: 7860
TITLE: pegasus/cgi directory is obsolete
DESCRIPTION: Remove unused files.

<html>
  <body bgcolor="#CCCCCC">
    <table width="100%">
      <tr>
	<td width="50%" align="bottom"><h1>Delete NameSpace CIM Operation</h1><td>
	<td width="50%" align="right">
	  <img border=1 src="/pegasus/icons/OpenGroupLogo.gif">
        </td>
      </tr>
    </table>
    <hr>
    <form name="DeleteNameSpace" METHOD=GET ACTION="/pegasus/cgi-bin/CGIClient">
      <INPUT TYPE="hidden" NAME="Operation" VALUE="DeleteNameSpace">
      <INPUT TYPE="hidden" NAME="hostaddress" VALUE="localhost:5988">
      <INPUT TYPE="hidden" NAME="debug" VALUE="">
     <p>The <tt>DeleteNameSpace</tt> method deletes an existing namespace in the Pegasus repository.
      <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>NameSpace&nbsp;</b> <INPUT TYPE="text" NAME="DeletionNameSpace" SIZE=30>
      String that defines the namespace to be deleted

      <p><INPUT TYPE="submit" VALUE="Submit Request">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      <INPUT TYPE="reset" VALUE="Reset Form">
      <p>&nbsp;&nbsp;&nbsp;

	</form>

    <hr>
    <h2>Return Results</h2>
    <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
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>
     <UL
        <LI>CIM_ERR_ACCESS_DENIED
        <LI>CIM_ERR_NOT_SUPPORTED
        <LI>CIM_ERR_INVALID_NAMESPACE
        <LI>CIM_ERR_INVALID_PARAMETER (including missing, duplicate, unrecognized or otherwise incorrect parameters)
        <LI>CIM_ERR_INVALID_CLASS (the CIM Class does not exist in the specified namespace)
        <LI>CIM_ERR_NOT_FOUND (the CIM Class does exist, but the requested CIM Instance does not exist in the specified namespace)
        <LI>CIM_ERR_FAILED (some other unspecified error occurred)
    </UL>


      <p><b>&nbsp;</b>
    <hr>

      <h2>ADDITIONAL Description of Fields</h2>
    <p>Delete Namespace is not an intrinsic CIM operation today.&nbsp; In
    accordance with the current CIM operations over HTTP specification, the
    deleteion of namespaces is executed instances of the class __Namespace. This
    class is defined with a single property, the name property which is the
    key.&nbsp; Deletion of an instance of of this class causes the&nbsp; namespace
    to be deleted. If the namespace does not exist, the delete namespace returns
    the error CIM_ERR_NOT_FOUND.</p>
    <p>In the&nbsp; Pegasus implementation, namespace manipulation is managed
    through a special provider __Namespace that is registered for the
    __Namespace class and returns creates and deletes namespaces as well as
    returning instances of __Namespace corresponding to the current set of
    namespaces.</p>
    <p>The documentation does not clarify any special behavior on the namespace
    deletion function.&nbsp; The Pegasus implementation will insure that a
    namespace is empty before it can be deleted.&nbsp; If a namespace contains
    classes Pegasus will refuse the deletetion command with the error
    CIM_ERR_NOT_FOUND</p>
    <p>The use of the __Namespace class to delete namespaces is considered
    implementation dependent and was never completely defined in the CIM
    Operations over HTTP Documents. In addition, the __Namespace class itself
    was never defined.&nbsp; In the next version of CIM Operations over HTTP, the technique will
    be changed to allow for intrinsic methods that permit both creation and
    deletion of namespaces.</p>

    <hr>
    <h2>C++ Pegasus API</h2>


    The following is the CIM operation that is used to create a new namespace.
    <PRE>
    virtual void deleteInstance(
		const String&amp; nameSpace
    };</PRE>

  <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="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 -->Monday, March 26, 2001 03:06:48 PM<!--webbot bot="Timestamp" i-CheckSum="50711" endspan -->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
     Copyright @ The Open Group 2001&nbsp;</font>

   <script>
       document.DeleteNameSpace.hostaddress.value = top.hostAddress;
       document.DeleteNameSpace.debug.value = top.debug;
       document.DeleteNameSpace.NameSpace.value = top.NameSpace;
	   window.focus();
   </script>

  </body>


</html>


No CVS admin address has been configured
Powered by
ViewCVS 0.9.2