foreman_discovery 15.0.2 → 16.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/api/v2/discovery_rules_controller.rb +1 -1
  3. data/app/controllers/concerns/foreman/controller/discovered_extensions.rb +4 -0
  4. data/app/controllers/discovered_hosts_controller.rb +6 -3
  5. data/app/controllers/discovery_rules_controller.rb +1 -1
  6. data/app/models/discovery_rule.rb +1 -1
  7. data/app/models/host/discovered.rb +49 -31
  8. data/app/models/host/managed_extensions.rb +2 -2
  9. data/app/models/setting/discovered.rb +28 -33
  10. data/app/services/foreman_discovery/fact_parser.rb +1 -1
  11. data/app/services/foreman_discovery/host_converter.rb +38 -2
  12. data/app/services/foreman_discovery/host_fact_importer.rb +10 -0
  13. data/app/services/foreman_discovery/import_hooks/subnet_and_taxonomy.rb +6 -14
  14. data/app/services/foreman_discovery/node_api/node_resource.rb +1 -0
  15. data/app/services/foreman_discovery/subnet_suggestion.rb +26 -0
  16. data/app/views/foreman_discovery/debian_kexec.erb +3 -2
  17. data/app/views/foreman_discovery/redhat_kexec.erb +2 -1
  18. data/config/routes.rb +2 -0
  19. data/db/migrate/20150512150432_remove_old_discovery_reader_permissions.rb +1 -1
  20. data/db/migrate/20151023144501_regenerate_red_hat_kexec.rb +1 -1
  21. data/db/migrate/20180412124505_add_priority_score_to_discovery_rules.rb +1 -1
  22. data/extra/discover-host +34 -14
  23. data/lib/foreman_discovery/engine.rb +4 -4
  24. data/lib/foreman_discovery/version.rb +1 -1
  25. data/locale/ca/LC_MESSAGES/foreman_discovery.mo +0 -0
  26. data/locale/ca/foreman_discovery.edit.po +122 -93
  27. data/locale/ca/foreman_discovery.po +31 -8
  28. data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
  29. data/locale/de/foreman_discovery.edit.po +125 -96
  30. data/locale/de/foreman_discovery.po +34 -11
  31. data/locale/en/LC_MESSAGES/foreman_discovery.mo +0 -0
  32. data/locale/en/foreman_discovery.edit.po +118 -88
  33. data/locale/en/foreman_discovery.po +27 -4
  34. data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
  35. data/locale/en_GB/foreman_discovery.edit.po +125 -96
  36. data/locale/en_GB/foreman_discovery.po +34 -11
  37. data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
  38. data/locale/es/foreman_discovery.edit.po +124 -95
  39. data/locale/es/foreman_discovery.po +33 -10
  40. data/locale/foreman_discovery.pot +119 -89
  41. data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
  42. data/locale/fr/foreman_discovery.edit.po +122 -93
  43. data/locale/fr/foreman_discovery.po +31 -8
  44. data/locale/gl/LC_MESSAGES/foreman_discovery.mo +0 -0
  45. data/locale/gl/foreman_discovery.edit.po +120 -91
  46. data/locale/gl/foreman_discovery.po +29 -6
  47. data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
  48. data/locale/it/foreman_discovery.edit.po +120 -91
  49. data/locale/it/foreman_discovery.po +29 -6
  50. data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
  51. data/locale/ja/foreman_discovery.edit.po +123 -94
  52. data/locale/ja/foreman_discovery.po +32 -9
  53. data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
  54. data/locale/ko/foreman_discovery.edit.po +122 -93
  55. data/locale/ko/foreman_discovery.po +31 -8
  56. data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
  57. data/locale/pt_BR/foreman_discovery.edit.po +123 -94
  58. data/locale/pt_BR/foreman_discovery.po +32 -9
  59. data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
  60. data/locale/ru/foreman_discovery.edit.po +123 -94
  61. data/locale/ru/foreman_discovery.po +32 -9
  62. data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
  63. data/locale/sv_SE/foreman_discovery.edit.po +121 -92
  64. data/locale/sv_SE/foreman_discovery.po +30 -7
  65. data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
  66. data/locale/zh_CN/foreman_discovery.edit.po +122 -93
  67. data/locale/zh_CN/foreman_discovery.po +31 -8
  68. data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
  69. data/locale/zh_TW/foreman_discovery.edit.po +120 -91
  70. data/locale/zh_TW/foreman_discovery.po +29 -6
  71. data/test/facts/bond0-eth0-eth1-active-passive.json +128 -0
  72. data/test/facts/facts_with_lldp_bond_candidate.json +2 -9
  73. data/test/facts/only-ipv6.json +205 -0
  74. data/test/facts/skylake-ipv6.json +223 -0
  75. data/test/functional/api/v2/discovered_hosts_controller_test.rb +1 -0
  76. data/test/functional/api/v2/settings_controller_test.rb +2 -2
  77. data/test/functional/discovered_hosts_controller_test.rb +15 -6
  78. data/test/integration/discovered_hosts_test.rb +6 -11
  79. data/test/test_helper_discovery.rb +12 -0
  80. data/test/unit/discovered_extensions_test.rb +54 -0
  81. data/test/unit/discovery_attribute_set_test.rb +13 -10
  82. data/test/unit/discovery_rule_test.rb +1 -0
  83. data/test/unit/host_discovered_test.rb +32 -29
  84. data/test/unit/managed_extensions_test.rb +2 -0
  85. metadata +39 -28
