PageRenderTime 46ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/product/dialogs/miq_dialogs/miq_provision_redhat_dialogs_clone_to_template.yaml

https://gitlab.com/unofficial-mirrors/manageiq
YAML | 332 lines | 332 code | 0 blank | 0 comment | 0 complexity | e0c64de6d59fd8f2ed1232e6b2d1ccf0 MD5 | raw file
  1. ---
  2. :name: miq_provision_redhat_dialogs_clone_to_template
  3. :description: Sample RedHat VM Clone to Template Dialog
  4. :dialog_type: MiqProvisionWorkflow
  5. :content:
  6. :buttons:
  7. - :submit
  8. - :cancel
  9. :dialogs:
  10. :requester:
  11. :description: Request
  12. :fields:
  13. :owner_phone:
  14. :description: Phone
  15. :required: false
  16. :display: :hide
  17. :data_type: :string
  18. :owner_country:
  19. :description: Country/Region
  20. :required: false
  21. :display: :hide
  22. :data_type: :string
  23. :owner_phone_mobile:
  24. :description: Mobile
  25. :required: false
  26. :display: :hide
  27. :data_type: :string
  28. :owner_title:
  29. :description: Title
  30. :required: false
  31. :display: :hide
  32. :data_type: :string
  33. :owner_first_name:
  34. :description: First Name
  35. :required: false
  36. :display: :edit
  37. :data_type: :string
  38. :owner_manager:
  39. :description: Name
  40. :required: false
  41. :display: :edit
  42. :data_type: :string
  43. :owner_address:
  44. :description: Address
  45. :required: false
  46. :display: :hide
  47. :data_type: :string
  48. :owner_company:
  49. :description: Company
  50. :required: false
  51. :display: :hide
  52. :data_type: :string
  53. :owner_last_name:
  54. :description: Last Name
  55. :required: false
  56. :display: :edit
  57. :data_type: :string
  58. :owner_manager_mail:
  59. :description: E-Mail
  60. :required: false
  61. :display: :hide
  62. :data_type: :string
  63. :owner_city:
  64. :description: City
  65. :required: false
  66. :display: :hide
  67. :data_type: :string
  68. :owner_department:
  69. :description: Department
  70. :required: false
  71. :display: :hide
  72. :data_type: :string
  73. :owner_load_ldap:
  74. :pressed:
  75. :method: :retrieve_ldap
  76. :description: Look Up LDAP Email
  77. :required: false
  78. :display: :show
  79. :data_type: :button
  80. :owner_manager_phone:
  81. :description: Phone
  82. :required: false
  83. :display: :hide
  84. :data_type: :string
  85. :owner_state:
  86. :description: State
  87. :required: false
  88. :display: :hide
  89. :data_type: :string
  90. :owner_office:
  91. :description: Office
  92. :required: false
  93. :display: :hide
  94. :data_type: :string
  95. :owner_zip:
  96. :description: Zip code
  97. :required: false
  98. :display: :hide
  99. :data_type: :string
  100. :owner_email:
  101. :description: E-Mail
  102. :required_method: :validate_regex
  103. :required_regex: !ruby/regexp /\A[\w!#$\%&'*+\/=?`\{|\}~^-]+(?:\.[\w!#$\%&'*+\/=?`\{|\}~^-]+)*@(?:[A-Z0-9-]+\.)+[A-Z]{2,6}\Z/i
  104. :required: true
  105. :display: :edit
  106. :data_type: :string
  107. :request_notes:
  108. :description: Notes
  109. :required: false
  110. :display: :edit
  111. :data_type: :string
  112. :display: :show
  113. :field_order:
  114. :purpose:
  115. :description: Purpose
  116. :fields:
  117. :vm_tags:
  118. :required_method: :validate_tags
  119. :description: Tags
  120. :required: false
  121. :options:
  122. :include: []
  123. :order: []
  124. :single_select: []
  125. :exclude: []
  126. :display: :edit
  127. :required_tags: []
  128. :data_type: :integer
  129. :display: :show
  130. :field_order:
  131. :environment:
  132. :description: Environment
  133. :fields:
  134. :placement_cluster_name:
  135. :values_from:
  136. :method: :allowed_clusters
  137. :auto_select_single: true
  138. :description: Name
  139. :required: true
  140. :display: :show
  141. :data_type: :integer
  142. :cluster_filter:
  143. :values_from:
  144. :options:
  145. :category: :EmsCluster
  146. :method: :allowed_filters
  147. :auto_select_single: false
  148. :description: Filter
  149. :required: false
  150. :display: :edit
  151. :data_type: :integer
  152. :placement_auto:
  153. :values:
  154. false: 0
  155. true: 1
  156. :description: Choose Automatically
  157. :required: false
  158. :display: :edit
  159. :default: false
  160. :data_type: :boolean
  161. :placement_ds_name:
  162. :values_from:
  163. :method: :allowed_storages
  164. :auto_select_single: false
  165. :description: Name
  166. :required: true
  167. :display: :edit
  168. :data_type: :integer
  169. :required_description: Datastore Name
  170. :display: :show
  171. :service:
  172. :description: Catalog
  173. :fields:
  174. :number_of_vms:
  175. :values_from:
  176. :options:
  177. :max: 1
  178. :method: :allowed_number_of_vms
  179. :description: Count
  180. :required: false
  181. :display: :hide
  182. :default: 1
  183. :data_type: :integer
  184. :vm_description:
  185. :description: Template Description
  186. :required: false
  187. :display: :edit
  188. :data_type: :string
  189. :min_length:
  190. :max_length: 255
  191. :vm_prefix:
  192. :description: VM Name Prefix/Suffix
  193. :required_method: :validate_vm_name
  194. :required: false
  195. :display: :hide
  196. :data_type: :string
  197. :src_vm_id:
  198. :values_from:
  199. :options:
  200. :tag_filters: []
  201. :method: :allowed_templates
  202. :description: Name
  203. :required: true
  204. :notes:
  205. :display: :edit
  206. :data_type: :integer
  207. :notes_display: :show
  208. :provision_type:
  209. :values_from:
  210. :method: :allowed_provision_types
  211. :description: Provision Type
  212. :required: false
  213. :display: :hide
  214. :data_type: :string
  215. :linked_clone:
  216. :values:
  217. false: 0
  218. true: 1
  219. :description: Linked Clone
  220. :required: false
  221. :display: :edit
  222. :default: false
  223. :data_type: :boolean
  224. :seal_template:
  225. :description: Seal Template
  226. :notes: (Linux only)
  227. :validation_method: :validate_seal_template
  228. :values:
  229. false: 0
  230. true: 1
  231. :required: false
  232. :display: :edit
  233. :default: false
  234. :data_type: :boolean
  235. :vm_name:
  236. :description: Template Name
  237. :required_method: :validate_vm_name
  238. :required: true
  239. :notes:
  240. :display: :edit
  241. :data_type: :string
  242. :notes_display: :show
  243. :min_length:
  244. :max_length: 255
  245. :pxe_image_id:
  246. :values_from:
  247. :method: :allowed_images
  248. :auto_select_single: false
  249. :description: Image
  250. :required: false
  251. :display: :hide
  252. :data_type: :string
  253. :iso_image_id:
  254. :values_from:
  255. :method: :allowed_iso_images
  256. :auto_select_single: false
  257. :description: Image
  258. :required: false
  259. :display: :hide
  260. :data_type: :string
  261. :pxe_server_id:
  262. :values_from:
  263. :method: :allowed_pxe_servers
  264. :auto_select_single: false
  265. :description: Server
  266. :required: false
  267. :display: :hide
  268. :data_type: :integer
  269. :display: :show
  270. :schedule:
  271. :description: Schedule
  272. :fields:
  273. :schedule_type:
  274. :values:
  275. schedule: Schedule
  276. immediately: Immediately on Approval
  277. :description: When to Provision
  278. :required: false
  279. :display: :edit
  280. :default: immediately
  281. :data_type: :string
  282. :vm_auto_start:
  283. :values:
  284. false: 0
  285. true: 1
  286. :description: Power on virtual machines after creation
  287. :required: false
  288. :display: :hide
  289. :default: false
  290. :data_type: :boolean
  291. :schedule_time:
  292. :values_from:
  293. :options:
  294. :offset: 1.day
  295. :method: :default_schedule_time
  296. :description: Provision on
  297. :required: false
  298. :display: :edit
  299. :data_type: :time
  300. :retirement:
  301. :values:
  302. 0: Indefinite
  303. 1.month: 1 Month
  304. 3.months: 3 Months
  305. 6.months: 6 Months
  306. :description: Time until Retirement
  307. :required: false
  308. :display: :edit
  309. :default: 0
  310. :data_type: :integer
  311. :retirement_warn:
  312. :values_from:
  313. :options:
  314. :values:
  315. 1.week: 1 Week
  316. 2.weeks: 2 Weeks
  317. 30.days: 30 Days
  318. :include_equals: false
  319. :field: :retirement
  320. :method: :values_less_then
  321. :description: Retirement Warning
  322. :required: true
  323. :display: :edit
  324. :default: 1.week
  325. :data_type: :integer
  326. :display: :show
  327. :dialog_order:
  328. - :requester
  329. - :purpose
  330. - :service
  331. - :environment
  332. - :schedule