ia64/xen-unstable

changeset 12163:eeb7d71c0281

Added HostCPU.{vendor,speed,modelname}.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author Ewan Mellor <ewan@xensource.com>
date Thu Oct 26 15:49:57 2006 +0100 (2006-10-26)
parents ea32c4e70a8b
children caf35cfcdda0
files docs/xen-api/xenapi-datamodel.tex
line diff
     1.1 --- a/docs/xen-api/xenapi-datamodel.tex	Thu Oct 26 15:48:44 2006 +0100
     1.2 +++ b/docs/xen-api/xenapi-datamodel.tex	Thu Oct 26 15:49:57 2006 +0100
     1.3 @@ -4567,6 +4567,9 @@ Quals & Field & Type & Description \\
     1.4  $\mathit{RO}_\mathit{run}$ &  {\tt uuid} & string & unique identifier/object reference \\
     1.5  $\mathit{RO}_\mathit{ins}$ &  {\tt host} & host ref & the host the CPU is in \\
     1.6  $\mathit{RO}_\mathit{ins}$ &  {\tt number} & int & the number of the physical CPU within the host \\
     1.7 +$\mathit{RO}_\mathit{ins}$ &  {\tt vendor} & string & the vendor of the physical CPU \\
     1.8 +$\mathit{RO}_\mathit{ins}$ &  {\tt speed} & int & the speed of the physical CPU \\
     1.9 +$\mathit{RO}_\mathit{ins}$ &  {\tt modelname} & string & the model name of the physical CPU \\
    1.10  $\mathit{RO}_\mathit{ins}$ &  {\tt features} & (cpu\_feature) Set & the features supported by the CPU \\
    1.11  $\mathit{RO}_\mathit{run}$ &  {\tt utilisation} & float & the current CPU utilisation \\
    1.12  \hline
    1.13 @@ -4668,6 +4671,102 @@ value of the field
    1.14  \vspace{0.3cm}
    1.15  \vspace{0.3cm}
    1.16  \vspace{0.3cm}
    1.17 +\subsubsection{RPC name:~get\_vendor}
    1.18 +
    1.19 +{\bf Overview:} 
    1.20 +get accessor message derived from field vendor of object host\_cpu
    1.21 +
    1.22 + \noindent {\bf Signature:} 
    1.23 +\begin{verbatim} string get_vendor (session_id s, host_cpu ref self)\end{verbatim}
    1.24 +
    1.25 +
    1.26 +\noindent{\bf Arguments:}
    1.27 +
    1.28 + 
    1.29 +\vspace{0.3cm}
    1.30 +\begin{tabular}{|c|c|p{7cm}|}
    1.31 + \hline
    1.32 +{\bf type} & {\bf name} & {\bf description} \\ \hline
    1.33 +{\tt host\_cpu ref } & self & object instance \\ \hline 
    1.34 +
    1.35 +\end{tabular}
    1.36 +
    1.37 +\vspace{0.3cm}
    1.38 +
    1.39 + \noindent {\bf Return Type:} 
    1.40 +{\tt 
    1.41 +string
    1.42 +}
    1.43 +
    1.44 +
    1.45 +value of the field
    1.46 +\vspace{0.3cm}
    1.47 +\vspace{0.3cm}
    1.48 +\vspace{0.3cm}
    1.49 +\subsubsection{RPC name:~get\_speed}
    1.50 +
    1.51 +{\bf Overview:} 
    1.52 +get accessor message derived from field speed of object host\_cpu
    1.53 +
    1.54 + \noindent {\bf Signature:} 
    1.55 +\begin{verbatim} int get_speed (session_id s, host_cpu ref self)\end{verbatim}
    1.56 +
    1.57 +
    1.58 +\noindent{\bf Arguments:}
    1.59 +
    1.60 + 
    1.61 +\vspace{0.3cm}
    1.62 +\begin{tabular}{|c|c|p{7cm}|}
    1.63 + \hline
    1.64 +{\bf type} & {\bf name} & {\bf description} \\ \hline
    1.65 +{\tt host\_cpu ref } & self & object instance \\ \hline 
    1.66 +
    1.67 +\end{tabular}
    1.68 +
    1.69 +\vspace{0.3cm}
    1.70 +
    1.71 + \noindent {\bf Return Type:} 
    1.72 +{\tt 
    1.73 +int
    1.74 +}
    1.75 +
    1.76 +
    1.77 +value of the field
    1.78 +\vspace{0.3cm}
    1.79 +\vspace{0.3cm}
    1.80 +\vspace{0.3cm}
    1.81 +\subsubsection{RPC name:~get\_modelname}
    1.82 +
    1.83 +{\bf Overview:} 
    1.84 +get accessor message derived from field modelname of object host\_cpu
    1.85 +
    1.86 + \noindent {\bf Signature:} 
    1.87 +\begin{verbatim} string get_modelname (session_id s, host_cpu ref self)\end{verbatim}
    1.88 +
    1.89 +
    1.90 +\noindent{\bf Arguments:}
    1.91 +
    1.92 + 
    1.93 +\vspace{0.3cm}
    1.94 +\begin{tabular}{|c|c|p{7cm}|}
    1.95 + \hline
    1.96 +{\bf type} & {\bf name} & {\bf description} \\ \hline
    1.97 +{\tt host\_cpu ref } & self & object instance \\ \hline 
    1.98 +
    1.99 +\end{tabular}
   1.100 +
   1.101 +\vspace{0.3cm}
   1.102 +
   1.103 + \noindent {\bf Return Type:} 
   1.104 +{\tt 
   1.105 +string
   1.106 +}
   1.107 +
   1.108 +
   1.109 +value of the field
   1.110 +\vspace{0.3cm}
   1.111 +\vspace{0.3cm}
   1.112 +\vspace{0.3cm}
   1.113  \subsubsection{RPC name:~get\_features}
   1.114  
   1.115  {\bf Overview:}