foreman_discovery 13.0.1 → 14.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/concerns/foreman/controller/discovered_extensions.rb +3 -1
  3. data/app/models/host/discovered.rb +8 -78
  4. data/app/models/host/managed_extensions.rb +3 -3
  5. data/app/models/nic/managed_extensions.rb +1 -1
  6. data/app/services/foreman_discovery/import_hook.rb +12 -0
  7. data/app/services/foreman_discovery/import_hook_service.rb +24 -0
  8. data/app/services/foreman_discovery/import_hooks/discovery_attribute.rb +33 -0
  9. data/app/services/foreman_discovery/import_hooks/lldp_neighbor.rb +11 -0
  10. data/app/services/foreman_discovery/import_hooks/lock_templates.rb +27 -0
  11. data/app/services/foreman_discovery/import_hooks/subnet_and_taxonomy.rb +63 -0
  12. data/app/views/discovered_hosts/_discovered_hosts_list.html.erb +1 -1
  13. data/app/views/foreman_discovery/debian_kexec.erb +4 -3
  14. data/app/views/foreman_discovery/redhat_kexec.erb +4 -2
  15. data/db/migrate/20141223142759_fill_discovery_attribute_sets_for_existing_hosts.rb +1 -2
  16. data/db/seeds.d/50_discovery_templates.rb +9 -2
  17. data/extra/discover-host +1 -1
  18. data/lib/foreman_discovery/engine.rb +1 -1
  19. data/lib/foreman_discovery/version.rb +1 -1
  20. data/locale/ca/LC_MESSAGES/foreman_discovery.mo +0 -0
  21. data/locale/ca/foreman_discovery.edit.po +100 -61
  22. data/locale/ca/foreman_discovery.po +31 -4
  23. data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
  24. data/locale/de/foreman_discovery.edit.po +111 -71
  25. data/locale/de/foreman_discovery.po +41 -13
  26. data/locale/en/foreman_discovery.edit.po +21 -17
  27. data/locale/en/foreman_discovery.po +3 -0
  28. data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
  29. data/locale/en_GB/foreman_discovery.edit.po +101 -62
  30. data/locale/en_GB/foreman_discovery.po +31 -4
  31. data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
  32. data/locale/es/foreman_discovery.edit.po +102 -63
  33. data/locale/es/foreman_discovery.po +32 -5
  34. data/locale/foreman_discovery.pot +24 -19
  35. data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
  36. data/locale/fr/foreman_discovery.edit.po +102 -63
  37. data/locale/fr/foreman_discovery.po +32 -5
  38. data/locale/gl/LC_MESSAGES/foreman_discovery.mo +0 -0
  39. data/locale/gl/foreman_discovery.edit.po +100 -61
  40. data/locale/gl/foreman_discovery.po +31 -4
  41. data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
  42. data/locale/it/foreman_discovery.edit.po +102 -63
  43. data/locale/it/foreman_discovery.po +32 -5
  44. data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
  45. data/locale/ja/foreman_discovery.edit.po +102 -63
  46. data/locale/ja/foreman_discovery.po +32 -5
  47. data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
  48. data/locale/ko/foreman_discovery.edit.po +101 -62
  49. data/locale/ko/foreman_discovery.po +31 -4
  50. data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
  51. data/locale/pt_BR/foreman_discovery.edit.po +102 -63
  52. data/locale/pt_BR/foreman_discovery.po +32 -5
  53. data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
  54. data/locale/ru/foreman_discovery.edit.po +102 -63
  55. data/locale/ru/foreman_discovery.po +32 -5
  56. data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
  57. data/locale/sv_SE/foreman_discovery.edit.po +101 -62
  58. data/locale/sv_SE/foreman_discovery.po +32 -5
  59. data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
  60. data/locale/zh_CN/foreman_discovery.edit.po +101 -62
  61. data/locale/zh_CN/foreman_discovery.po +31 -4
  62. data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
  63. data/locale/zh_TW/foreman_discovery.edit.po +102 -63
  64. data/locale/zh_TW/foreman_discovery.po +32 -5
  65. data/test/factories/discovery_host_related.rb +1 -1
  66. data/test/factories/discovery_rule_related.rb +4 -4
  67. data/{extra/discovery → test/facts}/default.json +0 -0
  68. data/{extra/discovery/many_ems.json → test/facts/dell_npars.json} +5 -7
  69. data/test/facts/dell_vlan.json +328 -0
  70. data/test/{unit → facts}/facts_with_lldp.json +0 -0
  71. data/test/{unit → facts}/facts_with_lldp_bond_candidate.json +0 -0
  72. data/test/facts/puppet3-virtual.json +109 -0
  73. data/{extra/discovery → test/facts}/pxeless-vlan.json +0 -0
  74. data/test/{unit/facts.json → facts/regular_host.json} +0 -0
  75. data/{extra/discovery → test/facts}/rhel-dl380-1kdisks.json +0 -0
  76. data/{extra/discovery → test/facts}/rhel-r730.json +0 -0
  77. data/{extra/discovery → test/facts}/rhel7-vlan.json +0 -0
  78. data/{extra/discovery → test/facts}/simple-bond.json +0 -0
  79. data/{extra/discovery → test/facts}/suse-vmware.json +0 -0
  80. data/test/facts/vmware_local.json +226 -0
  81. data/test/functional/api/v2/discovered_hosts_controller_test.rb +1 -1
  82. data/test/functional/api/v2/discovery_rules_controller_test.rb +1 -1
  83. data/test/functional/api/v2/fact_value_extensions_test.rb +1 -1
  84. data/test/functional/api/v2/settings_controller_test.rb +1 -1
  85. data/test/functional/discovered_hosts_controller_test.rb +3 -2
  86. data/test/functional/discovery_rules_controller_test.rb +3 -2
  87. data/test/functional/foreman_discovery/concerns/hosts_controller_extensions_test.rb +1 -1
  88. data/test/integration/discovered_hosts_test.rb +1 -1
  89. data/test/models/setting_test.rb +1 -1
  90. data/test/test_helper_discovery.rb +6 -2
  91. data/test/test_plugin_helper.rb +2 -3
  92. data/test/unit/discovered_extensions_test.rb +7 -3
  93. data/test/unit/discovered_mailer_test.rb +1 -1
  94. data/test/unit/discovery_attribute_set_test.rb +2 -6
  95. data/test/unit/discovery_rule_test.rb +1 -1
  96. data/test/unit/discovery_taxonomy_extensions_test.rb +5 -6
  97. data/test/unit/fact_parser_test.rb +1 -1
  98. data/test/unit/host_discovered_test.rb +36 -36
  99. data/test/unit/lldp_neighbors_test.rb +3 -7
  100. data/test/unit/managed_extensions_test.rb +4 -7
  101. data/test/unit/setting_discovered_test.rb +1 -1
  102. data/test/unit/ui_notifications/destroy_host_test.rb +1 -5
  103. data/test/unit/ui_notifications/new_host_test.rb +2 -6
  104. metadata +38 -16
