ia64/xen-unstable

changeset 15626:fdc602720f11

Update xen-api docs.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
author kfraser@localhost.localdomain
date Thu Jul 19 17:00:31 2007 +0100 (2007-07-19)
parents f1aed243f3f0
children 3073f35ed58e
files docs/xen-api/xenapi-datamodel.tex
line diff
     1.1 --- a/docs/xen-api/xenapi-datamodel.tex	Thu Jul 19 16:59:48 2007 +0100
     1.2 +++ b/docs/xen-api/xenapi-datamodel.tex	Thu Jul 19 17:00:31 2007 +0100
     1.3 @@ -8977,6 +8977,79 @@ value of the field
     1.4  \vspace{0.3cm}
     1.5  \vspace{0.3cm}
     1.6  \vspace{0.3cm}
     1.7 +\subsubsection{RPC name:~set\_security\_label}
     1.8 +
     1.9 +{\bf Overview:}
    1.10 +Set the security label of the given VIF. Refer to the XSPolicy class
    1.11 +for the format of the security label.
    1.12 +
    1.13 + \noindent {\bf Signature:}
    1.14 +\begin{verbatim} void set_security_label (session_id s, VIF ref self, string
    1.15 +security_label, string old_label)\end{verbatim}
    1.16 +
    1.17 +
    1.18 +\noindent{\bf Arguments:}
    1.19 +
    1.20 +
    1.21 +\vspace{0.3cm}
    1.22 +\begin{tabular}{|c|c|p{7cm}|}
    1.23 + \hline
    1.24 +{\bf type} & {\bf name} & {\bf description} \\ \hline
    1.25 +{\tt VIF ref } & self & reference to the object \\ \hline
    1.26 +
    1.27 +{\tt string } & security\_label & New value of the security label \\ \hline
    1.28 +{\tt string } & old\_label & Optional label value that the security label \\
    1.29 +& & must currently have for the change to succeed.\\ \hline
    1.30 +\end{tabular}
    1.31 +
    1.32 +\vspace{0.3cm}
    1.33 +
    1.34 + \noindent {\bf Return Type:}
    1.35 +{\tt
    1.36 +void
    1.37 +}
    1.38 +
    1.39 +
    1.40 +\vspace{0.3cm}
    1.41 +
    1.42 +\noindent{\bf Possible Error Codes:} {\tt SECURITY\_ERROR}
    1.43 +
    1.44 +\vspace{0.3cm}
    1.45 +\vspace{0.3cm}
    1.46 +\vspace{0.3cm}
    1.47 +\subsubsection{RPC name:~get\_security\_label}
    1.48 +
    1.49 +{\bf Overview:}
    1.50 +Get the security label of the given VIF.
    1.51 +
    1.52 + \noindent {\bf Signature:}
    1.53 +\begin{verbatim} string get_security_label (session_id s, VIF ref self)\end{verbatim}
    1.54 +
    1.55 +
    1.56 +\noindent{\bf Arguments:}
    1.57 +
    1.58 +
    1.59 +
    1.60 +\vspace{0.3cm}
    1.61 +\begin{tabular}{|c|c|p{7cm}|}
    1.62 + \hline
    1.63 +{\bf type} & {\bf name} & {\bf description} \\ \hline
    1.64 +{\tt VIF ref } & self & reference to the object \\ \hline
    1.65 +
    1.66 +\end{tabular}
    1.67 +
    1.68 +\vspace{0.3cm}
    1.69 +
    1.70 + \noindent {\bf Return Type:}
    1.71 +{\tt
    1.72 +string
    1.73 +}
    1.74 +
    1.75 +
    1.76 +value of the given field
    1.77 +\vspace{0.3cm}
    1.78 +\vspace{0.3cm}
    1.79 +\vspace{0.3cm}
    1.80  \subsubsection{RPC name:~create}
    1.81  
    1.82  {\bf Overview:} 
    1.83 @@ -10725,6 +10798,7 @@ Quals & Field & Type & Description \\
    1.84  $\mathit{RW}$ &  {\tt sharable} & bool & true if this disk may be shared \\
    1.85  $\mathit{RW}$ &  {\tt read\_only} & bool & true if this disk may ONLY be mounted read-only \\
    1.86  $\mathit{RW}$ &  {\tt other\_config} & (string $\rightarrow$ string) Map & additional configuration \\
    1.87 +$\mathit{RO}_\mathit{run}$ &  {\tt security/label} & string & the VM's security label \\
    1.88  \hline
    1.89  \end{longtable}
    1.90  \subsection{RPCs associated with class: VDI}