ramangrover29 | f18d456 | 2013-02-15 23:56:00 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="ISO-8859-1" ?> |
Raman Grover | 27a0c4c | 2013-04-16 17:29:40 -0700 | [diff] [blame] | 2 | <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" |
| 3 | xmlns:cl="cluster" targetNamespace="cluster" elementFormDefault="qualified"> |
ramangrover29 | f18d456 | 2013-02-15 23:56:00 +0000 | [diff] [blame] | 4 | |
Raman Grover | 27a0c4c | 2013-04-16 17:29:40 -0700 | [diff] [blame] | 5 | <!-- definition of simple types --> |
| 6 | <xs:element name="name" type="xs:string" /> |
ramangrover29 | fdfe15f | 2013-04-29 11:33:44 -0700 | [diff] [blame] | 7 | <xs:element name="log_dir" type="xs:string" /> |
| 8 | <xs:element name="txn_log_dir" type="xs:string" /> |
Raman Grover | 27a0c4c | 2013-04-16 17:29:40 -0700 | [diff] [blame] | 9 | <xs:element name="id" type="xs:string" /> |
ramangrover29 | fdfe15f | 2013-04-29 11:33:44 -0700 | [diff] [blame] | 10 | <xs:element name="client_ip" type="xs:string" /> |
| 11 | <xs:element name="cluster_ip" type="xs:string" /> |
Raman Grover | 27a0c4c | 2013-04-16 17:29:40 -0700 | [diff] [blame] | 12 | <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" /> |
ramangrover29 | 79fba68 | 2013-06-02 10:03:15 -0700 | [diff] [blame] | 20 | <xs:element name="web_port" type="xs:string" /> |
ramangrover29 | fa0a578 | 2013-06-05 03:17:57 -0700 | [diff] [blame] | 21 | <xs:element name="client_port" type="xs:integer" /> |
| 22 | <xs:element name="cluster_port" type="xs:integer" /> |
| 23 | <xs:element name="http_port" type="xs:integer" /> |
ramangrover29 | f18d456 | 2013-02-15 23:56:00 +0000 | [diff] [blame] | 24 | |
Raman Grover | 27a0c4c | 2013-04-16 17:29:40 -0700 | [diff] [blame] | 25 | <!-- definition of complex elements --> |
ramangrover29 | fdfe15f | 2013-04-29 11:33:44 -0700 | [diff] [blame] | 26 | <xs:element name="working_dir"> |
Raman Grover | 27a0c4c | 2013-04-16 17:29:40 -0700 | [diff] [blame] | 27 | <xs:complexType> |
| 28 | <xs:sequence> |
| 29 | <xs:element ref="cl:dir" /> |
| 30 | <xs:element ref="cl:NFS" /> |
| 31 | </xs:sequence> |
| 32 | </xs:complexType> |
| 33 | </xs:element> |
ramangrover29 | f18d456 | 2013-02-15 23:56:00 +0000 | [diff] [blame] | 34 | |
ramangrover29 | fdfe15f | 2013-04-29 11:33:44 -0700 | [diff] [blame] | 35 | <xs:element name="master_node"> |
Raman Grover | 27a0c4c | 2013-04-16 17:29:40 -0700 | [diff] [blame] | 36 | <xs:complexType> |
| 37 | <xs:sequence> |
| 38 | <xs:element ref="cl:id" /> |
ramangrover29 | fdfe15f | 2013-04-29 11:33:44 -0700 | [diff] [blame] | 39 | <xs:element ref="cl:client_ip" /> |
| 40 | <xs:element ref="cl:cluster_ip" /> |
Raman Grover | 27a0c4c | 2013-04-16 17:29:40 -0700 | [diff] [blame] | 41 | <xs:element ref="cl:java_home" minOccurs="0" /> |
ramangrover29 | fdfe15f | 2013-04-29 11:33:44 -0700 | [diff] [blame] | 42 | <xs:element ref="cl:log_dir" minOccurs="0" /> |
ramangrover29 | fa0a578 | 2013-06-05 03:17:57 -0700 | [diff] [blame] | 43 | <xs:element ref="cl:client_port" /> |
| 44 | <xs:element ref="cl:cluster_port" /> |
| 45 | <xs:element ref="cl:http_port" /> |
Raman Grover | 27a0c4c | 2013-04-16 17:29:40 -0700 | [diff] [blame] | 46 | </xs:sequence> |
| 47 | </xs:complexType> |
| 48 | </xs:element> |
ramangrover29 | f18d456 | 2013-02-15 23:56:00 +0000 | [diff] [blame] | 49 | |
Raman Grover | 27a0c4c | 2013-04-16 17:29:40 -0700 | [diff] [blame] | 50 | <xs:element name="property"> |
| 51 | <xs:complexType> |
| 52 | <xs:sequence> |
| 53 | <xs:element ref="cl:key" /> |
| 54 | <xs:element ref="cl:value" /> |
| 55 | </xs:sequence> |
| 56 | </xs:complexType> |
| 57 | </xs:element> |
ramangrover29 | f18d456 | 2013-02-15 23:56:00 +0000 | [diff] [blame] | 58 | |
Raman Grover | 27a0c4c | 2013-04-16 17:29:40 -0700 | [diff] [blame] | 59 | <xs:element name="env"> |
| 60 | <xs:complexType> |
| 61 | <xs:sequence> |
| 62 | <xs:element ref="cl:property" minOccurs="0" maxOccurs="unbounded" /> |
| 63 | </xs:sequence> |
| 64 | </xs:complexType> |
| 65 | </xs:element> |
ramangrover29 | f18d456 | 2013-02-15 23:56:00 +0000 | [diff] [blame] | 66 | |
Raman Grover | 27a0c4c | 2013-04-16 17:29:40 -0700 | [diff] [blame] | 67 | <xs:element name="node"> |
| 68 | <xs:complexType> |
| 69 | <xs:sequence> |
| 70 | <xs:element ref="cl:id" /> |
ramangrover29 | fdfe15f | 2013-04-29 11:33:44 -0700 | [diff] [blame] | 71 | <xs:element ref="cl:cluster_ip" /> |
Raman Grover | 27a0c4c | 2013-04-16 17:29:40 -0700 | [diff] [blame] | 72 | <xs:element ref="cl:java_home" minOccurs="0" /> |
ramangrover29 | fdfe15f | 2013-04-29 11:33:44 -0700 | [diff] [blame] | 73 | <xs:element ref="cl:log_dir" minOccurs="0" /> |
| 74 | <xs:element ref="cl:txn_log_dir" minOccurs="0" /> |
Raman Grover | 27a0c4c | 2013-04-16 17:29:40 -0700 | [diff] [blame] | 75 | <xs:element ref="cl:store" minOccurs="0" /> |
| 76 | <xs:element ref="cl:iodevices" minOccurs="0" /> |
| 77 | </xs:sequence> |
| 78 | </xs:complexType> |
| 79 | </xs:element> |
ramangrover29 | f18d456 | 2013-02-15 23:56:00 +0000 | [diff] [blame] | 80 | |
Raman Grover | 27a0c4c | 2013-04-16 17:29:40 -0700 | [diff] [blame] | 81 | <xs:element name="cluster"> |
| 82 | <xs:complexType> |
| 83 | <xs:sequence> |
| 84 | <xs:element ref="cl:name" /> |
| 85 | <xs:element ref="cl:username" /> |
| 86 | <xs:element ref="cl:env" minOccurs="0" /> |
| 87 | <xs:element ref="cl:java_home" minOccurs="0" /> |
ramangrover29 | fdfe15f | 2013-04-29 11:33:44 -0700 | [diff] [blame] | 88 | <xs:element ref="cl:log_dir" minOccurs="0" /> |
| 89 | <xs:element ref="cl:txn_log_dir" minOccurs="0" /> |
Raman Grover | 27a0c4c | 2013-04-16 17:29:40 -0700 | [diff] [blame] | 90 | <xs:element ref="cl:store" minOccurs="0" /> |
| 91 | <xs:element ref="cl:iodevices" minOccurs="0" /> |
ramangrover29 | fdfe15f | 2013-04-29 11:33:44 -0700 | [diff] [blame] | 92 | <xs:element ref="cl:working_dir" /> |
| 93 | <xs:element ref="cl:master_node" /> |
Raman Grover | 27a0c4c | 2013-04-16 17:29:40 -0700 | [diff] [blame] | 94 | <xs:element ref="cl:node" maxOccurs="unbounded" /> |
| 95 | </xs:sequence> |
| 96 | </xs:complexType> |
| 97 | </xs:element> |
ramangrover29 | f18d456 | 2013-02-15 23:56:00 +0000 | [diff] [blame] | 98 | |
| 99 | </xs:schema> |