@@ -7,7 +7,7 @@ msgid ""
7
7
  msgstr ""
8
8
  "Project-Id-Version: foreman_discovery 13.0.0\n"
9
9
  "Report-Msgid-Bugs-To: \n"
10
- "PO-Revision-Date: 2018-06-15 10:50+0000\n"
10
+ "PO-Revision-Date: 2018-10-25 20:13+0000\n"
11
11
  "Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>\n"
12
12
  "Language-Team: Chinese (China) (http://www.transifex.com/foreman/foreman/langu"
13
13
  "age/zh_CN/)\n"
@@ -32,6 +32,9 @@ msgstr "<b>Foreman</b> 发现主机概述"
32
32
  msgid "A summary of discovered hosts"
33
33
  msgstr "发现主机概述"
34
34
 
35
+ msgid "Actions"
36
+ msgstr "操作"
37
+
35
38
  msgid "Assign Location"
36
39
  msgstr "指定位置"
37
40
 
@@ -47,6 +50,9 @@ msgstr "自动置备"
47
50
  msgid "Auto provisioning"
48
51
  msgstr "自动置备"
49
52
 
53
+ msgid "Automatic bond interface (if another interface is detected on the same VLAN via LLDP)"
54
+ msgstr ""
55
+
50
56
  msgid "Automatically generate PXE configuration to pin a newly discovered host to discovery"
51
57
  msgstr "自动生成 PXE 配置,以将新发现主机固定至发现"
