diff options
author | Ewan Mellor <ewan@xensource.com> | 2007-02-20 15:24:01 +0000 |
---|---|---|
committer | Ewan Mellor <ewan@xensource.com> | 2007-02-20 15:24:01 +0000 |
commit | d5ae26ac7a9d955283792e882ec4090d69442302 (patch) | |
tree | 86a3343d911988f374fc445d59c5d8948347dc8e /docs | |
parent | d80a8c31ac05f484615919ab1c3f1a6fd859a7ec (diff) | |
download | xen-d5ae26ac7a9d955283792e882ec4090d69442302.tar.gz xen-d5ae26ac7a9d955283792e882ec4090d69442302.tar.bz2 xen-d5ae26ac7a9d955283792e882ec4090d69442302.zip |
Replace the X_HANDLE_INVALID error codes with a single HANDLE_INVALID that
names the class as a parameter.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/xen-api/xenapi-datamodel.tex | 132 |
1 files changed, 6 insertions, 126 deletions
diff --git a/docs/xen-api/xenapi-datamodel.tex b/docs/xen-api/xenapi-datamodel.tex index ee34fc7160..e7705754d1 100644 --- a/docs/xen-api/xenapi-datamodel.tex +++ b/docs/xen-api/xenapi-datamodel.tex @@ -11767,34 +11767,15 @@ Each possible error code is documented in the following section. \subsection{Error Codes} -\subsubsection{HOST\_CPU\_HANDLE\_INVALID} +\subsubsection{HANDLE\_INVALID} -You gave an invalid host\_cpu handle. The host\_cpu may have recently been -deleted. The handle parameter echoes the bad value given. +You gave an invalid handle. The object may have recently been deleted. +The class parameter gives the type of reference given, and the handle +parameter echoes the bad value given. \vspace{0.3cm} {\bf Signature:} -\begin{verbatim}HOST_CPU_HANDLE_INVALID(handle)\end{verbatim} -\begin{center}\rule{10em}{0.1pt}\end{center} - -\subsubsection{HOST\_HANDLE\_INVALID} - -You gave an invalid host handle. The host may have recently been deleted. -The handle parameter echoes the bad value given. - -\vspace{0.3cm} -{\bf Signature:} -\begin{verbatim}HOST_HANDLE_INVALID(handle)\end{verbatim} -\begin{center}\rule{10em}{0.1pt}\end{center} - -\subsubsection{HOST\_METRICS\_HANDLE\_INVALID} - -You gave an invalid host\_metrics handle. The host\_metrics may have -recently been deleted. The handle parameter echoes the bad value given. - -\vspace{0.3cm} -{\bf Signature:} -\begin{verbatim}HOST_METRICS_HANDLE_INVALID(handle)\end{verbatim} +\begin{verbatim}HANDLE_INVALID(class, handle)\end{verbatim} \begin{center}\rule{10em}{0.1pt}\end{center} \subsubsection{INTERNAL\_ERROR} @@ -11854,18 +11835,7 @@ already attached to some other PIF, and so the creation failed. You attempted an operation that was not allowed. \vspace{0.3cm} -{\bf Signature:} -\begin{verbatim}OPERATION_NOT_ALLOWED()\end{verbatim} -\begin{center}\rule{10em}{0.1pt}\end{center} - -\subsubsection{PIF\_HANDLE\_INVALID} - -You gave an invalid PIF handle. The PIF may have recently been deleted. -The handle parameter echoes the bad value given. - -\vspace{0.3cm} -{\bf Signature:} -\begin{verbatim}PIF_HANDLE_INVALID(handle)\end{verbatim} +No parameters. \begin{center}\rule{10em}{0.1pt}\end{center} \subsubsection{PIF\_IS\_PHYSICAL} @@ -11879,16 +11849,6 @@ PIF handle you gave. \begin{verbatim}PIF_IS_PHYSICAL(PIF)\end{verbatim} \begin{center}\rule{10em}{0.1pt}\end{center} -\subsubsection{PIF\_METRICS\_HANDLE\_INVALID} - -You gave an invalid PIF\_metrics handle. The PIF\_metrics may have -recently been deleted. The handle parameter echoes the bad value given. - -\vspace{0.3cm} -{\bf Signature:} -\begin{verbatim}PIF_METRICS_HANDLE_INVALID(handle)\end{verbatim} -\begin{center}\rule{10em}{0.1pt}\end{center} - \subsubsection{SESSION\_AUTHENTICATION\_FAILED} The credentials given by the user are incorrect, so access has been denied, @@ -11910,26 +11870,6 @@ current connection. The handle parameter echoes the bad value given. \begin{verbatim}SESSION_INVALID(handle)\end{verbatim} \begin{center}\rule{10em}{0.1pt}\end{center} -\subsubsection{SR\_HANDLE\_INVALID} - -You gave an invalid SR handle. The SR may have recently been deleted. The -handle parameter echoes the bad value given. - -\vspace{0.3cm} -{\bf Signature:} -\begin{verbatim}SR_HANDLE_INVALID(handle)\end{verbatim} -\begin{center}\rule{10em}{0.1pt}\end{center} - -\subsubsection{TASK\_HANDLE\_INVALID} - -You gave an invalid task handle. The task may have recently been deleted. -The handle parameter echoes the bad value given. - -\vspace{0.3cm} -{\bf Signature:} -\begin{verbatim}TASK_HANDLE_INVALID(handle)\end{verbatim} -\begin{center}\rule{10em}{0.1pt}\end{center} - \subsubsection{VALUE\_NOT\_SUPPORTED} You attempted to set a value that is not supported by this implementation. @@ -11941,36 +11881,6 @@ returned. Also returned is a developer-only diagnostic reason. \begin{verbatim}VALUE_NOT_SUPPORTED(field, value, reason)\end{verbatim} \begin{center}\rule{10em}{0.1pt}\end{center} -\subsubsection{VBD\_HANDLE\_INVALID} - -You gave an invalid VBD handle. The VBD may have recently been deleted. -The handle parameter echoes the bad value given. - -\vspace{0.3cm} -{\bf Signature:} -\begin{verbatim}VBD_HANDLE_INVALID(handle)\end{verbatim} -\begin{center}\rule{10em}{0.1pt}\end{center} - -\subsubsection{VDI\_HANDLE\_INVALID} - -You gave an invalid VDI handle. The VDI may have recently been deleted. -The handle parameter echoes the bad value given. - -\vspace{0.3cm} -{\bf Signature:} -\begin{verbatim}VDI_HANDLE_INVALID(handle)\end{verbatim} -\begin{center}\rule{10em}{0.1pt}\end{center} - -\subsubsection{VIF\_HANDLE\_INVALID} - -You gave an invalid VIF handle. The VIF may have recently been deleted. -The handle parameter echoes the bad value given. - -\vspace{0.3cm} -{\bf Signature:} -\begin{verbatim}VIF_HANDLE_INVALID(handle)\end{verbatim} -\begin{center}\rule{10em}{0.1pt}\end{center} - \subsubsection{VLAN\_TAG\_INVALID} You tried to create a VLAN, but the tag you gave was invalid -- it mmust be @@ -11993,36 +11903,6 @@ expected and actual VM state at the time of the call. \begin{verbatim}VM_BAD_POWER_STATE(vm, expected, actual)\end{verbatim} \begin{center}\rule{10em}{0.1pt}\end{center} -\subsubsection{VM\_HANDLE\_INVALID} - -You gave an invalid VM handle. The VM may have recently been deleted. The -handle parameter echoes the bad value given. - -\vspace{0.3cm} -{\bf Signature:} -\begin{verbatim}VM_HANDLE_INVALID(handle)\end{verbatim} -\begin{center}\rule{10em}{0.1pt}\end{center} - -\subsubsection{VM\_METRICS\_HANDLE\_INVALID} - -You gave an invalid VM\_metrics handle. The VM\_metrics may have recently -been deleted. The handle parameter echoes the bad value given. - -\vspace{0.3cm} -{\bf Signature:} -\begin{verbatim}VM_METRICS_HANDLE_INVALID(handle)\end{verbatim} -\begin{center}\rule{10em}{0.1pt}\end{center} - -\subsubsection{VTPM\_HANDLE\_INVALID} - -You gave an invalid VTPM handle. The VTPM may have recently been deleted. -The handle parameter echoes the bad value given. - -\vspace{0.3cm} -{\bf Signature:} -\begin{verbatim}VTPM_HANDLE_INVALID(handle)\end{verbatim} -\begin{center}\rule{10em}{0.1pt}\end{center} - \newpage |