summaryrefslogtreecommitdiffstats
path: root/cgi
diff options
context:
space:
mode:
authorkarl <karl>2001-06-22 21:31:41 +0000
committerkarl <karl>2001-06-22 21:31:41 +0000
commitf7e582e3c71ea7c27f6557f1ed802a9e1cdf1f60 (patch)
tree411e45a82de2389568c06490a26dc22d602f1cc0 /cgi
parent51a1e44e966d0bcab06b624cb8cd9e87358c21d1 (diff)
downloadtog-pegasus-f7e582e3c71ea7c27f6557f1ed802a9e1cdf1f60.zip
tog-pegasus-f7e582e3c71ea7c27f6557f1ed802a9e1cdf1f60.tar.gz
tog-pegasus-f7e582e3c71ea7c27f6557f1ed802a9e1cdf1f60.tar.xz
import
Diffstat (limited to 'cgi')
-rw-r--r--cgi/htdocs/CreateQualifierDecl.html86
-rw-r--r--cgi/htdocs/DeleteNameSpace.html37
-rw-r--r--cgi/htdocs/DeleteQualifier.html86
-rw-r--r--cgi/htdocs/createNameSpace.html18
4 files changed, 208 insertions, 19 deletions
diff --git a/cgi/htdocs/CreateQualifierDecl.html b/cgi/htdocs/CreateQualifierDecl.html
new file mode 100644
index 0000000..d81025d
--- /dev/null
+++ b/cgi/htdocs/CreateQualifierDecl.html
@@ -0,0 +1,86 @@
+<html>
+ <body bgcolor="#CCCCCC">
+ <table width="100%">
+ <tr>
+ <td width="50%" align="bottom"><h1>SetQualifier CIM Operation</h1><td>
+ <td width="50%" align="right">
+ <img border=1 src="/pegasus/icons/OpenGroupLogo.gif">
+ </td>
+ </tr>
+ </table>
+ <hr>
+ <form name="SetQualifier" METHOD=GET ACTION="/pegasus/cgi-bin/CGIClient">
+ <INPUT TYPE="hidden" NAME="Operation" VALUE="SetQualifier">
+ <input type="hidden" name="hostip" value="localhost">
+ <input type="hidden" name="portnum" value="5988">
+ <p>
+ The <TT>setQualifier</TT> operation creates a single Qualifier
+ declaration for the target Namespace.
+ <p><b><a href="#NameSpace">NameSpace</a></b> <INPUT TYPE="text" NAME="NameSpace" SIZE=30 VALUE="root/cimv2">&nbsp;
+ String that defines the target namespace. See <a href="getnamespaces.html">NameSpace
+ Operations</a> for more information
+ <p><b><a href="#QualifierName">QualifierName</a></b> <INPUT TYPE="text" NAME="QualifierName" SIZE=30>
+ Identifies the <a href="#Qualifier">Qualifier</a> whose declaration is to
+ be created.
+ <p><INPUT TYPE="submit" VALUE="SetQualifier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+ <INPUT TYPE="reset" VALUE="Reset">
+ </form>
+ <script>
+ SetQualifier.hostip.value = opener.top.hostip;
+ SetQualifier.portnum.value = opener.top.portnum;
+ window.focus();
+ </script>
+ <hr>
+ <h2>Request Return</h2>
+
+ <p> If successful, message "Qualifier created" will be displayed
+
+ 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.
+
+ <UL>
+ <LI>CIM_ERR_ACCESS_DENIED
+ <LI>CIM_ERR_NOT_SUPPORTED
+ <LI>CIM_ERR_INVALID_NAMESPACE
+ <LI>CIM_ERR_INVALID_PARAMETER (including missing,
+ duplicate,&nbsp;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&nbsp;Instance does not exist in the specified namespace)
+ <LI>CIM_ERR_NO_SUCH_PROPERTY (the CIM Instance does exist, but the
+ requested Property does not)&nbsp;
+ <LI>CIM_ERR_TYPE_MISMATCH (the supplied value is incompatible with the
+ type of the Property)
+ <LI>CIM_ERR_FAILED (some other unspecified error occurred)</LI>
+ </UL>
+ <hr>
+
+ <h2>Additional Information on Parameters</h2>
+
+ <p><b><a name="NameSpace">NameSpace </a></b> - The NameSpace parameter is a string that defines the target
+ namespace \Ref{NAMESPACE}
+
+ <p><a name="QualifierName"><b>QualifierName</b></a> - The QualifierName input parameter identifies the
+ Qualifier whose declaration to be retrieved.
+
+ <p><b><a name="Qualifier">Qualifier</a></b> - Qualifiers
+ are values that provide additional information about classes, associations,
+ indications, methods, method parameters, triggers, instances, properties or
+ references. All qualifiers have a name, type, value, scope, flavor and default value. Qualifiers cannot be
+ duplicated; there cannot be more than one qualifier of the same name for any given class,
+ instance, or property.</p>
+
+ <hr>
+ <h2>
+ C++ Operation Method Definition</h2>
+ <PRE>
+ virtual QualifierDecl getQualifier(
+ const String&amp; nameSpace,
+ const String&amp; qualifierName) = 0;
+ </PRE>
+ </body>
+</html>
diff --git a/cgi/htdocs/DeleteNameSpace.html b/cgi/htdocs/DeleteNameSpace.html
index e8892d3..08a0d77 100644
--- a/cgi/htdocs/DeleteNameSpace.html
+++ b/cgi/htdocs/DeleteNameSpace.html
@@ -11,13 +11,15 @@
<hr>
<form METHOD=GET ACTION="/pegasus/cgi-bin/CGIClient">
<INPUT TYPE="hidden" NAME="Operation" VALUE="DeleteNameSpace">
+ <input type="hidden" name="hostip" value="localhost">
+ <input type="hidden" name="portnum" value="5988">
<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;
@@ -29,16 +31,16 @@
<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_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>
@@ -66,17 +68,17 @@ the list (starting with the first element of the list, and working down) is the
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>
@@ -87,9 +89,14 @@ the list (starting with the first element of the list, and working down) is the
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>
+ CreateClass.hostip.value = opener.top.hostip;
+ CreateClass.portnum.value = opener.top.portnum;
+ window.focus();
+ </script>
</body>
-
-
+
+
</html>
diff --git a/cgi/htdocs/DeleteQualifier.html b/cgi/htdocs/DeleteQualifier.html
new file mode 100644
index 0000000..bf5dfc9
--- /dev/null
+++ b/cgi/htdocs/DeleteQualifier.html
@@ -0,0 +1,86 @@
+<html>
+ <body bgcolor="#CCCCCC">
+ <table width="100%">
+ <tr>
+ <td width="50%" align="bottom"><h1>DeleteQualifier CIM Operation</h1><td>
+ <td width="50%" align="right">
+ <img border=1 src="/pegasus/icons/OpenGroupLogo.gif">
+ </td>
+ </tr>
+ </table>
+ <hr>
+ <form name="deleteQualifier" METHOD=GET ACTION="/pegasus/cgi-bin/CGIClient">
+ <INPUT TYPE="hidden" NAME="Operation" VALUE="DeleteQualifier">
+ <input type="hidden" name="hostip" value="localhost">
+ <input type="hidden" name="portnum" value="5988">
+ <p>
+ The <TT>setQualifier</TT> operation deletes a single Qualifier
+ declaration for the target Namespace.
+ <p><b><a href="#NameSpace">NameSpace</a></b> <INPUT TYPE="text" NAME="NameSpace" SIZE=30 VALUE="root/cimv2">&nbsp;
+ String that defines the target namespace. See <a href="getnamespaces.html">NameSpace
+ Operations</a> for more information
+ <p><b><a href="#QualifierName">QualifierName</a></b> <INPUT TYPE="text" NAME="QualifierName" SIZE=30>
+ Identifies the <a href="#Qualifier">Qualifier</a> whose declaration is to
+ be deleted.
+ <p><INPUT TYPE="submit" VALUE="DeleteQualifier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+ <INPUT TYPE="reset" VALUE="Reset">
+ </form>
+ <script>
+ deleteQualifier.hostip.value = opener.top.hostip;
+ deleteQualifier.portnum.value = opener.top.portnum;
+ window.focus();
+ </script>
+ <hr>
+ <h2>Request Return</h2>
+
+ <p> If successful, message "Qualifier deleted" will be displayed
+
+ 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.
+
+ <UL>
+ <LI>CIM_ERR_ACCESS_DENIED
+ <LI>CIM_ERR_NOT_SUPPORTED
+ <LI>CIM_ERR_INVALID_NAMESPACE
+ <LI>CIM_ERR_INVALID_PARAMETER (including missing,
+ duplicate,&nbsp;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&nbsp;Instance does not exist in the specified namespace)
+ <LI>CIM_ERR_NO_SUCH_PROPERTY (the CIM Instance does exist, but the
+ requested Property does not)&nbsp;
+ <LI>CIM_ERR_TYPE_MISMATCH (the supplied value is incompatible with the
+ type of the Property)
+ <LI>CIM_ERR_FAILED (some other unspecified error occurred)</LI>
+ </UL>
+ <hr>
+
+ <h2>Additional Information on Parameters</h2>
+
+ <p><b><a name="NameSpace">NameSpace </a></b> - The NameSpace parameter is a string that defines the target
+ namespace \Ref{NAMESPACE}
+
+ <p><a name="QualifierName"><b>QualifierName</b></a> - The QualifierName input parameter identifies the
+ Qualifier whose declaration to be retrieved.
+
+ <p><b><a name="Qualifier">Qualifier</a></b> - Qualifiers
+ are values that provide additional information about classes, associations,
+ indications, methods, method parameters, triggers, instances, properties or
+ references. All qualifiers have a name, type, value, scope, flavor and default value. Qualifiers cannot be
+ duplicated; there cannot be more than one qualifier of the same name for any given class,
+ instance, or property.</p>
+
+ <hr>
+ <h2>
+ C++ Operation Method Definition</h2>
+ <PRE>
+ virtual QualifierDecl getQualifier(
+ const String&amp; nameSpace,
+ const String&amp; qualifierName) = 0;
+ </PRE>
+ </body>
+</html>
diff --git a/cgi/htdocs/createNameSpace.html b/cgi/htdocs/createNameSpace.html
index 194ebd2..b2cc646 100644
--- a/cgi/htdocs/createNameSpace.html
+++ b/cgi/htdocs/createNameSpace.html
@@ -11,13 +11,16 @@
<hr>
<form METHOD=GET ACTION="/pegasus/cgi-bin/CGIClient">
<INPUT TYPE="hidden" NAME="Operation" VALUE="CreateNameSpace">
+ <input type="hidden" name="hostip" value="localhost">
+ <input type="hidden" name="portnum" value="5988">
+
<p>The <tt>CreateNameSpace</tt> method creates a new 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>New NameSpace Name</b> <INPUT TYPE="text" NAME="NewNameSpace" SIZE=30>
String that defines the namespace to be created.&nbsp;
-
+
<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">
@@ -50,7 +53,7 @@
<LI>CIM_ERR_ALREADY_EXISTS (the CIM Instance already exists)
<LI>CIM_ERR_FAILED (some other unspecified error occurred)
</UL>
-
+
<hr>
<h2>Additional Description of Fields</h2>
@@ -72,12 +75,12 @@
<hr>
<hr>
<h2>C++ API</h2>
-
+
The following is the CIM operation that is used to create a new namespace.
<PRE>
virtual void createInstance(
const String&amp; nameSpace,
- CIMInstance&amp; newInstance) =
+ CIMInstance&amp; newInstance) =
</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>
@@ -89,6 +92,13 @@
Modified <!--webbot bot="Timestamp" S-Type="EDITED"
S-Format="%A, %B %d, %Y %I:%M:%S %p" startspan -->Monday, March 26, 2001 02:37:32 PM<!--webbot bot="Timestamp" i-CheckSum="50314" endspan -->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Copyright @ The Open Group 2001&nbsp;</font>
+
+ <script>
+ CreateClass.hostip.value = opener.top.hostip;
+ CreateClass.portnum.value = opener.top.portnum;
+ window.focus();
+ </script>
+
</body>
</html>