52
58
 
@@ -74,6 +80,9 @@ msgstr "置备期间清除所有报告的详情(发现详情除外)"
74
80
  msgid "Collapse All"
75
81
  msgstr "隐藏全部"
76
82
 
83
+ msgid "Command line options for kexec during PXE-less provisioning."
84
+ msgstr ""
85
+
77
86
  msgid "Could not get facts from proxy %{url}: %{error}"
78
87
  msgstr "无法从代理 %{url} 获得详情:%{error}"
79
88
 
@@ -89,6 +98,9 @@ msgstr "创建一个用于测试的发现主机(使用 /详情创建新主机
89
98
  msgid "Create a discovery rule"
90
99
  msgstr "创建发现规则"
91
100
 
101
+ msgid "Create bond interfaces"
102
+ msgstr ""
103
+
92
104
  msgid "Customize Host"
93
105
  msgstr "自定义主机"
94
106
 
@@ -161,6 +173,9 @@ msgstr "发现规则"
161
173
  msgid "Discovery fact parser does not work with non-discovery host '%{host}'"
162
174
  msgstr ""
163
175
 
176
+ msgid "Discovery hostname naming pattern"
177
+ msgstr ""
178
+
164
179
  msgid "Discovery location"
165
180
  msgstr "发现位置"
166
181
 
@@ -230,6 +245,9 @@ msgstr "期望的 discovery_fact '%s' 缺失,无法检测主接口和设置主
230
245
  msgid "Extra facter columns to show in host lists (separate by comma)"
231
246
  msgstr "在主机列表中显示的额外 facter 列(用逗号隔开)"
232
247
 
248
+ msgid "Fact + prefix"
249
+ msgstr ""
250
+
233
251
  msgid "Fact columns"
234
252
  msgstr "详情列"
235
253
 
@@ -369,6 +387,9 @@ msgstr "无效详情:hash 不包含 discovery_hostname 设置中任何详情
369
387
  msgid "Invalid hostname: Could not normalize the hostname"
370
388
  msgstr "无效的主机名:无法标准化主机名"
371
389
 
390
+ msgid "Invalid user type of %s was provided"
391
+ msgstr ""
392
+
372
393
  msgid "Kernel kexec URL is invalid: '%s'"
373
394
  msgstr "内核 kexec URL 无效:'%s'"
374
395
 
@@ -414,6 +435,9 @@ msgstr "锁定的 PXELinux 模板名称"
414
435
  msgid "MAC address"
415
436
  msgstr "MAC 地址"
416
437
 
438
+ msgid "MAC-based name"
439
+ msgstr ""
440
+
417
441
  msgid "Maximum hosts provisioned with this rule (0 = unlimited)"
418
442
  msgstr "按照此规则置备的最大主机数(0 = 没有限制)"
419
443
 
@@ -426,9 +450,6 @@ msgstr "杂项"
426
450
  msgid "Model"
427
451
  msgstr "型号"
428
452
 
429
- msgid "Must specify a user with email enabled"
430
- msgstr "必须指定一个启用了电子邮件的用户"
431
-
432
453
  msgid "N/A"
433
454
  msgstr "N/A"
434
455
 
@@ -513,6 +534,9 @@ msgstr "置备 %s"
513
534
  msgid "Provision a discovered host"
514
535
  msgstr "置备发现主机"
515
536
 
537
+ msgid "Random name"
538
+ msgstr ""
539
+
516
540
  msgid "Reboot"
517
541
  msgstr "重启"
518
542
 
@@ -645,6 +669,9 @@ msgstr "此页显示了等待置备的发现裸机或虚拟节点。"
645
669
  msgid "Type"
646
670
  msgstr "类型"
647
671
 
672
+ msgid "Type of name generator"
673
+ msgstr "名称生成器类型"
674
+
648
675
  msgid "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
649
676
  msgstr "用来跟踪业务流程任务状态的 UUID,GET /api/orchestration/:UUID/tasks"
650
677
 
@@ -7,9 +7,9 @@ msgid ""
7
7
  msgstr ""
8
8
  "Project-Id-Version: foreman_discovery 13.0.0\n"
9
9
  "Report-Msgid-Bugs-To: \n"