@@ -3,17 +3,17 @@
3
3
  # This file is distributed under the same license as the foreman_discovery package.
4
4
  #
5
5
  # Translators:
6
- # Dominic Cleal <dominic@cleal.org>, 2014
6
+ # 0868a4d1af5275b3f70b0a6dac4c99a4, 2014
7
7
  # Junior Alvim <alvin@intechne.com.br>, 2014
8
8
  # Luiz Henrique Vasconcelos <luizvasconceloss@yahoo.com.br>, 2014
9
9
  # Luiz Henrique Vasconcelos <luizvasconceloss@yahoo.com.br>, 2014-2015
10
10
  # Valeria S Silva <valeriassilva@live.com>, 2015
11
11
  msgid ""
12
12
  msgstr ""
13
- "Project-Id-Version: foreman_discovery 15.0.0\n"
13
+ "Project-Id-Version: foreman_discovery 16.1.0\n"
14
14
  "Report-Msgid-Bugs-To: \n"
15
- "PO-Revision-Date: 2019-04-18 19:36+0000\n"
16
- "Last-Translator: Lukáš Zapletal\n"
15
+ "PO-Revision-Date: 2020-05-26 17:21+0000\n"
16
+ "Last-Translator: Transifex Bot <>\n"
17
17
  "Language-Team: Portuguese (Brazil) (http://www.transifex.com/foreman/foreman/l"
18
18
  "anguage/pt_BR/)\n"
19
19
  "MIME-Version: 1.0\n"
@@ -37,6 +37,9 @@ msgstr "Resumo dos hosts descobertos pelo <b>Foreman</b>"
37
37
  msgid "A summary of discovered hosts"
38
38
  msgstr "Um resumo de hosts descobertos"
39
39
 
40
+ msgid "Action with sub plans"
41
+ msgstr ""
42
+
40
43
  msgid "Actions"
41
44
  msgstr "Ações"
42
45
 
@@ -139,6 +142,11 @@ msgstr "Desabilitar"
139
142
  msgid "Disable rule '%s'?"
140
143
  msgstr "Desabilitar regra '%s'?"
141
144
 
145
+ msgid "Discovered Host"
146
+ msgid_plural "Discovered Hosts"
147
+ msgstr[0] ""
148
+ msgstr[1] ""
149
+
142
150
  msgid "Discovered Hosts"
143
151
  msgstr "Hosts descobertos"
144
152
 
@@ -350,6 +358,9 @@ msgstr "Endereço IP"
350
358
  msgid "IP address"
351
359
  msgstr "Endereco de IP"
352
360
 
361
+ msgid "IPAM must be configured for subnet '%s'"
362
+ msgstr ""
363
+
353
364
  msgid "IPMI"
354
365
  msgstr "IPMI"
355
366
 
@@ -365,6 +376,12 @@ msgstr "Erro de processamento da API da imagem: %{msg} (HTTP/%{code}, corpo: %{b
365
376
  msgid "Image API returned HTTP/%{code} with '%{body}"
366
377
  msgstr "API da imagem retornou HTTP/%{code} com '%{body}"
367
378
 
379
+ msgid "Import Puppet classes"
380
+ msgstr ""
381
+
382
+ msgid "Import facts"
383
+ msgstr ""
384
+
368
385
  msgid "In addition to @host attribute function rand for random integers is available. Examples:"
369
386
  msgstr "Além do atributo @host, a função rand para inteiros aleatórios está disponível. Exemplos:"
370
387
 
@@ -581,6 +598,9 @@ msgstr "Regex para organizar fatos da seção de armazenamento"
581
598
  msgid "Reloading kernel on %s"
582
599
  msgstr "Recarregando kernel no %s"
583
600
 
601
+ msgid "Remote action:"
602
+ msgstr ""
603
+
584
604
  msgid "Reported in the last 7 days"
585
605
  msgstr "Relatado nos últimos sete dias"
586
606
 
@@ -680,15 +700,18 @@ msgstr "Não foi possível encontrar uma regra do Discovery, nenhum host foi for
680
700
  msgid "Unable to find primary NIC with %{mac} specified via '%{fact}', NIC filter: %{filter}"
