foreman_discovery 16.3.1 → 17.0.1

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 (96) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/api/v2/discovered_hosts_controller.rb +1 -0
  3. data/app/controllers/discovered_hosts_controller.rb +24 -35
  4. data/app/controllers/discovery_rules_controller.rb +12 -1
  5. data/app/helpers/discovered_hosts_helper.rb +6 -1
  6. data/app/helpers/discovery_rules_helper.rb +1 -0
  7. data/app/models/discovery_rule.rb +10 -5
  8. data/app/services/foreman_discovery/fact_to_category_resolver.rb +106 -0
  9. data/app/services/foreman_discovery/ui_notifications/failed_discovery.rb +34 -0
  10. data/app/services/foreman_discovery/ui_notifications/new_host.rb +2 -1
  11. data/app/views/discovered_hosts/_discovered_hosts_list.html.erb +44 -40
  12. data/app/views/discovered_hosts/welcome.html.erb +1 -2
  13. data/app/views/discovery_rules/clone.erb +3 -0
  14. data/app/views/discovery_rules/index.html.erb +4 -0
  15. data/app/views/discovery_rules/welcome.html.erb +15 -0
  16. data/app/views/foreman_discovery/debian_kexec.erb +1 -1
  17. data/app/views/foreman_discovery/redhat_kexec.erb +1 -1
  18. data/config/routes.rb +2 -0
  19. data/db/seeds.d/80_discovery_ui_notification.rb +11 -5
  20. data/lib/foreman_discovery/engine.rb +3 -7
  21. data/lib/foreman_discovery/version.rb +1 -1
  22. data/locale/ca/LC_MESSAGES/foreman_discovery.mo +0 -0
  23. data/locale/ca/foreman_discovery.edit.po +136 -98
  24. data/locale/ca/foreman_discovery.po +36 -9
  25. data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
  26. data/locale/de/foreman_discovery.edit.po +148 -112
  27. data/locale/de/foreman_discovery.po +45 -18
  28. data/locale/en/LC_MESSAGES/foreman_discovery.mo +0 -0
  29. data/locale/en/foreman_discovery.edit.po +127 -91
  30. data/locale/en/foreman_discovery.po +31 -4
  31. data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
  32. data/locale/en_GB/foreman_discovery.edit.po +139 -109
  33. data/locale/en_GB/foreman_discovery.po +36 -9
  34. data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
  35. data/locale/es/foreman_discovery.edit.po +172 -140
  36. data/locale/es/foreman_discovery.po +70 -41
  37. data/locale/foreman_discovery.pot +142 -97
  38. data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
  39. data/locale/fr/foreman_discovery.edit.po +179 -147
  40. data/locale/fr/foreman_discovery.po +76 -49
  41. data/locale/gl/LC_MESSAGES/foreman_discovery.mo +0 -0
  42. data/locale/gl/foreman_discovery.edit.po +133 -92
  43. data/locale/gl/foreman_discovery.po +32 -5
  44. data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
  45. data/locale/it/foreman_discovery.edit.po +147 -106
  46. data/locale/it/foreman_discovery.po +44 -17
  47. data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
  48. data/locale/ja/foreman_discovery.edit.po +182 -152
  49. data/locale/ja/foreman_discovery.po +79 -54
  50. data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
  51. data/locale/ko/foreman_discovery.edit.po +146 -105
  52. data/locale/ko/foreman_discovery.po +43 -16
  53. data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
  54. data/locale/pt_BR/foreman_discovery.edit.po +171 -136
  55. data/locale/pt_BR/foreman_discovery.po +69 -39
  56. data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
  57. data/locale/ru/foreman_discovery.edit.po +147 -106
  58. data/locale/ru/foreman_discovery.po +43 -16
  59. data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
  60. data/locale/sv_SE/foreman_discovery.edit.po +135 -94
  61. data/locale/sv_SE/foreman_discovery.po +34 -7
  62. data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
  63. data/locale/zh_CN/foreman_discovery.edit.po +217 -188
  64. data/locale/zh_CN/foreman_discovery.po +114 -90
  65. data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
  66. data/locale/zh_TW/foreman_discovery.edit.po +146 -105
  67. data/locale/zh_TW/foreman_discovery.po +43 -16
  68. data/package.json +7 -7
  69. data/test/functional/api/v2/discovered_hosts_controller_test.rb +9 -0
  70. data/test/functional/discovery_rules_controller_test.rb +6 -1
  71. data/test/integration/discovered_hosts_test.rb +53 -5
  72. data/test/test_helper_discovery.rb +5 -0
  73. data/test/unit/discovery_rule_test.rb +24 -2
  74. data/test/unit/fact_to_category_resolver_test.rb +41 -0
  75. data/test/unit/ui_notifications/destroy_host_test.rb +2 -9
  76. data/test/unit/ui_notifications/new_host_test.rb +3 -3
  77. data/webpack/__mocks__/foremanReact/common/I18n.js +3 -0
  78. data/webpack/__mocks__/foremanReact/common/helpers.js +1 -0
  79. data/webpack/__mocks__/foremanReact/common/index.js +5 -0
  80. data/webpack/__mocks__/foremanReact/components/common/EmptyState/DefaultEmptyState.js +69 -0
  81. data/webpack/__mocks__/foremanReact/components/common/EmptyState/EmptyStatePattern.js +77 -0
  82. data/webpack/__mocks__/foremanReact/components/common/EmptyState/EmptyStatePropTypes.js +29 -0
  83. data/webpack/__mocks__/foremanReact/components/common/EmptyState/index.js +5 -0
  84. data/webpack/index.js +9 -8
  85. data/webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/EmptyState.js +7 -7
  86. data/webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/__test__/EmptyState.test.js +12 -0
  87. data/webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/__test__/__snapshots__/EmptyState.test.js.snap +16 -0
  88. data/webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/index.js +1 -1
  89. data/webpack/src/ForemanDiscovery/DiscoveredHosts/index.js +3 -3
  90. data/webpack/src/ForemanDiscovery/DiscoveryRules/Components/EmptyState/EmptyState.js +34 -0
  91. data/webpack/src/ForemanDiscovery/DiscoveryRules/Components/EmptyState/index.js +1 -0
  92. data/webpack/src/ForemanDiscovery/DiscoveryRules/Components/__test__/EmptyState.test.js +19 -0
  93. data/webpack/src/ForemanDiscovery/DiscoveryRules/Components/__test__/__snapshots__/EmptyState.test.js.snap +22 -0
  94. data/webpack/src/ForemanDiscovery/DiscoveryRules/index.js +6 -0
  95. data/webpack/src/reducers.js +0 -2
  96. metadata +39 -17