10
- "POT-Creation-Date: 2018-06-15 11:25+0200\n"
11
- "PO-Revision-Date: 2018-06-15 10:50+0000\n"
12
- "Last-Translator: Dominic Cleal <dominic@cleal.org>\n"
10
+ "POT-Creation-Date: 2018-10-25 13:56+0200\n"
11
+ "PO-Revision-Date: 2018-10-25 20:13+0000\n"
12
+ "Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>\n"
13
13
  "Language-Team: Chinese (Taiwan) (http://www.transifex.com/foreman/foreman/language/zh_TW/)\n"
14
14
  "MIME-Version: 1.0\n"
15
15
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -195,11 +195,11 @@ msgstr ""
195
195
  msgid "Create a discovery rule"
196
196
  msgstr ""
197
197
 
198
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:52
198
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:53
199
199
  msgid "Update a rule"
200
200
  msgstr ""
201
201
 
202
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:60
202
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:61
203
203
  msgid "Delete a rule"
204
204
  msgstr ""
205
205
 
@@ -215,11 +215,11 @@ msgstr ""
215
215
  msgid "No hostgroup associated with rule '%s'"
216
216
  msgstr ""
217
217
 
218
- #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:71
218
+ #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:73
219
219
  msgid "Errors during reboot: %s"
220
220
  msgstr ""
221
221
 
222
- #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:89
222
+ #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:91
223
223
  msgid "No discovered hosts to reboot"
224
224
  msgstr ""
225
225
 
@@ -340,7 +340,7 @@ msgstr "刷新詳情"
340
340
 
341
341
  #: ../app/helpers/discovered_hosts_helper.rb:16
342
342
  #: ../app/helpers/discovered_hosts_helper.rb:30
343
- #: ../app/models/setting/discovered.rb:23
343
+ #: ../app/models/setting/discovered.rb:24
344
344
  #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:48
345
345
  msgid "Reboot"
346
346
  msgstr "重新開機"
@@ -428,72 +428,84 @@ msgstr ""
428
428
  msgid "Delete rule '%s'?"
429
429
  msgstr ""
430
430
 
431
- #: ../app/mailers/discovered_mailer.rb:4
432
- msgid "Must specify a user with email enabled"
433
- msgstr "必須指定一位啟用了電子郵件的使用者"
431
+ #: ../app/mailers/discovered_mailer.rb:9
432
+ msgid "Invalid user type of %s was provided"
433
+ msgstr ""
434
434
 
435
- #: ../app/mailers/discovered_mailer.rb:15
435
+ #: ../app/mailers/discovered_mailer.rb:26
436
436
  msgid "Discovered hosts summary"
437
437
  msgstr ""
438
438
 
439
- #: ../app/models/discovery_rule.rb:10
439
+ #: ../app/models/discovery_rule.rb:11
440
440
  msgid "can't contain white spaces."
441
441
  msgstr ""
442
442
 
443
- #: ../app/models/discovery_rule.rb:12
443
+ #: ../app/models/discovery_rule.rb:13
444
444
  msgid "must start with a letter or ERB."
445
445
  msgstr ""
446
446
 
447
- #: ../app/models/discovery_rule.rb:15
447
+ #: ../app/models/discovery_rule.rb:16
448
448
  msgid "must be present."
449
449
  msgstr ""
450
450
 
451
- #: ../app/models/discovery_rule.rb:48
451
+ #: ../app/models/discovery_rule.rb:53
452
452
  msgid ""
453
453
  "Host group organization %s must also be associated to the discovery rule"
454
454
  msgid_plural ""
455
455
  "Host group organizations %s must also be associated to the discovery rule"
456
456
  msgstr[0] ""
457
457
 
458
- #: ../app/models/discovery_rule.rb:54
458
+ #: ../app/models/discovery_rule.rb:59
459
459
  msgid "Host group location %s must also be associated to the discovery rule"
460
460
  msgid_plural ""
461
461
  "Host group locations %s must also be associated to the discovery rule"
462
462
  msgstr[0] ""
463
463
 
464
- #: ../app/models/host/discovered.rb:51
465
- msgid "Invalid facts, must be a Hash"
464
+ #: ../app/models/host/discovered.rb:45
465
+ msgid "Fact + prefix"
466
+ msgstr ""
467
+
468
+ #: ../app/models/host/discovered.rb:46
469
+ msgid "Random name"
470
+ msgstr ""
471
+
472
+ #: ../app/models/host/discovered.rb:47
473
+ msgid "MAC-based name"
466
474
  msgstr ""