681
701
  msgstr "Não foi possível encontrar a NIC primária com o %{mac} especificado via '%{fact}'. Filtro da NIC: %{filter}"
682
702
 
683
- msgid "Unable to perform kexec on %{name} via %{url}: %{msg}"
684
- msgstr "Não foi possível executar kexec no %{name} por %{url}: %{msg}"
703
+ msgid "Unable to perform %{action} on %{ips}"
704
+ msgstr ""
705
+
706
+ msgid "Unable to perform kexec on %{name} (%{url}): %{msg}"
707
+ msgstr ""
708
+
709
+ msgid "Unable to perform reboot on %{name} (%{url}): %{msg}"
710
+ msgstr ""
685
711
 
686
712
  msgid "Unable to provision %{host}: %{errors}"
687
713
  msgstr "Não foi possível provisionar %{host}: %{errors}"
688
714
 
689
- msgid "Unable to reboot %{name} via %{url}: %{msg}"
690
- msgstr "Não foi possível reinicializar %{name} por %{url}: %{msg}"
691
-
692
715
  msgid "Update a rule"
693
716
  msgstr "Atualizar uma regra"
694
717
 
@@ -4,17 +4,16 @@
4
4
  #
5
5
  # Translators:
6
6
  # Denis Denis <stereodenis@gmail.com>, 2014
7
- # Dominic Cleal <dominic@cleal.org>, 2014
7
+ # 0868a4d1af5275b3f70b0a6dac4c99a4, 2014
8
8
  # Denis Denis <stereodenis@gmail.com>, 2014
9
9
  # Vladimir Pavlov <v.pavlov@i-teco.ru>, 2015
10
10
  # Yulia <yulia.poyarkova@redhat.com>, 2016
11
11
  msgid ""
12
12
  msgstr ""
13
- "Project-Id-Version: foreman_discovery 15.0.0\n"
13
+ "Project-Id-Version: foreman_discovery 16.1.0\n"
14
14
  "Report-Msgid-Bugs-To: \n"
15
- "POT-Creation-Date: 2019-07-23 17:13+0200\n"
16
- "PO-Revision-Date: 2019-04-18 19:36+0000\n"
17
- "Last-Translator: Lukáš Zapletal\n"
15
+ "PO-Revision-Date: 2020-05-26 17:21+0000\n"
16
+ "Last-Translator: Transifex Bot <>\n"
18
17
  "Language-Team: Russian (http://www.transifex.com/foreman/foreman/language/ru/)"
19
18
  "\n"
20
19
  "MIME-Version: 1.0\n"
@@ -93,7 +92,7 @@ msgstr "хэш с минимальным набором фактов узла: d
93
92
  msgid "Execute rules against a discovered host"
94
93
  msgstr "Применить правила к обнаруженному узлу"
95
94
 
96
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:122 ../app/controllers/discovered_hosts_controller.rb:159
95
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:122 ../app/controllers/discovered_hosts_controller.rb:160
97
96
  msgid "Host %{host} was provisioned with rule %{rule}"
98
97
  msgstr "%{host} был подготовлен в соответствии с правилом %{rule}"
99
98
 
@@ -101,7 +100,7 @@ msgstr "%{host} был подготовлен в соответствии с п
101
100
  msgid "Unable to provision %{host}: %{errors}"
102
101
  msgstr "Не удалось подготовить %{host}: %{errors}"
103
102
 
104
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:131 ../app/controllers/discovered_hosts_controller.rb:166
103
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:131 ../app/controllers/discovered_hosts_controller.rb:167
105
104
  msgid "No rule found for host %s"
106
105
  msgstr "Нет правил для %s"
107
106
 
@@ -109,11 +108,11 @@ msgstr "Нет правил для %s"
109
108
  msgid "Execute rules against all currently discovered hosts"
110
109
  msgstr "Применить правила ко всем обнаруженным узлам"
111
110
 
112
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:142 ../app/controllers/discovered_hosts_controller.rb:172
111
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:142 ../app/controllers/discovered_hosts_controller.rb:173
113
112
  msgid "Errors during auto provisioning: %s"
114
113
  msgstr "Ошибки при автоматической подготовке: %s"
115
114
 
116
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:145 ../app/controllers/discovered_hosts_controller.rb:175
115
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:145 ../app/controllers/discovered_hosts_controller.rb:176
117
116
  msgid "No discovered hosts to provision"
118
117
  msgstr "Нет обнаруженных узлов"
119
118
 
@@ -133,7 +132,7 @@ msgstr "Перезагрузка обнаруженного узла"
133
132
  msgid "Rebooting all discovered hosts"
134
133
  msgstr "Перезагрузка всех обнаруженных узлов"
135
134
 
136
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:207 ../app/controllers/discovered_hosts_controller.rb:128
135
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:207 ../app/controllers/discovered_hosts_controller.rb:129
137
136
  msgid "Discovered hosts are rebooting now"