@@ -14,10 +14,10 @@
14
14
  # stbenjam <stephen@redhat.com>, 2016
15
15
  msgid ""
16
16
  msgstr ""
17
- "Project-Id-Version: foreman_discovery 16.2.0\n"
17
+ "Project-Id-Version: foreman_discovery 16.3.4\n"
18
18
  "Report-Msgid-Bugs-To: \n"
19
- "PO-Revision-Date: 2020-05-26 17:21+0000\n"
20
- "Last-Translator: Transifex Bot <>\n"
19
+ "PO-Revision-Date: 2021-01-25 08:35+0000\n"
20
+ "Last-Translator: Crited <Alexander.Stoll@netways.de>\n"
21
21
  "Language-Team: German (http://www.transifex.com/foreman/foreman/language/de/)\n"
22
22
  "MIME-Version: 1.0\n"
23
23
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -28,9 +28,6 @@ msgstr ""
28
28
  msgid "%s - The following hosts are about to be changed"
29
29
  msgstr "%s - Die folgenden Hosts werden geändert"
30
30
 
31
- msgid "%s ago"
32
- msgstr "vor %s"
33
-
34
31
  msgid "%s discovered hosts were provisioned"
35
32
  msgstr "%s entdeckte Hosts wurden bereitgestellt"
36
33
 
@@ -41,7 +38,7 @@ msgid "A summary of discovered hosts"
41
38
  msgstr "Eine Zusammenfassung der entdeckten Hosts"
42
39
 
43
40
  msgid "Action with sub plans"
44
- msgstr ""
41
+ msgstr "Aktion mit Unterplänen"
45
42
 
46
43
  msgid "Actions"
47
44
  msgstr "Aktionen"
@@ -88,6 +85,12 @@ msgstr "Alle Fakten löschen"
88
85
  msgid "Clean all reported facts during provisioning (except discovery facts)"
89
86
  msgstr "Alle berichteten Fakten während der Bereitstellung löschen (ausgenommen Entdeckungsfakten)"
90
87
 
88
+ msgid "Clone"
89
+ msgstr ""
90
+
91
+ msgid "Clone %s"
92
+ msgstr ""
93
+
91
94
  msgid "Collapse All"
92
95
  msgstr "Alle einklappen"
93
96
 
@@ -153,9 +156,15 @@ msgstr[1] ""
153
156
  msgid "Discovered Hosts"
154
157
  msgstr "Entdeckte Hosts"
155
158
 
159
+ msgid "Discovered Rules"
160
+ msgstr ""
161
+
156
162
  msgid "Discovered host '%{host}' has all NICs filtered out, filter: %{filter}"
157
163
  msgstr ""
158
164
 
165
+ msgid "Discovered host reported from unknown subnet, communication will not be proxied."
166
+ msgstr ""
167
+
159
168
  msgid "Discovered host: %s"
160
169
  msgstr "Entdeckter Host: %s"
161
170
 
@@ -168,6 +177,9 @@ msgstr "Entdeckte Hosts werden jetzt neu gestartet"
168
177
  msgid "Discovered hosts from Foreman server at %{foreman_url}"
169
178
  msgstr "Vom Foreman-Server unter %{foreman_url} entdeckte Hosts"
