dfuserver.xsd 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ################################################################################
  4. # HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®.
  5. #
  6. # Licensed under the Apache License, Version 2.0 (the "License");
  7. # you may not use this file except in compliance with the License.
  8. # You may obtain a copy of the License at
  9. #
  10. # http://www.apache.org/licenses/LICENSE-2.0
  11. #
  12. # Unless required by applicable law or agreed to in writing, software
  13. # distributed under the License is distributed on an "AS IS" BASIS,
  14. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. # See the License for the specific language governing permissions and
  16. # limitations under the License.
  17. ################################################################################
  18. -->
  19. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
  20. <xs:include schemaLocation="environment.xsd"/>
  21. <xs:element name="DfuServerProcess">
  22. <xs:annotation>
  23. <xs:documentation>Describes a DFU server installation</xs:documentation>
  24. </xs:annotation>
  25. <xs:complexType>
  26. <!--DOC-Autobuild-code-->
  27. <xs:annotation>
  28. <xs:appinfo>
  29. <docid>DF.t1</docid>
  30. </xs:appinfo>
  31. </xs:annotation>
  32. <xs:sequence>
  33. <xs:element name="SSH">
  34. <xs:annotation>
  35. <xs:appinfo>
  36. <title>SSH Options</title>
  37. <tooltip>Options for using SSH remote execution</tooltip>
  38. </xs:appinfo>
  39. </xs:annotation>
  40. <xs:complexType>
  41. <!--DOC-Autobuild-code-->
  42. <xs:annotation>
  43. <xs:appinfo>
  44. <docid>DF.t2</docid>
  45. </xs:appinfo>
  46. </xs:annotation>
  47. <xs:attribute name="SSHidentityfile" type="xs:string" use="optional" default="$HOME/.ssh/id_rsa">
  48. <xs:annotation>
  49. <xs:appinfo>
  50. <tooltip>location of identity file (private key) on Thor master</tooltip>
  51. </xs:appinfo>
  52. </xs:annotation>
  53. </xs:attribute>
  54. <xs:attribute name="SSHusername" type="xs:string" use="optional" default="hpcc">
  55. <xs:annotation>
  56. <xs:appinfo>
  57. <tooltip>Username to use when running Thor slaves</tooltip>
  58. </xs:appinfo>
  59. </xs:annotation>
  60. </xs:attribute>
  61. <xs:attribute name="SSHpassword" type="xs:string" use="optional" default="">
  62. <xs:annotation>
  63. <xs:appinfo>
  64. <viewType>password</viewType>
  65. <tooltip>Fixed password - only required if no identity file present NB **insecure**</tooltip>
  66. </xs:appinfo>
  67. </xs:annotation>
  68. </xs:attribute>
  69. <xs:attribute name="SSHtimeout" type="xs:nonNegativeInteger" use="optional" default="0">
  70. <xs:annotation>
  71. <xs:appinfo>
  72. <tooltip>Timeout in seconds for SSH connects</tooltip>
  73. </xs:appinfo>
  74. </xs:annotation>
  75. </xs:attribute>
  76. <xs:attribute name="SSHretries" type="xs:nonNegativeInteger" use="optional" default="3">
  77. <xs:annotation>
  78. <xs:appinfo>
  79. <tooltip>Number of times to retry failed connect</tooltip>
  80. </xs:appinfo>
  81. </xs:annotation>
  82. </xs:attribute>
  83. </xs:complexType>
  84. </xs:element>
  85. <xs:element name="Instance" maxOccurs="unbounded">
  86. <xs:annotation>
  87. <xs:appinfo>
  88. <viewType>instance</viewType>
  89. </xs:appinfo>
  90. </xs:annotation>
  91. <xs:complexType>
  92. <xs:attribute name="computer" type="computerType" use="required">
  93. <xs:annotation>
  94. <xs:appinfo>
  95. <colIndex>1</colIndex>
  96. </xs:appinfo>
  97. </xs:annotation>
  98. </xs:attribute>
  99. <xs:attribute name="netAddress" type="xs:string" use="optional">
  100. <xs:annotation>
  101. <xs:appinfo>
  102. <viewType>readonly</viewType>
  103. <colIndex>2</colIndex>
  104. </xs:appinfo>
  105. </xs:annotation>
  106. </xs:attribute>
  107. <xs:attribute name="directory" type="absolutePath" use="optional">
  108. <xs:annotation>
  109. <xs:appinfo>
  110. <viewType>hidden</viewType>
  111. <colIndex>3</colIndex>
  112. </xs:appinfo>
  113. </xs:annotation>
  114. </xs:attribute>
  115. </xs:complexType>
  116. </xs:element>
  117. <xs:element name="Notes" maxOccurs="unbounded">
  118. <xs:annotation>
  119. <xs:appinfo>
  120. <viewChildNodes>true</viewChildNodes>
  121. </xs:appinfo>
  122. </xs:annotation>
  123. <xs:complexType>
  124. <xs:sequence>
  125. <xs:element name="Note" type="xs:string" minOccurs="0" maxOccurs="1"/>
  126. </xs:sequence>
  127. <xs:attribute name="severity" use="optional" default="Minor">
  128. <xs:annotation>
  129. <xs:appinfo>
  130. <tooltip>Significance of this note.</tooltip>
  131. <title>Severity</title>
  132. <colIndex>1</colIndex>
  133. </xs:appinfo>
  134. </xs:annotation>
  135. <xs:simpleType>
  136. <xs:restriction base="xs:string">
  137. <xs:enumeration value="Minor"/>
  138. <xs:enumeration value="Normal"/>
  139. <xs:enumeration value="Critical"/>
  140. </xs:restriction>
  141. </xs:simpleType>
  142. </xs:attribute>
  143. <xs:attribute name="date" type="AutoTimeStampType" use="optional">
  144. <xs:annotation>
  145. <xs:appinfo>
  146. <title>Date / Time</title>
  147. <tooltip>Date and time this note was entered</tooltip>
  148. <viewType>readonly</viewType>
  149. <width>120</width>
  150. <colIndex>2</colIndex>
  151. </xs:appinfo>
  152. </xs:annotation>
  153. </xs:attribute>
  154. <xs:attribute name="computer" type="AutoComputerType" use="optional">
  155. <xs:annotation>
  156. <xs:appinfo>
  157. <title>Computer</title>
  158. <tooltip>Computer from which this note was entered</tooltip>
  159. <viewType>readonly</viewType>
  160. <colIndex>3</colIndex>
  161. </xs:appinfo>
  162. </xs:annotation>
  163. </xs:attribute>
  164. <xs:attribute name="user" type="AutoUseridType" use="optional">
  165. <xs:annotation>
  166. <xs:appinfo>
  167. <title>User</title>
  168. <tooltip>User account from which this note was entered</tooltip>
  169. <viewType>readonly</viewType>
  170. <colIndex>4</colIndex>
  171. </xs:appinfo>
  172. </xs:annotation>
  173. </xs:attribute>
  174. </xs:complexType>
  175. </xs:element>
  176. </xs:sequence>
  177. <xs:attribute name="build" type="buildType" use="required">
  178. <xs:annotation>
  179. <xs:appinfo>
  180. <tooltip>The build name to be deployed</tooltip>
  181. <viewType>hidden</viewType>
  182. </xs:appinfo>
  183. </xs:annotation>
  184. </xs:attribute>
  185. <xs:attribute name="buildSet" type="buildSetType" use="required">
  186. <xs:annotation>
  187. <xs:appinfo>
  188. <viewType>hidden</viewType>
  189. </xs:appinfo>
  190. </xs:annotation>
  191. </xs:attribute>
  192. <xs:attribute name="name" type="xs:string" use="optional" default="dfuserver">
  193. <xs:annotation>
  194. <xs:appinfo>
  195. <tooltip>Name for this process</tooltip>
  196. <required>true</required>
  197. </xs:appinfo>
  198. </xs:annotation>
  199. </xs:attribute>
  200. <xs:attribute name="description" type="xs:string" use="optional" default="DFU Server">
  201. <xs:annotation>
  202. <xs:appinfo>
  203. <tooltip>Description for this process</tooltip>
  204. </xs:appinfo>
  205. </xs:annotation>
  206. </xs:attribute>
  207. <xs:attribute name="daliServers" type="daliServersType" use="required">
  208. <xs:annotation>
  209. <xs:appinfo>
  210. <autogenforwizard>1</autogenforwizard>
  211. <tooltip>Specifies the dali server to which this DFU server is attached.</tooltip>
  212. </xs:appinfo>
  213. </xs:annotation>
  214. </xs:attribute>
  215. <xs:attribute name="queue" type="xs:string" use="optional" default="dfuserver_queue">
  216. <xs:annotation>
  217. <xs:appinfo>
  218. <tooltip>Specifies the queue name to send DFU Server jobs to.</tooltip>
  219. <required>true</required>
  220. </xs:appinfo>
  221. </xs:annotation>
  222. </xs:attribute>
  223. <xs:attribute name="monitorqueue" type="xs:string" use="optional" default="dfuserver_monitor_queue">
  224. <xs:annotation>
  225. <xs:appinfo>
  226. <tooltip>Specifies the queue name to send DFU monitoring jobs to.</tooltip>
  227. <required>true</required>
  228. </xs:appinfo>
  229. </xs:annotation>
  230. </xs:attribute>
  231. <xs:attribute name="monitorinterval" type="xs:nonNegativeInteger" use="optional" default="900">
  232. <xs:annotation>
  233. <xs:appinfo>
  234. <tooltip>Specifies the polling interval for DFU monitoring (in seconds).</tooltip>
  235. </xs:appinfo>
  236. </xs:annotation>
  237. </xs:attribute>
  238. <xs:attribute name="transferBufferSize" type="xs:nonNegativeInteger" use="optional" default="1048576">
  239. <xs:annotation>
  240. <xs:appinfo>
  241. <tooltip>Default buffer size used when transferring data.</tooltip>
  242. </xs:appinfo>
  243. </xs:annotation>
  244. </xs:attribute>
  245. </xs:complexType>
  246. </xs:element>
  247. </xs:schema>