foreman_discovery 16.3.1 → 17.0.1

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -5,9 +5,9 @@
5
5
  # Translators:
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: foreman_discovery 16.2.0\n"
8
+ "Project-Id-Version: foreman_discovery 16.3.4\n"
9
9
  "Report-Msgid-Bugs-To: \n"
10
- "PO-Revision-Date: 2020-05-26 17:21+0000\n"
10
+ "PO-Revision-Date: 2021-01-25 08:35+0000\n"
11
11
  "Last-Translator: Transifex Bot <>\n"
12
12
  "Language-Team: Galician (http://www.transifex.com/foreman/foreman/language/gl/"
13
13
  ")\n"
@@ -20,9 +20,6 @@ msgstr ""
20
20
  msgid "%s - The following hosts are about to be changed"
21
21
  msgstr "%s - Os seguintes equipos están a piques de ser modificados"
22
22
 
23
- msgid "%s ago"
24
- msgstr "Fai %s"
25
-
26
23
  msgid "%s discovered hosts were provisioned"
27
24
  msgstr ""
28
25
 
@@ -80,6 +77,12 @@ msgstr ""
80
77
  msgid "Clean all reported facts during provisioning (except discovery facts)"
81
78
  msgstr ""
82
79
 
80
+ msgid "Clone"
81
+ msgstr ""
82
+
83
+ msgid "Clone %s"
84
+ msgstr ""
85
+
83
86
  msgid "Collapse All"
84
87
  msgstr ""
85
88
 
@@ -145,9 +148,15 @@ msgstr[1] ""
145
148
  msgid "Discovered Hosts"
146
149
  msgstr ""
147
150
 
151
+ msgid "Discovered Rules"
152
+ msgstr ""
153
+
148
154
  msgid "Discovered host '%{host}' has all NICs filtered out, filter: %{filter}"
149
155
  msgstr ""
150
156
 
157
+ msgid "Discovered host reported from unknown subnet, communication will not be proxied."
158
+ msgstr ""
159
+
151
160
  msgid "Discovered host: %s"
152
161
  msgstr ""
153
162
 
@@ -160,6 +169,9 @@ msgstr ""
160
169
  msgid "Discovered hosts from Foreman server at %{foreman_url}"
161
170
  msgstr ""
162
171
 
172
+ msgid "Discovered hosts reported from unknown subnet are %s, communication will not be proxied."
173
+ msgstr ""
174
+
163
175
  msgid "Discovered hosts summary"
164
176
  msgstr ""
165
177
 
@@ -226,6 +238,9 @@ msgstr ""
226
238
  msgid "Enable rule '%s'?"
227
239
  msgstr ""
228
240
 
241
+ msgid "Error message goes here"
242
+ msgstr ""
243
+
229
244
  msgid "Error on existing NIC"
230
245
  msgstr ""
231
246
 
@@ -280,6 +295,9 @@ msgstr ""
280
295
  msgid "Failed to refresh facts for %{hostname} with error %{error_message}"
281
296
  msgstr ""
282
297
 
298
+ msgid "For more information please see "
299
+ msgstr ""
300
+
283
301
  msgid "Force DNS"
284
302
  msgstr ""
285
303
 
@@ -304,6 +322,9 @@ msgstr ""
304
322
  msgid "Host"
305
323
  msgstr "Equipo"
306
324
 
325
+ msgid "Host %s has been dicovered"
326
+ msgstr ""
327
+
307
328
  msgid "Host %{host} was provisioned with rule %{rule}"
308
329
  msgstr ""
309
330
 
@@ -482,6 +503,9 @@ msgstr ""
482
503
  msgid "New Discovery Rule"
483
504
  msgstr ""
484
505
 
506
+ msgid "New hosts"
507
+ msgstr ""
508
+
485
509
  msgid "New in the last 24 hours"
486
510
  msgstr ""
487
511
 
@@ -728,6 +752,9 @@ msgstr ""
728
752
  msgid "defines a pattern to assign human-readable hostnames to the matching hosts"
729
753
  msgstr ""
730
754
 
755
+ msgid "documentation"
756
+ msgstr ""
757
+
731
758
  msgid "enables to limit maximum amount of provisioned hosts per rule"
732
759
  msgstr ""
733
760
 
@@ -7,9 +7,10 @@
7
7
  # caifti <caifti@gmail.com>, 2014