170
179
 
180
+ msgid "Discovered hosts reported from unknown subnet are %s, communication will not be proxied."
181
+ msgstr ""
182
+
171
183
  msgid "Discovered hosts summary"
172
184
  msgstr "Zusammenfassung entdeckter Hosts"
173
185
 
@@ -234,6 +246,9 @@ msgstr "Aktivieren"
234
246
  msgid "Enable rule '%s'?"
235
247
  msgstr "Regel '%s' aktivieren?"
236
248
 
249
+ msgid "Error message goes here"
250
+ msgstr ""
251
+
237
252
  msgid "Error on existing NIC"
238
253
  msgstr "Fehler auf existierenden NIC"
239
254
 
@@ -288,6 +303,9 @@ msgstr "Fehler beim Aktualisieren von Fakten für %s"
288
303
  msgid "Failed to refresh facts for %{hostname} with error %{error_message}"
289
304
  msgstr "Fehler beim Aktualisieren der Fakten für %{hostname} mit Fehlermeldung %{error_message}"
290
305
 
306
+ msgid "For more information please see "
307
+ msgstr ""
308
+
291
309
  msgid "Force DNS"
292
310
  msgstr "DNS erzwingen"
293
311
 
@@ -312,6 +330,9 @@ msgstr "Hervorhebungen"
312
330
  msgid "Host"
313
331
  msgstr "Host"
314
332
 
333
+ msgid "Host %s has been dicovered"
334
+ msgstr ""
335
+
315
336
  msgid "Host %{host} was provisioned with rule %{rule}"
316
337
  msgstr "Host %{host} wurde bereitgestellt mit Regel %{rule}"
317
338
 
@@ -332,10 +353,10 @@ msgid "Host of type %s can not be rebooted"
332
353
  msgstr "Host vom Typ %s kann nicht neu gestartet werden"
333
354
 
334
355
  msgid "Host's owner type"
335
- msgstr ""
356
+ msgstr "Eigentümertyp des Hosts"
336
357
 
337
358
  msgid "Host's parameters (array or indexed hash)"
338
- msgstr ""
359
+ msgstr "Hostparameter (Array oder indizierter Hash)"
339
360
 
340
361
  msgid "Hostname facts"
341
362
  msgstr "Hostnamenfakten"
@@ -386,10 +407,10 @@ msgid "Image API returned HTTP/%{code} with '%{body}"
386
407
  msgstr "Image API gibt HTTP/%{code} mit '%{body} zurück"
387
408
 
388
409
  msgid "Import Puppet classes"
389
- msgstr ""
410
+ msgstr "Puppet-Klassen importieren"
390
411
 
391
412
  msgid "Import facts"
392
- msgstr ""
413
+ msgstr "Fakten importieren"
393
414
 
394
415
  msgid "In addition to @host attribute function rand for random integers is available. Examples:"
395
416
  msgstr ""
@@ -479,7 +500,7 @@ msgid "Name"
479
500
  msgstr "Name"
480
501
 
481
502
  msgid "Name of the parameter"
482
- msgstr ""
503
+ msgstr "Name des Parameters"
483
504
 
484
505
  msgid "Network"
485
506
  msgstr "Netzwerk"
@@ -490,6 +511,9 @@ msgstr "Netzwerkfakten"
490
511
  msgid "New Discovery Rule"
491
512
  msgstr "Neue Entdeckungsregel"
492
513
 
514
+ msgid "New hosts"
515
+ msgstr ""
516
+
493
517
  msgid "New in the last 24 hours"
494
518
  msgstr "Neu in den letzten 24 Stunden"
495
519
 
@@ -542,7 +566,7 @@ msgid "PXELinux template to be used when pinning a host to discovery"
542
566
  msgstr ""
543
567
 
544
568
  msgid "Parameter value"
545
- msgstr ""
569
+ msgstr "Parameterwert"
546
570
 
547
571
  msgid "Please Confirm"
548
572
  msgstr "Bitte bestätigen"
@@ -608,7 +632,7 @@ msgid "Reloading kernel on %s"
608
632
  msgstr "Kernel auf %s wird neu geladen"
609
633
 
610
634
  msgid "Remote action:"
611
- msgstr ""
635
+ msgstr "Entfernte Aktion:"
612
636
 
613
637
  msgid "Reported in the last 7 days"
614
638
  msgstr "Berichtet in den letzten 7 Tagen"
@@ -698,7 +722,7 @@ msgid "Type of name generator"
698
722
  msgstr "Typ des Namensgenerators"
699
723
 
700
724
  msgid "Type of value"
701
- msgstr ""
725
+ msgstr "Typ des Wertes"
702
726
 
703
727
  msgid "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
704
728
  msgstr "UUID zum Tracken des Status der Orchestrierungsaufgaben, GET /api/orchestration/:UUID/tasks"
@@ -736,6 +760,9 @@ msgstr "darf keine Leerzeichen enthalten."
736
760
  msgid "defines a pattern to assign human-readable hostnames to the matching hosts"
