Fuel plugin that enables to configure multiple Cinder backend support for Kaminario K2 All-Flash Array
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

environment_config.yaml 36KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078
  1. attributes:
  2. metadata:
  3. group: 'storage'
  4. restrictions:
  5. - condition: "cluster:status == 'operational'"
  6. action: "none"
  7. message: |
  8. WARNING: Make changes carefully for deployed plugin.
  9. Lifecycle management is in EXPERIMENTAL mode.
  10. INFO: HOT PLUG is fully supported.
  11. storage_protocol_0:
  12. type: "radio"
  13. weight: 10
  14. value: "FC"
  15. label: "Kaminario Storage Protocol"
  16. values:
  17. - data: "ISCSI"
  18. label: "ISCSI"
  19. - data: "FC"
  20. label: "Fiber Channel"
  21. cinder_node_0:
  22. value: ""
  23. label: 'Cinder Node'
  24. description: 'Name of the cinder node in which the backend must be configured'
  25. weight: 15
  26. type: "text"
  27. backend_name_0:
  28. value: ""
  29. label: 'Backend Name'
  30. description: 'Name of the Backend'
  31. weight: 20
  32. type: "text"
  33. storage_ip_0:
  34. value: ""
  35. label: 'Kaminario Storage Hostname/IP'
  36. description: 'IP address of Kaminario Storage Array'
  37. weight: 20
  38. type: "text"
  39. regex:
  40. source: '^\w[\w\-\s.]+$'
  41. error: 'Invalid IP ranges'
  42. storage_user_0:
  43. value: ""
  44. label: 'Username'
  45. description: 'user name of Kaminario Storage Array'
  46. weight: 25
  47. type: "text"
  48. regex:
  49. source: '\S'
  50. error: "Username field cannot be empty"
  51. storage_password_0:
  52. value: ""
  53. label: 'Password'
  54. description: 'password of Kaminario Storage Array'
  55. weight: 30
  56. type: "password"
  57. add_backend_0:
  58. value: true
  59. label: 'Add a new kaminario backend or new kaminario Array'
  60. description: 'Add a new kaminario backend or scale an existing backend'
  61. weight: 35
  62. type: 'checkbox'
  63. restrictions:
  64. - condition: "settings:cinder_kaminario.add_backend_0.value == true"
  65. action: 'hide'
  66. enable_replication_0:
  67. value: false
  68. label: 'Enable Replication'
  69. description: Enable replication for Kaminario Array
  70. weight: 40
  71. type: 'checkbox'
  72. replication_ip_0:
  73. value: ""
  74. label: 'Ipaddress'
  75. description: 'Ipaddress of Kaminario replication array'
  76. weight: 45
  77. type: "text"
  78. restrictions:
  79. - condition: "settings:cinder_kaminario.enable_replication_0.value == false"
  80. action: 'hide'
  81. regex:
  82. source: '^\w[\w\-\s.]+$'
  83. error: 'Invalid IP ranges'
  84. replication_login_0:
  85. value: ""
  86. label: 'Username'
  87. description: 'user name of Kaminario replication device'
  88. weight: 50
  89. type: "text"
  90. restrictions:
  91. - condition: "settings:cinder_kaminario.enable_replication_0.value == false"
  92. action: 'hide'
  93. replication_password_0:
  94. value: ""
  95. label: 'Password'
  96. description: 'password of Kaminario replication device'
  97. weight: 55
  98. type: "password"
  99. restrictions:
  100. - condition: "settings:cinder_kaminario.enable_replication_0.value == false"
  101. action: 'hide'
  102. replication_rpo_0:
  103. value: ""
  104. label: 'RPO'
  105. description: 'Value (in seconds) should be either 1 minute or multiple of 5 minutes'
  106. weight: 60
  107. type: "text"
  108. restrictions:
  109. - condition: "settings:cinder_kaminario.enable_replication_0.value == false"
  110. action: 'hide'
  111. regex:
  112. source: '^\d+$'
  113. error: "You must provide a number"
  114. create_type_0:
  115. value: false
  116. label: 'Create Volume Type'
  117. description: 'Create volume type for the backend'
  118. weight: 65
  119. type: 'checkbox'
  120. type_name_0:
  121. value: ""
  122. label: 'Volume Type Name'
  123. description: 'Name of the volume type'
  124. weight: 70
  125. type: "text"
  126. restrictions:
  127. - condition: "settings:cinder_kaminario.create_type_0.value == false"
  128. action: 'hide'
  129. options_0:
  130. type: "radio"
  131. weight: 75
  132. value: ""
  133. label: "Advance options for volume type"
  134. values:
  135. - data: "enable_replication_type"
  136. label: "Enable Replication"
  137. - data: "enable_dedup"
  138. label: "Enable Deduplication"
  139. - data: "replication_dedup"
  140. label: "Enable both Replication and Deduplication"
  141. restrictions:
  142. - condition: "settings:cinder_kaminario.create_type_0.value == false"
  143. action: 'hide'
  144. default_type_0:
  145. value: false
  146. label: 'Default Type'
  147. description: 'Make this type as default'
  148. weight: 80
  149. type: 'checkbox'
  150. restrictions:
  151. - condition: "settings:cinder_kaminario.create_type_0.value == false or (settings:cinder_kaminario.default_type_0.value == false or settings:cinder_kaminario.default_type_1.value == false or settings:cinder_kaminario.default_type_2.value == false or settings:cinder_kaminario.default_type_3.value == false or settings:cinder_kaminario.default_type_4.value == false or settings:cinder_kaminario.default_type_5.value == false)"
  152. action: 'hide'
  153. add_backend_1:
  154. value: false
  155. label: 'Add a new kaminario backend or scale an existing backend'
  156. description: 'Add a new kaminario backend or scale an existing backend'
  157. weight: 90
  158. type: 'checkbox'
  159. storage_protocol_1:
  160. type: "radio"
  161. weight: 95
  162. value: "FC"
  163. label: "Kaminario Storage Protocol"
  164. values:
  165. - data: "ISCSI"
  166. label: "ISCSI"
  167. - data: "FC"
  168. label: "Fiber Channel"
  169. restrictions:
  170. - condition: "settings:cinder_kaminario.add_backend_1.value != true"
  171. action: 'hide'
  172. cinder_node_1:
  173. value: ""
  174. label: 'Cinder Node'
  175. description: 'Name of the cinder node in which the backend must be configured'
  176. weight: 100
  177. type: "text"
  178. restrictions:
  179. - condition: "settings:cinder_kaminario.add_backend_1.value != true"
  180. action: 'hide'
  181. backend_name_1:
  182. value: ""
  183. label: 'Backend Name'
  184. description: 'Name of the Backend'
  185. weight: 105
  186. type: "text"
  187. restrictions:
  188. - condition: "settings:cinder_kaminario.add_backend_1.value != true"
  189. action: 'hide'
  190. storage_ip_1:
  191. value: ""
  192. label: 'Kaminario Storage Hostname/IP'
  193. description: 'IP address of Kaminario Storage Array'
  194. weight: 110
  195. type: "text"
  196. restrictions:
  197. - condition: "settings:cinder_kaminario.add_backend_1.value != true"
  198. action: 'hide'
  199. regex:
  200. source: '^\w[\w\-\s.]+$'
  201. error: 'Invalid IP ranges'
  202. storage_user_1:
  203. value: ""
  204. label: 'Username'
  205. description: 'user name of Kaminario Storage Array'
  206. weight: 115
  207. type: "text"
  208. regex:
  209. source: '\S'
  210. error: "Username field cannot be empty"
  211. restrictions:
  212. - condition: "settings:cinder_kaminario.add_backend_1.value != true"
  213. action: 'hide'
  214. storage_password_1:
  215. value: ""
  216. label: 'Password'
  217. description: 'password of Kaminario Storage Array'
  218. weight: 120
  219. type: "password"
  220. restrictions:
  221. - condition: "settings:cinder_kaminario.add_backend_1.value != true"
  222. action: 'hide'
  223. enable_replication_1:
  224. value: false
  225. label: 'Enable Replication'
  226. description: Enable replication for Kaminario Array
  227. weight: 125
  228. type: 'checkbox'
  229. restrictions:
  230. - condition: "settings:cinder_kaminario.add_backend_1.value != true"
  231. action: 'hide'
  232. replication_ip_1:
  233. value: ""
  234. label: 'Ipaddress'
  235. description: 'Ipaddress of Kaminario replication array'
  236. weight: 130
  237. type: "text"
  238. restrictions:
  239. - condition: "settings:cinder_kaminario.enable_replication_1.value == false"
  240. action: 'hide'
  241. regex:
  242. source: '^\w[\w\-\s.]+$'
  243. error: 'Invalid IP ranges'
  244. replication_login_1:
  245. value: ""
  246. label: 'Username'
  247. description: 'user name of Kaminario replication device'
  248. weight: 135
  249. type: "text"
  250. restrictions:
  251. - condition: "settings:cinder_kaminario.enable_replication_1.value == false"
  252. action: 'hide'
  253. replication_password_1:
  254. value: ""
  255. label: 'Password'
  256. description: 'password of Kaminario replication device'
  257. weight: 140
  258. type: "password"
  259. restrictions:
  260. - condition: "settings:cinder_kaminario.enable_replication_1.value == false"
  261. action: 'hide'
  262. replication_rpo_1:
  263. value: ""
  264. label: 'RPO'
  265. description: 'Value (in seconds) should be either 1 minute or multiple of 5 minutes'
  266. weight: 145
  267. type: "text"
  268. restrictions:
  269. - condition: "settings:cinder_kaminario.enable_replication_1.value == false"
  270. action: 'hide'
  271. regex:
  272. source: '^\d+$'
  273. error: "You must provide a number"
  274. create_type_1:
  275. value: false
  276. label: 'Create Volume Type'
  277. description: 'Create volume type for the backend'
  278. weight: 150
  279. type: 'checkbox'
  280. restrictions:
  281. - condition: "settings:cinder_kaminario.add_backend_1.value != true"
  282. action: 'hide'
  283. type_name_1:
  284. value: ""
  285. label: 'Volume Type Name'
  286. description: 'Name of the volume type'
  287. weight: 155
  288. type: "text"
  289. restrictions:
  290. - condition: "settings:cinder_kaminario.create_type_1.value == false"
  291. action: 'hide'
  292. options_1:
  293. type: "radio"
  294. weight: 160
  295. value: ""
  296. label: "Advance options for volume type"
  297. values:
  298. - data: "enable_replication_type"
  299. label: "Enable Replication"
  300. - data: "enable_dedup"
  301. label: "Enable Deduplication"
  302. - data: "replication_dedup"
  303. label: "Enable both Replication and Deduplication"
  304. restrictions:
  305. - condition: "settings:cinder_kaminario.create_type_1.value == false"
  306. action: 'hide'
  307. default_type_1:
  308. value: false
  309. label: 'Default Type'
  310. description: 'Make this type as default'
  311. weight: 165
  312. type: 'checkbox'
  313. restrictions:
  314. - condition: "settings:cinder_kaminario.create_type_1.value == false or (settings:cinder_kaminario.default_type_0.value == false or settings:cinder_kaminario.default_type_1.value == false or settings:cinder_kaminario.default_type_2.value == false or settings:cinder_kaminario.default_type_3.value == false or settings:cinder_kaminario.default_type_4.value == false or settings:cinder_kaminario.default_type_5.value == false)"
  315. action: 'hide'
  316. add_backend_2:
  317. value: false
  318. label: 'Add a new kaminario backend or scale an existing backend'
  319. description: 'Add a new kaminario backend or scale an existing backend'
  320. weight: 175
  321. type: 'checkbox'
  322. restrictions:
  323. - condition: "settings:cinder_kaminario.add_backend_1.value != true"
  324. action: 'hide'
  325. storage_protocol_2:
  326. type: "radio"
  327. weight: 180
  328. value: "FC"
  329. label: "Kaminario Storage Protocol"
  330. values:
  331. - data: "ISCSI"
  332. label: "ISCSI"
  333. - data: "FC"
  334. label: "Fiber Channel"
  335. restrictions:
  336. - condition: "settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
  337. action: 'hide'
  338. cinder_node_2:
  339. value: ""
  340. label: 'Cinder Node'
  341. description: 'Name of the cinder node in which the backend must be configured'
  342. weight: 185
  343. type: "text"
  344. restrictions:
  345. - condition: "settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true "
  346. action: 'hide'
  347. backend_name_2:
  348. value: ""
  349. label: 'Backend Name'
  350. description: 'Name of the Backend'
  351. weight: 190
  352. type: "text"
  353. restrictions:
  354. - condition: "settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
  355. action: 'hide'
  356. storage_ip_2:
  357. value: ""
  358. label: 'Kaminario Storage Hostname/IP'
  359. description: 'IP address of Kaminario Storage Array'
  360. weight: 195
  361. type: "text"
  362. restrictions:
  363. - condition: "settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
  364. action: 'hide'
  365. regex:
  366. source: '^\w[\w\-\s.]+$'
  367. error: 'Invalid IP ranges'
  368. storage_user_2:
  369. value: ""
  370. label: 'Username'
  371. description: 'user name of Kaminario Storage Array'
  372. weight: 200
  373. type: "text"
  374. regex:
  375. source: '\S'
  376. error: "Username field cannot be empty"
  377. restrictions:
  378. - condition: "settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
  379. action: 'hide'
  380. storage_password_2:
  381. value: ""
  382. label: 'Password'
  383. description: 'password of Kaminario Storage Array'
  384. weight: 205
  385. type: "password"
  386. restrictions:
  387. - condition: "settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
  388. action: 'hide'
  389. enable_replication_2:
  390. value: false
  391. label: 'Enable Replication'
  392. description: 'Enable replication for Kaminario Array'
  393. weight: 210
  394. type: 'checkbox'
  395. restrictions:
  396. - condition: "settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
  397. action: 'hide'
  398. replication_ip_2:
  399. value: ""
  400. label: 'Ipaddress'
  401. description: 'Ipaddress of Kaminario replication array'
  402. weight: 215
  403. type: "text"
  404. restrictions:
  405. - condition: "settings:cinder_kaminario.enable_replication_2.value == false"
  406. action: 'hide'
  407. regex:
  408. source: '^\w[\w\-\s.]+$'
  409. error: 'Invalid IP ranges'
  410. replication_login_2:
  411. value: ""
  412. label: 'Username'
  413. description: 'user name of Kaminario replication device'
  414. weight: 220
  415. type: "text"
  416. restrictions:
  417. - condition: "settings:cinder_kaminario.enable_replication_2.value == false"
  418. action: 'hide'
  419. replication_password_2:
  420. value: ""
  421. label: 'Password'
  422. description: 'password of Kaminario replication device'
  423. weight: 225
  424. type: "password"
  425. restrictions:
  426. - condition: "settings:cinder_kaminario.enable_replication_2.value == false"
  427. action: 'hide'
  428. replication_rpo_2:
  429. value: ""
  430. label: 'RPO'
  431. description: 'Value (in seconds) should be either 1 minute or multiple of 5 minutes'
  432. weight: 230
  433. type: "text"
  434. restrictions:
  435. - condition: "settings:cinder_kaminario.enable_replication_2.value == false"
  436. action: 'hide'
  437. regex:
  438. source: '^\d+$'
  439. error: "You must provide a number"
  440. create_type_2:
  441. value: false
  442. label: 'Create Volume Type'
  443. description: 'Create volume type for the backend'
  444. weight: 235
  445. type: 'checkbox'
  446. restrictions:
  447. - condition: "settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
  448. action: 'hide'
  449. type_name_2:
  450. value: ""
  451. label: 'Volume Type Name'
  452. description: 'Name of the volume type'
  453. weight: 240
  454. type: "text"
  455. restrictions:
  456. - condition: "settings:cinder_kaminario.create_type_2.value == false"
  457. action: 'hide'
  458. options_2:
  459. type: "radio"
  460. weight: 245
  461. value: ""
  462. label: "Advance options for volume type"
  463. values:
  464. - data: "enable_replication_type"
  465. label: "Enable Replication"
  466. - data: "enable_dedup"
  467. label: "Enable Deduplication"
  468. - data: "replication_dedup"
  469. label: "Enable both Replication and Deduplication"
  470. restrictions:
  471. - condition: "settings:cinder_kaminario.create_type_2.value == false"
  472. action: 'hide'
  473. default_type_2:
  474. value: false
  475. label: 'Default_type'
  476. description: 'Make this type as default'
  477. weight: 250
  478. type: 'checkbox'
  479. restrictions:
  480. - condition: "settings:cinder_kaminario.create_type_2.value == false or (settings:cinder_kaminario.default_type_0.value == false or settings:cinder_kaminario.default_type_1.value == false or settings:cinder_kaminario.default_type_2.value == false or settings:cinder_kaminario.default_type_3.value == false or settings:cinder_kaminario.default_type_4.value == false or settings:cinder_kaminario.default_type_5.value == false)"
  481. action: 'hide'
  482. add_backend_3:
  483. value: false
  484. label: 'Add a new kaminario backend or scale an existing backend'
  485. description: 'Add a new kaminario backend or scale an existing backend'
  486. weight: 265
  487. type: 'checkbox'
  488. restrictions:
  489. - condition: "settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
  490. action: 'hide'
  491. storage_protocol_3:
  492. type: "radio"
  493. weight: 270
  494. value: "FC"
  495. label: "Kaminario Storage Protocol"
  496. values:
  497. - data: "ISCSI"
  498. label: "ISCSI"
  499. - data: "FC"
  500. label: "Fiber Channel"
  501. restrictions:
  502. - condition: "settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
  503. action: 'hide'
  504. cinder_node_3:
  505. value: ""
  506. label: 'Cinder Node'
  507. description: 'Name of the cinder node in which the backend must be configured'
  508. weight: 275
  509. type: "text"
  510. restrictions:
  511. - condition: "settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
  512. action: 'hide'
  513. backend_name_3:
  514. value: ""
  515. label: 'Backend Name'
  516. description: 'Name of the Backend'
  517. weight: 280
  518. type: "text"
  519. restrictions:
  520. - condition: "settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
  521. action: 'hide'
  522. storage_ip_3:
  523. value: ""
  524. label: 'Kaminario Storage Hostname/IP'
  525. description: 'IP address of Kaminario Storage Array'
  526. weight: 285
  527. type: "text"
  528. restrictions:
  529. - condition: "settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
  530. action: 'hide'
  531. regex:
  532. source: '^\w[\w\-\s.]+$'
  533. error: 'Invalid IP ranges'
  534. storage_user_3:
  535. value: ""
  536. label: 'Username'
  537. description: 'user name of Kaminario Storage Array'
  538. weight: 290
  539. type: "text"
  540. regex:
  541. source: '\S'
  542. error: "Username field cannot be empty"
  543. restrictions:
  544. - condition: "settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
  545. action: 'hide'
  546. storage_password_3:
  547. value: ""
  548. label: 'Password'
  549. description: 'password of Kaminario Storage Array'
  550. weight: 295
  551. type: "password"
  552. restrictions:
  553. - condition: "settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
  554. action: 'hide'
  555. enable_replication_3:
  556. value: false
  557. label: 'Enable Replication'
  558. description: Enable replication for Kaminario Array
  559. weight: 300
  560. type: 'checkbox'
  561. restrictions:
  562. - condition: "settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
  563. action: 'hide'
  564. replication_ip_3:
  565. value: ""
  566. label: 'Ipaddress'
  567. description: 'Ipaddress of Kaminario replication array'
  568. weight: 305
  569. type: "text"
  570. restrictions:
  571. - condition: "settings:cinder_kaminario.enable_replication_3.value == false"
  572. action: 'hide'
  573. regex:
  574. source: '^\w[\w\-\s.]+$'
  575. error: 'Invalid IP ranges'
  576. replication_login_3:
  577. value: ""
  578. label: 'Username'
  579. description: 'user name of Kaminario replication device'
  580. weight: 310
  581. type: "text"
  582. restrictions:
  583. - condition: "settings:cinder_kaminario.enable_replication_3.value == false"
  584. action: 'hide'
  585. replication_password_3:
  586. value: ""
  587. label: 'Password'
  588. description: 'password of Kaminario replication device'
  589. weight: 315
  590. type: "password"
  591. restrictions:
  592. - condition: "settings:cinder_kaminario.enable_replication_3.value == false"
  593. action: 'hide'
  594. replication_rpo_3:
  595. value: ""
  596. label: 'RPO'
  597. description: 'Value (in seconds) should be either 1 minute or multiple of 5 minutes'
  598. weight: 320
  599. type: "text"
  600. restrictions:
  601. - condition: "settings:cinder_kaminario.enable_replication_3.value == false"
  602. action: 'hide'
  603. regex:
  604. source: '^\d+$'
  605. error: "You must provide a number"
  606. create_type_3:
  607. value: false
  608. label: 'Create Volume Type'
  609. description: 'Create volume type for the backend'
  610. weight: 321
  611. type: 'checkbox'
  612. restrictions:
  613. - condition: "settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
  614. action: 'hide'
  615. type_name_3:
  616. value: ""
  617. label: 'Volume Type Name'
  618. description: 'Name of the volume type'
  619. weight: 325
  620. type: "text"
  621. restrictions:
  622. - condition: "settings:cinder_kaminario.create_type_3.value == false"
  623. action: 'hide'
  624. options_3:
  625. type: "radio"
  626. weight: 330
  627. value: ""
  628. label: "Advance options for volume type"
  629. values:
  630. - data: "enable_replication_type"
  631. label: "Enable Replication"
  632. - data: "enable_dedup"
  633. label: "Enable Deduplication"
  634. - data: "replication_dedup"
  635. label: "Enable both Replication and Deduplication"
  636. restrictions:
  637. - condition: "settings:cinder_kaminario.create_type_3.value == false"
  638. action: 'hide'
  639. default_type_3:
  640. value: false
  641. label: 'Default_type'
  642. description: 'Make this type as default'
  643. weight: 335
  644. type: 'checkbox'
  645. restrictions:
  646. - condition: "settings:cinder_kaminario.create_type_3.value == false or (settings:cinder_kaminario.default_type_0.value == false or settings:cinder_kaminario.default_type_1.value == false or settings:cinder_kaminario.default_type_2.value == false or settings:cinder_kaminario.default_type_3.value == false or settings:cinder_kaminario.default_type_4.value == false or settings:cinder_kaminario.default_type_5.value == false)"
  647. action: 'hide'
  648. add_backend_4:
  649. value: false
  650. label: 'Add a new kaminario backend or scale an existing backend'
  651. description: 'Add a new kaminario backend or scale an existing backend'
  652. weight: 345
  653. type: 'checkbox'
  654. restrictions:
  655. - condition: "settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
  656. action: 'hide'
  657. storage_protocol_4:
  658. type: "radio"
  659. weight: 350
  660. value: "FC"
  661. label: "Kaminario Storage Protocol"
  662. values:
  663. - data: "ISCSI"
  664. label: "ISCSI"
  665. - data: "FC"
  666. label: "Fiber Channel"
  667. restrictions:
  668. - condition: "settings:cinder_kaminario.add_backend_4.value != true or settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
  669. action: 'hide'
  670. cinder_node_4:
  671. value: ""
  672. label: 'Cinder Node'
  673. description: 'Name of the cinder node in which the backend must be configured'
  674. weight: 355
  675. type: "text"
  676. restrictions:
  677. - condition: "settings:cinder_kaminario.add_backend_4.value != true or settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
  678. action: 'hide'
  679. backend_name_4:
  680. value: ""
  681. label: 'Backend Name'
  682. description: 'Name of the Backend'
  683. weight: 360
  684. type: "text"
  685. restrictions:
  686. - condition: "settings:cinder_kaminario.add_backend_4.value != true or settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
  687. action: 'hide'
  688. storage_ip_4:
  689. value: ""
  690. label: 'Kaminario Storage Hostname/IP'
  691. description: 'IP address of Kaminario Storage Array'
  692. weight: 365
  693. type: "text"
  694. restrictions:
  695. - condition: "settings:cinder_kaminario.add_backend_4.value != true or settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
  696. action: 'hide'
  697. regex:
  698. source: '^\w[\w\-\s.]+$'
  699. error: 'Invalid IP ranges'
  700. storage_user_4:
  701. value: ""
  702. label: 'Username'
  703. description: 'user name of Kaminario Storage Array'
  704. weight: 370
  705. type: "text"
  706. regex:
  707. source: '\S'
  708. error: "Username field cannot be empty"
  709. restrictions:
  710. - condition: "settings:cinder_kaminario.add_backend_4.value != true or settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
  711. action: 'hide'
  712. storage_password_4:
  713. value: ""
  714. label: 'Password'
  715. description: 'password of Kaminario Storage Array'
  716. weight: 375
  717. type: "password"
  718. restrictions:
  719. - condition: "settings:cinder_kaminario.add_backend_4.value != true or settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
  720. action: 'hide'
  721. enable_replication_4:
  722. value: false
  723. label: 'Enable Replication'
  724. description: 'Enable replication for Kaminario Array'
  725. weight: 380
  726. type: 'checkbox'
  727. restrictions:
  728. - condition: "settings:cinder_kaminario.add_backend_4.value != true or settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
  729. action: 'hide'
  730. replication_ip_4:
  731. value: ""
  732. label: 'Ipaddress'
  733. description: 'Ipaddress of Kaminario replication array'
  734. weight: 385
  735. type: "text"
  736. restrictions:
  737. - condition: "settings:cinder_kaminario.enable_replication_4.value == false"
  738. action: 'hide'
  739. regex:
  740. source: '^\w[\w\-\s.]+$'
  741. error: 'Invalid IP ranges'
  742. replication_login_4:
  743. value: ""
  744. label: 'Username'
  745. description: 'user name of Kaminario replication device'
  746. weight: 390
  747. type: "text"
  748. restrictions:
  749. - condition: "settings:cinder_kaminario.enable_replication_4.value == false"
  750. action: 'hide'
  751. replication_password_4:
  752. value: ""
  753. label: 'Password'
  754. description: 'password of Kaminario replication device'
  755. weight: 395
  756. type: "password"
  757. restrictions:
  758. - condition: "settings:cinder_kaminario.enable_replication_4.value == false"
  759. action: 'hide'
  760. replication_rpo_4:
  761. value: ""
  762. label: 'RPO'
  763. description: 'Value (in seconds) should be either 1 minute or multiple of 5 minutes'
  764. weight: 400
  765. type: "text"
  766. restrictions:
  767. - condition: "settings:cinder_kaminario.enable_replication_4.value == false"
  768. action: 'hide'
  769. regex:
  770. source: '^\d+$'
  771. error: "You must provide a number"
  772. create_type_4:
  773. value: false
  774. label: 'Create Volume Type'
  775. description: 'Create volume type for the backend'
  776. weight: 405
  777. type: 'checkbox'
  778. restrictions:
  779. - condition: "settings:cinder_kaminario.add_backend_4.value != true or settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
  780. action: 'hide'
  781. type_name_4:
  782. value: ""
  783. label: 'Volume Type Name'
  784. description: 'Name of the volume type'
  785. weight: 410
  786. type: "text"
  787. restrictions:
  788. - condition: "settings:cinder_kaminario.create_type_4.value == false"
  789. action: 'hide'
  790. options_4:
  791. type: "radio"
  792. weight: 415
  793. value: ""
  794. label: "Advance options for volume type"
  795. values:
  796. - data: "enable_replication_type"
  797. label: "Enable Replication"
  798. - data: "enable_dedup"
  799. label: "Enable Deduplication"
  800. - data: "replication_dedup"
  801. label: "Enable both Replication and Deduplication"
  802. restrictions:
  803. - condition: "settings:cinder_kaminario.create_type_4.value == false"
  804. action: 'hide'
  805. default_type_4:
  806. value: false
  807. label: 'Default type'
  808. description: 'Make this type as default'
  809. weight: 420
  810. type: 'checkbox'
  811. restrictions:
  812. - condition: "settings:cinder_kaminario.create_type_4.value == false or (settings:cinder_kaminario.default_type_0.value == false or settings:cinder_kaminario.default_type_1.value == false or settings:cinder_kaminario.default_type_2.value == false or settings:cinder_kaminario.default_type_3.value == false or settings:cinder_kaminario.default_type_4.value == false or settings:cinder_kaminario.default_type_5.value == false)"
  813. action: 'hide'
  814. add_backend_5:
  815. value: false
  816. label: 'Add a new kaminario backend or scale an existing backend'
  817. description: 'Add a new kaminario backend or scale an existing backend'
  818. weight: 430
  819. type: 'checkbox'
  820. restrictions:
  821. - condition: "settings:cinder_kaminario.add_backend_4.value != true or settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
  822. action: 'hide'
  823. storage_protocol_5:
  824. type: "radio"
  825. weight: 435
  826. value: "FC"
  827. label: "Kaminario Storage Protocol"
  828. values:
  829. - data: "ISCSI"
  830. label: "ISCSI"
  831. - data: "FC"
  832. label: "Fiber Channel"
  833. restrictions:
  834. - condition: "settings:cinder_kaminario.add_backend_5.value != true or settings:cinder_kaminario.add_backend_4.value != true or settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
  835. action: 'hide'
  836. cinder_node_5:
  837. value: ""
  838. label: 'Cinder Node'
  839. description: 'Name of the cinder node in which the backend must be configured'
  840. weight: 440
  841. type: "text"
  842. restrictions:
  843. - condition: "settings:cinder_kaminario.add_backend_5.value != true or settings:cinder_kaminario.add_backend_4.value != true or settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
  844. action: 'hide'
  845. backend_name_5:
  846. value: ""
  847. label: 'Backend Name'
  848. description: 'Name of the Backend'
  849. weight: 445
  850. type: "text"
  851. restrictions:
  852. - condition: "settings:cinder_kaminario.add_backend_5.value != true or settings:cinder_kaminario.add_backend_4.value != true or settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
  853. action: 'hide'
  854. storage_ip_5:
  855. value: ""
  856. label: 'Kaminario Storage Hostname/IP'
  857. description: 'IP address of Kaminario Storage Array'
  858. weight: 450
  859. type: "text"
  860. restrictions:
  861. - condition: "settings:cinder_kaminario.add_backend_5.value != true or settings:cinder_kaminario.add_backend_4.value != true or settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
  862. action: 'hide'
  863. regex:
  864. source: '^\w[\w\-\s.]+$'
  865. error: 'Invalid IP ranges'
  866. storage_user_5:
  867. value: ""
  868. label: 'Username'
  869. description: 'user name of Kaminario Storage Array'
  870. weight: 455
  871. type: "text"
  872. regex:
  873. source: '\S'
  874. error: "Username field cannot be empty"
  875. restrictions:
  876. - condition: "settings:cinder_kaminario.add_backend_5.value != true or settings:cinder_kaminario.add_backend_4.value != true or settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
  877. action: 'hide'
  878. storage_password_5:
  879. value: ""
  880. label: 'Password'
  881. description: 'password of Kaminario Storage Array'
  882. weight: 460
  883. type: "password"
  884. restrictions:
  885. - condition: "settings:cinder_kaminario.add_backend_5.value != true or settings:cinder_kaminario.add_backend_4.value != true or settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
  886. action: 'hide'
  887. enable_replication_5:
  888. value: false
  889. label: 'Enable Replication'
  890. description: 'Enable replication for Kaminario Array'
  891. weight: 465
  892. type: 'checkbox'
  893. restrictions:
  894. - condition: "settings:cinder_kaminario.add_backend_5.value != true or settings:cinder_kaminario.add_backend_4.value != true or settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
  895. action: 'hide'
  896. replication_ip_5:
  897. value: ""
  898. label: 'Ipaddress'
  899. description: 'Ipaddress of Kaminario replication array'
  900. weight: 470
  901. type: "text"
  902. restrictions:
  903. - condition: "settings:cinder_kaminario.enable_replication_5.value == false"
  904. action: 'hide'
  905. regex:
  906. source: '^\w[\w\-\s.]+$'
  907. error: 'Invalid IP ranges'
  908. replication_login_5:
  909. value: ""
  910. label: 'Username'
  911. description: 'user name of Kaminario replication device'
  912. weight: 475
  913. type: "text"
  914. restrictions:
  915. - condition: "settings:cinder_kaminario.enable_replication_5.value == false"
  916. action: 'hide'
  917. replication_password_5:
  918. value: ""
  919. label: 'Password'
  920. description: 'password of Kaminario replication device'
  921. weight: 480
  922. type: "password"
  923. restrictions:
  924. - condition: "settings:cinder_kaminario.enable_replication_5.value == false"
  925. action: 'hide'
  926. replication_rpo_5:
  927. value: ""
  928. label: 'RPO'
  929. description: 'Value (in seconds) should be either 1 minute or multiple of 5 minutes'
  930. weight: 485
  931. type: "text"
  932. restrictions:
  933. - condition: "settings:cinder_kaminario.enable_replication_5.value == false"
  934. action: 'hide'
  935. regex:
  936. source: '^\d+$'
  937. error: "You must provide a number"
  938. create_type_5:
  939. value: false
  940. label: 'Create Volume Type'
  941. description: 'Create volume type for the backend'
  942. weight: 490
  943. type: 'checkbox'
  944. restrictions:
  945. - condition: "settings:cinder_kaminario.add_backend_5.value != true or settings:cinder_kaminario.add_backend_4.value != true or settings:cinder_kaminario.add_backend_3.value != true or settings:cinder_kaminario.add_backend_2.value != true or settings:cinder_kaminario.add_backend_1.value != true"
  946. action: 'hide'
  947. type_name_5:
  948. value: ""
  949. label: 'Volume Type Name'
  950. description: 'Name of the volume type'
  951. weight: 495
  952. type: "text"
  953. restrictions:
  954. - condition: "settings:cinder_kaminario.create_type_5.value == false"
  955. action: 'hide'
  956. options_5:
  957. type: "radio"
  958. weight: 500
  959. value: ""
  960. label: "Advance options for volume type"
  961. values:
  962. - data: "enable_replication_type"
  963. label: "Enable Replication"
  964. - data: "enable_dedup"
  965. label: "Enable Deduplication"
  966. - data: "replication_dedup"
  967. label: "Enable both Replication and Deduplication"
  968. restrictions:
  969. - condition: "settings:cinder_kaminario.create_type_5.value == false"
  970. action: 'hide'
  971. default_type_5:
  972. value: false
  973. label: 'Default Type'
  974. description: 'Make this type as default'
  975. weight: 505
  976. type: 'checkbox'
  977. restrictions:
  978. - condition: "settings:cinder_kaminario.create_type_5.value == false or (settings:cinder_kaminario.default_type_0.value == false or settings:cinder_kaminario.default_type_1.value == false or settings:cinder_kaminario.default_type_2.value == false or settings:cinder_kaminario.default_type_3.value == false or settings:cinder_kaminario.default_type_4.value == false or settings:cinder_kaminario.default_type_5.value == false)"
  979. action: 'hide'