8
8
  msgid ""
9
9
  msgstr ""
10
- "Project-Id-Version: foreman_discovery 16.2.0\n"
10
+ "Project-Id-Version: foreman_discovery 16.3.4\n"
11
11
  "Report-Msgid-Bugs-To: \n"
12
- "PO-Revision-Date: 2020-05-26 17:21+0000\n"
12
+ "POT-Creation-Date: 2021-05-03 08:46+0200\n"
13
+ "PO-Revision-Date: 2021-01-25 08:35+0000\n"
13
14
  "Last-Translator: Transifex Bot <>\n"
14
15
  "Language-Team: Italian (http://www.transifex.com/foreman/foreman/language/it/)"
15
16
  "\n"
@@ -57,7 +58,7 @@ msgstr "Esegui il provisioning di un host rilevato"
57
58
 
58
59
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:54 ../app/controllers/api/v2/discovered_hosts_controller.rb:57 ../app/controllers/api/v2/discovered_hosts_controller.rb:58 ../app/controllers/api/v2/discovered_hosts_controller.rb:61 ../app/controllers/api/v2/discovered_hosts_controller.rb:64
59
60
  msgid "required if host is managed and value is not inherited from host group"
60
- msgstr ""
61
+ msgstr "necessario se l'host è gestito ed il valore non è stato ereditato da un gruppo di host"
61
62
 
62
63
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:55
63
64
  msgid "not required if using a subnet with DHCP proxy"
@@ -69,31 +70,31 @@ msgstr "non necessario se è una macchina virtuale"
69
70
 
70
71
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:62
71
72
  msgid "required if not imaged based provisioning and host is managed and value is not inherited from host group"
72
- msgstr ""
73
+ msgstr "necessario se non è disponibile imaged based provisioning e l'host è gestito ed il valore non è stato ereditato dal gruppo di host"
73
74
 
74
75
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:63
75
76
  msgid "required if host is managed and custom partition has not been defined"
76
- msgstr ""
77
+ msgstr "necessario se l'host è gestito e la partizione personalizzata non è stata definita"
77
78
 
78
79
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:69
79
80
  msgid "Host's owner type"
80
- msgstr ""
81
+ msgstr "Tipo di proprietario dell'host"
81
82
 
82
83
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:72
83
84
  msgid "Host's parameters (array or indexed hash)"
84
- msgstr ""
85
+ msgstr "Parametri dell'host (array o hash indicizzato)"
85
86
 
86
87
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:73
87
88
  msgid "Name of the parameter"
88
- msgstr ""
89
+ msgstr "Nome del parametro"
89
90
 
90
91
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:74
91
92
  msgid "Parameter value"
92
- msgstr ""
93
+ msgstr "Valore parametro"
93
94
 
94
95
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:75
95
96
  msgid "Type of value"
96
- msgstr ""
97
+ msgstr "Tipo di valore"
97
98
 
98
99
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:82
99
100
  msgid "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
@@ -115,51 +116,51 @@ msgstr "Carica gli eventi per un host creando, se necessario, un host"
115
116
  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)"
116
117
  msgstr ""
117
118
 
118
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:129
119
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:130
119
120
  msgid "Execute rules against a discovered host"
120
121
  msgstr "Esegui le regole nei confronti di un host rilevato"
121
122
 
122
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:135 ../app/controllers/discovered_hosts_controller.rb:160
123
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:136 ../app/controllers/discovered_hosts_controller.rb:157
123
124
  msgid "Host %{host} was provisioned with rule %{rule}"
124
125
  msgstr "È stato eseguito il provisioning dell'host %{host} con la regola %{rule}"
125
126
 
126
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:138
127
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:139
127
128
  msgid "Unable to provision %{host}: %{errors}"
128
129
  msgstr ""
129
130
 
130
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:144 ../app/controllers/discovered_hosts_controller.rb:167
131
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:145 ../app/controllers/discovered_hosts_controller.rb:164
131
132
  msgid "No rule found for host %s"
132
133
  msgstr "Nessuna regola trovata per l'host %s"
133
134
 
134
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:151
135
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:152
135
136
  msgid "Execute rules against all currently discovered hosts"
136
137
  msgstr "Esegui le regole nei confronti degli host attualemente rilevati"
137
138
 