737
761
  msgstr "definiert ein Muster, nach dem einfach lesbare Hostnamen zu übereinstimmenden Hosts zugewiesen werden"
738
762
 
763
+ msgid "documentation"
764
+ msgstr "Dokumentation"
765
+
739
766
  msgid "enables to limit maximum amount of provisioned hosts per rule"
740
767
  msgstr "ermöglicht die Begrenzung der maximal bereitgestellten Hosts pro Regel"
741
768
 
@@ -785,13 +812,13 @@ msgid "represents rule name shown to the users"
785
812
  msgstr "repräsentiert den Regelnamen, der Benutzern angezeigt wird"
786
813
 
787
814
  msgid "required if host is managed and custom partition has not been defined"
788
- msgstr ""
815
+ msgstr "erforderlich, wenn der Host gemanagt und keine spezifische Partition definiert ist"
789
816
 
790
817
  msgid "required if host is managed and value is not inherited from host group"
791
- msgstr ""
818
+ msgstr "erforderlich, wenn der Host gemanagt und der Wert nicht von einer Hostgruppe vererbt ist"
792
819
 
793
820
  msgid "required if not imaged based provisioning and host is managed and value is not inherited from host group"
794
- msgstr ""
821
+ msgstr "erforderlich, wenn die Bereitstellung nicht image-basiert, der Host gemanagt und der Wert nicht von einer Hostgruppe vererbt ist"
795
822
 
796
823
  msgid "required if value is not inherited from host group or default password in settings"
797
824
  msgstr "erforderlich, falls kein Wert von Hostgruppe geerbt wird oder es nicht das Standardpasswort in Einstellungen ist"
@@ -2,7 +2,7 @@
2
2
  # This file is distributed under the same license as the foreman_discovery package.
3
3
  msgid ""
4
4
  msgstr ""
5
- "Project-Id-Version: foreman_discovery 16.2.0\n"
5
+ "Project-Id-Version: foreman_discovery 16.3.4\n"
6
6
  "Report-Msgid-Bugs-To: foreman-dev@googlegroups.com\n"
7
7
  "PO-Revision-Date: 2015-12-27 01:18+0000\n"
8
8
  "Last-Translator: \n"
@@ -108,51 +108,51 @@ msgstr ""
108
108
  msgid "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)"
109
109
  msgstr ""
110
110
 
111
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:129
111
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:130
112
112
  msgid "Execute rules against a discovered host"
113
113
  msgstr ""
114
114
 
115
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:135 ../app/controllers/discovered_hosts_controller.rb:160
115
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:136 ../app/controllers/discovered_hosts_controller.rb:157
116
116
  msgid "Host %{host} was provisioned with rule %{rule}"
117
117
  msgstr ""
118
118
 
119
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:138
119
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:139
120
120
  msgid "Unable to provision %{host}: %{errors}"
121
121
  msgstr ""
122
122
 
123
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:144 ../app/controllers/discovered_hosts_controller.rb:167
123
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:145 ../app/controllers/discovered_hosts_controller.rb:164
124
124
  msgid "No rule found for host %s"
125
125
  msgstr ""
126
126
 
127
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:151
127
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:152
128
128
  msgid "Execute rules against all currently discovered hosts"
129
129
  msgstr ""
130
130
 
131
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:155 ../app/controllers/discovered_hosts_controller.rb:173
131
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:156 ../app/controllers/discovered_hosts_controller.rb:170
132
132
  msgid "Errors during auto provisioning: %s"
133
133
  msgstr ""
134
134
 
135
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:158 ../app/controllers/discovered_hosts_controller.rb:176
135
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:159 ../app/controllers/discovered_hosts_controller.rb:173
136
136
  msgid "No discovered hosts to provision"
137
137
  msgstr ""
138
138
 
139
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:180
139
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:181
140
140
  msgid "%s discovered hosts were provisioned"
141
141
  msgstr ""
142
142
 
143
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:191
143
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:192
144
144
  msgid "Refreshing the facts of a discovered host"
145
145
  msgstr ""
146
146
 
147
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:200
147
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:201
148
148
  msgid "Rebooting a discovered host"
149
149
  msgstr ""
150
150
 
151
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:209
151
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:210
152
152
  msgid "Rebooting all discovered hosts"
153
153
  msgstr ""
154
154
 
155
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:220 ../app/controllers/discovered_hosts_controller.rb:129
155
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:221 ../app/controllers/discovered_hosts_controller.rb:126
156
156
  msgid "Discovered hosts are rebooting now"
157
157
  msgstr ""
158
158
 
@@ -232,119 +232,95 @@ msgstr ""
232
232
  msgid "No discovered hosts to reboot"
233
233
  msgstr ""
234
234
 
235
- #: ../app/controllers/discovered_hosts_controller.rb:63
235
+ #: ../app/controllers/discovered_hosts_controller.rb:60
236
236
  msgid "Successfully provisioned %s"
