foreman_discovery 25.0.0 → 25.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/foreman_discovery/locale/ca/foreman_discovery.js +440 -452
  3. data/app/assets/javascripts/foreman_discovery/locale/cs_CZ/foreman_discovery.js +397 -409
  4. data/app/assets/javascripts/foreman_discovery/locale/de/foreman_discovery.js +537 -549
  5. data/app/assets/javascripts/foreman_discovery/locale/en/foreman_discovery.js +280 -291
  6. data/app/assets/javascripts/foreman_discovery/locale/en_GB/foreman_discovery.js +539 -551
  7. data/app/assets/javascripts/foreman_discovery/locale/es/foreman_discovery.js +541 -553
  8. data/app/assets/javascripts/foreman_discovery/locale/fr/foreman_discovery.js +539 -551
  9. data/app/assets/javascripts/foreman_discovery/locale/gl/foreman_discovery.js +339 -351
  10. data/app/assets/javascripts/foreman_discovery/locale/it/foreman_discovery.js +468 -480
  11. data/app/assets/javascripts/foreman_discovery/locale/ja/foreman_discovery.js +536 -548
  12. data/app/assets/javascripts/foreman_discovery/locale/ka/foreman_discovery.js +525 -537
  13. data/app/assets/javascripts/foreman_discovery/locale/ko/foreman_discovery.js +493 -505
  14. data/app/assets/javascripts/foreman_discovery/locale/pt_BR/foreman_discovery.js +538 -550
  15. data/app/assets/javascripts/foreman_discovery/locale/ru/foreman_discovery.js +510 -522
  16. data/app/assets/javascripts/foreman_discovery/locale/sv_SE/foreman_discovery.js +361 -373
  17. data/app/assets/javascripts/foreman_discovery/locale/zh_CN/foreman_discovery.js +540 -552
  18. data/app/assets/javascripts/foreman_discovery/locale/zh_TW/foreman_discovery.js +400 -412
  19. data/app/controllers/api/v2/discovered_hosts_controller.rb +2 -0
  20. data/app/controllers/concerns/foreman/controller/parameters/discovered_host.rb +41 -35
  21. data/app/controllers/concerns/foreman/controller/parameters/discovery_rule.rb +18 -12
  22. data/app/controllers/discovered_hosts_controller.rb +0 -13
  23. data/app/controllers/discovered_hosts_controller.rb.orig +354 -0
  24. data/app/models/host/discovered.rb +1 -0
  25. data/app/services/foreman_discovery/fact_to_category_resolver.rb +11 -6
  26. data/app/services/foreman_discovery/lldp_neighbors.rb +6 -2
  27. data/app/views/api/v2/discovered_hosts/main.json.rabl +2 -1
  28. data/app/views/discovered_hosts/_discovered_host.html.erb +1 -0
  29. data/app/views/discovered_hosts/_discovered_hosts_list.html.erb +2 -1
  30. data/app/views/discovered_hosts/show.html.erb +3 -1
  31. data/app/views/discovered_mailer/_discovered_host.html.erb +5 -0
  32. data/lib/foreman_discovery/version.rb +1 -1
  33. data/locale/ca/LC_MESSAGES/foreman_discovery.mo +0 -0
  34. data/locale/ca/foreman_discovery.po +2 -14
  35. data/locale/cs_CZ/LC_MESSAGES/foreman_discovery.mo +0 -0
  36. data/locale/cs_CZ/foreman_discovery.po +128 -138
  37. data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
  38. data/locale/de/foreman_discovery.po +4 -16
  39. data/locale/en/LC_MESSAGES/foreman_discovery.mo +0 -0
  40. data/locale/en/foreman_discovery.po +13 -20
  41. data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
  42. data/locale/en_GB/foreman_discovery.po +39 -51
  43. data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
  44. data/locale/es/foreman_discovery.po +47 -59
  45. data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
  46. data/locale/fr/foreman_discovery.po +18 -30
  47. data/locale/gl/LC_MESSAGES/foreman_discovery.mo +0 -0
  48. data/locale/gl/foreman_discovery.po +2 -14
  49. data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
  50. data/locale/it/foreman_discovery.po +2 -14
  51. data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
  52. data/locale/ja/foreman_discovery.po +27 -38
  53. data/locale/ka/LC_MESSAGES/foreman_discovery.mo +0 -0
  54. data/locale/ka/foreman_discovery.po +19 -31
  55. data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
  56. data/locale/ko/foreman_discovery.po +98 -108
  57. data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
  58. data/locale/pt_BR/foreman_discovery.po +2 -14
  59. data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
  60. data/locale/ru/foreman_discovery.po +2 -14
  61. data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
  62. data/locale/sv_SE/foreman_discovery.po +2 -14
  63. data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
  64. data/locale/zh_CN/foreman_discovery.po +20 -32
  65. data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
  66. data/locale/zh_TW/foreman_discovery.po +2 -14
  67. data/test/facts/facts_with_lldp_bond_candidate.json +7 -0
  68. data/test/functional/api/v2/discovered_hosts_controller_test.rb +35 -0
  69. data/test/integration/discovered_hosts_test.rb +3 -1
  70. data/test/test_helper_discovery.rb +21 -7
  71. data/test/unit/lldp_neighbors_test.rb +34 -0
  72. metadata +4 -3