138
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:155 ../app/controllers/discovered_hosts_controller.rb:173
139
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:156 ../app/controllers/discovered_hosts_controller.rb:170
139
140
  msgid "Errors during auto provisioning: %s"
140
141
  msgstr "Errore durante auto provisioning: %s"
141
142
 
142
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:158 ../app/controllers/discovered_hosts_controller.rb:176
143
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:159 ../app/controllers/discovered_hosts_controller.rb:173
143
144
  msgid "No discovered hosts to provision"
144
145
  msgstr "Nessun host rilevato per il provisioning"
145
146
 
146
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:180
147
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:181
147
148
  msgid "%s discovered hosts were provisioned"
148
149
  msgstr ""
149
150
 
150
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:191
151
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:192
151
152
  msgid "Refreshing the facts of a discovered host"
152
153
  msgstr "Aggiornamento eventi di un host rilevato"
153
154
 
154
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:200
155
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:201
155
156
  msgid "Rebooting a discovered host"
156
157
  msgstr "Riavvio di un host rilevato"
157
158
 
158
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:209
159
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:210
159
160
  msgid "Rebooting all discovered hosts"
160
161
  msgstr ""
161
162
 
162
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:220 ../app/controllers/discovered_hosts_controller.rb:129
163
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:221 ../app/controllers/discovered_hosts_controller.rb:126
163
164
  msgid "Discovered hosts are rebooting now"
164
165
  msgstr ""
165
166
 
@@ -239,119 +240,95 @@ msgstr ""
239
240
  msgid "No discovered hosts to reboot"
240
241
  msgstr ""
241
242
 
242
- #: ../app/controllers/discovered_hosts_controller.rb:63
243
+ #: ../app/controllers/discovered_hosts_controller.rb:60
243
244
  msgid "Successfully provisioned %s"
244
245
  msgstr ""
245
246
 
246
- #: ../app/controllers/discovered_hosts_controller.rb:97
247
+ #: ../app/controllers/discovered_hosts_controller.rb:94
247
248
  msgid "Facts refreshed for %s"
248
249
  msgstr "Eventi aggiornati per %s"
249
250
 
250
- #: ../app/controllers/discovered_hosts_controller.rb:99
251
+ #: ../app/controllers/discovered_hosts_controller.rb:96
251
252
  msgid "Failed to refresh facts for %s"
252
253
  msgstr "Impossibile aggiornare gli eventi per %s"
253
254
 
254
- #: ../app/controllers/discovered_hosts_controller.rb:102
255
+ #: ../app/controllers/discovered_hosts_controller.rb:99
255
256
  msgid "Failed to refresh facts for %{hostname} with error %{error_message}"
256
257
  msgstr ""
257
258
 
258
- #: ../app/controllers/discovered_hosts_controller.rb:109
259
+ #: ../app/controllers/discovered_hosts_controller.rb:106
259
260
  msgid "Host of type %s can not be rebooted"
260
261
  msgstr "Impossibile eseguire il riavvio sul tipo di host %s "
261
262
 
262
- #: ../app/controllers/discovered_hosts_controller.rb:113
263
+ #: ../app/controllers/discovered_hosts_controller.rb:110
263
264
  msgid "Rebooting host %s"
264
265
  msgstr "Riavvio host %s"
265
266
 
266
- #: ../app/controllers/discovered_hosts_controller.rb:115
267
+ #: ../app/controllers/discovered_hosts_controller.rb:112
267
268
  msgid "Failed to reboot host %s"
268
269
  msgstr "Impossibile eseguire il riavvio dell'host: %s"
269
270
 
270
- #: ../app/controllers/discovered_hosts_controller.rb:118
271
+ #: ../app/controllers/discovered_hosts_controller.rb:115
271
272
  msgid "Failed to reboot host %{hostname} with error %{error_message}"
272
273
  msgstr "Impossibile eseguire il riavvio dell'host %{hostname} con errore %{error_message}"
273
274
 
274
- #: ../app/controllers/discovered_hosts_controller.rb:132
275
+ #: ../app/controllers/discovered_hosts_controller.rb:129
275
276
  msgid "Failed to reboot hosts with error %s"
276
277
  msgstr ""
277
278
 
278
- #: ../app/controllers/discovered_hosts_controller.rb:150
279
+ #: ../app/controllers/discovered_hosts_controller.rb:147
279
280
  msgid "Destroyed selected hosts"