237
237
  msgstr ""
238
238
 
239
- #: ../app/controllers/discovered_hosts_controller.rb:97
239
+ #: ../app/controllers/discovered_hosts_controller.rb:94
240
240
  msgid "Facts refreshed for %s"
241
241
  msgstr ""
242
242
 
243
- #: ../app/controllers/discovered_hosts_controller.rb:99
243
+ #: ../app/controllers/discovered_hosts_controller.rb:96
244
244
  msgid "Failed to refresh facts for %s"
245
245
  msgstr ""
246
246
 
247
- #: ../app/controllers/discovered_hosts_controller.rb:102
247
+ #: ../app/controllers/discovered_hosts_controller.rb:99
248
248
  msgid "Failed to refresh facts for %{hostname} with error %{error_message}"
249
249
  msgstr ""
250
250
 
251
- #: ../app/controllers/discovered_hosts_controller.rb:109
251
+ #: ../app/controllers/discovered_hosts_controller.rb:106
252
252
  msgid "Host of type %s can not be rebooted"
253
253
  msgstr ""
254
254
 
255
- #: ../app/controllers/discovered_hosts_controller.rb:113
255
+ #: ../app/controllers/discovered_hosts_controller.rb:110
256
256
  msgid "Rebooting host %s"
257
257
  msgstr ""
258
258
 
259
- #: ../app/controllers/discovered_hosts_controller.rb:115
259
+ #: ../app/controllers/discovered_hosts_controller.rb:112
260
260
  msgid "Failed to reboot host %s"
261
261
  msgstr ""
262
262
 
263
- #: ../app/controllers/discovered_hosts_controller.rb:118
263
+ #: ../app/controllers/discovered_hosts_controller.rb:115
264
264
  msgid "Failed to reboot host %{hostname} with error %{error_message}"
265
265
  msgstr ""
266
266
 
267
- #: ../app/controllers/discovered_hosts_controller.rb:132
267
+ #: ../app/controllers/discovered_hosts_controller.rb:129
268
268
  msgid "Failed to reboot hosts with error %s"
269
269
  msgstr ""
270
270
 
271
- #: ../app/controllers/discovered_hosts_controller.rb:150
271
+ #: ../app/controllers/discovered_hosts_controller.rb:147
272
272
  msgid "Destroyed selected hosts"
273
273
  msgstr ""
274
274
 
275
- #: ../app/controllers/discovered_hosts_controller.rb:152
275
+ #: ../app/controllers/discovered_hosts_controller.rb:149
276
276
  msgid "The following hosts were not deleted: %s"
277
277
  msgstr ""
278
278
 
279
- #: ../app/controllers/discovered_hosts_controller.rb:164
279
+ #: ../app/controllers/discovered_hosts_controller.rb:161
280
280
  msgid "Failed to auto provision host %s: %s"
281
281
  msgstr ""
282
282
 
283
- #: ../app/controllers/discovered_hosts_controller.rb:192
283
+ #: ../app/controllers/discovered_hosts_controller.rb:189
284
284
  msgid "Discovered hosts are provisioning now"
285
285
  msgstr ""
286
286
 
287
- #: ../app/controllers/discovered_hosts_controller.rb:226
288
- msgid "Highlights"
289
- msgstr ""
290
-
291
- #: ../app/controllers/discovered_hosts_controller.rb:226
292
- msgid "Storage"
293
- msgstr ""
294
-
295
- #: ../app/controllers/discovered_hosts_controller.rb:226
296
- msgid "Hardware"
297
- msgstr ""
298
-
299
- #: ../app/controllers/discovered_hosts_controller.rb:226
300
- msgid "Network"
287
+ #: ../app/controllers/discovered_hosts_controller.rb:270
288
+ msgid "Discovered host reported from unknown subnet, communication will not be proxied."
301
289
  msgstr ""
302
290
 
303
- #: ../app/controllers/discovered_hosts_controller.rb:226
304
- msgid "Software"
305
- msgstr ""
306
-
307
- #: ../app/controllers/discovered_hosts_controller.rb:226
308
- msgid "IPMI"
291
+ #: ../app/controllers/discovered_hosts_controller.rb:275
292
+ msgid "Discovered hosts reported from unknown subnet are %s, communication will not be proxied."
309
293
  msgstr ""
310
294
 
311
- #: ../app/controllers/discovered_hosts_controller.rb:226
312
- msgid "Miscellaneous"
313
- msgstr ""
314
-
315
- #: ../app/controllers/discovered_hosts_controller.rb:304
295
+ #: ../app/controllers/discovered_hosts_controller.rb:289
316
296
  msgid "No hosts were found with that id or name"
317
297
  msgstr ""
318
298
 
319
- #: ../app/controllers/discovered_hosts_controller.rb:308
299
+ #: ../app/controllers/discovered_hosts_controller.rb:293
320
300
  msgid "No hosts selected"
321
301
  msgstr ""
322
302
 