@@ -3,11 +3,11 @@
3
3
  "locale_data": {
4
4
  "foreman_discovery": {
5
5
  "": {
6
- "Project-Id-Version": "foreman_discovery v22.0.4",
6
+ "Project-Id-Version": "foreman_discovery 25.0.0",
7
7
  "Report-Msgid-Bugs-To": "",
8
8
  "PO-Revision-Date": "2013-11-15 17:25+0000",
9
9
  "Last-Translator": "FULL NAME <EMAIL@ADDRESS>",
10
- "Language-Team": "Chinese (Taiwan) (http://www.transifex.com/foreman/foreman/language/zh_TW/)",
10
+ "Language-Team": "Chinese (Taiwan) (http://app.transifex.com/foreman/foreman/language/zh_TW/)",
11
11
  "MIME-Version": "1.0",
12
12
  "Content-Type": "text/plain; charset=UTF-8",
13
13
  "Content-Transfer-Encoding": "8bit",
@@ -17,830 +17,818 @@
17
17
  "domain": "foreman_discovery",
18
18
  "plural_forms": "nplurals=1; plural=0;"
19
19
  },
20
- "List all discovered hosts": [
20
+ "%s - The following hosts are about to be changed": [
21
+ "%s - 以下主機即將受到更改"
22
+ ],
23
+ "%s discovered hosts were provisioned": [
21
24
  ""
22
25
  ],
23
- "filter results": [
24
- "篩選結果"
26
+ "<b>Foreman</b> Discovered hosts summary": [
27
+ ""
25
28
  ],
26
- "sort results": [
27
- "排序結果"
29
+ "A summary of discovered hosts": [
30
+ ""
28
31
  ],
29
- "paginate results": [
30
- "編頁結果"
32
+ "Actions": [
33
+ "動作"
31
34
  ],
32
- "number of entries per request": [
33
- "每個請求的項目數量"
35
+ "Assign Location": [
36
+ "指定位置"
34
37
  ],
35
- "Show a discovered host": [
38
+ "Assign Organization": [
39
+ "指定組織"
40
+ ],
41
+ "Associated Hosts": [
36
42
  ""
37
43
  ],
38
- "DHCP filename option (Grub2 or PXELinux by default)": [
44
+ "Auto Provision": [
39
45
  ""
40
46
  ],
41
- "Create a discovered host for testing (use /facts to create new hosts)": [
47
+ "Auto provisioning": [
42
48
  ""
43
49
  ],
44
- "Provision a discovered host": [
50
+ "Automatic bond interface (if another interface is detected on the same VLAN via LLDP)": [
45
51
  ""
46
52
  ],
47
- "required if host is managed and value is not inherited from host group": [
48
- "若主機是個受管理的主機,並且值不是由主機群組所繼承的話便需要"
53
+ "Automatically generate PXE configuration to pin a newly discovered host to discovery": [
54
+ ""
49
55
  ],
50
- "not required if using a subnet with DHCP proxy": [
51
- "若是使用一個含有 DHCP 協定的子網路則不需要"
56
+ "Automatically provision newly discovered hosts, according to the provisioning rules": [
57
+ ""
52
58
  ],
53
- "not required if it's a virtual machine": [
59
+ "Automatically reboot or kexec discovered host during provisioning": [
54
60
  ""
55
61
  ],
56
- "required if not imaged based provisioning and host is managed and value is not inherited from host group": [
57
- "若不是基於映像檔的佈建,而主機受管理並且值並非由主機群組所繼承的話便需要"
62
+ "Back": [
63
+ "上一步"
58
64
  ],
59
- "required if host is managed and custom partition has not been defined": [
60
- "若主機是個受管理的主機,並且尚未定義自訂分割區的話便需要"
65
+ "CPUs": [
66
+ "CPU"
61
67
  ],
62
- "Host's owner type": [
63
- "主機的擁有者類型"
68
+ "Cancel": [
69
+ "取消"
64
70
  ],
65
- "Host's parameters (array or indexed hash)": [
66
- "主機參數(陣列或索引過的雜湊)"
71
+ "Clean all facts": [
72
+ ""
67
73
  ],
68
- "Name of the parameter": [
69
- "參數名稱"
74
+ "Clean all reported facts during provisioning (except discovery facts)": [
75
+ ""
70
76
  ],
71
- "Parameter value": [
72
- "參數值"
77
+ "Clone": [
78
+ "複製"
73
79
  ],
74
- "Type of value": [
80
+ "Clone %s": [
81
+ "複製 %s"
82
+ ],
83
+ "Collapse All": [
84
+ "全部收回"
85
+ ],
86
+ "Could not get facts from proxy %{url}: %{error}": [
75
87
  ""
76
88
  ],
77
- "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks": [
78
- "用來追蹤協調流程任務狀態的 UUID,GET /api/orchestration/:UUID/tasks"
89
+ "Create Host": [
90
+ ""
79
91
  ],
80
- "required if value is not inherited from host group or default password in settings": [
92
+ "Create Rule": [
81
93
  ""
82
94
  ],
83
- "Delete a discovered host": [
95
+ "Create a discovered host for testing (use /facts to create new hosts)": [
84
96
  ""
85
97
  ],
86
- "Upload facts for a host, creating the host if required": [
87
- "上傳主機的詳情,並視需求建立主機"
98
+ "Create a discovery rule": [
99
+ ""
88
100
  ],
89
- "hash containing facts for the host with minimum set of facts: discovery_bootif, macaddress_eth0, ipaddress, ipaddress_eth0, interfaces: eth0 (example in case primary interface is named eth0)": [
101
+ "Create bond interfaces": [
90
102
  ""
91
103
  ],
92
- "Execute rules against a discovered host": [
104
+ "Customize Host": [
93
105
  ""
94
106
  ],
95
- "Host %{host} was provisioned with rule %{rule}": [
107
+ "DHCP filename option (Grub2 or PXELinux by default)": [
96
108
  ""
97
109
  ],
98
- "Unable to provision %{host}: %{errors}": [
110
+ "Delete": [
111
+ "刪除"
112
+ ],
113
+ "Delete %s?": [
114
+ "刪除 %s?"
115
+ ],
116
+ "Delete a discovered host": [
99
117
  ""
100
118
  ],
101
- "No rule found for host %s": [
119
+ "Delete a rule": [
102
120
  ""
103
121
  ],
104
- "Execute rules against all currently discovered hosts": [
122
+ "Delete rule '%s'?": [
105
123
  ""
106
124
  ],
107
- "Errors during auto provisioning: %s": [
125
+ "Destroyed selected hosts": [
126
+ "刪除選擇的主機"
127
+ ],
128
+ "Details": [
129
+ "詳細資料"
130
+ ],
131
+ "Disable": [
132
+ "停用"
133
+ ],
134
+ "Disable rule '%s'?": [
108
135
  ""
109
136
  ],
110
- "No discovered hosts to provision": [
137
+ "Discovered Host": [
138
+ "",
111
139
  ""
112
140
  ],
113
- "%s discovered hosts were provisioned": [
141
+ "Discovered Hosts": [
114
142
  ""
115
143
  ],
116
- "Refreshing the facts of a discovered host": [
144
+ "Discovered Rules": [
117
145
  ""
118
146
  ],
119
- "Rebooting a discovered host": [
147
+ "Discovered host '%{host}' has all NICs filtered out, filter: %{filter}": [
120
148
  ""
121
149
  ],
122
- "Rebooting all discovered hosts": [
150
+ "Discovered host reported from unknown subnet, communication will not be proxied.": [
123
151
  ""
124
152
  ],
125
- "Discovered hosts are rebooting now": [
153
+ "Discovered host: %s": [
154
+ "發現的主機:%s"
155
+ ],
156
+ "Discovered hosts are provisioning now": [
126
157
  ""
127
158
  ],
128
- "List all discovery rules": [
159
+ "Discovered hosts are rebooting now": [
129
160
  ""
130
161
  ],
131
- "Show a discovery rule": [
162
+ "Discovered hosts from Foreman server at %{foreman_url}": [
132
163
  ""
133
164
  ],
134
- "represents rule name shown to the users": [
165
+ "Discovered hosts reported from unknown subnet are %s, communication will not be proxied.": [
135
166
  ""
136
167
  ],
137
- "query to match discovered hosts for the particular rule": [
168
+ "Discovered hosts summary": [
138
169
  ""
139
170
  ],
140
- "the hostgroup that is used to auto provision a host": [
171
+ "Discovery": [
141
172
  ""
142
173
  ],
143
- "defines a pattern to assign human-readable hostnames to the matching hosts": [
174
+ "Discovery Proxy": [
144
175
  ""
145
176
  ],
146
- "enables to limit maximum amount of provisioned hosts per rule": [
177
+ "Discovery Proxy to use within this subnet for managing connection to discovered hosts": [
147
178
  ""
148
179
  ],
149
- "puts the rules in order, low numbers go first. Must be greater then zero": [
180
+ "Discovery Rules": [
150
181
  ""
151
182
  ],
152
- "flag is used for temporary shutdown of rules": [
183
+ "Discovery fact parser does not work with non-discovery host '%{host}'": [
153
184
  ""
154
185
  ],
155
- "location ID for provisioned hosts": [
186
+ "Discovery hostname naming pattern": [
156
187
  ""
157
188
  ],
158
- "organization ID for provisioned hosts": [
189
+ "Discovery location": [
159
190
  ""
160
191
  ],
161
- "Create a discovery rule": [
192
+ "Discovery organization": [
162
193
  ""
163
194
  ],
164
- "Update a rule": [
195
+ "DiscoveryRule|Enabled": [
165
196
  ""
166
197
  ],
167
- "Delete a rule": [
198
+ "DiscoveryRule|Name": [
168
199
  ""
169
200
  ],
170
- "List all fact values of a given discovered host": [
201
+ "DiscoveryRule|Priority": [
171
202
  ""
172
203
  ],
173
- "Unable to find a discovery rule, no host provided (check permissions)": [
204
+ "DiscoveryRule|Query": [
174
205
  ""
175
206
  ],
176
- "No hostgroup associated with rule '%s'": [
207
+ "Disk Count": [
177
208
  ""
178
209
  ],
179
- "Errors during reboot: %s": [
210
+ "Disk count": [
211
+ "磁碟計數"
212
+ ],
213
+ "Disks Size": [
180
214
  ""
181
215
  ],
182
- "No discovered hosts to reboot": [
216
+ "Disks size": [
217
+ "磁碟大小"
218
+ ],
219
+ "Do not allow to discover existing managed host matching MAC of a provisioning NIC (errors out early)": [
183
220
  ""
184
221
  ],
185
- "Successfully provisioned %s": [
222
+ "Domain will be appended automatically. A hostname based on MAC address will be used when left blank.": [
186
223
  ""
187
224
  ],
188
- "Facts refreshed for %s": [
189
- "%s 的詳情已刷新"
225
+ "Edit %s": [
226
+ "編輯 %s"
190
227
  ],
191
- "Failed to refresh facts for %s": [
192
- "刷新 %s 的詳情失敗"
228
+ "Enable": [
229
+ "啟用"
193
230
  ],
194
- "Failed to refresh facts for %{hostname} with error %{error_message}": [
231
+ "Enable rule '%s'?": [
195
232
  ""
196
233
  ],
197
- "Host of type %s can not be rebooted": [
234
+ "Error message goes here": [
198
235
  ""
199
236
  ],
200
- "Rebooting host %s": [
237
+ "Error on existing NIC": [
201
238
  ""
202
239
  ],
203
- "Failed to reboot host %s": [
240
+ "Errors during auto provisioning: %s": [
204
241
  ""
205
242
  ],
206
- "Failed to reboot host %{hostname} with error %{error_message}": [
243
+ "Errors during reboot: %s": [
207
244
  ""
208
245
  ],
209
- "Failed to reboot hosts with error %s": [
246
+ "Execute rules against a discovered host": [
210
247
  ""
211
248
  ],
212
- "Destroyed selected hosts": [
213
- "刪除選擇的主機"
249
+ "Execute rules against all currently discovered hosts": [
250
+ ""
214
251
  ],
215
- "The following hosts were not deleted: %s": [
216
- "下列主機尚未刪除:%s"
252
+ "Expected discovery_fact '%s' is missing, unable to detect primary interface and set hostname": [
253
+ ""
217
254
  ],
218
- "Failed to auto provision host %s: %s": [
255
+ "Extra facter columns to show in host lists": [
219
256
  ""
220
257
  ],
221
- "Discovered hosts are provisioning now": [
258
+ "Fact + prefix": [
222
259
  ""
223
260
  ],
224
- "Discovered host reported from unknown subnet, communication will not be proxied.": [
261
+ "Fact columns": [
225
262
  ""
226
263
  ],
227
- "Discovered hosts reported from unknown subnet are %s, communication will not be proxied.": [
264
+ "Fact name to use for primary interface detection": [
228
265
  ""
229
266
  ],
230
- "No hosts were found with that id or name": [
231
- "沒有找到擁有此 ID 或名稱的主機"
267
+ "Facts could not be imported": [
268
+ ""
232
269
  ],
233
- "No hosts selected": [
234
- "未選擇主機"
270
+ "Facts refreshed for %s": [
271
+ "%s 的詳情已刷新"
235
272
  ],
236
- "Something went wrong while selecting hosts - %s": [
237
- "選擇主機時發生了錯誤 - %s"
273
+ "Failed to auto provision host %s: %s": [
274
+ ""
238
275
  ],
239
- "Rule enabled": [
276
+ "Failed to reboot host %s": [
240
277
  ""
241
278
  ],
242
- "Rule disabled": [
279
+ "Failed to reboot host %{hostname} with error %{error_message}": [
243
280
  ""
244
281
  ],
245
- "Auto Provision": [
282
+ "Failed to reboot hosts with error %s": [
246
283
  ""
247
284
  ],
248
- "Refresh facts": [
249
- "刷新詳情"
285
+ "Failed to refresh facts for %s": [
286
+ "刷新 %s 的詳情失敗"
250
287
  ],
251
- "Reboot": [
252
- "重新開機"
288
+ "Failed to refresh facts for %{hostname} with error %{error_message}": [
289
+ ""
253
290
  ],
254
- "Back": [
255
- "上一步"
291
+ "For more information please see ": [
292
+ ""
256
293
  ],
257
- "Select Action": [
258
- "選擇動作"
294
+ "Force DNS": [
295
+ ""
259
296
  ],
260
- "Delete %s?": [
261
- "刪除 %s?"
297
+ "Force DNS entries creation when provisioning discovered host": [
298
+ ""
262
299
  ],
263
- "Assign Organization": [
264
- "指定組織"
300
+ "Foreman Discovery": [
301
+ ""
265
302
  ],
266
- "Assign Location": [
267
- "指定位置"
268
- ],
269
- "Delete": [
270
- "刪除"
271
- ],
272
- "%s - The following hosts are about to be changed": [
273
- "%s - 以下主機即將受到更改"
303
+ "Foreman discovered hosts summary": [
304
+ ""
274
305
  ],
275
- "N/A": [
276
- "N/A"
306
+ "Hardware": [
307
+ "硬體"
277
308
  ],
278
- "New in the last 24 hours": [
309
+ "Hardware facts": [
279
310
  ""
280
311
  ],
281
- "Not reported in more than 7 days": [
312
+ "Highlighted facts": [
282
313
  ""
283
314
  ],
284
- "Reported in the last 7 days": [
315
+ "Highlights": [
285
316
  ""
286
317
  ],
287
- "Provision": [
288
- "佈建"
318
+ "Host": [
319
+ "主機"
289
320
  ],
290
- "Discovered Hosts": [
321
+ "Host %s has been dicovered": [
291
322
  ""
292
323
  ],
293
- "Associated Hosts": [
324
+ "Host %{host} was provisioned with rule %{rule}": [
294
325
  ""
295
326
  ],
296
- "Disable": [
297
- "停用"
327
+ "Host Group": [
328
+ "主機群組"
298
329
  ],
299
- "Disable rule '%s'?": [
330
+ "Host group location %s must also be associated to the discovery rule": [
331
+ "",
300
332
  ""
301
333
  ],
302
- "Enable": [
303
- "啟用"
304
- ],
305
- "Enable rule '%s'?": [
334
+ "Host group organization %s must also be associated to the discovery rule": [
335
+ "",
306
336
  ""
307
337
  ],
308
- "Clone": [
309
- "複製"
310
- ],
311
- "Delete rule '%s'?": [
338
+ "Host of type %s can not be rebooted": [
312
339
  ""
313
340
  ],
314
- "Invalid user type of %s was provided": [
315
- ""
341
+ "Host's owner type": [
342
+ "主機的擁有者類型"
316
343
  ],
317
- "Discovered hosts summary": [
318
- ""
344
+ "Host's parameters (array or indexed hash)": [
345
+ "主機參數(陣列或索引過的雜湊)"
319
346
  ],
320
- "can't contain white spaces.": [
347
+ "Hostname facts": [
321
348
  ""
322
349
  ],
323
- "must start with a letter or ERB.": [
350
+ "Hostname for provisioned hosts": [
324
351
  ""
325
352
  ],
326
- "must be present.": [
353
+ "Hostname prefix": [
327
354
  ""
328
355
  ],
329
- "Host group organization %s must also be associated to the discovery rule": [
330
- "",
356
+ "Hostnames must not start with numbers. A good approach is to use unique information provided by facter (MAC address, BIOS or serial ID).": [
331
357
  ""
332
358
  ],
333
- "Host group location %s must also be associated to the discovery rule": [
334
- "",
335
- ""
359
+ "Hosts": [
360
+ "主機"
336
361
  ],
337
- "Fact + prefix": [
338
- ""
362
+ "Hosts Limit": [
363
+ "主機限制"
339
364
  ],
340
- "Random name": [
365
+ "Hosts/Limit": [
341
366
  ""
342
367
  ],
343
- "MAC-based name": [
368
+ "ID of Discovery Proxy to use within this subnet for managing connection to discovered hosts": [
344
369
  ""
345
370
  ],
346
- "Invalid facts, must be a Hash": [
347
- ""
371
+ "IP Address": [
372
+ "IP 位址"
348
373
  ],
349
- "Expected discovery_fact '%s' is missing, unable to detect primary interface and set hostname": [
350
- ""
374
+ "IP address": [
375
+ "IP 位址"
351
376
  ],
352
- "Invalid facts: hash does not contain a valid value for any of the facts in the discovery_hostname setting: %s": [
377
+ "IPAM must be configured for subnet '%s'": [
353
378
  ""
354
379
  ],
355
- "Facts could not be imported": [
356
- ""
380
+ "IPMI": [
381
+ "IPMI"
357
382
  ],
358
- "Could not get facts from proxy %{url}: %{error}": [
383
+ "IPMI facts": [
359
384
  ""
360
385
  ],
361
- "Unable to perform reboot on %{name} (%{url}): %{msg}": [
362
- ""
386
+ "Identifier": [
387
+ "辨識碼"
363
388
  ],
364
- "Unable to perform %{action} on %{ips}": [
389
+ "Image API processing error: %{msg} (HTTP/%{code}, body: %{body})": [
365
390
  ""
366
391
  ],
367
- "Unable to perform kexec on %{name} (%{url}): %{msg}": [
392
+ "Image API returned HTTP/%{code} with '%{body}": [
368
393
  ""
369
394
  ],
370
- "Invalid hostname: Could not normalize the hostname": [
395
+ "In addition to @host attribute function rand for random integers is available. Examples:": [
371
396
  ""
372
397
  ],
373
- "Reloading kernel on %s": [
398
+ "Init RAM kexec URL is invalid: '%s'": [
374
399
  ""
375
400
  ],
376
- "Rebooting %s": [
377
- "重新啟動 %s"
378
- ],
379
- "Kexec template not associated with operating system": [
401
+ "Interface fact": [
380
402
  ""
381
403
  ],
382
- "Kernel kexec URL is invalid: '%s'": [
383
- ""
404
+ "Interfaces": [
405
+ "介面"
384
406
  ],
385
- "Init RAM kexec URL is invalid: '%s'": [
407
+ "Invalid facts, must be a Hash": [
386
408
  ""
387
409
  ],
388
- "Rebuild DNS for %s": [
410
+ "Invalid facts: hash does not contain a valid value for any of the facts in the discovery_hostname setting: %s": [
389
411
  ""
390
412
  ],
391
- "Discovery fact parser does not work with non-discovery host '%{host}'": [
413
+ "Invalid hostname: Could not normalize the hostname": [
392
414
  ""
393
415
  ],
394
- "Discovered host '%{host}' has all NICs filtered out, filter: %{filter}": [
416
+ "Invalid user type of %s was provided": [
395
417
  ""
396
418
  ],
397
- "Unable to find primary NIC with %{mac} specified via '%{fact}', NIC filter: %{filter}": [
419
+ "Kernel kexec URL is invalid: '%s'": [
398
420
  ""
399
421
  ],
400
- "Highlights": [
422
+ "Kexec template not associated with operating system": [
401
423
  ""
402
424
  ],
403
- "Storage": [
404
- "儲存裝置"
405
- ],
406
- "Hardware": [
407
- "硬體"
408
- ],
409
- "Network": [
410
- "網路"
411
- ],
412
- "Software": [
413
- "軟體"
414
- ],
415
- "IPMI": [
416
- "IPMI"
417
- ],
418
- "Miscellaneous": [
419
- "雜項"
420
- ],
421
- "IPAM must be configured for subnet '%s'": [
425
+ "Last Facts Upload": [
422
426
  ""
423
427
  ],
424
- "Options must be hash": [
428
+ "List all discovered hosts": [
425
429
  ""
426
430
  ],
427
- "Option 'url' must be provided": [
431
+ "List all discovery rules": [
428
432
  ""
429
433
  ],
430
- "Option 'url' must be valid URI: %s": [
434
+ "List all fact values of a given discovered host": [
431
435
  ""
432
436
  ],
433
- "Image API returned HTTP/%{code} with '%{body}": [
437
+ "List of facts to use for the hostname (first wins)": [
434
438
  ""
435
439
  ],
436
- "Image API processing error: %{msg} (HTTP/%{code}, body: %{body})": [
437
- ""
440
+ "Location": [
441
+ "位置"
438
442
  ],
439
- "One or more hosts with failed discovery due to error: %s": [
443
+ "Locations": [
444
+ "位置"
445
+ ],
446
+ "Lock PXE": [
440
447
  ""
441
448
  ],
442
- "Host %s has been dicovered": [
449
+ "Locked PXEGrub template name": [
443
450
  ""
444
451
  ],
445
- "Discovered Host": [
446
- "",
452
+ "Locked PXEGrub2 template name": [
447
453
  ""
448
454
  ],
449
- "No discovered hosts available": [
455
+ "Locked PXELinux template name": [
450
456
  ""
451
457
  ],
452
- "Host": [
453
- "主機"
458
+ "MAC address": [
459
+ "MAC 位址"
454
460
  ],
455
- "Model": [
456
- "型號"
461
+ "MAC-based name": [
462
+ ""
457
463
  ],
458
- "CPUs": [
459
- "CPU"
464
+ "Maximum hosts provisioned with this rule (0 = unlimited)": [
465
+ ""
460
466
  ],
461
467
  "Memory": [
462
468
  "記憶體"
463
469
  ],
464
- "Customize Host": [
465
- ""
466
- ],
467
- "Create Host": [
468
- ""
470
+ "Miscellaneous": [
471
+ "雜項"
469
472
  ],
470
- "Select all items in this page": [
471
- "選擇這頁中的所有項目"
473
+ "Model": [
474
+ "型號"
472
475
  ],
473
- "items selected. Uncheck to Clear": [
474
- "已選取項目。反選以清除"
476
+ "N/A": [
477
+ "N/A"
475
478
  ],
476
479
  "Name": [
477
480
  "名稱"
478
481
  ],
479
- "IP Address": [
480
- "IP 位址"
482
+ "Name of the parameter": [
483
+ "參數名稱"
481
484
  ],
482
- "Disk Count": [
483
- ""
485
+ "Network": [
486
+ "網路"
484
487
  ],
485
- "Disks Size": [
488
+ "Network facts": [
486
489
  ""
487
490
  ],
488
- "Location": [
489
- "位置"
490
- ],
491
- "Organization": [
492
- "組織"
491
+ "New Discovery Rule": [
492
+ ""
493
493
  ],
494
- "Subnet": [
495
- "子網路"
494
+ "New hosts": [
495
+ ""
496
496
  ],
497
- "Last Facts Upload": [
497
+ "New in the last 24 hours": [
498
498
  ""
499
499
  ],
500
- "Actions": [
501
- "動作"
500
+ "No Discovery Rules found in this context. Create Discovery Rules to perform automated provisioning on Discovered Hosts": [
501
+ ""
502
502
  ],
503
- "Please Confirm": [
504
- "請確認"
503
+ "No discovered hosts available": [
504
+ ""
505
505
  ],
506
- "Cancel": [
507
- "取消"
506
+ "No discovered hosts for the selected period": [
507
+ ""
508
508
  ],
509
- "Submit": [
510
- "提交"
509
+ "No discovered hosts found in this context. This page shows discovered bare-metal or virtual nodes waiting to be provisioned.": [
510
+ ""
511
511
  ],
512
- "Provision %s": [
512
+ "No discovered hosts to provision": [
513
513
  ""
514
514
  ],
515
- "This might take a while, as all hosts, facts and reports will be destroyed as well": [
516
- "這可能會花上一段時間,因為所有主機、詳情與報告皆會被刪除"
515
+ "No discovered hosts to reboot": [
516
+ ""
517
517
  ],
518
- "Select location": [
519
- "選擇位置"
518
+ "No hostgroup associated with rule '%s'": [
519
+ ""
520
520
  ],
521
- "Select organization": [
522
- "選擇組織"
521
+ "No hosts selected": [
522
+ "未選擇主機"
523
523
  ],
524
- "Discovered host: %s": [
525
- "發現的主機:%s"
524
+ "No hosts were found with that id or name": [
525
+ "沒有找到擁有此 ID 或名稱的主機"
526
526
  ],
527
- "Interfaces": [
528
- "介面"
527
+ "No new discovered hosts for this period": [
528
+ ""
529
529
  ],
530
- "Type": [
531
- "種類"
530
+ "No rule found for host %s": [
531
+ ""
532
532
  ],
533
- "Identifier": [
534
- "辨識碼"
533
+ "Not reported in more than 7 days": [
534
+ ""
535
535
  ],
536
- "MAC address": [
537
- "MAC 位址"
536
+ "One or more hosts have been discovered": [
537
+ ""
538
538
  ],
539
- "IP address": [
540
- "IP 位址"
539
+ "One or more hosts with failed discovery due to error: %s": [
540
+ ""
541
541
  ],
542
- "Collapse All": [
543
- "全部收回"
542
+ "Option 'url' must be provided": [
543
+ ""
544
544
  ],
545
- "Summary report for discovered hosts from Foreman": [
545
+ "Option 'url' must be valid URI: %s": [
546
546
  ""
547
547
  ],
548
- "<b>Foreman</b> Discovered hosts summary": [
548
+ "Options must be hash": [
549
549
  ""
550
550
  ],
551
- "Summary from %{time} ago to %{now}": [
551
+ "Organization": [
552
+ "組織"
553
+ ],
554
+ "Organizations": [
555
+ "組織"
556
+ ],
557
+ "PXEGrub template to be used when pinning a host to discovery": [
552
558
  ""
553
559
  ],
554
- "Discovered hosts from Foreman server at %{foreman_url}": [
560
+ "PXEGrub2 template to be used when pinning a host to discovery": [
555
561
  ""
556
562
  ],
557
- "Disk count": [
558
- "磁碟計數"
563
+ "PXELinux template to be used when pinning a host to discovery": [
564
+ ""
559
565
  ],
560
- "Disks size": [
561
- "磁碟大小"
566
+ "Parameter value": [
567
+ "參數值"
562
568
  ],
563
- "No discovered hosts for the selected period": [
564
- ""
569
+ "Please Confirm": [
570
+ "請確認"
565
571
  ],
566
- "Foreman discovered hosts summary": [
572
+ "Prefer IPv6": [
567
573
  ""
568
574
  ],
569
- "No new discovered hosts for this period": [
575
+ "Prefer IPv6 to IPv4 when calling discovered nodes": [
570
576
  ""
571
577
  ],
572
578
  "Primary": [
573
579
  "主要"
574
580
  ],
575
- "Locations": [
576
- "位置"
577
- ],
578
- "Organizations": [
579
- "組織"
581
+ "Provision": [
582
+ "佈建"
580
583
  ],
581
- "Target host group for this rule with all properties set": [
584
+ "Provision %s": [
582
585
  ""
583
586
  ],
584
- "Hostname for provisioned hosts": [
587
+ "Provision a discovered host": [
585
588
  ""
586
589
  ],
587
- "Hosts Limit": [
588
- "主機限制"
589
- ],
590
- "Maximum hosts provisioned with this rule (0 = unlimited)": [
590
+ "Random name": [
591
591
  ""
592
592
  ],
593
- "Rule priority (lower integer means higher priority)": [
594
- ""
593
+ "Reboot": [
594
+ "重新開機"
595
595
  ],
596
- "Specify target hostname template pattern in the same syntax as in Provisioning Templates (ERB).": [
597
- ""
596
+ "Rebooting %s": [
597
+ "重新啟動 %s"
598
598
  ],
599
- "Domain will be appended automatically. A hostname based on MAC address will be used when left blank.": [
599
+ "Rebooting a discovered host": [
600
600
  ""
601
601
  ],
602
- "In addition to @host attribute function rand for random integers is available. Examples:": [
602
+ "Rebooting all discovered hosts": [
603
603
  ""
604
604
  ],
605
- "When creating hostname patterns, make sure the resulting host names are unique.": [
605
+ "Rebooting host %s": [
606
606
  ""
607
607
  ],
608
- "Hostnames must not start with numbers. A good approach is to use unique information provided by facter (MAC address, BIOS or serial ID).": [
608
+ "Rebuild DNS for %s": [
609
609
  ""
610
610
  ],
611
- "Clone %s": [
612
- "複製 %s"
613
- ],
614
- "Edit %s": [
615
- "編輯 %s"
611
+ "Refresh facts": [
612
+ "刷新詳情"
616
613
  ],
617
- "Discovery Rules": [
614
+ "Refreshing the facts of a discovered host": [
618
615
  ""
619
616
  ],
620
- "Create Rule": [
617
+ "Regex to organize facts for hardware section": [
621
618
  ""
622
619
  ],
623
- "DiscoveryRule|Name": [
620
+ "Regex to organize facts for highlights section - e.g. ^(abc|cde)$": [
624
621
  ""
625
622
  ],
626
- "DiscoveryRule|Priority": [
623
+ "Regex to organize facts for ipmi section": [
627
624
  ""
628
625
  ],
629
- "DiscoveryRule|Query": [
626
+ "Regex to organize facts for network section": [
630
627
  ""
631
628
  ],
632
- "Host Group": [
633
- "主機群組"
634
- ],
635
- "Hosts/Limit": [
629
+ "Regex to organize facts for software section": [
636
630
  ""
637
631
  ],
638
- "DiscoveryRule|Enabled": [
632
+ "Regex to organize facts for storage section": [
639
633
  ""
640
634
  ],
641
- "New Discovery Rule": [
635
+ "Reloading kernel on %s": [
642
636
  ""
643
637
  ],
644
- "Discovered Rules": [
638
+ "Reported in the last 7 days": [
645
639
  ""
646
640
  ],
647
- "A summary of discovered hosts": [
641
+ "Rule disabled": [
648
642
  ""
649
643
  ],
650
- "New hosts": [
644
+ "Rule enabled": [
651
645
  ""
652
646
  ],
653
- "One or more hosts have been discovered": [
647
+ "Rule priority (lower integer means higher priority)": [
654
648
  ""
655
649
  ],
656
- "Details": [
657
- "詳細資料"
650
+ "Select Action": [
651
+ "選擇動作"
658
652
  ],
659
- "Hosts": [
660
- "主機"
653
+ "Select all items in this page": [
654
+ "選擇這頁中的所有項目"
661
655
  ],
662
- "Error message goes here": [
663
- ""
656
+ "Select location": [
657
+ "選擇位置"
664
658
  ],
665
- "Discovery": [
666
- ""
659
+ "Select organization": [
660
+ "選擇組織"
667
661
  ],
668
- "Discovery location": [
662
+ "Show a discovered host": [
669
663
  ""
670
664
  ],
671
- "The default location to place discovered hosts in": [
672
- "放置已發現之主機的預設位置"
673
- ],
674
- "Discovery organization": [
665
+ "Show a discovery rule": [
675
666
  ""
676
667
  ],
677
- "The default organization to place discovered hosts in": [
678
- "放置已發現之主機的預設組織"
668
+ "Software": [
669
+ "軟體"
679
670
  ],
680
- "Interface fact": [
671
+ "Software facts": [
681
672
  ""
682
673
  ],
683
- "Fact name to use for primary interface detection": [
684
- ""
674
+ "Something went wrong while selecting hosts - %s": [
675
+ "選擇主機時發生了錯誤 - %s"
685
676
  ],
686
- "Create bond interfaces": [
677
+ "Specify target hostname template pattern in the same syntax as in Provisioning Templates (ERB).": [
687
678
  ""
688
679
  ],
689
- "Automatic bond interface (if another interface is detected on the same VLAN via LLDP)": [
690
- ""
680
+ "Storage": [
681
+ "儲存裝置"
691
682
  ],
692
- "Clean all facts": [
683
+ "Storage facts": [
693
684
  ""
694
685
  ],
695
- "Clean all reported facts during provisioning (except discovery facts)": [
696
- ""
686
+ "Submit": [
687
+ "提交"
697
688
  ],
698
- "Hostname facts": [
699
- ""
689
+ "Subnet": [
690
+ "子網路"
700
691
  ],
701
- "List of facts to use for the hostname (first wins)": [
692
+ "Successfully provisioned %s": [
702
693
  ""
703
694
  ],
704
- "Auto provisioning": [
695
+ "Summary from %{time} ago to %{now}": [
705
696
  ""
706
697
  ],
707
- "Automatically provision newly discovered hosts, according to the provisioning rules": [
698
+ "Summary report for discovered hosts from Foreman": [
708
699
  ""
709
700
  ],
710
- "Automatically reboot or kexec discovered host during provisioning": [
701
+ "Target host group for this rule with all properties set": [
711
702
  ""
712
703
  ],
713
- "Hostname prefix": [
714
- ""
704
+ "The default location to place discovered hosts in": [
705
+ "放置已發現之主機的預設位置"
706
+ ],
707
+ "The default organization to place discovered hosts in": [
708
+ "放置已發現之主機的預設組織"
715
709
  ],
716
710
  "The default prefix to use for the host name, must start with a letter": [
717
711
  ""
718
712
  ],
719
- "Fact columns": [
720
- ""
713
+ "The following hosts were not deleted: %s": [
714
+ "下列主機尚未刪除:%s"
721
715
  ],
722
- "Extra facter columns to show in host lists": [
723
- ""
716
+ "This might take a while, as all hosts, facts and reports will be destroyed as well": [
717
+ "這可能會花上一段時間,因為所有主機、詳情與報告皆會被刪除"
724
718
  ],
725
- "Highlighted facts": [
726
- ""
719
+ "Type": [
720
+ "種類"
727
721
  ],
728
- "Regex to organize facts for highlights section - e.g. ^(abc|cde)$": [
722
+ "Type of name generator": [
729
723
  ""
730
724
  ],
731
- "Storage facts": [
725
+ "Type of value": [
732
726
  ""
733
727
  ],
734
- "Regex to organize facts for storage section": [
735
- ""
728
+ "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks": [
729
+ "用來追蹤協調流程任務狀態的 UUID,GET /api/orchestration/:UUID/tasks"
736
730
  ],
737
- "Software facts": [
731
+ "Unable to find a discovery rule, no host provided (check permissions)": [
738
732
  ""
739
733
  ],
740
- "Regex to organize facts for software section": [
734
+ "Unable to find primary NIC with %{mac} specified via '%{fact}', NIC filter: %{filter}": [
741
735
  ""
742
736
  ],
743
- "Hardware facts": [
737
+ "Unable to perform %{action} on %{ips}": [
744
738
  ""
745
739
  ],
746
- "Regex to organize facts for hardware section": [
740
+ "Unable to perform kexec on %{name} (%{url}): %{msg}": [
747
741
  ""
748
742
  ],
749
- "Network facts": [
743
+ "Unable to perform reboot on %{name} (%{url}): %{msg}": [
750
744
  ""
751
745
  ],
752
- "Regex to organize facts for network section": [
746
+ "Unable to provision %{host}: %{errors}": [
753
747
  ""
754
748
  ],
755
- "IPMI facts": [
749
+ "Update a rule": [
756
750
  ""
757
751
  ],
758
- "Regex to organize facts for ipmi section": [
759
- ""
752
+ "Upload facts for a host, creating the host if required": [
753
+ "上傳主機的詳情,並視需求建立主機"
760
754
  ],
761
- "Lock PXE": [
755
+ "When creating hostname patterns, make sure the resulting host names are unique.": [
762
756
  ""
763
757
  ],
764
- "Automatically generate PXE configuration to pin a newly discovered host to discovery": [
758
+ "can't contain white spaces.": [
765
759
  ""
766
760
  ],
767
- "Locked PXELinux template name": [
761
+ "defines a pattern to assign human-readable hostnames to the matching hosts": [
768
762
  ""
769
763
  ],
770
- "PXELinux template to be used when pinning a host to discovery": [
764
+ "documentation": [
771
765
  ""
772
766
  ],
773
- "Locked PXEGrub template name": [
767
+ "enables to limit maximum amount of provisioned hosts per rule": [
774
768
  ""
775
769
  ],
776
- "PXEGrub template to be used when pinning a host to discovery": [
777
- ""
770
+ "filter results": [
771
+ "篩選結果"
778
772
  ],
779
- "Locked PXEGrub2 template name": [
773
+ "flag is used for temporary shutdown of rules": [
780
774
  ""
781
775
  ],
782
- "PXEGrub2 template to be used when pinning a host to discovery": [
776
+ "hash containing facts for the host with minimum set of facts: discovery_bootif, macaddress_eth0, ipaddress, ipaddress_eth0, interfaces: eth0 (example in case primary interface is named eth0)": [
783
777
  ""
784
778
  ],
785
- "Force DNS": [
786
- ""
779
+ "items selected. Uncheck to Clear": [
780
+ "已選取項目。反選以清除"
787
781
  ],
788
- "Force DNS entries creation when provisioning discovered host": [
782
+ "location ID for provisioned hosts": [
789
783
  ""
790
784
  ],
791
- "Error on existing NIC": [
785
+ "must be present.": [
792
786
  ""
793
787
  ],
794
- "Do not allow to discover existing managed host matching MAC of a provisioning NIC (errors out early)": [
788
+ "must start with a letter or ERB.": [
795
789
  ""
796
790
  ],
797
- "Type of name generator": [
791
+ "not required if it's a virtual machine": [
798
792
  ""
799
793
  ],
800
- "Discovery hostname naming pattern": [
801
- ""
794
+ "not required if using a subnet with DHCP proxy": [
795
+ "若是使用一個含有 DHCP 協定的子網路則不需要"
802
796
  ],
803
- "Prefer IPv6": [
804
- ""
797
+ "number of entries per request": [
798
+ "每個請求的項目數量"
805
799
  ],
806
- "Prefer IPv6 to IPv4 when calling discovered nodes": [
800
+ "organization ID for provisioned hosts": [
807
801
  ""
808
802
  ],
809
- "Discovery Proxy": [
810
- ""
803
+ "paginate results": [
804
+ "編頁結果"
811
805
  ],
812
- "Discovery Proxy to use within this subnet for managing connection to discovered hosts": [
806
+ "puts the rules in order, low numbers go first. Must be greater then zero": [
813
807
  ""
814
808
  ],
815
- "ID of Discovery Proxy to use within this subnet for managing connection to discovered hosts": [
809
+ "query to match discovered hosts for the particular rule": [
816
810
  ""
817
811
  ],
818
- "For more information please see ": [
812
+ "represents rule name shown to the users": [
819
813
  ""
820
814
  ],
821
- "documentation": [
822
- ""
815
+ "required if host is managed and custom partition has not been defined": [
816
+ "若主機是個受管理的主機,並且尚未定義自訂分割區的話便需要"
823
817
  ],
824
- "No discovered hosts found in this context. This page shows discovered bare-metal or virtual nodes waiting to be provisioned.": [
825
- ""
818
+ "required if host is managed and value is not inherited from host group": [
819
+ "若主機是個受管理的主機,並且值不是由主機群組所繼承的話便需要"
826
820
  ],
827
- "Foreman Discovery": [
828
- ""
821
+ "required if not imaged based provisioning and host is managed and value is not inherited from host group": [
822
+ "若不是基於映像檔的佈建,而主機受管理並且值並非由主機群組所繼承的話便需要"
829
823
  ],
830
- "No Discovery Rules found in this context. Create Discovery Rules to perform automated provisioning on Discovered Hosts": [
824
+ "required if value is not inherited from host group or default password in settings": [
831
825
  ""
832
826
  ],
833
- "Remote action:": [
834
- "遠端動作:"
835
- ],
836
- "Import Puppet classes": [
837
- "匯入 Puppet 類別"
838
- ],
839
- "Import facts": [
840
- "匯入詳情"
827
+ "sort results": [
828
+ "排序結果"
841
829
  ],
842
- "Action with sub plans": [
843
- "有子計畫的動作"
830
+ "the hostgroup that is used to auto provision a host": [
831
+ ""
844
832
  ]
845
833
  }
846
834
  }