aboutsummaryrefslogtreecommitdiffstats
path: root/docs/xen-api
diff options
context:
space:
mode:
authorEwan Mellor <ewan@xensource.com>2007-04-10 19:04:37 +0100
committerEwan Mellor <ewan@xensource.com>2007-04-10 19:04:37 +0100
commitf6fe1a09917542899f949f03ee91e2b7e34c384f (patch)
tree2366291236cd3a65dc3cc074aad0b3251670852d /docs/xen-api
parent6d618d8bb6a4cf665d41de25724d42fa9dbc8bd6 (diff)
downloadxen-f6fe1a09917542899f949f03ee91e2b7e34c384f.tar.gz
xen-f6fe1a09917542899f949f03ee91e2b7e34c384f.tar.bz2
xen-f6fe1a09917542899f949f03ee91e2b7e34c384f.zip
Added docs and bindings for VM_metrics.state.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Diffstat (limited to 'docs/xen-api')
-rw-r--r--docs/xen-api/xenapi-datamodel.tex33
1 files changed, 33 insertions, 0 deletions
diff --git a/docs/xen-api/xenapi-datamodel.tex b/docs/xen-api/xenapi-datamodel.tex
index d152bcc469..a631be8a35 100644
--- a/docs/xen-api/xenapi-datamodel.tex
+++ b/docs/xen-api/xenapi-datamodel.tex
@@ -4184,6 +4184,7 @@ $\mathit{RO}_\mathit{run}$ & {\tt VCPUs/number} & int & Current number of VCPUs
$\mathit{RO}_\mathit{run}$ & {\tt VCPUs/utilisation} & (int $\rightarrow$ float) Map & Utilisation for all of guest's current VCPUs \\
$\mathit{RO}_\mathit{run}$ & {\tt VCPUs/CPU} & (int $\rightarrow$ int) Map & VCPU to PCPU map \\
$\mathit{RO}_\mathit{run}$ & {\tt VCPUs/params} & (string $\rightarrow$ string) Map & The live equivalent to VM.VCPUs\_params \\
+$\mathit{RO}_\mathit{run}$ & {\tt state} & string Set & The state of the guest, eg blocked, dying etc \\
$\mathit{RO}_\mathit{run}$ & {\tt start\_time} & datetime & Time at which this VM was last booted \\
$\mathit{RO}_\mathit{run}$ & {\tt last\_updated} & datetime & Time at which this information was last updated \\
\hline
@@ -4402,6 +4403,38 @@ value of the field
\vspace{0.3cm}
\vspace{0.3cm}
\vspace{0.3cm}
+\subsubsection{RPC name:~get\_state}
+
+{\bf Overview:}
+Get the state field of the given VM\_metrics.
+
+ \noindent {\bf Signature:}
+\begin{verbatim} (string Set) get_state (session_id s, VM_metrics ref self)\end{verbatim}
+
+
+\noindent{\bf Arguments:}
+
+
+\vspace{0.3cm}
+\begin{tabular}{|c|c|p{7cm}|}
+ \hline
+{\bf type} & {\bf name} & {\bf description} \\ \hline
+{\tt VM\_metrics ref } & self & reference to the object \\ \hline
+
+\end{tabular}
+
+\vspace{0.3cm}
+
+ \noindent {\bf Return Type:}
+{\tt
+string Set
+}
+
+
+value of the field
+\vspace{0.3cm}
+\vspace{0.3cm}
+\vspace{0.3cm}
\subsubsection{RPC name:~get\_start\_time}
{\bf Overview:}