323
- #: ../app/controllers/discovered_hosts_controller.rb:314
303
+ #: ../app/controllers/discovered_hosts_controller.rb:299
324
304
  msgid "Something went wrong while selecting hosts - %s"
325
305
  msgstr ""
326
306
 
327
- #: ../app/controllers/discovery_rules_controller.rb:68
307
+ #: ../app/controllers/discovery_rules_controller.rb:79
328
308
  msgid "Rule enabled"
329
309
  msgstr ""
330
310
 
331
- #: ../app/controllers/discovery_rules_controller.rb:68
311
+ #: ../app/controllers/discovery_rules_controller.rb:79
332
312
  msgid "Rule disabled"
333
313
  msgstr ""
334
314
 
335
- #: ../app/helpers/discovered_hosts_helper.rb:10
336
- msgid "%s ago"
337
- msgstr ""
338
-
339
- #: ../app/helpers/discovered_hosts_helper.rb:14 ../app/helpers/discovered_hosts_helper.rb:29 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:37
315
+ #: ../app/helpers/discovered_hosts_helper.rb:14 ../app/helpers/discovered_hosts_helper.rb:29 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:40
340
316
  msgid "Auto Provision"
341
317
  msgstr ""
342
318
 
343
- #: ../app/helpers/discovered_hosts_helper.rb:15 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:38
319
+ #: ../app/helpers/discovered_hosts_helper.rb:15 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:41
344
320
  msgid "Refresh facts"
345
321
  msgstr ""
346
322
 
347
- #: ../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
323
+ #: ../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:42
348
324
  msgid "Reboot"
349
325
  msgstr ""
350
326
 
@@ -356,7 +332,7 @@ msgstr ""
356
332
  msgid "Select Action"
357
333
  msgstr ""
358
334
 
359
- #: ../app/helpers/discovered_hosts_helper.rb:23 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:40
335
+ #: ../app/helpers/discovered_hosts_helper.rb:23 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:43
360
336
  msgid "Delete %s?"
361
337
  msgstr ""
362
338
 
@@ -421,6 +397,10 @@ msgid "Enable rule '%s'?"
421
397
  msgstr ""
422
398
 
423
399
  #: ../app/helpers/discovery_rules_helper.rb:33
400
+ msgid "Clone"
401
+ msgstr ""
402
+
403
+ #: ../app/helpers/discovery_rules_helper.rb:34
424
404
  msgid "Delete rule '%s'?"
425
405
  msgstr ""
426
406
 
@@ -444,13 +424,13 @@ msgstr ""
444
424
  msgid "must be present."
445
425
  msgstr ""
446
426
 
447
- #: ../app/models/discovery_rule.rb:52
427
+ #: ../app/models/discovery_rule.rb:57
448
428
  msgid "Host group organization %s must also be associated to the discovery rule"
449
429
  msgid_plural "Host group organizations %s must also be associated to the discovery rule"
450
430
  msgstr[0] ""
451
431
  msgstr[1] ""
452
432
 
453
- #: ../app/models/discovery_rule.rb:56
433
+ #: ../app/models/discovery_rule.rb:61
454
434
  msgid "Host group location %s must also be associated to the discovery rule"
455
435
  msgid_plural "Host group locations %s must also be associated to the discovery rule"
456
436
  msgstr[0] ""
@@ -720,6 +700,34 @@ msgstr ""
720
700
  msgid "Unable to find primary NIC with %{mac} specified via '%{fact}', NIC filter: %{filter}"
721
701
  msgstr ""
722
702
 
703
+ #: ../app/services/foreman_discovery/fact_to_category_resolver.rb:7
704
+ msgid "Highlights"
705
+ msgstr ""
706
+
707
+ #: ../app/services/foreman_discovery/fact_to_category_resolver.rb:8
708
+ msgid "Storage"
709
+ msgstr ""
710
+
711
+ #: ../app/services/foreman_discovery/fact_to_category_resolver.rb:9
712
+ msgid "Hardware"
713
+ msgstr ""
714
+
715
+ #: ../app/services/foreman_discovery/fact_to_category_resolver.rb:10
716
+ msgid "Network"
717
+ msgstr ""
718
+
719
+ #: ../app/services/foreman_discovery/fact_to_category_resolver.rb:11
720
+ msgid "Software"
721
+ msgstr ""
722
+
723
+ #: ../app/services/foreman_discovery/fact_to_category_resolver.rb:12
724
+ msgid "IPMI"
725
+ msgstr ""
726
+
727
+ #: ../app/services/foreman_discovery/fact_to_category_resolver.rb:13
728
+ msgid "Miscellaneous"
729
+ msgstr ""
730
+
723
731
  #: ../app/services/foreman_discovery/host_converter.rb:47
724
732
  msgid "IPAM must be configured for subnet '%s'"
725
733
  msgstr ""
@@ -732,6 +740,10 @@ msgstr ""
732
740
  msgid "Image API processing error: %{msg} (HTTP/%{code}, body: %{body})"