280
281
  msgstr "Host selezionati annullati"
281
282
 
282
- #: ../app/controllers/discovered_hosts_controller.rb:152
283
+ #: ../app/controllers/discovered_hosts_controller.rb:149
283
284
  msgid "The following hosts were not deleted: %s"
284
285
  msgstr "I seguenti host non sono stati rilevati: %s"
285
286
 
286
- #: ../app/controllers/discovered_hosts_controller.rb:164
287
+ #: ../app/controllers/discovered_hosts_controller.rb:161
287
288
  msgid "Failed to auto provision host %s: %s"
288
289
  msgstr "Impossibile eseguire auto provision dell'host %s: %s"
289
290
 
290
- #: ../app/controllers/discovered_hosts_controller.rb:192
291
+ #: ../app/controllers/discovered_hosts_controller.rb:189
291
292
  msgid "Discovered hosts are provisioning now"
292
293
  msgstr "Gli host rilevati stanno eseguendo ora il provisioning"
293
294
 
294
- #: ../app/controllers/discovered_hosts_controller.rb:226
295
- msgid "Highlights"
295
+ #: ../app/controllers/discovered_hosts_controller.rb:270
296
+ msgid "Discovered host reported from unknown subnet, communication will not be proxied."
296
297
  msgstr ""
297
298
 
298
- #: ../app/controllers/discovered_hosts_controller.rb:226
299
- msgid "Storage"
300
- msgstr "Storage"
301
-
302
- #: ../app/controllers/discovered_hosts_controller.rb:226
303
- msgid "Hardware"
304
- msgstr "Hardware"
305
-
306
- #: ../app/controllers/discovered_hosts_controller.rb:226
307
- msgid "Network"
308
- msgstr "Rete"
309
-
310
- #: ../app/controllers/discovered_hosts_controller.rb:226
311
- msgid "Software"
312
- msgstr "Software"
313
-
314
- #: ../app/controllers/discovered_hosts_controller.rb:226
315
- msgid "IPMI"
316
- msgstr "IPMI"
317
-
318
- #: ../app/controllers/discovered_hosts_controller.rb:226
319
- msgid "Miscellaneous"
320
- msgstr "Varie"
299
+ #: ../app/controllers/discovered_hosts_controller.rb:275
300
+ msgid "Discovered hosts reported from unknown subnet are %s, communication will not be proxied."
301
+ msgstr ""
321
302
 
322
- #: ../app/controllers/discovered_hosts_controller.rb:304
303
+ #: ../app/controllers/discovered_hosts_controller.rb:289
323
304
  msgid "No hosts were found with that id or name"
324
305
  msgstr "Nessun host trovato con l'id o nome indicato"
325
306
 
326
- #: ../app/controllers/discovered_hosts_controller.rb:308
307
+ #: ../app/controllers/discovered_hosts_controller.rb:293
327
308
  msgid "No hosts selected"
328
309
  msgstr "Nessun host selezionato"
329
310
 
330
- #: ../app/controllers/discovered_hosts_controller.rb:314
311
+ #: ../app/controllers/discovered_hosts_controller.rb:299
331
312
  msgid "Something went wrong while selecting hosts - %s"
332
313
  msgstr "Si è verificato un errore durante la selezione degli host - %s"
333
314
 
334
- #: ../app/controllers/discovery_rules_controller.rb:68
315
+ #: ../app/controllers/discovery_rules_controller.rb:79
335
316
  msgid "Rule enabled"
336
317
  msgstr "Regola abilitata"
337
318
 
338
- #: ../app/controllers/discovery_rules_controller.rb:68
319
+ #: ../app/controllers/discovery_rules_controller.rb:79
339
320
  msgid "Rule disabled"
340
321
  msgstr "Regola disabilitata"
341
322
 
342
- #: ../app/helpers/discovered_hosts_helper.rb:10
343
- msgid "%s ago"
344
- msgstr "%s fa"
345
-
346
- #: ../app/helpers/discovered_hosts_helper.rb:14 ../app/helpers/discovered_hosts_helper.rb:29 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:37
323
+ #: ../app/helpers/discovered_hosts_helper.rb:14 ../app/helpers/discovered_hosts_helper.rb:29 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:40
347
324
  msgid "Auto Provision"
348
325
  msgstr "Auto Provision"