138
137
  msgstr "Выполняется перезагрузка обнаруженных узлов"
139
138
 
@@ -205,11 +204,11 @@ msgstr "Не удалось найти правило: необходимо ук
205
204
  msgid "No hostgroup associated with rule '%s'"
206
205
  msgstr "Правило «%s» не связано ни с одной группой узлов"
207
206
 
208
- #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:69
207
+ #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:73
209
208
  msgid "Errors during reboot: %s"
210
209
  msgstr "Ошибки при перезагрузке: %s"
211
210
 
212
- #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:87
211
+ #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:91
213
212
  msgid "No discovered hosts to reboot"
214
213
  msgstr "Нет узлов для перезагрузки"
215
214
 
@@ -217,91 +216,91 @@ msgstr "Нет узлов для перезагрузки"
217
216
  msgid "Successfully provisioned %s"
218
217
  msgstr ""
219
218
 
220
- #: ../app/controllers/discovered_hosts_controller.rb:96
219
+ #: ../app/controllers/discovered_hosts_controller.rb:97
221
220
  msgid "Facts refreshed for %s"
222
221
  msgstr "Факты %s были обновлены"
223
222
 
224
- #: ../app/controllers/discovered_hosts_controller.rb:98
223
+ #: ../app/controllers/discovered_hosts_controller.rb:99
225
224
  msgid "Failed to refresh facts for %s"
226
225
  msgstr "Не удалось обновить факты %s"
227
226
 
228
- #: ../app/controllers/discovered_hosts_controller.rb:101
227
+ #: ../app/controllers/discovered_hosts_controller.rb:102
229
228
  msgid "Failed to refresh facts for %{hostname} with error %{error_message}"
230
229
  msgstr "Не удалось обновить факты %{hostname}. Ошибка: %{error_message}"
231
230
 
232
- #: ../app/controllers/discovered_hosts_controller.rb:108
231
+ #: ../app/controllers/discovered_hosts_controller.rb:109
233
232
  msgid "Host of type %s can not be rebooted"
234
233
  msgstr "Узел типа %s не может быть перезагружен"
235
234
 
236
- #: ../app/controllers/discovered_hosts_controller.rb:112
235
+ #: ../app/controllers/discovered_hosts_controller.rb:113
237
236
  msgid "Rebooting host %s"
238
237
  msgstr "Перезагрузка %s"
239
238
 
240
- #: ../app/controllers/discovered_hosts_controller.rb:114
239
+ #: ../app/controllers/discovered_hosts_controller.rb:115
241
240
  msgid "Failed to reboot host %s"
242
241
  msgstr "Не удалось перезагрузить %s"
243
242
 
244
- #: ../app/controllers/discovered_hosts_controller.rb:117
243
+ #: ../app/controllers/discovered_hosts_controller.rb:118
245
244
  msgid "Failed to reboot host %{hostname} with error %{error_message}"
246
245
  msgstr "Не удалось перезагрузить %{hostname}. Ошибка: %{error_message}"
247
246
 
248
- #: ../app/controllers/discovered_hosts_controller.rb:131
247
+ #: ../app/controllers/discovered_hosts_controller.rb:132
249
248
  msgid "Failed to reboot hosts with error %s"
250
249
  msgstr "Не удалось перезагрузить узлы. Ошибка: %s"
251
250
 
252
- #: ../app/controllers/discovered_hosts_controller.rb:149
251
+ #: ../app/controllers/discovered_hosts_controller.rb:150
253
252
  msgid "Destroyed selected hosts"
254
253
  msgstr "Узлы удалены"
255
254
 
256
- #: ../app/controllers/discovered_hosts_controller.rb:151
255
+ #: ../app/controllers/discovered_hosts_controller.rb:152
257
256
  msgid "The following hosts were not deleted: %s"
258
257
  msgstr "Узлы не были удалены: %s"
259
258
 
260
- #: ../app/controllers/discovered_hosts_controller.rb:163
259
+ #: ../app/controllers/discovered_hosts_controller.rb:164
261
260
  msgid "Failed to auto provision host %s: %s"
262
261
  msgstr "Не удалось автоматически подготовить узел %s: %s"
263
262
 
264
- #: ../app/controllers/discovered_hosts_controller.rb:191
263
+ #: ../app/controllers/discovered_hosts_controller.rb:192
265
264
  msgid "Discovered hosts are provisioning now"
266
265
  msgstr "Выполняется подготовка обнаруженных узлов"
267
266
 
268
- #: ../app/controllers/discovered_hosts_controller.rb:223
267
+ #: ../app/controllers/discovered_hosts_controller.rb:226
269
268
  msgid "Highlights"
270
269
  msgstr "Основные"
271
270
 