467
475
 
468
476
  #: ../app/models/host/discovered.rb:56
477
+ msgid "Invalid facts, must be a Hash"
478
+ msgstr ""
479
+
480
+ #: ../app/models/host/discovered.rb:61
469
481
  msgid ""
470
482
  "Expected discovery_fact '%s' is missing, unable to detect primary interface "
471
483
  "and set hostname"
472
484
  msgstr ""
473
485
 
474
- #: ../app/models/host/discovered.rb:63
486
+ #: ../app/models/host/discovered.rb:74
475
487
  msgid ""
476
488
  "Invalid facts: hash does not contain a valid value for any of the facts in "
477
489
  "the discovery_hostname setting: %s"
478
490
  msgstr ""
479
491
 
480
- #: ../app/models/host/discovered.rb:89
492
+ #: ../app/models/host/discovered.rb:100
481
493
  msgid "Facts could not be imported"
482
494
  msgstr ""
483
495
 
484
- #: ../app/models/host/discovered.rb:212
496
+ #: ../app/models/host/discovered.rb:155
485
497
  msgid "Could not get facts from proxy %{url}: %{error}"
486
498
  msgstr ""
487
499
 
488
- #: ../app/models/host/discovered.rb:220
500
+ #: ../app/models/host/discovered.rb:163
489
501
  msgid "Unable to reboot %{name} via %{url}: %{msg}"
490
502
  msgstr ""
491
503
 
492
- #: ../app/models/host/discovered.rb:228
504
+ #: ../app/models/host/discovered.rb:171
493
505
  msgid "Unable to perform kexec on %{name} via %{url}: %{msg}"
494
506
  msgstr ""
495
507
 
496
- #: ../app/models/host/discovered.rb:247
508
+ #: ../app/models/host/discovered.rb:190
497
509
  msgid "Invalid hostname: Could not normalize the hostname"
498
510
  msgstr ""
499
511
 
@@ -530,164 +542,182 @@ msgid "Interface fact"
530
542
  msgstr ""
531
543
 
532
544
  #: ../app/models/setting/discovered.rb:20
533
- msgid "Clean all reported facts during provisioning (except discovery facts)"
545
+ msgid ""
546
+ "Automatic bond interface (if another interface is detected on the same VLAN "
547
+ "via LLDP)"
534
548
  msgstr ""
535
549
 
536
550
  #: ../app/models/setting/discovered.rb:20
537
- msgid "Clean all facts"
551
+ msgid "Create bond interfaces"
538
552
  msgstr ""
539
553
 
540
554
  #: ../app/models/setting/discovered.rb:21
541
- msgid "List of facts to use for the hostname (separated by comma, first wins)"
555
+ msgid "Clean all reported facts during provisioning (except discovery facts)"
542
556
  msgstr ""
543
557
 
544
558
  #: ../app/models/setting/discovered.rb:21
545
- msgid "Hostname facts"
559
+ msgid "Clean all facts"
546
560
  msgstr ""
547
561
 
548
562
  #: ../app/models/setting/discovered.rb:22
563
+ msgid "List of facts to use for the hostname (separated by comma, first wins)"
564
+ msgstr ""
565
+
566
+ #: ../app/models/setting/discovered.rb:22
567
+ msgid "Hostname facts"
568
+ msgstr ""
569
+
570
+ #: ../app/models/setting/discovered.rb:23
549
571
  msgid ""
550
572
  "Automatically provision newly discovered hosts, according to the "
551
573
  "provisioning rules"
552
574
  msgstr ""
553
575
 
554
- #: ../app/models/setting/discovered.rb:22
576
+ #: ../app/models/setting/discovered.rb:23
555
577
  msgid "Auto provisioning"
556
578
  msgstr ""
557
579
 
558
- #: ../app/models/setting/discovered.rb:23
580
+ #: ../app/models/setting/discovered.rb:24
559
581
  msgid "Automatically reboot or kexec discovered host during provisioning"
560
582
  msgstr ""
561
583
 