733
741
  msgstr ""
734
742
 
743
+ #: ../app/services/foreman_discovery/ui_notifications/new_host.rb:22
744
+ msgid "Host %s has been dicovered"
745
+ msgstr ""
746
+
735
747
  #: ../app/views/dashboard/_discovery_widget.html.erb:5
736
748
  msgid "Discovered Host"
737
749
  msgid_plural "Discovered Hosts"
@@ -746,15 +758,15 @@ msgstr ""
746
758
  msgid "Host"
747
759
  msgstr ""
748
760
 
749
- #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:4 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:6 ../app/views/discovered_hosts/_selected_hosts.html.erb:8 ../app/views/discovered_mailer/discovered_summary.html.erb:18 ../app/views/discovered_mailer/discovered_summary.text.erb:10
761
+ #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:4 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:7 ../app/views/discovered_hosts/_selected_hosts.html.erb:8 ../app/views/discovered_mailer/discovered_summary.html.erb:18 ../app/views/discovered_mailer/discovered_summary.text.erb:10
750
762
  msgid "Model"
751
763
  msgstr ""
752
764
 
753
- #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:5 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:8 ../app/views/discovered_mailer/discovered_summary.html.erb:20 ../app/views/discovered_mailer/discovered_summary.text.erb:12
765
+ #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:5 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:9 ../app/views/discovered_mailer/discovered_summary.html.erb:20 ../app/views/discovered_mailer/discovered_summary.text.erb:12
754
766
  msgid "CPUs"
755
767
  msgstr ""
756
768
 
757
- #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:6 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:9 ../app/views/discovered_mailer/discovered_summary.html.erb:21 ../app/views/discovered_mailer/discovered_summary.text.erb:13
769
+ #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:6 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:10 ../app/views/discovered_mailer/discovered_summary.html.erb:21 ../app/views/discovered_mailer/discovered_summary.text.erb:13
758
770
  msgid "Memory"
759
771
  msgstr ""
760
772
 
@@ -766,59 +778,59 @@ msgstr ""
766
778
  msgid "Create Host"
767
779
  msgstr ""
768
780
 
769
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:4
781
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:5
770
782
  msgid "Select all items in this page"
771
783
  msgstr ""
772
784
 
773
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:4
785
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:5
774
786
  msgid "items selected. Uncheck to Clear"
775
787
  msgstr ""
776
788
 
777
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:5 ../app/views/discovered_hosts/_selected_hosts.html.erb:7 ../app/views/discovered_mailer/discovered_summary.html.erb:17 ../app/views/discovered_mailer/discovered_summary.text.erb:9
789
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:6 ../app/views/discovered_hosts/_selected_hosts.html.erb:7 ../app/views/discovered_mailer/discovered_summary.html.erb:17 ../app/views/discovered_mailer/discovered_summary.text.erb:9
778
790
  msgid "Name"
779
791
  msgstr ""
780
792
 
781
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:7 ../app/views/discovered_mailer/discovered_summary.html.erb:19 ../app/views/discovered_mailer/discovered_summary.text.erb:11
793
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:8 ../app/views/discovered_mailer/discovered_summary.html.erb:19 ../app/views/discovered_mailer/discovered_summary.text.erb:11
782
794
  msgid "IP Address"
783
795
  msgstr ""
784
796
 
785
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:10
797
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:11
786
798
  msgid "Disk Count"
787
799
  msgstr ""
788
800
 
789
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:11
801
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:12
790
802
  msgid "Disks Size"
791
803
  msgstr ""
792
804
 
793
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:15 ../app/views/discovered_hosts/_selected_hosts.html.erb:9
805
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:16 ../app/views/discovered_hosts/_selected_hosts.html.erb:9 ../app/views/discovery_rules/index.html.erb:11
794
806
  msgid "Location"
795
807
  msgstr ""
796
808
 
797
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:16 ../app/views/discovered_hosts/_selected_hosts.html.erb:10
809
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:17 ../app/views/discovered_hosts/_selected_hosts.html.erb:10 ../app/views/discovery_rules/index.html.erb:12
798
810
  msgid "Organization"
799
811
  msgstr ""
800
812
 
801
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:17
813
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:18
802
814
  msgid "Subnet"
803
815
  msgstr ""
804
816
 
805
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:18
817
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:19
806
818
  msgid "Last Facts Upload"
807
819
  msgstr ""
808
820
 
809
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:19 ../app/views/discovery_rules/index.html.erb:12
821
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:20 ../app/views/discovery_rules/index.html.erb:14
810
822
  msgid "Actions"
811
823
  msgstr ""
812
824
 
813
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:51
825
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:55
814
826
  msgid "Please Confirm"
815
827
  msgstr ""
816
828
 
817
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:57
829
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:61
818
830
  msgid "Cancel"
819
831
  msgstr ""
820
832
 
821
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:58
833
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:62
822
834
  msgid "Submit"
823
835
  msgstr ""
824
836
 
