ia64/xen-unstable

changeset 12155:3ca584553972

Make all Ref Sets DynamicRO -- they are implied by the existence of an instance
elsewhere, and cannot be modified directly.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author Ewan Mellor <ewan@xensource.com>
date Thu Oct 26 14:39:34 2006 +0100 (2006-10-26)
parents 2ec35abfd9a2
children 5cd2a642eff6
files docs/xen-api/xenapi-datamodel.tex
line diff
     1.1 --- a/docs/xen-api/xenapi-datamodel.tex	Wed Oct 25 20:44:01 2006 +0100
     1.2 +++ b/docs/xen-api/xenapi-datamodel.tex	Thu Oct 26 14:39:34 2006 +0100
     1.3 @@ -1049,9 +1049,9 @@ Quals & Field & Type & Description \\
     1.4  $\mathit{RW}$ &  {\tt actions/after\_reboot} & on\_normal\_exit & action to take after the guest has rebooted itself \\
     1.5  $\mathit{RW}$ &  {\tt actions/after\_suspend} & on\_normal\_exit & action to take after the guest has suspended itself \\
     1.6  $\mathit{RW}$ &  {\tt actions/after\_crash} & on\_crash\_behaviour & action to take if the guest crashes \\
     1.7 -$\mathit{RO}_\mathit{ins}$ &  {\tt VIFs} & (VIF ref) Set & virtual network interfaces \\
     1.8 -$\mathit{RO}_\mathit{ins}$ &  {\tt VBDs} & (VBD ref) Set & virtual block devices \\
     1.9 -$\mathit{RO}_\mathit{ins}$ &  {\tt VTPM} & (VTPM ref) Set & virtual TPMs \\
    1.10 +$\mathit{RO}_\mathit{run}$ &  {\tt VIFs} & (VIF ref) Set & virtual network interfaces \\
    1.11 +$\mathit{RO}_\mathit{run}$ &  {\tt VBDs} & (VBD ref) Set & virtual block devices \\
    1.12 +$\mathit{RO}_\mathit{run}$ &  {\tt VTPMs} & (VTPM ref) Set & virtual TPMs \\
    1.13  $\mathit{RW}$ &  {\tt bios/boot} & string & device to boot the guest from \\
    1.14  $\mathit{RW}$ &  {\tt platform/std\_VGA} & bool & emulate standard VGA instead of cirrus logic \\
    1.15  $\mathit{RW}$ &  {\tt platform/serial} & string & redirect serial port to pty \\
    1.16 @@ -5019,7 +5019,7 @@ Quals & Field & Type & Description \\
    1.17  $\mathit{RO}_\mathit{run}$ &  {\tt uuid} & string & unique identifier/object reference \\
    1.18  $\mathit{RW}$ &  {\tt name/label} & string & a human-readable name \\
    1.19  $\mathit{RW}$ &  {\tt name/description} & string & a notes field containg human-readable description \\
    1.20 -$\mathit{RO}_\mathit{ins}$ &  {\tt VIFs} & (VIF ref) Set & list of connected vifs \\
    1.21 +$\mathit{RO}_\mathit{run}$ &  {\tt VIFs} & (VIF ref) Set & list of connected vifs \\
    1.22  $\mathit{RW}$ &  {\tt NIC} & string & ethernet device to use to access this network. Note: in this revision of the API all hosts will use the specified NIC to access this network \\
    1.23  $\mathit{RW}$ &  {\tt VLAN} & string & VLAN tag to use to access this network. Note: in this revision of the API all hosts will use the specified VLAN tag to access this network \\
    1.24  $\mathit{RW}$ &  {\tt default\_gateway} & string & default gateway IP address. Used for auto-configuring guests with fixed IP setting \\
    1.25 @@ -7218,13 +7218,13 @@ Quals & Field & Type & Description \\
    1.26  $\mathit{RW}$ &  {\tt name/label} & string & a human-readable name \\
    1.27  $\mathit{RW}$ &  {\tt name/description} & string & a notes field containg human-readable description \\
    1.28  $\mathit{RW}$ &  {\tt SR} & SR ref & storage repository in which the VDI resides \\
    1.29 -$\mathit{RO}_\mathit{ins}$ &  {\tt VBDs} & (VBD ref) Set & list of vbds that refer to this disk \\
    1.30 +$\mathit{RO}_\mathit{run}$ &  {\tt VBDs} & (VBD ref) Set & list of vbds that refer to this disk \\
    1.31  $\mathit{RW}$ &  {\tt virtual\_size} & int & size of disk as presented to the guest (in multiples of sector\_size field) \\
    1.32  $\mathit{RO}_\mathit{run}$ &  {\tt physical\_utilisation} & int & amount of physical space that the disk image is currently taking up on the storage repository (in bytes) \\
    1.33  $\mathit{RO}_\mathit{ins}$ &  {\tt sector\_size} & int & sector size of VDI (in bytes) \\
    1.34  $\mathit{RO}_\mathit{ins}$ &  {\tt type} & vdi\_type & type of the VDI \\
    1.35  $\mathit{RO}_\mathit{ins}$ &  {\tt parent} & VDI ref & parent disk (e.g. in the case of copy on write) \\
    1.36 -$\mathit{RO}_\mathit{ins}$ &  {\tt children} & (VDI ref) Set & child disks (e.g. in the case of copy on write) \\
    1.37 +$\mathit{RO}_\mathit{run}$ &  {\tt children} & (VDI ref) Set & child disks (e.g. in the case of copy on write) \\
    1.38  $\mathit{RW}$ &  {\tt sharable} & bool & true if this disk may be shared \\
    1.39  $\mathit{RW}$ &  {\tt read\_only} & bool & true if this disk may ONLY be mounted read-only \\
    1.40  \hline