1 | <!ENTITY % HTMLlat1 PUBLIC |
---|
2 | "-//W3C//ENTITIES Latin 1 for XHTML//EN" |
---|
3 | "http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent"> |
---|
4 | %HTMLlat1; |
---|
5 | <!ENTITY % HTMLsymbol PUBLIC |
---|
6 | "-//W3C//ENTITIES Symbols for XHTML//EN" |
---|
7 | "http://www.w3.org/TR/xhtml1/DTD/xhtml-symbol.ent"> |
---|
8 | %HTMLsymbol; |
---|
9 | <!ENTITY % HTMLspecial PUBLIC |
---|
10 | "-//W3C//ENTITIES Special for XHTML//EN" |
---|
11 | "http://www.w3.org/TR/xhtml1/DTD/xhtml-special.ent"> |
---|
12 | %HTMLspecial; |
---|
13 | <!-- a Uniform Resource Identifier, see [RFC2396] --> |
---|
14 | <!ENTITY % URI "CDATA"> |
---|
15 | <!ENTITY % NAMEID "name ID #REQUIRED"> |
---|
16 | <!ENTITY % CRASH_BEHAVIOUR "( destroy |
---|
17 | | coredump_and_destroy |
---|
18 | | restart |
---|
19 | | coredump_and_restart |
---|
20 | | preserve |
---|
21 | | rename_restart )"> |
---|
22 | <!ENTITY % NORMAL_EXIT "( destroy | restart )"> |
---|
23 | <!ENTITY % VDI_TYPE "( system |
---|
24 | | user |
---|
25 | | ephemeral |
---|
26 | | suspend |
---|
27 | | crashdump )"> |
---|
28 | |
---|
29 | <!ELEMENT xm (vm*, |
---|
30 | vdi*, |
---|
31 | network*)> |
---|
32 | |
---|
33 | <!ELEMENT version (#PCDATA)> |
---|
34 | |
---|
35 | <!ELEMENT vm (name, |
---|
36 | version, |
---|
37 | (pv|hvm), |
---|
38 | memory, |
---|
39 | vbd*, |
---|
40 | vif*, |
---|
41 | console*, |
---|
42 | platform*, |
---|
43 | vcpu_param*, |
---|
44 | other_config*)> |
---|
45 | <!ATTLIST vm is_a_template CDATA #REQUIRED |
---|
46 | auto_power_on CDATA #REQUIRED |
---|
47 | vcpus_max CDATA #REQUIRED |
---|
48 | vcpus_at_startup CDATA #REQUIRED |
---|
49 | actions_after_shutdown %NORMAL_EXIT; #REQUIRED |
---|
50 | actions_after_reboot %NORMAL_EXIT; #REQUIRED |
---|
51 | actions_after_crash %CRASH_BEHAVIOUR; #REQUIRED |
---|
52 | PCI_bus CDATA #REQUIRED> |
---|
53 | |
---|
54 | <!ELEMENT memory EMPTY> |
---|
55 | <!ATTLIST memory static_min CDATA #REQUIRED |
---|
56 | static_max CDATA #REQUIRED |
---|
57 | dynamic_min CDATA #REQUIRED |
---|
58 | dynamic_max CDATA #REQUIRED> |
---|
59 | |
---|
60 | <!ELEMENT vbd (qos_algorithm_param*)> |
---|
61 | <!ATTLIST vbd %NAMEID; |
---|
62 | mode (RO | RW) #REQUIRED |
---|
63 | vdi IDREF #REQUIRED |
---|
64 | device CDATA #REQUIRED |
---|
65 | bootable CDATA #REQUIRED |
---|
66 | type (CD | disk) #REQUIRED |
---|
67 | qos_algorithm_type CDATA #REQUIRED> |
---|
68 | |
---|
69 | <!ELEMENT vif (qos_algorithm_param*)> |
---|
70 | <!ATTLIST vif %NAMEID; |
---|
71 | mac CDATA #REQUIRED |
---|
72 | mtu CDATA #REQUIRED |
---|
73 | device CDATA #REQUIRED |
---|
74 | qos_algorithm_type CDATA #REQUIRED |
---|
75 | network CDATA #IMPLIED> |
---|
76 | |
---|
77 | <!ELEMENT console (other_config*)> |
---|
78 | <!ATTLIST console protocol (vt100|rfb|rdp) #REQUIRED> |
---|
79 | |
---|
80 | <!ELEMENT pv EMPTY> |
---|
81 | <!ATTLIST pv kernel CDATA #REQUIRED |
---|
82 | bootloader CDATA #REQUIRED |
---|
83 | ramdisk CDATA #REQUIRED |
---|
84 | args CDATA #REQUIRED |
---|
85 | bootloader_args CDATA #REQUIRED> |
---|
86 | |
---|
87 | <!ELEMENT hvm (boot_param*)> |
---|
88 | <!ATTLIST hvm boot_policy CDATA #REQUIRED> |
---|
89 | |
---|
90 | <!ELEMENT boot_param EMPTY> |
---|
91 | <!ATTLIST boot_param key CDATA #REQUIRED |
---|
92 | value CDATA #REQUIRED> |
---|
93 | |
---|
94 | <!ELEMENT vdi (name)> |
---|
95 | <!ATTLIST vdi %NAMEID; |
---|
96 | src %URI; #REQUIRED |
---|
97 | type %VDI_TYPE; #REQUIRED |
---|
98 | size CDATA #REQUIRED |
---|
99 | sharable CDATA #REQUIRED |
---|
100 | read_only CDATA #REQUIRED> |
---|
101 | |
---|
102 | <!ELEMENT network (name, |
---|
103 | other_config*)> |
---|
104 | <!ATTLIST network %NAMEID; |
---|
105 | default_gateway CDATA #REQUIRED |
---|
106 | default_netmask CDATA #REQUIRED> |
---|
107 | |
---|
108 | <!ELEMENT name (label, |
---|
109 | description)> |
---|
110 | |
---|
111 | <!ELEMENT label (#PCDATA)> |
---|
112 | <!ELEMENT description (#PCDATA)> |
---|
113 | |
---|
114 | <!ELEMENT platform EMPTY> |
---|
115 | <!ATTLIST platform key CDATA #REQUIRED |
---|
116 | value CDATA #REQUIRED> |
---|
117 | |
---|
118 | <!ELEMENT vcpu_param EMPTY> |
---|
119 | <!ATTLIST vcpu_param key CDATA #REQUIRED |
---|
120 | value CDATA #REQUIRED> |
---|
121 | |
---|
122 | <!ELEMENT other_config EMPTY> |
---|
123 | <!ATTLIST other_config key CDATA #REQUIRED |
---|
124 | value CDATA #REQUIRED> |
---|
125 | |
---|
126 | <!ELEMENT qos_algorithm_param EMPTY> |
---|
127 | <!ATTLIST qos_algorithm_param key CDATA #REQUIRED |
---|
128 | value CDATA #REQUIRED> |
---|