From beaa71c4f2689236b7ee15506f3f903cc042a972 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn?= Date: Fri, 16 Dec 2011 09:49:47 -0800 Subject: [PATCH] Add XML Schemas (xsd) documentation --- share/doc/xsd/README.txt | 9 ++ share/doc/xsd/group.xsd | 19 +++ share/doc/xsd/group_pool.xsd | 12 ++ share/doc/xsd/host.xsd | 37 +++++ share/doc/xsd/host_pool.xsd | 12 ++ share/doc/xsd/image.xsd | 26 ++++ share/doc/xsd/image_pool.xsd | 12 ++ share/doc/xsd/samples/group/1.xml | 12 ++ share/doc/xsd/samples/group/2.xml | 7 + share/doc/xsd/samples/group_pool/1.xml | 37 +++++ share/doc/xsd/samples/host/1.xml | 27 ++++ share/doc/xsd/samples/host/2.xml | 27 ++++ share/doc/xsd/samples/host/3.xml | 38 +++++ share/doc/xsd/samples/host_pool/1.xml | 41 ++++++ share/doc/xsd/samples/host_pool/2.xml | 67 +++++++++ share/doc/xsd/samples/host_pool/3.xml | 3 + share/doc/xsd/samples/image/1.xml | 23 ++++ share/doc/xsd/samples/image/2.xml | 22 +++ share/doc/xsd/samples/image_pool/1.xml | 3 + share/doc/xsd/samples/image_pool/2.xml | 47 +++++++ share/doc/xsd/samples/image_pool/3.xml | 25 ++++ share/doc/xsd/samples/template/1.xml | 16 +++ share/doc/xsd/samples/template/2.xml | 16 +++ share/doc/xsd/samples/template/3.xml | 13 ++ share/doc/xsd/samples/template_pool/1.xml | 35 +++++ share/doc/xsd/samples/template_pool/2.xml | 3 + share/doc/xsd/samples/user/1.xml | 12 ++ share/doc/xsd/samples/user/2.xml | 12 ++ share/doc/xsd/samples/user/3.xml | 21 +++ share/doc/xsd/samples/user_pool/1.xml | 53 +++++++ share/doc/xsd/samples/vm/1.xml | 26 ++++ share/doc/xsd/samples/vm/2.xml | 81 +++++++++++ share/doc/xsd/samples/vm/3.xml | 81 +++++++++++ share/doc/xsd/samples/vm_pool/1.xml | 161 ++++++++++++++++++++++ share/doc/xsd/samples/vm_pool/2.xml | 3 + share/doc/xsd/samples/vnet/1.xml | 48 +++++++ share/doc/xsd/samples/vnet/2.xml | 26 ++++ share/doc/xsd/samples/vnet/3.xml | 23 ++++ share/doc/xsd/samples/vnet_pool/1.xml | 3 + share/doc/xsd/samples/vnet_pool/2.xml | 63 +++++++++ share/doc/xsd/template.xsd | 18 +++ share/doc/xsd/template_pool.xsd | 12 ++ share/doc/xsd/test.sh | 5 + share/doc/xsd/user.xsd | 18 +++ share/doc/xsd/user_pool.xsd | 12 ++ share/doc/xsd/vm.xsd | 55 ++++++++ share/doc/xsd/vm_pool.xsd | 12 ++ share/doc/xsd/vnet.xsd | 48 +++++++ share/doc/xsd/vnet_pool.xsd | 12 ++ 49 files changed, 1394 insertions(+) create mode 100644 share/doc/xsd/README.txt create mode 100644 share/doc/xsd/group.xsd create mode 100644 share/doc/xsd/group_pool.xsd create mode 100644 share/doc/xsd/host.xsd create mode 100644 share/doc/xsd/host_pool.xsd create mode 100644 share/doc/xsd/image.xsd create mode 100644 share/doc/xsd/image_pool.xsd create mode 100644 share/doc/xsd/samples/group/1.xml create mode 100644 share/doc/xsd/samples/group/2.xml create mode 100644 share/doc/xsd/samples/group_pool/1.xml create mode 100644 share/doc/xsd/samples/host/1.xml create mode 100644 share/doc/xsd/samples/host/2.xml create mode 100644 share/doc/xsd/samples/host/3.xml create mode 100644 share/doc/xsd/samples/host_pool/1.xml create mode 100644 share/doc/xsd/samples/host_pool/2.xml create mode 100644 share/doc/xsd/samples/host_pool/3.xml create mode 100644 share/doc/xsd/samples/image/1.xml create mode 100644 share/doc/xsd/samples/image/2.xml create mode 100644 share/doc/xsd/samples/image_pool/1.xml create mode 100644 share/doc/xsd/samples/image_pool/2.xml create mode 100644 share/doc/xsd/samples/image_pool/3.xml create mode 100644 share/doc/xsd/samples/template/1.xml create mode 100644 share/doc/xsd/samples/template/2.xml create mode 100644 share/doc/xsd/samples/template/3.xml create mode 100644 share/doc/xsd/samples/template_pool/1.xml create mode 100644 share/doc/xsd/samples/template_pool/2.xml create mode 100644 share/doc/xsd/samples/user/1.xml create mode 100644 share/doc/xsd/samples/user/2.xml create mode 100644 share/doc/xsd/samples/user/3.xml create mode 100644 share/doc/xsd/samples/user_pool/1.xml create mode 100644 share/doc/xsd/samples/vm/1.xml create mode 100644 share/doc/xsd/samples/vm/2.xml create mode 100644 share/doc/xsd/samples/vm/3.xml create mode 100644 share/doc/xsd/samples/vm_pool/1.xml create mode 100644 share/doc/xsd/samples/vm_pool/2.xml create mode 100644 share/doc/xsd/samples/vnet/1.xml create mode 100644 share/doc/xsd/samples/vnet/2.xml create mode 100644 share/doc/xsd/samples/vnet/3.xml create mode 100644 share/doc/xsd/samples/vnet_pool/1.xml create mode 100644 share/doc/xsd/samples/vnet_pool/2.xml create mode 100644 share/doc/xsd/template.xsd create mode 100644 share/doc/xsd/template_pool.xsd create mode 100755 share/doc/xsd/test.sh create mode 100644 share/doc/xsd/user.xsd create mode 100644 share/doc/xsd/user_pool.xsd create mode 100644 share/doc/xsd/vm.xsd create mode 100644 share/doc/xsd/vm_pool.xsd create mode 100644 share/doc/xsd/vnet.xsd create mode 100644 share/doc/xsd/vnet_pool.xsd 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 + +