562
- #: ../app/models/setting/discovered.rb:24
584
+ #: ../app/models/setting/discovered.rb:25
563
585
  msgid "The default prefix to use for the host name, must start with a letter"
564
586
  msgstr ""
565
587
 
566
- #: ../app/models/setting/discovered.rb:24
588
+ #: ../app/models/setting/discovered.rb:25
567
589
  msgid "Hostname prefix"
568
590
  msgstr ""
569
591
 
570
- #: ../app/models/setting/discovered.rb:25
592
+ #: ../app/models/setting/discovered.rb:26
571
593
  msgid "Extra facter columns to show in host lists (separate by comma)"
572
594
  msgstr ""
573
595
 
574
- #: ../app/models/setting/discovered.rb:25
596
+ #: ../app/models/setting/discovered.rb:26
575
597
  msgid "Fact columns"
576
598
  msgstr ""
577
599
 
578
- #: ../app/models/setting/discovered.rb:26
600
+ #: ../app/models/setting/discovered.rb:27
579
601
  msgid "Regex to organize facts for highlights section - e.g. ^(abc|cde)$"
580
602
  msgstr ""
581
603
 
582
- #: ../app/models/setting/discovered.rb:26
604
+ #: ../app/models/setting/discovered.rb:27
583
605
  msgid "Highlighted facts"
584
606
  msgstr ""
585
607
 
586
- #: ../app/models/setting/discovered.rb:27
608
+ #: ../app/models/setting/discovered.rb:28
587
609
  msgid "Regex to organize facts for storage section"
588
610
  msgstr ""
589
611
 
590
- #: ../app/models/setting/discovered.rb:27
612
+ #: ../app/models/setting/discovered.rb:28
591
613
  msgid "Storage facts"
592
614
  msgstr ""
593
615
 
594
- #: ../app/models/setting/discovered.rb:28
616
+ #: ../app/models/setting/discovered.rb:29
595
617
  msgid "Regex to organize facts for software section"
596
618
  msgstr ""
597
619
 
598
- #: ../app/models/setting/discovered.rb:28
620
+ #: ../app/models/setting/discovered.rb:29
599
621
  msgid "Software facts"
600
622
  msgstr ""
601
623
 
602
- #: ../app/models/setting/discovered.rb:29
624
+ #: ../app/models/setting/discovered.rb:30
603
625
  msgid "Regex to organize facts for hardware section"
604
626
  msgstr ""
605
627
 
606
- #: ../app/models/setting/discovered.rb:29
628
+ #: ../app/models/setting/discovered.rb:30
607
629
  msgid "Hardware facts"
608
630
  msgstr ""
609
631
 
610
- #: ../app/models/setting/discovered.rb:30
632
+ #: ../app/models/setting/discovered.rb:31
611
633
  msgid "Regex to organize facts for network section"
612
634
  msgstr ""
613
635
 
614
- #: ../app/models/setting/discovered.rb:30
636
+ #: ../app/models/setting/discovered.rb:31
615
637
  msgid "Network facts"
616
638
  msgstr ""
617
639
 
618
- #: ../app/models/setting/discovered.rb:31
640
+ #: ../app/models/setting/discovered.rb:32
619
641
  msgid "Regex to organize facts for ipmi section"
620
642
  msgstr ""
621
643
 
622
- #: ../app/models/setting/discovered.rb:31
644
+ #: ../app/models/setting/discovered.rb:32
623
645
  msgid "IPMI facts"
624
646
  msgstr ""
625
647
 
626
- #: ../app/models/setting/discovered.rb:32
648
+ #: ../app/models/setting/discovered.rb:33
627
649
  msgid ""
628
650
  "Automatically generate PXE configuration to pin a newly discovered host to "
629
651
  "discovery"
630
652
  msgstr ""
631
653
 
632
- #: ../app/models/setting/discovered.rb:32
654
+ #: ../app/models/setting/discovered.rb:33
633
655
  msgid "Lock PXE"
634
656
  msgstr ""
635
657
 
636
- #: ../app/models/setting/discovered.rb:33
658
+ #: ../app/models/setting/discovered.rb:34
637
659
  msgid "PXELinux template to be used when pinning a host to discovery"
638
660
  msgstr ""
639
661
 