272
- #: ../app/controllers/discovered_hosts_controller.rb:223
271
+ #: ../app/controllers/discovered_hosts_controller.rb:226
273
272
  msgid "Storage"
274
273
  msgstr "Хранение данных"
275
274
 
276
- #: ../app/controllers/discovered_hosts_controller.rb:223
275
+ #: ../app/controllers/discovered_hosts_controller.rb:226
277
276
  msgid "Hardware"
278
277
  msgstr "Физическое"
279
278
 
280
- #: ../app/controllers/discovered_hosts_controller.rb:223
279
+ #: ../app/controllers/discovered_hosts_controller.rb:226
281
280
  msgid "Network"
282
281
  msgstr "Сеть"
283
282
 
284
- #: ../app/controllers/discovered_hosts_controller.rb:223
283
+ #: ../app/controllers/discovered_hosts_controller.rb:226
285
284
  msgid "Software"
286
285
  msgstr "Программы"
287
286
 
288
- #: ../app/controllers/discovered_hosts_controller.rb:223
287
+ #: ../app/controllers/discovered_hosts_controller.rb:226
289
288
  msgid "IPMI"
290
289
  msgstr "IPMI"
291
290
 
292
- #: ../app/controllers/discovered_hosts_controller.rb:223
291
+ #: ../app/controllers/discovered_hosts_controller.rb:226
293
292
  msgid "Miscellaneous"
294
293
  msgstr "Дополнительно"
295
294
 
296
- #: ../app/controllers/discovered_hosts_controller.rb:301
295
+ #: ../app/controllers/discovered_hosts_controller.rb:304
297
296
  msgid "No hosts were found with that id or name"
298
297
  msgstr "Нет узла с таким идентификатором или именем"
299
298
 
300
- #: ../app/controllers/discovered_hosts_controller.rb:305
299
+ #: ../app/controllers/discovered_hosts_controller.rb:308
301
300
  msgid "No hosts selected"
302
301
  msgstr "Не выбран узел"
303
302
 
304
- #: ../app/controllers/discovered_hosts_controller.rb:311
303
+ #: ../app/controllers/discovered_hosts_controller.rb:314
305
304
  msgid "Something went wrong while selecting hosts - %s"
306
305
  msgstr "Непредвиденное поведение при выборе узлов: %s"
307
306
 
@@ -325,7 +324,7 @@ msgstr "Автоматическая подготовка"
325
324
  msgid "Refresh facts"
326
325
  msgstr "Обновить факты"
327
326
 
328
- #: ../app/helpers/discovered_hosts_helper.rb:16 ../app/helpers/discovered_hosts_helper.rb:30 ../app/models/setting/discovered.rb:26 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:39
327
+ #: ../app/helpers/discovered_hosts_helper.rb:16 ../app/helpers/discovered_hosts_helper.rb:30 ../app/models/setting/discovered.rb:24 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:39
329
328
  msgid "Reboot"
330
329
  msgstr "Перезагрузить"
331
330
 
@@ -453,35 +452,39 @@ msgstr ""
453
452
  msgid "MAC-based name"
454
453
  msgstr ""
455
454
 
456
- #: ../app/models/host/discovered.rb:51
455
+ #: ../app/models/host/discovered.rb:55
457
456
  msgid "Invalid facts, must be a Hash"
458
457
  msgstr "Недопустимый формат фактов: ожидаются переменные и их значения"
459
458
 
460
- #: ../app/models/host/discovered.rb:56
459
+ #: ../app/models/host/discovered.rb:60
461
460
  msgid "Expected discovery_fact '%s' is missing, unable to detect primary interface and set hostname"
462
461
  msgstr "Отсутствует факт «%s»: невозможно определить основной интерфейс и имя узла"
463
462
 
464
- #: ../app/models/host/discovered.rb:69
463
+ #: ../app/models/host/discovered.rb:73
465
464
  msgid "Invalid facts: hash does not contain a valid value for any of the facts in the discovery_hostname setting: %s"
466
465
  msgstr "Недействительные факты: строка не содержит ни одного действительного значения фактов в соответствии с заданным в discovery_hostname: %s"
467
466
 
468
- #: ../app/models/host/discovered.rb:95
467
+ #: ../app/models/host/discovered.rb:100
469
468
  msgid "Facts could not be imported"
470
469
  msgstr ""
471
470
 
472
- #: ../app/models/host/discovered.rb:150
471
+ #: ../app/models/host/discovered.rb:146
473
472
  msgid "Could not get facts from proxy %{url}: %{error}"
474
473
  msgstr "Не удалось получить факты с %{url}: %{error}"
475
474
 
