blob: 4292418112f828f221bbb24a9af25e890014efa3 [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" />
7 <xs:element name="logdir" type="xs:string" />
8 <xs:element name="id" type="xs:string" />
9 <xs:element name="client-ip" type="xs:string" />
10 <xs:element name="cluster-ip" type="xs:string" />
11 <xs:element name="key" type="xs:string" />
12 <xs:element name="value" type="xs:string" />
13 <xs:element name="dir" type="xs:string" />
14 <xs:element name="NFS" type="xs:boolean" />
15 <xs:element name="store" type="xs:string" />
16 <xs:element name="iodevices" type="xs:string" />
17 <xs:element name="java_home" type="xs:string" />
18 <xs:element name="username" type="xs:string" />
ramangrover29f18d4562013-02-15 23:56:00 +000019
Raman Grover27a0c4c2013-04-16 17:29:40 -070020 <!-- definition of complex elements -->
21 <xs:element name="workingDir">
22 <xs:complexType>
23 <xs:sequence>
24 <xs:element ref="cl:dir" />
25 <xs:element ref="cl:NFS" />
26 </xs:sequence>
27 </xs:complexType>
28 </xs:element>
ramangrover29f18d4562013-02-15 23:56:00 +000029
Raman Grover27a0c4c2013-04-16 17:29:40 -070030 <xs:element name="master-node">
31 <xs:complexType>
32 <xs:sequence>
33 <xs:element ref="cl:id" />
34 <xs:element ref="cl:client-ip" />
35 <xs:element ref="cl:cluster-ip" />
36 <xs:element ref="cl:java_home" minOccurs="0" />
37 <xs:element ref="cl:logdir" minOccurs="0" />
38 </xs:sequence>
39 </xs:complexType>
40 </xs:element>
ramangrover29f18d4562013-02-15 23:56:00 +000041
Raman Grover27a0c4c2013-04-16 17:29:40 -070042 <xs:element name="property">
43 <xs:complexType>
44 <xs:sequence>
45 <xs:element ref="cl:key" />
46 <xs:element ref="cl:value" />
47 </xs:sequence>
48 </xs:complexType>
49 </xs:element>
ramangrover29f18d4562013-02-15 23:56:00 +000050
Raman Grover27a0c4c2013-04-16 17:29:40 -070051 <xs:element name="env">
52 <xs:complexType>
53 <xs:sequence>
54 <xs:element ref="cl:property" minOccurs="0" maxOccurs="unbounded" />
55 </xs:sequence>
56 </xs:complexType>
57 </xs:element>
ramangrover29f18d4562013-02-15 23:56:00 +000058
Raman Grover27a0c4c2013-04-16 17:29:40 -070059 <xs:element name="node">
60 <xs:complexType>
61 <xs:sequence>
62 <xs:element ref="cl:id" />
63 <xs:element ref="cl:cluster-ip" />
64 <xs:element ref="cl:java_home" minOccurs="0" />
65 <xs:element ref="cl:logdir" minOccurs="0" />
66 <xs:element ref="cl:store" minOccurs="0" />
67 <xs:element ref="cl:iodevices" minOccurs="0" />
68 </xs:sequence>
69 </xs:complexType>
70 </xs:element>
ramangrover29f18d4562013-02-15 23:56:00 +000071
Raman Grover27a0c4c2013-04-16 17:29:40 -070072 <xs:element name="cluster">
73 <xs:complexType>
74 <xs:sequence>
75 <xs:element ref="cl:name" />
76 <xs:element ref="cl:username" />
77 <xs:element ref="cl:env" minOccurs="0" />
78 <xs:element ref="cl:java_home" minOccurs="0" />
79 <xs:element ref="cl:logdir" minOccurs="0" />
80 <xs:element ref="cl:store" minOccurs="0" />
81 <xs:element ref="cl:iodevices" minOccurs="0" />
82 <xs:element ref="cl:workingDir" />
83 <xs:element ref="cl:master-node" />
84 <xs:element ref="cl:node" maxOccurs="unbounded" />
85 </xs:sequence>
86 </xs:complexType>
87 </xs:element>
ramangrover29f18d4562013-02-15 23:56:00 +000088
89</xs:schema>