349
326
 
350
- #: ../app/helpers/discovered_hosts_helper.rb:15 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:38
327
+ #: ../app/helpers/discovered_hosts_helper.rb:15 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:41
351
328
  msgid "Refresh facts"
352
329
  msgstr "Aggiorna eventi"
353
330
 
354
- #: ../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
331
+ #: ../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
355
332
  msgid "Reboot"
356
333
  msgstr "Riavvia"
357
334
 
@@ -363,7 +340,7 @@ msgstr "Indietro"
363
340
  msgid "Select Action"
364
341
  msgstr "Seleziona azione"
365
342
 
366
- #: ../app/helpers/discovered_hosts_helper.rb:23 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:40
343
+ #: ../app/helpers/discovered_hosts_helper.rb:23 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:43
367
344
  msgid "Delete %s?"
368
345
  msgstr "Cancella %s?"
369
346
 
@@ -428,6 +405,10 @@ msgid "Enable rule '%s'?"
428
405
  msgstr ""
429
406
 
430
407
  #: ../app/helpers/discovery_rules_helper.rb:33
408
+ msgid "Clone"
409
+ msgstr ""
410
+
411
+ #: ../app/helpers/discovery_rules_helper.rb:34
431
412
  msgid "Delete rule '%s'?"
432
413
  msgstr ""
433
414
 
@@ -451,13 +432,13 @@ msgstr "deve iniziare con una lettera o ERB."
451
432
  msgid "must be present."
452
433
  msgstr ""
453
434
 
454
- #: ../app/models/discovery_rule.rb:52
435
+ #: ../app/models/discovery_rule.rb:57
455
436
  msgid "Host group organization %s must also be associated to the discovery rule"
456
437
  msgid_plural "Host group organizations %s must also be associated to the discovery rule"
457
438
  msgstr[0] ""
458
439
  msgstr[1] ""
459
440
 
460
- #: ../app/models/discovery_rule.rb:56
441
+ #: ../app/models/discovery_rule.rb:61
461
442
  msgid "Host group location %s must also be associated to the discovery rule"
462
443
  msgid_plural "Host group locations %s must also be associated to the discovery rule"
463
444
  msgstr[0] ""
@@ -727,6 +708,34 @@ msgstr ""
727
708
  msgid "Unable to find primary NIC with %{mac} specified via '%{fact}', NIC filter: %{filter}"
728
709
  msgstr ""
729
710
 
711
+ #: ../app/services/foreman_discovery/fact_to_category_resolver.rb:7
712
+ msgid "Highlights"
713
+ msgstr ""
714
+
715
+ #: ../app/services/foreman_discovery/fact_to_category_resolver.rb:8
716
+ msgid "Storage"
717
+ msgstr "Storage"
718
+
719
+ #: ../app/services/foreman_discovery/fact_to_category_resolver.rb:9
720
+ msgid "Hardware"
721
+ msgstr "Hardware"
722
+
723
+ #: ../app/services/foreman_discovery/fact_to_category_resolver.rb:10
724
+ msgid "Network"
725
+ msgstr "Rete"
726
+
727
+ #: ../app/services/foreman_discovery/fact_to_category_resolver.rb:11
728
+ msgid "Software"
729
+ msgstr "Software"
730
+
731
+ #: ../app/services/foreman_discovery/fact_to_category_resolver.rb:12
732
+ msgid "IPMI"
733
+ msgstr "IPMI"
734
+
735
+ #: ../app/services/foreman_discovery/fact_to_category_resolver.rb:13
736
+ msgid "Miscellaneous"
737
+ msgstr "Varie"
738
+
730
739
  #: ../app/services/foreman_discovery/host_converter.rb:47
731
740
  msgid "IPAM must be configured for subnet '%s'"
732
741
  msgstr ""
@@ -739,6 +748,10 @@ msgstr ""
739
748
  msgid "Image API processing error: %{msg} (HTTP/%{code}, body: %{body})"
740
749
  msgstr ""
741
750
 
751
+ #: ../app/services/foreman_discovery/ui_notifications/new_host.rb:22
752
+ msgid "Host %s has been dicovered"
753
+ msgstr ""
754
+
742
755
  #: ../app/views/dashboard/_discovery_widget.html.erb:5
743
756
  msgid "Discovered Host"