476
- #: ../app/models/host/discovered.rb:158
477
- msgid "Unable to reboot %{name} via %{url}: %{msg}"
478
- msgstr "Не удалось перезагрузить %{name} с %{url}: %{msg}"
475
+ #: ../app/models/host/discovered.rb:160
476
+ msgid "Unable to perform reboot on %{name} (%{url}): %{msg}"
477
+ msgstr ""
478
+
479
+ #: ../app/models/host/discovered.rb:164 ../app/models/host/discovered.rb:183
480
+ msgid "Unable to perform %{action} on %{ips}"
481
+ msgstr ""
479
482
 
480
- #: ../app/models/host/discovered.rb:166
481
- msgid "Unable to perform kexec on %{name} via %{url}: %{msg}"
482
- msgstr "Не удалось выполнить kexec на %{name} с %{url}: %{msg}"
483
+ #: ../app/models/host/discovered.rb:179
484
+ msgid "Unable to perform kexec on %{name} (%{url}): %{msg}"
485
+ msgstr ""
483
486
 
484
- #: ../app/models/host/discovered.rb:185
487
+ #: ../app/models/host/discovered.rb:203
485
488
  msgid "Invalid hostname: Could not normalize the hostname"
486
489
  msgstr "Не удалось нормализовать имя узла"
487
490
 
@@ -509,183 +512,183 @@ msgstr ""
509
512
  msgid "Rebuild DNS for %s"
510
513
  msgstr ""
511
514
 
512
- #: ../app/models/setting/discovered.rb:19
515
+ #: ../app/models/setting/discovered.rb:17
513
516
  msgid "The default location to place discovered hosts in"
514
517
  msgstr "Местоположение для обнаруженных узлов по умолчанию"
515
518
 
516
- #: ../app/models/setting/discovered.rb:19
519
+ #: ../app/models/setting/discovered.rb:17
517
520
  msgid "Discovery location"
518
521
  msgstr ""
519
522
 
520
- #: ../app/models/setting/discovered.rb:20
523
+ #: ../app/models/setting/discovered.rb:18
521
524
  msgid "The default organization to place discovered hosts in"
522
525
  msgstr "Организация для обнаруженных узлов по умолчанию"
523
526
 
524
- #: ../app/models/setting/discovered.rb:20
527
+ #: ../app/models/setting/discovered.rb:18
525
528
  msgid "Discovery organization"
526
529
  msgstr ""
527
530
 
528
- #: ../app/models/setting/discovered.rb:21
531
+ #: ../app/models/setting/discovered.rb:19
529
532
  msgid "Fact name to use for primary interface detection"
530
533
  msgstr "Имя факта, определяющего основной сетевой интерфейс и имя узла"
531
534
 
532
- #: ../app/models/setting/discovered.rb:21
535
+ #: ../app/models/setting/discovered.rb:19
533
536
  msgid "Interface fact"
534
537
  msgstr ""
535
538
 
536
- #: ../app/models/setting/discovered.rb:22
539
+ #: ../app/models/setting/discovered.rb:20
537
540
  msgid "Automatic bond interface (if another interface is detected on the same VLAN via LLDP)"
538
541
  msgstr ""
539
542
 
540
- #: ../app/models/setting/discovered.rb:22
543
+ #: ../app/models/setting/discovered.rb:20
541
544
  msgid "Create bond interfaces"
542
545
  msgstr ""
543
546
 
544
- #: ../app/models/setting/discovered.rb:23
547
+ #: ../app/models/setting/discovered.rb:21
545
548
  msgid "Clean all reported facts during provisioning (except discovery facts)"
546
549
  msgstr ""
547
550
 
548
- #: ../app/models/setting/discovered.rb:23
551
+ #: ../app/models/setting/discovered.rb:21
549
552
  msgid "Clean all facts"
550
553
  msgstr ""
551
554
 
552
- #: ../app/models/setting/discovered.rb:24
555
+ #: ../app/models/setting/discovered.rb:22
553
556
  msgid "List of facts to use for the hostname (separated by comma, first wins)"
554
557
  msgstr "Список фактов для узла с указанным именем (через запятую, до первого совпадения)"
555
558
 
556
- #: ../app/models/setting/discovered.rb:24
559
+ #: ../app/models/setting/discovered.rb:22
557
560
  msgid "Hostname facts"
558
561
  msgstr ""
559
562
 
560
- #: ../app/models/setting/discovered.rb:25
563
+ #: ../app/models/setting/discovered.rb:23
561
564
  msgid "Automatically provision newly discovered hosts, according to the provisioning rules"
562
565
  msgstr "Автоматически подготовить обнаруженные узлы в соответствии с заранее определенными правилами"
563
566
 
564
- #: ../app/models/setting/discovered.rb:25
567
+ #: ../app/models/setting/discovered.rb:23
565
568
  msgid "Auto provisioning"
566
569
  msgstr ""
567
570
 
568
- #: ../app/models/setting/discovered.rb:26
571
+ #: ../app/models/setting/discovered.rb:24
569
572
  msgid "Automatically reboot or kexec discovered host during provisioning"
