diff --git a/share/doc/xsd/README.txt b/share/doc/xsd/README.txt
new file mode 100644
index 0000000000..00d6a90185
--- /dev/null
+++ b/share/doc/xsd/README.txt
@@ -0,0 +1,9 @@
+These XML Schemas define the XMLs returned by OpenNebula's XML-RPC API.
+
+The included XML samples are not actual responses from OpenNebula, as it does
+not include the headers (namespace, schema location).
+
+
+To learn more, please read the API reference documentation at
+http://opennebula.org/documentation:documentation:api
+
diff --git a/share/doc/xsd/group.xsd b/share/doc/xsd/group.xsd
new file mode 100644
index 0000000000..eb36432fff
--- /dev/null
+++ b/share/doc/xsd/group.xsd
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/share/doc/xsd/group_pool.xsd b/share/doc/xsd/group_pool.xsd
new file mode 100644
index 0000000000..c8dc69c06b
--- /dev/null
+++ b/share/doc/xsd/group_pool.xsd
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/share/doc/xsd/host.xsd b/share/doc/xsd/host.xsd
new file mode 100644
index 0000000000..58fa4d8bbe
--- /dev/null
+++ b/share/doc/xsd/host.xsd
@@ -0,0 +1,37 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/share/doc/xsd/host_pool.xsd b/share/doc/xsd/host_pool.xsd
new file mode 100644
index 0000000000..5d797d3cbb
--- /dev/null
+++ b/share/doc/xsd/host_pool.xsd
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/share/doc/xsd/image.xsd b/share/doc/xsd/image.xsd
new file mode 100644
index 0000000000..207cee1bd0
--- /dev/null
+++ b/share/doc/xsd/image.xsd
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/share/doc/xsd/image_pool.xsd b/share/doc/xsd/image_pool.xsd
new file mode 100644
index 0000000000..6e39f45267
--- /dev/null
+++ b/share/doc/xsd/image_pool.xsd
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/share/doc/xsd/samples/group/1.xml b/share/doc/xsd/samples/group/1.xml
new file mode 100644
index 0000000000..35813b2430
--- /dev/null
+++ b/share/doc/xsd/samples/group/1.xml
@@ -0,0 +1,12 @@
+
+ 1
+ users
+
+ 2
+ 3
+ 4
+ 5
+
+
\ No newline at end of file
diff --git a/share/doc/xsd/samples/group/2.xml b/share/doc/xsd/samples/group/2.xml
new file mode 100644
index 0000000000..83ec0ed02b
--- /dev/null
+++ b/share/doc/xsd/samples/group/2.xml
@@ -0,0 +1,7 @@
+
+ 100
+ new
+
+
\ No newline at end of file
diff --git a/share/doc/xsd/samples/group_pool/1.xml b/share/doc/xsd/samples/group_pool/1.xml
new file mode 100644
index 0000000000..4c99b3289c
--- /dev/null
+++ b/share/doc/xsd/samples/group_pool/1.xml
@@ -0,0 +1,37 @@
+
+
+ 0
+ oneadmin
+
+ 0
+ 1
+
+
+
+ 1
+ users
+
+ 2
+ 3
+ 4
+ 5
+
+
+
+ 100
+ new
+
+
+
+ 101
+ test
+
+
+
+ 102
+ abc
+
+
+
\ No newline at end of file
diff --git a/share/doc/xsd/samples/host/1.xml b/share/doc/xsd/samples/host/1.xml
new file mode 100644
index 0000000000..400cdf25f7
--- /dev/null
+++ b/share/doc/xsd/samples/host/1.xml
@@ -0,0 +1,27 @@
+
+ 0
+ localhost
+ 3
+ im_dummy
+ vmm_dummy
+ fw
+ tm_shared
+ 0
+
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+
+
+
diff --git a/share/doc/xsd/samples/host/2.xml b/share/doc/xsd/samples/host/2.xml
new file mode 100644
index 0000000000..bd9e6c6de0
--- /dev/null
+++ b/share/doc/xsd/samples/host/2.xml
@@ -0,0 +1,27 @@
+
+ 0
+ localhost
+ 3
+ im_dummy
+ vmm_dummy
+ fw
+ tm_shared
+ 0
+
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+
+
+
\ No newline at end of file
diff --git a/share/doc/xsd/samples/host/3.xml b/share/doc/xsd/samples/host/3.xml
new file mode 100644
index 0000000000..c8585496a2
--- /dev/null
+++ b/share/doc/xsd/samples/host/3.xml
@@ -0,0 +1,38 @@
+
+ 0
+ localhost
+ 2
+ im_dummy
+ vmm_dummy
+ fw
+ tm_shared
+ 1324039779
+
+ 0
+ 0
+ 0
+ 0
+ 16777216
+ 800
+ 0
+ 16777216
+ 800
+ 0
+ 0
+ 0
+ 0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/share/doc/xsd/samples/host_pool/1.xml b/share/doc/xsd/samples/host_pool/1.xml
new file mode 100644
index 0000000000..066566a08f
--- /dev/null
+++ b/share/doc/xsd/samples/host_pool/1.xml
@@ -0,0 +1,41 @@
+
+
+ 0
+ localhost
+ 2
+ im_dummy
+ vmm_dummy
+ fw
+ tm_shared
+ 1324048185
+
+ 0
+ 0
+ 0
+ 0
+ 16777216
+ 800
+ 0
+ 16777216
+ 800
+ 0
+ 0
+ 0
+ 0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/share/doc/xsd/samples/host_pool/2.xml b/share/doc/xsd/samples/host_pool/2.xml
new file mode 100644
index 0000000000..b946372d3e
--- /dev/null
+++ b/share/doc/xsd/samples/host_pool/2.xml
@@ -0,0 +1,67 @@
+
+
+ 0
+ localhost
+ 2
+ im_dummy
+ vmm_dummy
+ fw
+ tm_shared
+ 1324048436
+
+ 0
+ 0
+ 0
+ 0
+ 16777216
+ 800
+ 0
+ 16777216
+ 800
+ 0
+ 0
+ 0
+ 0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1
+ vm
+ 0
+ im_dummy
+ vmm_dummy
+ fw
+ tm_shared
+ 0
+
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+
+
+
+
\ No newline at end of file
diff --git a/share/doc/xsd/samples/host_pool/3.xml b/share/doc/xsd/samples/host_pool/3.xml
new file mode 100644
index 0000000000..dbfde4e3db
--- /dev/null
+++ b/share/doc/xsd/samples/host_pool/3.xml
@@ -0,0 +1,3 @@
+
diff --git a/share/doc/xsd/samples/image/1.xml b/share/doc/xsd/samples/image/1.xml
new file mode 100644
index 0000000000..5b05a09c6d
--- /dev/null
+++ b/share/doc/xsd/samples/image/1.xml
@@ -0,0 +1,23 @@
+
+ 0
+ 0
+ 0
+ oneadmin
+ oneadmin
+ Ubuntu Desktop
+ 0
+ 1
+ 0
+ 1324047583
+
+ /boot/initrd.img-2.6.32-34-generic
+
+ 8
+ 1
+ 0
+
+
+
+
+
\ No newline at end of file
diff --git a/share/doc/xsd/samples/image/2.xml b/share/doc/xsd/samples/image/2.xml
new file mode 100644
index 0000000000..944fd39108
--- /dev/null
+++ b/share/doc/xsd/samples/image/2.xml
@@ -0,0 +1,22 @@
+
+ 1
+ 0
+ 0
+ oneadmin
+ oneadmin
+ Experiment results
+ 2
+ 0
+ 0
+ 1324048803
+
+
+ ext3
+ 30
+ 1
+ 0
+
+
+
+
diff --git a/share/doc/xsd/samples/image_pool/1.xml b/share/doc/xsd/samples/image_pool/1.xml
new file mode 100644
index 0000000000..d3a901b549
--- /dev/null
+++ b/share/doc/xsd/samples/image_pool/1.xml
@@ -0,0 +1,3 @@
+
diff --git a/share/doc/xsd/samples/image_pool/2.xml b/share/doc/xsd/samples/image_pool/2.xml
new file mode 100644
index 0000000000..6975228bea
--- /dev/null
+++ b/share/doc/xsd/samples/image_pool/2.xml
@@ -0,0 +1,47 @@
+
+
+ 0
+ 0
+ 0
+ oneadmin
+ oneadmin
+ Ubuntu Desktop
+ 0
+ 1
+ 0
+ 1324047583
+
+ /boot/initrd.img-2.6.32-34-generic
+
+ 8
+ 1
+ 0
+
+
+
+
+
+
+ 1
+ 0
+ 0
+ oneadmin
+ oneadmin
+ Experiment results
+ 2
+ 0
+ 0
+ 1324048803
+
+
+ ext3
+ 30
+ 1
+ 0
+
+
+
+
+
diff --git a/share/doc/xsd/samples/image_pool/3.xml b/share/doc/xsd/samples/image_pool/3.xml
new file mode 100644
index 0000000000..01fb4ba810
--- /dev/null
+++ b/share/doc/xsd/samples/image_pool/3.xml
@@ -0,0 +1,25 @@
+
+
+ 1
+ 0
+ 0
+ oneadmin
+ oneadmin
+ Experiment results
+ 2
+ 0
+ 0
+ 1324048803
+
+
+ ext3
+ 30
+ 1
+ 0
+
+
+
+
+
\ No newline at end of file
diff --git a/share/doc/xsd/samples/template/1.xml b/share/doc/xsd/samples/template/1.xml
new file mode 100644
index 0000000000..b580fb7d30
--- /dev/null
+++ b/share/doc/xsd/samples/template/1.xml
@@ -0,0 +1,16 @@
+
+ 0
+ 0
+ 0
+ oneadmin
+ oneadmin
+ vm-example
+ 0
+ 1324050180
+
+
+
+
+
\ No newline at end of file
diff --git a/share/doc/xsd/samples/template/2.xml b/share/doc/xsd/samples/template/2.xml
new file mode 100644
index 0000000000..48d50ce786
--- /dev/null
+++ b/share/doc/xsd/samples/template/2.xml
@@ -0,0 +1,16 @@
+
+ 0
+ 0
+ 0
+ oneadmin
+ oneadmin
+ vm-example
+ 0
+ 1324050180
+
+
+
+
+
\ No newline at end of file
diff --git a/share/doc/xsd/samples/template/3.xml b/share/doc/xsd/samples/template/3.xml
new file mode 100644
index 0000000000..7ef2ba5e1b
--- /dev/null
+++ b/share/doc/xsd/samples/template/3.xml
@@ -0,0 +1,13 @@
+
+ 0
+ 0
+ 0
+ oneadmin
+ oneadmin
+ vm-example
+ 0
+ 1324050180
+
+
\ No newline at end of file
diff --git a/share/doc/xsd/samples/template_pool/1.xml b/share/doc/xsd/samples/template_pool/1.xml
new file mode 100644
index 0000000000..70a1e1f8e4
--- /dev/null
+++ b/share/doc/xsd/samples/template_pool/1.xml
@@ -0,0 +1,35 @@
+
+
+ 0
+ 0
+ 0
+ oneadmin
+ oneadmin
+ vm-example
+ 0
+ 1324050180
+
+
+
+
+
+
+ 1
+ 0
+ 0
+ oneadmin
+ oneadmin
+ ONE
+ 0
+ 1324050461
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/share/doc/xsd/samples/template_pool/2.xml b/share/doc/xsd/samples/template_pool/2.xml
new file mode 100644
index 0000000000..32f50bfe47
--- /dev/null
+++ b/share/doc/xsd/samples/template_pool/2.xml
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/share/doc/xsd/samples/user/1.xml b/share/doc/xsd/samples/user/1.xml
new file mode 100644
index 0000000000..84944f9291
--- /dev/null
+++ b/share/doc/xsd/samples/user/1.xml
@@ -0,0 +1,12 @@
+
+ 1
+ 0
+ oneadmin
+ serveradmin
+ f72281eda1b97393f46041288b0baea528483b51
+ server_cipher
+ 1
+
+
\ No newline at end of file
diff --git a/share/doc/xsd/samples/user/2.xml b/share/doc/xsd/samples/user/2.xml
new file mode 100644
index 0000000000..526c0f0edb
--- /dev/null
+++ b/share/doc/xsd/samples/user/2.xml
@@ -0,0 +1,12 @@
+
+ 2
+ 1
+ users
+ abc
+ a9993e364706816aba3e25717850c26c9cd0d89d
+ core
+ 1
+
+
\ No newline at end of file
diff --git a/share/doc/xsd/samples/user/3.xml b/share/doc/xsd/samples/user/3.xml
new file mode 100644
index 0000000000..bdaf7f43e3
--- /dev/null
+++ b/share/doc/xsd/samples/user/3.xml
@@ -0,0 +1,21 @@
+
+ 3
+ 1
+ users
+ 1234
+ 7110eda4d09e062aa5e4a390b0a572ac0d2c0220
+ core
+ 1
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/share/doc/xsd/samples/user_pool/1.xml b/share/doc/xsd/samples/user_pool/1.xml
new file mode 100644
index 0000000000..86c5335373
--- /dev/null
+++ b/share/doc/xsd/samples/user_pool/1.xml
@@ -0,0 +1,53 @@
+
+
+ 0
+ 0
+ oneadmin
+ oneadmin
+ f72281eda1b97393f46041288b0baea528483b51
+ core
+ 1
+
+
+
+ 1
+ 0
+ oneadmin
+ serveradmin
+ f72281eda1b97393f46041288b0baea528483b51
+ server_cipher
+ 1
+
+
+
+ 2
+ 1
+ users
+ abc
+ a9993e364706816aba3e25717850c26c9cd0d89d
+ core
+ 1
+
+
+
+ 3
+ 1
+ users
+ 1234
+ 7110eda4d09e062aa5e4a390b0a572ac0d2c0220
+ core
+ 1
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/share/doc/xsd/samples/vm/1.xml b/share/doc/xsd/samples/vm/1.xml
new file mode 100644
index 0000000000..54b668d48f
--- /dev/null
+++ b/share/doc/xsd/samples/vm/1.xml
@@ -0,0 +1,26 @@
+
+ 0
+ 0
+ 0
+ oneadmin
+ oneadmin
+ one-0
+ 0
+ 1
+ 0
+ 1324050700
+ 0
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/share/doc/xsd/samples/vm/2.xml b/share/doc/xsd/samples/vm/2.xml
new file mode 100644
index 0000000000..1111618103
--- /dev/null
+++ b/share/doc/xsd/samples/vm/2.xml
@@ -0,0 +1,81 @@
+
+ 0
+ 0
+ 0
+ oneadmin
+ oneadmin
+ one-0
+ 1324050881
+ 3
+ 3
+ 1324050700
+ 0
+ vm:one-0:dummy
+ 0
+ 0
+ 0
+ 0
+
+
+
+
+
+
+
+ 0
+ vm
+ /var/lib/one/
+ 1
+ 1324050881
+ 1324050891
+ vmm_dummy
+ fw
+ tm_shared
+ 1324050881
+ 1324050881
+ 1324050881
+ 1324050891
+ 0
+ 0
+ 3
+
+
+ 1
+ localhost
+ /var/lib/one/
+ 0
+ 1324050891
+ 1324050899
+ vmm_dummy
+ fw
+ tm_shared
+ 1324050891
+ 1324050892
+ 1324050892
+ 1324050899
+ 0
+ 0
+ 3
+
+
+ 2
+ localhost
+ /var/lib/one/
+ 0
+ 1324050899
+ 0
+ vmm_dummy
+ fw
+ tm_shared
+ 0
+ 0
+ 1324050899
+ 0
+ 0
+ 0
+ 0
+
+
+
\ No newline at end of file
diff --git a/share/doc/xsd/samples/vm/3.xml b/share/doc/xsd/samples/vm/3.xml
new file mode 100644
index 0000000000..99baa18bb8
--- /dev/null
+++ b/share/doc/xsd/samples/vm/3.xml
@@ -0,0 +1,81 @@
+
+ 3
+ 0
+ 0
+ oneadmin
+ oneadmin
+ one-3
+ 1324052447
+ 6
+ 0
+ 1324052427
+ 1324052465
+ localhost:one-3:dummy
+ 0
+ 0
+ 0
+ 0
+
+
+
+
+
+
+
+ 0
+ localhost
+ /var/lib/one/
+ 0
+ 1324052447
+ 1324052452
+ vmm_dummy
+ fw
+ tm_shared
+ 1324052447
+ 1324052447
+ 1324052447
+ 1324052452
+ 0
+ 0
+ 3
+
+
+ 1
+ vm
+ /var/lib/one/
+ 1
+ 1324052452
+ 1324052456
+ vmm_dummy
+ fw
+ tm_shared
+ 1324052452
+ 1324052452
+ 1324052452
+ 1324052456
+ 0
+ 0
+ 3
+
+
+ 2
+ localhost
+ /var/lib/one/
+ 0
+ 1324052456
+ 1324052465
+ vmm_dummy
+ fw
+ tm_shared
+ 1324052456
+ 1324052456
+ 1324052456
+ 1324052465
+ 1324052465
+ 1324052465
+ 4
+
+
+
\ No newline at end of file
diff --git a/share/doc/xsd/samples/vm_pool/1.xml b/share/doc/xsd/samples/vm_pool/1.xml
new file mode 100644
index 0000000000..c3772a666d
--- /dev/null
+++ b/share/doc/xsd/samples/vm_pool/1.xml
@@ -0,0 +1,161 @@
+
+
+ 0
+ 0
+ 0
+ oneadmin
+ oneadmin
+ one-0
+ 1324052091
+ 3
+ 3
+ 1324050700
+ 0
+ vm:one-0:dummy
+ 0
+ 0
+ 12345
+ 0
+
+
+
+
+
+
+
+ 2
+ localhost
+ /var/lib/one/
+ 0
+ 1324050899
+ 0
+ vmm_dummy
+ fw
+ tm_shared
+ 0
+ 0
+ 1324050899
+ 0
+ 0
+ 0
+ 0
+
+
+
+
+ 1
+ 0
+ 0
+ oneadmin
+ oneadmin
+ one-1
+ 0
+ 1
+ 0
+ 1324052403
+ 0
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+
+
+
+
+
+ 2
+ 0
+ 0
+ oneadmin
+ oneadmin
+ one-2
+ 1324052436
+ 3
+ 3
+ 1324052411
+ 0
+ vm:one-2:dummy
+ 0
+ 0
+ 0
+ 0
+
+
+
+
+
+
+
+ 0
+ vm
+ /var/lib/one/
+ 1
+ 1324052436
+ 0
+ vmm_dummy
+ fw
+ tm_shared
+ 1324052436
+ 1324052436
+ 1324052436
+ 0
+ 0
+ 0
+ 0
+
+
+
+
+ 4
+ 0
+ 0
+ oneadmin
+ oneadmin
+ one-4
+ 1324052488
+ 7
+ 0
+ 1324052484
+ 1324052510
+ localhost:one-4:dummy
+ 0
+ 0
+ 0
+ 0
+
+
+
+
+
+
+
+
+
+
+
+ 2
+ vm
+ /var/lib/one/
+ 1
+ 1324052502
+ 1324052510
+ vmm_dummy
+ fw
+ tm_shared
+ 1324052502
+ 1324052502
+ 1324052502
+ 1324052510
+ 1324052510
+ 1324052510
+ 1
+
+
+
+
\ No newline at end of file
diff --git a/share/doc/xsd/samples/vm_pool/2.xml b/share/doc/xsd/samples/vm_pool/2.xml
new file mode 100644
index 0000000000..2c7d359203
--- /dev/null
+++ b/share/doc/xsd/samples/vm_pool/2.xml
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/share/doc/xsd/samples/vnet/1.xml b/share/doc/xsd/samples/vnet/1.xml
new file mode 100644
index 0000000000..58c2f01c61
--- /dev/null
+++ b/share/doc/xsd/samples/vnet/1.xml
@@ -0,0 +1,48 @@
+
+ 0
+ 0
+ 0
+ oneadmin
+ oneadmin
+ Blue LAN
+ 1
+ vbr1
+ 0
+
+
+ 0
+ 0
+
+
+
+
+
+
+
+ 130.10.0.1
+ 02:00:82:0a:00:01
+ 0
+ -1
+
+
+ 130.10.0.2
+ 50:20:20:20:20:21
+ 0
+ -1
+
+
+ 130.10.0.3
+ 02:00:82:0a:00:03
+ 0
+ -1
+
+
+ 130.10.0.4
+ 02:00:82:0a:00:04
+ 0
+ -1
+
+
+
\ No newline at end of file
diff --git a/share/doc/xsd/samples/vnet/2.xml b/share/doc/xsd/samples/vnet/2.xml
new file mode 100644
index 0000000000..7dd12dd226
--- /dev/null
+++ b/share/doc/xsd/samples/vnet/2.xml
@@ -0,0 +1,26 @@
+
+ 1
+ 0
+ 0
+ oneadmin
+ oneadmin
+ R
+ 0
+ vbr0
+ 0
+
+
+
+ 10.10.10.1
+ 10.10.10.254
+
+ 0
+ 0
+
+
+
+
+
+
\ No newline at end of file
diff --git a/share/doc/xsd/samples/vnet/3.xml b/share/doc/xsd/samples/vnet/3.xml
new file mode 100644
index 0000000000..65979e9c7e
--- /dev/null
+++ b/share/doc/xsd/samples/vnet/3.xml
@@ -0,0 +1,23 @@
+
+ 3
+ 0
+ 0
+ oneadmin
+ oneadmin
+ Empty
+ 1
+ vbr1
+ 1
+ eth0
+ 34
+ 0
+ 0
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/share/doc/xsd/samples/vnet_pool/1.xml b/share/doc/xsd/samples/vnet_pool/1.xml
new file mode 100644
index 0000000000..4a98dc0af0
--- /dev/null
+++ b/share/doc/xsd/samples/vnet_pool/1.xml
@@ -0,0 +1,3 @@
+
diff --git a/share/doc/xsd/samples/vnet_pool/2.xml b/share/doc/xsd/samples/vnet_pool/2.xml
new file mode 100644
index 0000000000..d489eea01b
--- /dev/null
+++ b/share/doc/xsd/samples/vnet_pool/2.xml
@@ -0,0 +1,63 @@
+
+
+ 0
+ 0
+ 0
+ oneadmin
+ oneadmin
+ Blue LAN
+ 1
+ vbr1
+ 0
+
+
+ 0
+ 0
+
+
+
+ 1
+ 0
+ 0
+ oneadmin
+ oneadmin
+ R
+ 0
+ vbr0
+ 0
+
+
+
+ 10.10.10.1
+ 10.10.10.254
+
+ 0
+ 0
+
+
+
+
+
+
+ 3
+ 0
+ 0
+ oneadmin
+ oneadmin
+ Empty
+ 1
+ vbr1
+ 1
+ eth0
+ 34
+ 0
+ 0
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/share/doc/xsd/template.xsd b/share/doc/xsd/template.xsd
new file mode 100644
index 0000000000..6fb9523e72
--- /dev/null
+++ b/share/doc/xsd/template.xsd
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/share/doc/xsd/template_pool.xsd b/share/doc/xsd/template_pool.xsd
new file mode 100644
index 0000000000..cb377ea2c9
--- /dev/null
+++ b/share/doc/xsd/template_pool.xsd
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/share/doc/xsd/test.sh b/share/doc/xsd/test.sh
new file mode 100755
index 0000000000..0f5e0e24bd
--- /dev/null
+++ b/share/doc/xsd/test.sh
@@ -0,0 +1,5 @@
+
+for i in group_pool group host_pool host image_pool image template_pool template user_pool user vm_pool vm vnet_pool vnet
+do
+ xmllint --noout --schema $i.xsd samples/$i/*
+done
\ No newline at end of file
diff --git a/share/doc/xsd/user.xsd b/share/doc/xsd/user.xsd
new file mode 100644
index 0000000000..5add6f1685
--- /dev/null
+++ b/share/doc/xsd/user.xsd
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/share/doc/xsd/user_pool.xsd b/share/doc/xsd/user_pool.xsd
new file mode 100644
index 0000000000..96657f384d
--- /dev/null
+++ b/share/doc/xsd/user_pool.xsd
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/share/doc/xsd/vm.xsd b/share/doc/xsd/vm.xsd
new file mode 100644
index 0000000000..57ea8dbf79
--- /dev/null
+++ b/share/doc/xsd/vm.xsd
@@ -0,0 +1,55 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/share/doc/xsd/vm_pool.xsd b/share/doc/xsd/vm_pool.xsd
new file mode 100644
index 0000000000..ce73df84ab
--- /dev/null
+++ b/share/doc/xsd/vm_pool.xsd
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/share/doc/xsd/vnet.xsd b/share/doc/xsd/vnet.xsd
new file mode 100644
index 0000000000..391a01d3fd
--- /dev/null
+++ b/share/doc/xsd/vnet.xsd
@@ -0,0 +1,48 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/share/doc/xsd/vnet_pool.xsd b/share/doc/xsd/vnet_pool.xsd
new file mode 100644
index 0000000000..d67a0b33e3
--- /dev/null
+++ b/share/doc/xsd/vnet_pool.xsd
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file