744
757
  msgid_plural "Discovered Hosts"
@@ -753,15 +766,15 @@ msgstr "Nessun host rilevato disponibile"
753
766
  msgid "Host"
754
767
  msgstr "Host"
755
768
 
756
- #: ../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
769
+ #: ../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
757
770
  msgid "Model"
758
771
  msgstr "Modello"
759
772
 
760
- #: ../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
773
+ #: ../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
761
774
  msgid "CPUs"
762
775
  msgstr "CPU"
763
776
 
764
- #: ../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
777
+ #: ../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
765
778
  msgid "Memory"
766
779
  msgstr "Memoria"
767
780
 
@@ -771,61 +784,61 @@ msgstr ""
771
784
 
772
785
  #: ../app/views/discovered_hosts/_discovered_host_modal.html.erb:24
773
786
  msgid "Create Host"
774
- msgstr ""
787
+ msgstr "Crea Host"
775
788
 
776
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:4
789
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:5
777
790
  msgid "Select all items in this page"
778
791
  msgstr "Seleziona tutti gli oggetti in questa pagina"
779
792
 
780
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:4
793
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:5
781
794
  msgid "items selected. Uncheck to Clear"
782
795
  msgstr "oggetti selezionati. Deselezionare per annullare"
783
796
 
784
- #: ../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
797
+ #: ../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
785
798
  msgid "Name"
786
799
  msgstr "Nome"
787
800
 
788
- #: ../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
801
+ #: ../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
789
802
  msgid "IP Address"
790
803
  msgstr "Indirizzo IP"
791
804
 
792
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:10
805
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:11
793
806
  msgid "Disk Count"
794
807
  msgstr ""
795
808
 
796
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:11
809
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:12
797
810
  msgid "Disks Size"
798
811
  msgstr ""
799
812
 
800
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:15 ../app/views/discovered_hosts/_selected_hosts.html.erb:9
813
+ #: ../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
801
814
  msgid "Location"
802
815
  msgstr "Posizione"
803
816
 
804
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:16 ../app/views/discovered_hosts/_selected_hosts.html.erb:10
817
+ #: ../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
805
818
  msgid "Organization"
806
819
  msgstr "Organizzazione"
807
820
 
808
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:17
821
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:18
809
822
  msgid "Subnet"
810
823
  msgstr "Sottorete"
811
824
 
812
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:18
825
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:19
813
826
  msgid "Last Facts Upload"
814
827
  msgstr ""
815
828
 
816
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:19 ../app/views/discovery_rules/index.html.erb:12
829
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:20 ../app/views/discovery_rules/index.html.erb:14
817
830
  msgid "Actions"
818
831
  msgstr "Azioni"
819
832
 
820
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:51
833
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:55
821
834
  msgid "Please Confirm"
822
835
  msgstr "Conferma"
823
836
 
824
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:57
837
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:61
825
838
  msgid "Cancel"
826
839
  msgstr "Annulla"
827
840
 
828
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:58
841
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:62
829
842
  msgid "Submit"
830
843
  msgstr "Invia"
831
844
 
@@ -961,6 +974,10 @@ msgstr ""
961
974
  msgid "Hostnames must not start with numbers. A good approach is to use unique information provided by facter (MAC address, BIOS or serial ID)."
962
975
  msgstr ""
963
976
 
977
+ #: ../app/views/discovery_rules/clone.erb:1
978
+ msgid "Clone %s"
979
+ msgstr ""
980
+
964
981
  #: ../app/views/discovery_rules/edit.html.erb:1
965
982
  msgid "Edit %s"
966
983
  msgstr "Modifica %s"
@@ -969,7 +986,7 @@ msgstr "Modifica %s"
969
986
  msgid "Discovery Rules"
970
987
  msgstr "Regola per la scoperta"
971
988
 
972
- #: ../app/views/discovery_rules/index.html.erb:2
989
+ #: ../app/views/discovery_rules/index.html.erb:2 ../webpack/src/ForemanDiscovery/DiscoveryRules/Components/EmptyState/EmptyState.js:9
973
990
  msgid "Create Rule"
974
991
  msgstr ""
975
992
 
@@ -993,7 +1010,7 @@ msgstr "Gruppo di host"
993
1010
  msgid "Hosts/Limit"
994
1011
  msgstr ""
995
1012
 