570
573
  msgstr ""
571
574
 
572
- #: ../app/models/setting/discovered.rb:27
575
+ #: ../app/models/setting/discovered.rb:25
573
576
  msgid "The default prefix to use for the host name, must start with a letter"
574
577
  msgstr "Префикс имени узла (должен начинаться с буквы)"
575
578
 
576
- #: ../app/models/setting/discovered.rb:27
579
+ #: ../app/models/setting/discovered.rb:25
577
580
  msgid "Hostname prefix"
578
581
  msgstr ""
579
582
 
580
- #: ../app/models/setting/discovered.rb:28
583
+ #: ../app/models/setting/discovered.rb:26
581
584
  msgid "Extra facter columns to show in host lists (separate by comma)"
582
585
  msgstr "Дополнительные столбцы Facter в списке узлов (через запятую)"
583
586
 
584
- #: ../app/models/setting/discovered.rb:28
587
+ #: ../app/models/setting/discovered.rb:26
585
588
  msgid "Fact columns"
586
589
  msgstr ""
587
590
 
588
- #: ../app/models/setting/discovered.rb:29
591
+ #: ../app/models/setting/discovered.rb:27
589
592
  msgid "Regex to organize facts for highlights section - e.g. ^(abc|cde)$"
590
593
  msgstr "Регулярное выражение для организации фактов в списке «Основные», например: ^(abc|cde)$"
591
594
 
592
- #: ../app/models/setting/discovered.rb:29
595
+ #: ../app/models/setting/discovered.rb:27
593
596
  msgid "Highlighted facts"
594
597
  msgstr ""
595
598
 
596
- #: ../app/models/setting/discovered.rb:30
599
+ #: ../app/models/setting/discovered.rb:28
597
600
  msgid "Regex to organize facts for storage section"
598
601
  msgstr "Регулярное выражение для организации фактов в секции «Хранилище»"
599
602
 
600
- #: ../app/models/setting/discovered.rb:30
603
+ #: ../app/models/setting/discovered.rb:28
601
604
  msgid "Storage facts"
602
605
  msgstr ""
603
606
 
604
- #: ../app/models/setting/discovered.rb:31
607
+ #: ../app/models/setting/discovered.rb:29
605
608
  msgid "Regex to organize facts for software section"
606
609
  msgstr "Регулярное выражение для организации фактов в секции «Программное обеспечение»"
607
610
 
608
- #: ../app/models/setting/discovered.rb:31
611
+ #: ../app/models/setting/discovered.rb:29
609
612
  msgid "Software facts"
610
613
  msgstr ""
611
614
 
612
- #: ../app/models/setting/discovered.rb:32
615
+ #: ../app/models/setting/discovered.rb:30
613
616
  msgid "Regex to organize facts for hardware section"
614
617
  msgstr "Регулярное выражение для организации фактов в секции «Оборудование»"
615
618
 
616
- #: ../app/models/setting/discovered.rb:32
619
+ #: ../app/models/setting/discovered.rb:30
617
620
  msgid "Hardware facts"
618
621
  msgstr ""
619
622
 
620
- #: ../app/models/setting/discovered.rb:33
623
+ #: ../app/models/setting/discovered.rb:31
621
624
  msgid "Regex to organize facts for network section"
622
625
  msgstr "Регулярное выражение для организации фактов в секции «Сеть»"
623
626
 
624
- #: ../app/models/setting/discovered.rb:33
627
+ #: ../app/models/setting/discovered.rb:31
625
628
  msgid "Network facts"
626
629
  msgstr ""
627
630
 
628
- #: ../app/models/setting/discovered.rb:34
631
+ #: ../app/models/setting/discovered.rb:32
629
632
  msgid "Regex to organize facts for ipmi section"
630
633
  msgstr "Регулярное выражение для организации фактов в секции «IPMI»"
631
634
 
632
- #: ../app/models/setting/discovered.rb:34
635
+ #: ../app/models/setting/discovered.rb:32
633
636
  msgid "IPMI facts"
634
637
  msgstr ""
635
638
 
636
- #: ../app/models/setting/discovered.rb:35
639
+ #: ../app/models/setting/discovered.rb:33
637
640
  msgid "Automatically generate PXE configuration to pin a newly discovered host to discovery"
638
641
  msgstr ""
639
642
 
640
- #: ../app/models/setting/discovered.rb:35
643
+ #: ../app/models/setting/discovered.rb:33
641
644
  msgid "Lock PXE"
642
645
  msgstr ""
643
646
 
644
- #: ../app/models/setting/discovered.rb:36
647
+ #: ../app/models/setting/discovered.rb:34
645
648
  msgid "PXELinux template to be used when pinning a host to discovery"
646
649
  msgstr ""
647
650
 