640
- #: ../app/models/setting/discovered.rb:33
662
+ #: ../app/models/setting/discovered.rb:34
641
663
  msgid "Locked PXELinux template name"
642
664
  msgstr ""
643
665
 
644
- #: ../app/models/setting/discovered.rb:34
666
+ #: ../app/models/setting/discovered.rb:35
645
667
  msgid "PXEGrub template to be used when pinning a host to discovery"
646
668
  msgstr ""
647
669
 
648
- #: ../app/models/setting/discovered.rb:34
670
+ #: ../app/models/setting/discovered.rb:35
649
671
  msgid "Locked PXEGrub template name"
650
672
  msgstr ""
651
673
 
652
- #: ../app/models/setting/discovered.rb:35
674
+ #: ../app/models/setting/discovered.rb:36
653
675
  msgid "PXEGrub2 template to be used when pinning a host to discovery"
654
676
  msgstr ""
655
677
 
656
- #: ../app/models/setting/discovered.rb:35
678
+ #: ../app/models/setting/discovered.rb:36
657
679
  msgid "Locked PXEGrub2 template name"
658
680
  msgstr ""
659
681
 
660
- #: ../app/models/setting/discovered.rb:36
682
+ #: ../app/models/setting/discovered.rb:37
661
683
  msgid "Force DNS entries creation when provisioning discovered host"
662
684
  msgstr ""
663
685
 
664
- #: ../app/models/setting/discovered.rb:36
686
+ #: ../app/models/setting/discovered.rb:37
665
687
  msgid "Force DNS"
666
688
  msgstr ""
667
689
 
668
- #: ../app/models/setting/discovered.rb:37
690
+ #: ../app/models/setting/discovered.rb:38
669
691
  msgid ""
670
692
  "Do not allow to discover existing managed host matching MAC of a "
671
693
  "provisioning NIC (errors out early)"
672
694
  msgstr ""
673
695
 
674
- #: ../app/models/setting/discovered.rb:37
696
+ #: ../app/models/setting/discovered.rb:38
675
697
  msgid "Error on existing NIC"
676
698
  msgstr ""
677
699
 
678
- #: ../app/models/setting/discovered.rb:44
700
+ #: ../app/models/setting/discovered.rb:39
701
+ msgid "Discovery hostname naming pattern"
702
+ msgstr ""
703
+
704
+ #: ../app/models/setting/discovered.rb:39
705
+ msgid "Type of name generator"
706
+ msgstr ""
707
+
708
+ #: ../app/models/setting/discovered.rb:46
679
709
  msgid "The default location to place discovered hosts in"
680
710
  msgstr "放置已發現之主機的預設位置"
681
711
 
682
- #: ../app/models/setting/discovered.rb:44
712
+ #: ../app/models/setting/discovered.rb:46
683
713
  msgid "Discovery location"
684
714
  msgstr ""
685
715
 
686
- #: ../app/models/setting/discovered.rb:52
716
+ #: ../app/models/setting/discovered.rb:54
687
717
  msgid "The default organization to place discovered hosts in"
688
718
  msgstr "放置已發現之主機的預設組織"
689
719
 
690
- #: ../app/models/setting/discovered.rb:52
720
+ #: ../app/models/setting/discovered.rb:54
691
721
  msgid "Discovery organization"
692
722
  msgstr ""
693
723
 
@@ -798,6 +828,11 @@ msgstr "子網路"
798
828
  msgid "Last Facts Upload"
799
829
  msgstr ""
800
830
 
831
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:24
832
+ #: ../app/views/discovery_rules/index.html.erb:12
833
+ msgid "Actions"
834
+ msgstr "動作"
835
+
801
836
  #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:60
802
837
  msgid "Please Confirm"
803
838
  msgstr "請確認"
@@ -1012,6 +1047,10 @@ msgstr ""
1012
1047
  msgid "New Discovery Rule"
1013
1048
  msgstr ""
1014
1049
 
1050
+ #: ../db/seeds.d/50_discovery_templates.rb:5
1051
+ msgid "Command line options for kexec during PXE-less provisioning."
1052
+ msgstr ""
1053
+
1015
1054
  #: ../db/seeds.d/70_discovery_mail_notification.rb:3
1016
1055
  msgid "A summary of discovered hosts"
1017
1056
  msgstr ""