996
- #: ../app/views/discovery_rules/index.html.erb:11
1013
+ #: ../app/views/discovery_rules/index.html.erb:13
997
1014
  msgid "DiscoveryRule|Enabled"
998
1015
  msgstr "Abilitata"
999
1016
 
@@ -1001,6 +1018,10 @@ msgstr "Abilitata"
1001
1018
  msgid "New Discovery Rule"
1002
1019
  msgstr "Nuova regola per la scoperta"
1003
1020
 
1021
+ #: ../app/views/discovery_rules/welcome.html.erb:8
1022
+ msgid "Discovered Rules"
1023
+ msgstr ""
1024
+
1004
1025
  #: ../db/seeds.d/50_discovery_templates.rb:5
1005
1026
  msgid "Command line options for kexec during PXE-less provisioning."
1006
1027
  msgstr ""
@@ -1010,8 +1031,8 @@ msgid "A summary of discovered hosts"
1010
1031
  msgstr ""
1011
1032
 
1012
1033
  #: ../db/seeds.d/80_discovery_ui_notification.rb:4
1013
- msgid "Hosts"
1014
- msgstr "Hosts"
1034
+ msgid "New hosts"
1035
+ msgstr ""
1015
1036
 
1016
1037
  #: ../db/seeds.d/80_discovery_ui_notification.rb:6
1017
1038
  msgid "One or more hosts have been discovered"
@@ -1021,34 +1042,54 @@ msgstr ""
1021
1042
  msgid "Details"
1022
1043
  msgstr "Dettagli:"
1023
1044
 
1024
- #: ../lib/foreman_discovery/engine.rb:180
1045
+ #: ../db/seeds.d/80_discovery_ui_notification.rb:18
1046
+ msgid "Hosts"
1047
+ msgstr "Hosts"
1048
+
1049
+ #: ../db/seeds.d/80_discovery_ui_notification.rb:20
1050
+ msgid "Error message goes here"
1051
+ msgstr ""
1052
+
1053
+ #: ../lib/foreman_discovery/engine.rb:176
1025
1054
  msgid "Discovery Kexec template"
1026
1055
  msgstr ""
1027
1056
 
1028
- #: ../lib/foreman_discovery/engine.rb:189
1057
+ #: ../lib/foreman_discovery/engine.rb:185
1029
1058
  msgid "Discovery Proxy"
1030
1059
  msgstr ""
1031
1060
 
1032
- #: ../lib/foreman_discovery/engine.rb:190
1061
+ #: ../lib/foreman_discovery/engine.rb:186
1033
1062
  msgid "Discovery Proxy to use within this subnet for managing connection to discovered hosts"
1034
1063
  msgstr ""
1035
1064
 
1036
- #: ../lib/foreman_discovery/engine.rb:191
1065
+ #: ../lib/foreman_discovery/engine.rb:187
1037
1066
  msgid "ID of Discovery Proxy to use within this subnet for managing connection to discovered hosts"
1038
1067
  msgstr ""
1039
1068
 
1069
+ #: ../webpack/__mocks__/foremanReact/components/common/EmptyState/EmptyStatePattern.js:33
1070
+ msgid "For more information please see "
1071
+ msgstr ""
1072
+
1073
+ #: ../webpack/__mocks__/foremanReact/components/common/EmptyState/EmptyStatePattern.js:34
1074
+ msgid "documentation"
1075
+ msgstr ""
1076
+
1040
1077
  #: action_names.rb:2
1041
1078
  msgid "Remote action:"
1042
- msgstr ""
1079
+ msgstr "Azione remota:"
1043
1080
 
1044
1081
  #: action_names.rb:3
1045
1082
  msgid "Import Puppet classes"
1046
- msgstr ""
1083
+ msgstr "Importa classi Puppet"
1047
1084
 
1048
1085
  #: action_names.rb:4
1049
- msgid "Action with sub plans"
1050
- msgstr ""
1086
+ msgid "Import facts"
1087
+ msgstr "Importa gli eventi"
1051
1088
 
1052
1089
  #: action_names.rb:5
1053
- msgid "Import facts"
1090
+ msgid "Action with sub plans"
1054
1091
  msgstr ""
1092
+
1093
+ #: ../app/helpers/discovered_hosts_helper.rb:10
1094
+ #~ msgid "%s ago"
1095
+ #~ msgstr "%s fa"