648
- #: ../app/models/setting/discovered.rb:36
651
+ #: ../app/models/setting/discovered.rb:34
649
652
  msgid "Locked PXELinux template name"
650
653
  msgstr ""
651
654
 
652
- #: ../app/models/setting/discovered.rb:37
655
+ #: ../app/models/setting/discovered.rb:35
653
656
  msgid "PXEGrub template to be used when pinning a host to discovery"
654
657
  msgstr ""
655
658
 
656
- #: ../app/models/setting/discovered.rb:37
659
+ #: ../app/models/setting/discovered.rb:35
657
660
  msgid "Locked PXEGrub template name"
658
661
  msgstr ""
659
662
 
660
- #: ../app/models/setting/discovered.rb:38
663
+ #: ../app/models/setting/discovered.rb:36
661
664
  msgid "PXEGrub2 template to be used when pinning a host to discovery"
662
665
  msgstr ""
663
666
 
664
- #: ../app/models/setting/discovered.rb:38
667
+ #: ../app/models/setting/discovered.rb:36
665
668
  msgid "Locked PXEGrub2 template name"
666
669
  msgstr ""
667
670
 
668
- #: ../app/models/setting/discovered.rb:39
671
+ #: ../app/models/setting/discovered.rb:37
669
672
  msgid "Force DNS entries creation when provisioning discovered host"
670
673
  msgstr ""
671
674
 
672
- #: ../app/models/setting/discovered.rb:39
675
+ #: ../app/models/setting/discovered.rb:37
673
676
  msgid "Force DNS"
674
677
  msgstr ""
675
678
 
676
- #: ../app/models/setting/discovered.rb:40
679
+ #: ../app/models/setting/discovered.rb:38
677
680
  msgid "Do not allow to discover existing managed host matching MAC of a provisioning NIC (errors out early)"
678
681
  msgstr ""
679
682
 
680
- #: ../app/models/setting/discovered.rb:40
683
+ #: ../app/models/setting/discovered.rb:38
681
684
  msgid "Error on existing NIC"
682
685
  msgstr ""
683
686
 
684
- #: ../app/models/setting/discovered.rb:41
687
+ #: ../app/models/setting/discovered.rb:39
685
688
  msgid "Discovery hostname naming pattern"
686
689
  msgstr ""
687
690
 
688
- #: ../app/models/setting/discovered.rb:41
691
+ #: ../app/models/setting/discovered.rb:39
689
692
  msgid "Type of name generator"
690
693
  msgstr ""
691
694
 
@@ -701,14 +704,24 @@ msgstr ""
701
704
  msgid "Unable to find primary NIC with %{mac} specified via '%{fact}', NIC filter: %{filter}"
702
705
  msgstr ""
703
706
 
704
- #: ../app/services/foreman_discovery/node_api/node_resource.rb:75
707
+ #: ../app/services/foreman_discovery/host_converter.rb:47
708
+ msgid "IPAM must be configured for subnet '%s'"
709
+ msgstr ""
710
+
711
+ #: ../app/services/foreman_discovery/node_api/node_resource.rb:76
705
712
  msgid "Image API returned HTTP/%{code} with '%{body}"
706
713
  msgstr "API образа вернул ошибку HTTP/%{code}: '%{body}"
707
714
 
708
- #: ../app/services/foreman_discovery/node_api/node_resource.rb:78
715
+ #: ../app/services/foreman_discovery/node_api/node_resource.rb:79
709
716
  msgid "Image API processing error: %{msg} (HTTP/%{code}, body: %{body})"
710
717
  msgstr "API образа вернул ошибку HTTP/%{code}: %{msg} (body: %{body})"
711
718
 
719
+ #: ../app/views/dashboard/_discovery_widget.html.erb:5
720
+ msgid "Discovered Host"
721
+ msgid_plural "Discovered Hosts"
722
+ msgstr[0] ""
723
+ msgstr[1] ""
724
+
712
725
  #: ../app/views/dashboard/_discovery_widget.html.erb:9
713
726
  msgid "No discovered hosts available"
714
727
  msgstr "Нет обнаруженных узлов"
@@ -1012,3 +1025,19 @@ msgstr ""
1012
1025
  #: ../lib/foreman_discovery/engine.rb:190
1013
1026
  msgid "ID of Discovery Proxy to use within this subnet for managing connection to discovered hosts"
1014
1027
  msgstr ""
1028
+
1029
+ #: action_names.rb:2
1030
+ msgid "Remote action:"
1031
+ msgstr ""
1032
+
1033
+ #: action_names.rb:3
1034
+ msgid "Import Puppet classes"
1035
+ msgstr ""
1036
+
1037
+ #: action_names.rb:4
1038
+ msgid "Import facts"
1039
+ msgstr ""
1040
+
1041
+ #: action_names.rb:5
1042
+ msgid "Action with sub plans"
1043
+ msgstr ""