@@ -954,6 +966,10 @@ msgstr ""
954
966
  msgid "Hostnames must not start with numbers. A good approach is to use unique information provided by facter (MAC address, BIOS or serial ID)."
955
967
  msgstr ""
956
968
 
969
+ #: ../app/views/discovery_rules/clone.erb:1
970
+ msgid "Clone %s"
971
+ msgstr ""
972
+
957
973
  #: ../app/views/discovery_rules/edit.html.erb:1
958
974
  msgid "Edit %s"
959
975
  msgstr ""
@@ -962,7 +978,7 @@ msgstr ""
962
978
  msgid "Discovery Rules"
963
979
  msgstr ""
964
980
 
965
- #: ../app/views/discovery_rules/index.html.erb:2
981
+ #: ../app/views/discovery_rules/index.html.erb:2 ../webpack/src/ForemanDiscovery/DiscoveryRules/Components/EmptyState/EmptyState.js:9
966
982
  msgid "Create Rule"
967
983
  msgstr ""
968
984
 
@@ -986,7 +1002,7 @@ msgstr ""
986
1002
  msgid "Hosts/Limit"
987
1003
  msgstr ""
988
1004
 
989
- #: ../app/views/discovery_rules/index.html.erb:11
1005
+ #: ../app/views/discovery_rules/index.html.erb:13
990
1006
  msgid "DiscoveryRule|Enabled"
991
1007
  msgstr ""
992
1008
 
@@ -994,6 +1010,10 @@ msgstr ""
994
1010
  msgid "New Discovery Rule"
995
1011
  msgstr ""
996
1012
 
1013
+ #: ../app/views/discovery_rules/welcome.html.erb:8
1014
+ msgid "Discovered Rules"
1015
+ msgstr ""
1016
+
997
1017
  #: ../db/seeds.d/50_discovery_templates.rb:5
998
1018
  msgid "Command line options for kexec during PXE-less provisioning."
999
1019
  msgstr ""
@@ -1003,7 +1023,7 @@ msgid "A summary of discovered hosts"
1003
1023
  msgstr ""
1004
1024
 
1005
1025
  #: ../db/seeds.d/80_discovery_ui_notification.rb:4
1006
- msgid "Hosts"
1026
+ msgid "New hosts"
1007
1027
  msgstr ""
1008
1028
 
1009
1029
  #: ../db/seeds.d/80_discovery_ui_notification.rb:6
@@ -1014,22 +1034,38 @@ msgstr ""
1014
1034
  msgid "Details"
1015
1035
  msgstr ""
1016
1036
 
1017
- #: ../lib/foreman_discovery/engine.rb:180
1037
+ #: ../db/seeds.d/80_discovery_ui_notification.rb:18
1038
+ msgid "Hosts"
1039
+ msgstr ""
1040
+
1041
+ #: ../db/seeds.d/80_discovery_ui_notification.rb:20
1042
+ msgid "Error message goes here"
1043
+ msgstr ""
1044
+
1045
+ #: ../lib/foreman_discovery/engine.rb:176
1018
1046
  msgid "Discovery Kexec template"
1019
1047
  msgstr ""
1020
1048
 
1021
- #: ../lib/foreman_discovery/engine.rb:189
1049
+ #: ../lib/foreman_discovery/engine.rb:185
1022
1050
  msgid "Discovery Proxy"
1023
1051
  msgstr ""
1024
1052
 
1025
- #: ../lib/foreman_discovery/engine.rb:190
1053
+ #: ../lib/foreman_discovery/engine.rb:186
1026
1054
  msgid "Discovery Proxy to use within this subnet for managing connection to discovered hosts"
1027
1055
  msgstr ""
1028
1056
 
1029
- #: ../lib/foreman_discovery/engine.rb:191
1057
+ #: ../lib/foreman_discovery/engine.rb:187
1030
1058
  msgid "ID of Discovery Proxy to use within this subnet for managing connection to discovered hosts"
1031
1059
  msgstr ""
1032
1060
 
1061
+ #: ../webpack/__mocks__/foremanReact/components/common/EmptyState/EmptyStatePattern.js:33
1062
+ msgid "For more information please see "
1063
+ msgstr ""
1064
+
1065
+ #: ../webpack/__mocks__/foremanReact/components/common/EmptyState/EmptyStatePattern.js:34
1066
+ msgid "documentation"
1067
+ msgstr ""
1068
+
1033
1069
  #: action_names.rb:2
1034
1070
  msgid "Remote action:"
1035
1071
  msgstr ""
@@ -1039,9 +1075,9 @@ msgid "Import Puppet classes"
1039
1075
  msgstr ""
1040
1076
 
1041
1077
  #: action_names.rb:4
1042
- msgid "Action with sub plans"
1078
+ msgid "Import facts"
1043
1079
  msgstr ""
1044
1080
 
1045
1081
  #: action_names.rb:5
1046
- msgid "Import facts"
1082
+ msgid "Action with sub plans"
1047
1083
  msgstr ""