# HG changeset patch
# User Ewan Mellor <ewan@xxxxxxxxxxxxx>
# Date 1169992256 0
# Node ID f405287736291ac8e0fa2e88fb6bbd329c288bfb
# Parent 5e1c7022d4ad69d59b661f73302d8f9a135db714
Document new error codes VLAN_TAG_INVALID and PIF_IS_PHYSICAL.
Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
---
docs/xen-api/xenapi-datamodel.tex | 35 ++++++++++++++++++++++++++++++-----
1 files changed, 30 insertions(+), 5 deletions(-)
diff -r 5e1c7022d4ad -r f40528773629 docs/xen-api/xenapi-datamodel.tex
--- a/docs/xen-api/xenapi-datamodel.tex Sun Jan 28 13:40:07 2007 +0000
+++ b/docs/xen-api/xenapi-datamodel.tex Sun Jan 28 13:50:56 2007 +0000
@@ -6583,8 +6583,10 @@ PIF ref
The reference of the created PIF object
\vspace{0.3cm}
-\vspace{0.3cm}
-\vspace{0.3cm}
+
+\noindent{\bf Possible Error Codes:} {\tt VLAN\_TAG\_INVALID}
+
+\vspace{0.6cm}
\subsubsection{RPC name:~destroy}
{\bf Overview:}
@@ -6615,8 +6617,10 @@ void
\vspace{0.3cm}
-\vspace{0.3cm}
-\vspace{0.3cm}
+
+\noindent{\bf Possible Error Codes:} {\tt PIF\_IS\_PHYSICAL}
+
+\vspace{0.6cm}
\subsubsection{RPC name:~get\_uuid}
{\bf Overview:}
@@ -10498,6 +10502,17 @@ already attached to some other PIF, and
\begin{verbatim}NETWORK_ALREADY_CONNECTED(network, connected PIF)\end{verbatim}
\begin{center}\rule{10em}{0.1pt}\end{center}
+\subsubsection{PIF\_IS\_PHYSICAL}
+
+You tried to destroy a PIF, but it represents an aspect of the physical
+host configuration, and so cannot be destroyed. The parameter echoes the
+PIF handle you gave.
+
+\vspace{0.3cm}
+{\bf Signature:}
+\begin{verbatim}PIF_IS_PHYSICAL(PIF)\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,
@@ -10559,11 +10574,21 @@ The handle parameter echoes the bad valu
\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
+between 0 and 4095. The parameter echoes the VLAN tag you gave.
+
+\vspace{0.3cm}
+{\bf Signature:}
+\begin{verbatim}VLAN_TAG_INVALID(VLAN)\end{verbatim}
+\begin{center}\rule{10em}{0.1pt}\end{center}
+
\subsubsection{VM\_BAD\_POWER\_STATE}
You attempted an operation on a VM that was not in an appropriate power
state at the time; for example, you attempted to start a VM that was
-already running. The parameters returned are the VM's UUID, and the
+already running. The parameters returned are the VM's handle, and the
expected and actual VM state at the time of the call.
\vspace{0.3cm}
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|