Fuel plugin which enables Google Cloud Storage Cinder backup deployment
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 7.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  1. attributes:
  2. backup_gcs_project_id:
  3. value: ''
  4. label: 'GCS project ID'
  5. description: ''
  6. weight: 10
  7. type: "text"
  8. regex:
  9. source: '^[A-Za-z\d_-]+$'
  10. error: 'The value should not be empty. Only letters, digits, underscore and dash symbols are allowed.'
  11. backup_gcs_bucket:
  12. value: ''
  13. label: 'Default GCS bucket name'
  14. description: 'Default GCS bucket name to use for backups. The bucket is created if not exists. Please refer to the official bucket naming guidelines https://cloud.google.com/storage/docs/naming .Used as container parameter value when Cinder CLI or API is invoked for creating a backup.'
  15. weight: 15
  16. type: "text"
  17. regex:
  18. source: '^[A-Za-z\d_-]+$'
  19. error: 'Default GCS bucket name to use for backups. The bucket is created if not exists. Please refer to the official bucket naming guidelines https://cloud.google.com/storage/docs/naming .Used as container parameter value when Cinder CLI or API is invoked for creating a backup. The value should not be empty. Only letters, digits, underscore and dash symbols are allowed.'
  20. backup_gcs_storage_class:
  21. value: 'NEARLINE'
  22. label: 'GCS storage class'
  23. weight: 40
  24. type: 'select'
  25. description: 'Storage class of GCS bucket'
  26. values:
  27. - data: 'NEARLINE'
  28. label: 'NEARLINE'
  29. - data: 'STANDARD'
  30. label: 'STANDARD'
  31. - data: 'DURABLE_REDUCED_AVAILABILITY'
  32. label: 'DURABLE_REDUCED_AVAILABILITY'
  33. backup_gcs_bucket_location:
  34. type: "text"
  35. weight: 50
  36. value: "US"
  37. label: "GCS bucket location"
  38. description: "Enter GCS bucket location"
  39. regex:
  40. source: '^[A-Za-z\d_-]+$'
  41. error: 'The value should not be empty. Only letters, digits, underscore and dash symbols are allowed.'
  42. gcs_account_type:
  43. label: "GCS Account type"
  44. description: "type parameter value from the GCS credentials file"
  45. type: text
  46. weight: 51
  47. value: 'service_account'
  48. regex:
  49. source: '^[A-Za-z\d_-]+$'
  50. error: 'The value should not be empty. Only letters, digits, underscore and dash symbols are allowed.'
  51. gcs_private_key_id:
  52. label: "Private Key ID"
  53. description: "Private_key_id parameter value from the GCS credentials file."
  54. type: text
  55. weight: 51
  56. value: ''
  57. regex:
  58. source: '^[A-Za-z\d]+$'
  59. error: 'Only alphanumberic charaters are allowed'
  60. gcs_private_key:
  61. label: "Private Key"
  62. description: "Private_key parameter value from the GCS credentials file."
  63. type: password
  64. weight: 52
  65. value: ''
  66. regex:
  67. source: '^.+$'
  68. error: 'Should not be empty'
  69. gcs_client_email:
  70. label: "Client E-mail"
  71. description: "Client_email parameter value from the GCS credentials file."
  72. type: text
  73. weight: 53
  74. value: ''
  75. regex:
  76. source: '^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$'
  77. error: 'Please enter correct e-mail address'
  78. gcs_client_id:
  79. label: "Client ID"
  80. description: "Client_id parameter value from the GCS credentials file."
  81. type: text
  82. weight: 54
  83. value: ''
  84. regex:
  85. source: '^\d+$'
  86. error: 'Only integers [1-9] are allowed'
  87. gcs_auth_uri:
  88. label: "Auth URI"
  89. description: "Auth_uri parameter value from the GCS credentials file."
  90. type: text
  91. weight: 55
  92. value: 'https://accounts.google.com/o/oauth2/auth'
  93. regex:
  94. source: '\w+:\/\/[\w\-.\/]+(?::\d+)?[\w\-.\/]+$'
  95. error: 'Please enter valid URI'
  96. gcs_token_uri:
  97. label: "Token URI"
  98. description: "Token_uri parameter value from the GCS credentials file."
  99. type: text
  100. weight: 56
  101. value: 'https://accounts.google.com/o/oauth2/token'
  102. regex:
  103. source: '\w+:\/\/[\w\-.\/]+(?::\d+)?[\w\-.\/]+$'
  104. error: 'Please enter valid URI'
  105. gcs_auth_provider_x509_cert_url:
  106. label: "Auth Provider X509 Cert URL"
  107. description: "Auth_provider_x509_cert_url parameter value from the GCS credentials file."
  108. type: text
  109. weight: 57
  110. value: 'https://www.googleapis.com/oauth2/v1/certs'
  111. regex:
  112. source: '\w+:\/\/[\w\-.\/]+(?::\d+)?[\w\-.\/]+$'
  113. error: 'Please enter valid URI'
  114. gcs_client_x509_cert_url:
  115. label: "Client X509 Cert URL"
  116. description: "Client_x509_cert_url parameter value from the GCS credentials file."
  117. type: text
  118. weight: 58
  119. value: ''
  120. regex:
  121. source: '\w+:\/\/[\w\-.\/]+(?::\d+)?[\w\-.\/%]+$'
  122. error: 'Please enter valid URI'
  123. backup_gcs_advanced_settings:
  124. type: "checkbox"
  125. weight: 60
  126. value: False
  127. label: 'Show advanced settings'
  128. description: 'When selected all GCS Cinder driver settings are shown'
  129. backup_gcs_object_size:
  130. label: 'GCS Object Size'
  131. description: 'The size in bytes of GCS backup objects in bytes, must be a multiple of GCS block size value, default: 52428800'
  132. type: text
  133. value: '52428800'
  134. weight: 80
  135. restrictions:
  136. - condition: "not ( settings:fuel-plugin-cinder-gcs.backup_gcs_advanced_settings.value == true )"
  137. action: "hide"
  138. regex:
  139. source: '^[1-9]\d*$'
  140. error: 'Must be a possitive integer'
  141. backup_gcs_block_size:
  142. label: 'GCS Block Size'
  143. description: 'The size in bytes that changes are tracked for incremental backups, default: 32768'
  144. type: text
  145. value: '32768'
  146. weight: 75
  147. restrictions:
  148. - condition: "not ( settings:fuel-plugin-cinder-gcs.backup_gcs_advanced_settings.value == true )"
  149. action: "hide"
  150. regex:
  151. source: '^[1-9]\d*$'
  152. error: 'Must be a possitive integer'
  153. backup_gcs_user_agent:
  154. label: 'HTTP User-Agent'
  155. description: 'HTTP User-Agent string for the GCS API, default: gcscinder'
  156. type: text
  157. value: 'gcscinder'
  158. weight: 85
  159. restrictions:
  160. - condition: "not ( settings:fuel-plugin-cinder-gcs.backup_gcs_advanced_settings.value == true )"
  161. action: "hide"
  162. backup_gcs_writer_chunk_size:
  163. label: 'GCS writer Chunk Size'
  164. description: 'Chunk size for GCS object uploads in bytes, -1 for single chunk, default value: 2097152, maximum value: 52428800'
  165. type: text
  166. value: '2097152'
  167. weight: 90
  168. regex:
  169. source: '^((-1$)|(([1-9])\d{0,7}$))'
  170. error: 'Must be a possitive integer or -1'
  171. restrictions:
  172. - condition: "not ( settings:fuel-plugin-cinder-gcs.backup_gcs_advanced_settings.value == true )"
  173. action: "hide"
  174. backup_gcs_reader_chunk_size:
  175. label: 'GCS Reader Chunk Size'
  176. description: 'Chunk size for GCS object downloads in bytes, default: 2097152'
  177. type: text
  178. value: '2097152'
  179. weight: 95
  180. restrictions:
  181. - condition: "not ( settings:fuel-plugin-cinder-gcs.backup_gcs_advanced_settings.value == true )"
  182. action: "hide"
  183. regex:
  184. source: '^((-1$)|(([1-9])\d*$))'
  185. error: 'Must be a possitive integer'
  186. backup_gcs_retry_error_codes:
  187. label: 'GCS Retry Error Codes'
  188. description: "List of GCS error codes for which to initiate a retry, default: 429"
  189. type: text
  190. value: '429'
  191. weight: 100
  192. restrictions:
  193. - condition: "not ( settings:fuel-plugin-cinder-gcs.backup_gcs_advanced_settings.value == true )"
  194. action: "hide"
  195. regex:
  196. source: '^([4-5][0-9]{2})(,\s{1}[4-5][0-9]{2})*$'
  197. error: "Enter list of valid error codes, example: 403, 404, 503"
  198. backup_gcs_num_retries:
  199. label: 'GCS Retries Number'
  200. description: 'Number of times to retry transfers'
  201. type: text
  202. value: '3'
  203. weight: 105
  204. restrictions:
  205. - condition: "not ( settings:fuel-plugin-cinder-gcs.backup_gcs_advanced_settings.value == true )"
  206. action: "hide"
  207. regex:
  208. source: '^[1-9]\d{0,2}$'
  209. error: 'Must be an integer in range of 1-999'
  210. backup_gcs_enable_progress_timer:
  211. type: "checkbox"
  212. weight: 110
  213. value: True
  214. label: "GCS progress update timer"
  215. description: "Timer to send the periodic progress notifications to Ceilometer when backing up the volume."
  216. restrictions:
  217. - condition: "not ( settings:fuel-plugin-cinder-gcs.backup_gcs_advanced_settings.value == true )"
  218. action: "hide"