blob: 718d7b046e8b356c581f884e7f0fd4d4e1004a01 [file] [log] [blame]
ramangrover29f18d4562013-02-15 23:56:00 +00001<?xml version="1.0" encoding="ISO-8859-1" ?>
Raman Grover27a0c4c2013-04-16 17:29:40 -07002<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
3 xmlns:cl="cluster" targetNamespace="cluster" elementFormDefault="qualified">
ramangrover29f18d4562013-02-15 23:56:00 +00004
Raman Grover27a0c4c2013-04-16 17:29:40 -07005 <!-- definition of simple types -->
6 <xs:element name="name" type="xs:string" />
ramangrover29fdfe15f2013-04-29 11:33:44 -07007 <xs:element name="log_dir" type="xs:string" />
8 <xs:element name="txn_log_dir" type="xs:string" />
Raman Grover27a0c4c2013-04-16 17:29:40 -07009 <xs:element name="id" type="xs:string" />
ramangrover29fdfe15f2013-04-29 11:33:44 -070010 <xs:element name="client_ip" type="xs:string" />
11 <xs:element name="cluster_ip" type="xs:string" />
Raman Grover27a0c4c2013-04-16 17:29:40 -070012 <xs:element name="key" type="xs:string" />
13 <xs:element name="value" type="xs:string" />
14 <xs:element name="dir" type="xs:string" />
15 <xs:element name="NFS" type="xs:boolean" />
16 <xs:element name="store" type="xs:string" />
17 <xs:element name="iodevices" type="xs:string" />
18 <xs:element name="java_home" type="xs:string" />
19 <xs:element name="username" type="xs:string" />
ramangrover29f18d4562013-02-15 23:56:00 +000020
Raman Grover27a0c4c2013-04-16 17:29:40 -070021 <!-- definition of complex elements -->
ramangrover29fdfe15f2013-04-29 11:33:44 -070022 <xs:element name="working_dir">
Raman Grover27a0c4c2013-04-16 17:29:40 -070023 <xs:complexType>
24 <xs:sequence>
25 <xs:element ref="cl:dir" />
26 <xs:element ref="cl:NFS" />
27 </xs:sequence>
28 </xs:complexType>
29 </xs:element>
ramangrover29f18d4562013-02-15 23:56:00 +000030
ramangrover29fdfe15f2013-04-29 11:33:44 -070031 <xs:element name="master_node">
Raman Grover27a0c4c2013-04-16 17:29:40 -070032 <xs:complexType>
33 <xs:sequence>
34 <xs:element ref="cl:id" />
ramangrover29fdfe15f2013-04-29 11:33:44 -070035 <xs:element ref="cl:client_ip" />
36 <xs:element ref="cl:cluster_ip" />
Raman Grover27a0c4c2013-04-16 17:29:40 -070037 <xs:element ref="cl:java_home" minOccurs="0" />
ramangrover29fdfe15f2013-04-29 11:33:44 -070038 <xs:element ref="cl:log_dir" minOccurs="0" />
Raman Grover27a0c4c2013-04-16 17:29:40 -070039 </xs:sequence>
40 </xs:complexType>
41 </xs:element>
ramangrover29f18d4562013-02-15 23:56:00 +000042
Raman Grover27a0c4c2013-04-16 17:29:40 -070043 <xs:element name="property">
44 <xs:complexType>
45 <xs:sequence>
46 <xs:element ref="cl:key" />
47 <xs:element ref="cl:value" />
48 </xs:sequence>
49 </xs:complexType>
50 </xs:element>
ramangrover29f18d4562013-02-15 23:56:00 +000051
Raman Grover27a0c4c2013-04-16 17:29:40 -070052 <xs:element name="env">
53 <xs:complexType>
54 <xs:sequence>
55 <xs:element ref="cl:property" minOccurs="0" maxOccurs="unbounded" />
56 </xs:sequence>
57 </xs:complexType>
58 </xs:element>
ramangrover29f18d4562013-02-15 23:56:00 +000059
Raman Grover27a0c4c2013-04-16 17:29:40 -070060 <xs:element name="node">
61 <xs:complexType>
62 <xs:sequence>
63 <xs:element ref="cl:id" />
ramangrover29fdfe15f2013-04-29 11:33:44 -070064 <xs:element ref="cl:cluster_ip" />
Raman Grover27a0c4c2013-04-16 17:29:40 -070065 <xs:element ref="cl:java_home" minOccurs="0" />
ramangrover29fdfe15f2013-04-29 11:33:44 -070066 <xs:element ref="cl:log_dir" minOccurs="0" />
67 <xs:element ref="cl:txn_log_dir" minOccurs="0" />
Raman Grover27a0c4c2013-04-16 17:29:40 -070068 <xs:element ref="cl:store" minOccurs="0" />
69 <xs:element ref="cl:iodevices" minOccurs="0" />
70 </xs:sequence>
71 </xs:complexType>
72 </xs:element>
ramangrover29f18d4562013-02-15 23:56:00 +000073
Raman Grover27a0c4c2013-04-16 17:29:40 -070074 <xs:element name="cluster">
75 <xs:complexType>
76 <xs:sequence>
77 <xs:element ref="cl:name" />
78 <xs:element ref="cl:username" />
79 <xs:element ref="cl:env" minOccurs="0" />
80 <xs:element ref="cl:java_home" minOccurs="0" />
ramangrover29fdfe15f2013-04-29 11:33:44 -070081 <xs:element ref="cl:log_dir" minOccurs="0" />
82 <xs:element ref="cl:txn_log_dir" minOccurs="0" />
Raman Grover27a0c4c2013-04-16 17:29:40 -070083 <xs:element ref="cl:store" minOccurs="0" />
84 <xs:element ref="cl:iodevices" minOccurs="0" />
ramangrover29fdfe15f2013-04-29 11:33:44 -070085 <xs:element ref="cl:working_dir" />
86 <xs:element ref="cl:master_node" />
Raman Grover27a0c4c2013-04-16 17:29:40 -070087 <xs:element ref="cl:node" maxOccurs="unbounded" />
88 </xs:sequence>
89 </xs:complexType>
90 </xs:element>
ramangrover29f18d4562013-02-15 23:56:00 +000091
92</xs:schema>