foreman_discovery 16.2.0 → 16.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/api/v2/discovered_hosts_controller.rb +24 -11
- data/app/models/host/discovered.rb +1 -1
- data/app/services/foreman_discovery/import_hooks/subnet_and_taxonomy.rb +2 -0
- data/app/views/api/v2/discovery_rules/create.json.rabl +3 -0
- data/app/views/discovered_hosts/welcome.html.erb +15 -9
- data/app/views/discovery_rules/index.html.erb +1 -1
- data/extra/discover-host +3 -3
- data/lib/foreman_discovery/engine.rb +2 -1
- data/lib/foreman_discovery/version.rb +1 -1
- data/locale/ca/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/ca/foreman_discovery.edit.po +62 -39
- data/locale/ca/foreman_discovery.po +25 -10
- data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/de/foreman_discovery.edit.po +64 -39
- data/locale/de/foreman_discovery.po +25 -10
- data/locale/en/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/en/foreman_discovery.edit.po +59 -39
- data/locale/en/foreman_discovery.po +25 -10
- data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/en_GB/foreman_discovery.edit.po +70 -39
- data/locale/en_GB/foreman_discovery.po +25 -10
- data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/es/foreman_discovery.edit.po +70 -39
- data/locale/es/foreman_discovery.po +25 -10
- data/locale/foreman_discovery.pot +68 -45
- data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/fr/foreman_discovery.edit.po +68 -39
- data/locale/fr/foreman_discovery.po +25 -10
- data/locale/gl/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/gl/foreman_discovery.edit.po +59 -39
- data/locale/gl/foreman_discovery.po +25 -10
- data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/it/foreman_discovery.edit.po +59 -39
- data/locale/it/foreman_discovery.po +25 -10
- data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/ja/foreman_discovery.edit.po +68 -39
- data/locale/ja/foreman_discovery.po +25 -10
- data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/ko/foreman_discovery.edit.po +59 -39
- data/locale/ko/foreman_discovery.po +25 -10
- data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/pt_BR/foreman_discovery.edit.po +68 -39
- data/locale/pt_BR/foreman_discovery.po +25 -10
- data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/ru/foreman_discovery.edit.po +59 -39
- data/locale/ru/foreman_discovery.po +25 -10
- data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/sv_SE/foreman_discovery.edit.po +59 -39
- data/locale/sv_SE/foreman_discovery.po +25 -10
- data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/zh_CN/foreman_discovery.edit.po +68 -39
- data/locale/zh_CN/foreman_discovery.po +25 -10
- data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/zh_TW/foreman_discovery.edit.po +59 -39
- data/locale/zh_TW/foreman_discovery.po +25 -10
- data/package.json +39 -0
- data/test/functional/discovered_hosts_controller_test.rb +1 -1
- data/test/functional/discovery_rules_controller_test.rb +1 -1
- data/webpack/index.js +18 -0
- data/webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/EmptyState.js +28 -0
- data/webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/index.js +1 -0
- data/webpack/src/ForemanDiscovery/DiscoveredHosts/index.js +6 -0
- data/webpack/src/reducers.js +7 -0
- metadata +11 -4
@@ -5,7 +5,7 @@
|
|
5
5
|
# Translators:
|
6
6
|
msgid ""
|
7
7
|
msgstr ""
|
8
|
-
"Project-Id-Version: foreman_discovery 16.
|
8
|
+
"Project-Id-Version: foreman_discovery 16.2.0\n"
|
9
9
|
"Report-Msgid-Bugs-To: \n"
|
10
10
|
"PO-Revision-Date: 2020-05-26 17:21+0000\n"
|
11
11
|
"Last-Translator: Transifex Bot <>\n"
|
@@ -323,6 +323,12 @@ msgstr[1] ""
|
|
323
323
|
msgid "Host of type %s can not be rebooted"
|
324
324
|
msgstr "%s 类型的主机不能重启"
|
325
325
|
|
326
|
+
msgid "Host's owner type"
|
327
|
+
msgstr ""
|
328
|
+
|
329
|
+
msgid "Host's parameters (array or indexed hash)"
|
330
|
+
msgstr ""
|
331
|
+
|
326
332
|
msgid "Hostname facts"
|
327
333
|
msgstr "主机名详情"
|
328
334
|
|
@@ -410,9 +416,6 @@ msgstr "Kexec 模板未与操作系统关联"
|
|
410
416
|
msgid "Last Facts Upload"
|
411
417
|
msgstr "最后详情上传"
|
412
418
|
|
413
|
-
msgid "Learn more about this in the documentation."
|
414
|
-
msgstr "在本文档中了解更多这方面的内容。"
|
415
|
-
|
416
419
|
msgid "List all discovered hosts"
|
417
420
|
msgstr "列出所有发现主机"
|
418
421
|
|
@@ -467,6 +470,9 @@ msgstr "N/A"
|
|
467
470
|
msgid "Name"
|
468
471
|
msgstr "名称"
|
469
472
|
|
473
|
+
msgid "Name of the parameter"
|
474
|
+
msgstr ""
|
475
|
+
|
470
476
|
msgid "Network"
|
471
477
|
msgstr "网络"
|
472
478
|
|
@@ -485,9 +491,6 @@ msgstr "没有可用的发现主机"
|
|
485
491
|
msgid "No discovered hosts for the selected period"
|
486
492
|
msgstr "选定时间段内没有发现主机"
|
487
493
|
|
488
|
-
msgid "No discovered hosts found in this context."
|
489
|
-
msgstr "在此上下文中未找到发现主机。"
|
490
|
-
|
491
494
|
msgid "No discovered hosts to provision"
|
492
495
|
msgstr "没有要置备的发现主机"
|
493
496
|
|
@@ -530,6 +533,9 @@ msgstr "将主机固定至发现时使用的 PXEGrub2 模板"
|
|
530
533
|
msgid "PXELinux template to be used when pinning a host to discovery"
|
531
534
|
msgstr "将主机固定至发现时使用的 PXELinux 模板"
|
532
535
|
|
536
|
+
msgid "Parameter value"
|
537
|
+
msgstr ""
|
538
|
+
|
533
539
|
msgid "Please Confirm"
|
534
540
|
msgstr "请确认"
|
535
541
|
|
@@ -677,15 +683,15 @@ msgstr "未删除以下主机:%s"
|
|
677
683
|
msgid "This might take a while, as all hosts, facts and reports will be destroyed as well"
|
678
684
|
msgstr "这需要一些时间,因为同时还要删除所有主机、详情及报告。"
|
679
685
|
|
680
|
-
msgid "This page shows discovered bare-metal or virtual nodes waiting to be provisioned."
|
681
|
-
msgstr "此页显示了等待置备的发现裸机或虚拟节点。"
|
682
|
-
|
683
686
|
msgid "Type"
|
684
687
|
msgstr "类型"
|
685
688
|
|
686
689
|
msgid "Type of name generator"
|
687
690
|
msgstr "名称生成器类型"
|
688
691
|
|
692
|
+
msgid "Type of value"
|
693
|
+
msgstr ""
|
694
|
+
|
689
695
|
msgid "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
|
690
696
|
msgstr "用来跟踪业务流程任务状态的 UUID,GET /api/orchestration/:UUID/tasks"
|
691
697
|
|
@@ -770,6 +776,15 @@ msgstr "与特定规则的发现主机匹配的查询"
|
|
770
776
|
msgid "represents rule name shown to the users"
|
771
777
|
msgstr "代表显示给用户的规则名称"
|
772
778
|
|
779
|
+
msgid "required if host is managed and custom partition has not been defined"
|
780
|
+
msgstr ""
|
781
|
+
|
782
|
+
msgid "required if host is managed and value is not inherited from host group"
|
783
|
+
msgstr ""
|
784
|
+
|
785
|
+
msgid "required if not imaged based provisioning and host is managed and value is not inherited from host group"
|
786
|
+
msgstr ""
|
787
|
+
|
773
788
|
msgid "required if value is not inherited from host group or default password in settings"
|
774
789
|
msgstr "如果数值不是从主机组或设置中的默认密码继承,则需要。"
|
775
790
|
|
Binary file
|
@@ -5,7 +5,7 @@
|
|
5
5
|
# Translators:
|
6
6
|
msgid ""
|
7
7
|
msgstr ""
|
8
|
-
"Project-Id-Version: foreman_discovery 16.
|
8
|
+
"Project-Id-Version: foreman_discovery 16.2.0\n"
|
9
9
|
"Report-Msgid-Bugs-To: \n"
|
10
10
|
"PO-Revision-Date: 2020-05-26 17:21+0000\n"
|
11
11
|
"Last-Translator: Transifex Bot <>\n"
|
@@ -41,7 +41,7 @@ msgstr "每個請求的項目數量"
|
|
41
41
|
msgid "Show a discovered host"
|
42
42
|
msgstr ""
|
43
43
|
|
44
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:37 ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
44
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:37 ../app/controllers/api/v2/discovered_hosts_controller.rb:85
|
45
45
|
msgid "DHCP filename option (Grub2 or PXELinux by default)"
|
46
46
|
msgstr ""
|
47
47
|
|
@@ -53,6 +53,10 @@ msgstr ""
|
|
53
53
|
msgid "Provision a discovered host"
|
54
54
|
msgstr ""
|
55
55
|
|
56
|
+
#: ../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
|
57
|
+
msgid "required if host is managed and value is not inherited from host group"
|
58
|
+
msgstr ""
|
59
|
+
|
56
60
|
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:55
|
57
61
|
msgid "not required if using a subnet with DHCP proxy"
|
58
62
|
msgstr "若是使用一個含有 DHCP 協定的子網路則不需要"
|
@@ -61,71 +65,99 @@ msgstr "若是使用一個含有 DHCP 協定的子網路則不需要"
|
|
61
65
|
msgid "not required if it's a virtual machine"
|
62
66
|
msgstr ""
|
63
67
|
|
64
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
68
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:62
|
69
|
+
msgid "required if not imaged based provisioning and host is managed and value is not inherited from host group"
|
70
|
+
msgstr ""
|
71
|
+
|
72
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:63
|
73
|
+
msgid "required if host is managed and custom partition has not been defined"
|
74
|
+
msgstr ""
|
75
|
+
|
76
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:69
|
77
|
+
msgid "Host's owner type"
|
78
|
+
msgstr ""
|
79
|
+
|
80
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:72
|
81
|
+
msgid "Host's parameters (array or indexed hash)"
|
82
|
+
msgstr ""
|
83
|
+
|
84
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:73
|
85
|
+
msgid "Name of the parameter"
|
86
|
+
msgstr ""
|
87
|
+
|
88
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:74
|
89
|
+
msgid "Parameter value"
|
90
|
+
msgstr ""
|
91
|
+
|
92
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:75
|
93
|
+
msgid "Type of value"
|
94
|
+
msgstr ""
|
95
|
+
|
96
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:82
|
65
97
|
msgid "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
|
66
98
|
msgstr "用來追蹤協調流程任務狀態的 UUID,GET /api/orchestration/:UUID/tasks"
|
67
99
|
|
68
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
100
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:84
|
69
101
|
msgid "required if value is not inherited from host group or default password in settings"
|
70
102
|
msgstr ""
|
71
103
|
|
72
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
104
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:95
|
73
105
|
msgid "Delete a discovered host"
|
74
106
|
msgstr ""
|
75
107
|
|
76
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
108
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:102
|
77
109
|
msgid "Upload facts for a host, creating the host if required"
|
78
110
|
msgstr "上傳主機的詳情,並視需求建立主機"
|
79
111
|
|
80
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
112
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:103
|
81
113
|
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)"
|
82
114
|
msgstr ""
|
83
115
|
|
84
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
116
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:129
|
85
117
|
msgid "Execute rules against a discovered host"
|
86
118
|
msgstr ""
|
87
119
|
|
88
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
120
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:135 ../app/controllers/discovered_hosts_controller.rb:160
|
89
121
|
msgid "Host %{host} was provisioned with rule %{rule}"
|
90
122
|
msgstr ""
|
91
123
|
|
92
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
124
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:138
|
93
125
|
msgid "Unable to provision %{host}: %{errors}"
|
94
126
|
msgstr ""
|
95
127
|
|
96
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
128
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:144 ../app/controllers/discovered_hosts_controller.rb:167
|
97
129
|
msgid "No rule found for host %s"
|
98
130
|
msgstr ""
|
99
131
|
|
100
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
132
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:151
|
101
133
|
msgid "Execute rules against all currently discovered hosts"
|
102
134
|
msgstr ""
|
103
135
|
|
104
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
136
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:155 ../app/controllers/discovered_hosts_controller.rb:173
|
105
137
|
msgid "Errors during auto provisioning: %s"
|
106
138
|
msgstr ""
|
107
139
|
|
108
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
140
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:158 ../app/controllers/discovered_hosts_controller.rb:176
|
109
141
|
msgid "No discovered hosts to provision"
|
110
142
|
msgstr ""
|
111
143
|
|
112
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
144
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:180
|
113
145
|
msgid "%s discovered hosts were provisioned"
|
114
146
|
msgstr ""
|
115
147
|
|
116
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
148
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:191
|
117
149
|
msgid "Refreshing the facts of a discovered host"
|
118
150
|
msgstr ""
|
119
151
|
|
120
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
152
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:200
|
121
153
|
msgid "Rebooting a discovered host"
|
122
154
|
msgstr ""
|
123
155
|
|
124
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
156
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:209
|
125
157
|
msgid "Rebooting all discovered hosts"
|
126
158
|
msgstr ""
|
127
159
|
|
128
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
160
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:220 ../app/controllers/discovered_hosts_controller.rb:129
|
129
161
|
msgid "Discovered hosts are rebooting now"
|
130
162
|
msgstr ""
|
131
163
|
|
@@ -369,7 +401,7 @@ msgstr ""
|
|
369
401
|
msgid "Provision"
|
370
402
|
msgstr "佈建"
|
371
403
|
|
372
|
-
#: ../app/helpers/discovery_rules_helper.rb:26 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:1 ../app/views/discovered_hosts/welcome.html.erb:
|
404
|
+
#: ../app/helpers/discovery_rules_helper.rb:26 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:1 ../app/views/discovered_hosts/welcome.html.erb:8 ../lib/foreman_discovery/engine.rb:159 ../lib/foreman_discovery/engine.rb:174
|
373
405
|
msgid "Discovered Hosts"
|
374
406
|
msgstr ""
|
375
407
|
|
@@ -839,18 +871,6 @@ msgstr "IP 位址"
|
|
839
871
|
msgid "Collapse All"
|
840
872
|
msgstr "全部收回"
|
841
873
|
|
842
|
-
#: ../app/views/discovered_hosts/welcome.html.erb:7
|
843
|
-
msgid "No discovered hosts found in this context."
|
844
|
-
msgstr ""
|
845
|
-
|
846
|
-
#: ../app/views/discovered_hosts/welcome.html.erb:8
|
847
|
-
msgid "This page shows discovered bare-metal or virtual nodes waiting to be provisioned."
|
848
|
-
msgstr ""
|
849
|
-
|
850
|
-
#: ../app/views/discovered_hosts/welcome.html.erb:9
|
851
|
-
msgid "Learn more about this in the documentation."
|
852
|
-
msgstr ""
|
853
|
-
|
854
874
|
#: ../app/views/discovered_mailer/discovered_summary.html.erb:6
|
855
875
|
msgid "Summary report for discovered hosts from Foreman"
|
856
876
|
msgstr ""
|
@@ -943,7 +963,7 @@ msgstr ""
|
|
943
963
|
msgid "Edit %s"
|
944
964
|
msgstr "編輯 %s"
|
945
965
|
|
946
|
-
#: ../app/views/discovery_rules/index.html.erb:1 ../lib/foreman_discovery/engine.rb:
|
966
|
+
#: ../app/views/discovery_rules/index.html.erb:1 ../lib/foreman_discovery/engine.rb:164
|
947
967
|
msgid "Discovery Rules"
|
948
968
|
msgstr ""
|
949
969
|
|
@@ -999,19 +1019,19 @@ msgstr ""
|
|
999
1019
|
msgid "Details"
|
1000
1020
|
msgstr "詳細資料"
|
1001
1021
|
|
1002
|
-
#: ../lib/foreman_discovery/engine.rb:
|
1022
|
+
#: ../lib/foreman_discovery/engine.rb:180
|
1003
1023
|
msgid "Discovery Kexec template"
|
1004
1024
|
msgstr ""
|
1005
1025
|
|
1006
|
-
#: ../lib/foreman_discovery/engine.rb:
|
1026
|
+
#: ../lib/foreman_discovery/engine.rb:189
|
1007
1027
|
msgid "Discovery Proxy"
|
1008
1028
|
msgstr ""
|
1009
1029
|
|
1010
|
-
#: ../lib/foreman_discovery/engine.rb:
|
1030
|
+
#: ../lib/foreman_discovery/engine.rb:190
|
1011
1031
|
msgid "Discovery Proxy to use within this subnet for managing connection to discovered hosts"
|
1012
1032
|
msgstr ""
|
1013
1033
|
|
1014
|
-
#: ../lib/foreman_discovery/engine.rb:
|
1034
|
+
#: ../lib/foreman_discovery/engine.rb:191
|
1015
1035
|
msgid "ID of Discovery Proxy to use within this subnet for managing connection to discovered hosts"
|
1016
1036
|
msgstr ""
|
1017
1037
|
|
@@ -1024,9 +1044,9 @@ msgid "Import Puppet classes"
|
|
1024
1044
|
msgstr ""
|
1025
1045
|
|
1026
1046
|
#: action_names.rb:4
|
1027
|
-
msgid "
|
1047
|
+
msgid "Action with sub plans"
|
1028
1048
|
msgstr ""
|
1029
1049
|
|
1030
1050
|
#: action_names.rb:5
|
1031
|
-
msgid "
|
1051
|
+
msgid "Import facts"
|
1032
1052
|
msgstr ""
|
@@ -5,7 +5,7 @@
|
|
5
5
|
# Translators:
|
6
6
|
msgid ""
|
7
7
|
msgstr ""
|
8
|
-
"Project-Id-Version: foreman_discovery 16.
|
8
|
+
"Project-Id-Version: foreman_discovery 16.2.0\n"
|
9
9
|
"Report-Msgid-Bugs-To: \n"
|
10
10
|
"PO-Revision-Date: 2020-05-26 17:21+0000\n"
|
11
11
|
"Last-Translator: Transifex Bot <>\n"
|
@@ -323,6 +323,12 @@ msgstr[1] ""
|
|
323
323
|
msgid "Host of type %s can not be rebooted"
|
324
324
|
msgstr ""
|
325
325
|
|
326
|
+
msgid "Host's owner type"
|
327
|
+
msgstr ""
|
328
|
+
|
329
|
+
msgid "Host's parameters (array or indexed hash)"
|
330
|
+
msgstr ""
|
331
|
+
|
326
332
|
msgid "Hostname facts"
|
327
333
|
msgstr ""
|
328
334
|
|
@@ -410,9 +416,6 @@ msgstr ""
|
|
410
416
|
msgid "Last Facts Upload"
|
411
417
|
msgstr ""
|
412
418
|
|
413
|
-
msgid "Learn more about this in the documentation."
|
414
|
-
msgstr ""
|
415
|
-
|
416
419
|
msgid "List all discovered hosts"
|
417
420
|
msgstr ""
|
418
421
|
|
@@ -467,6 +470,9 @@ msgstr "N/A"
|
|
467
470
|
msgid "Name"
|
468
471
|
msgstr "名稱"
|
469
472
|
|
473
|
+
msgid "Name of the parameter"
|
474
|
+
msgstr ""
|
475
|
+
|
470
476
|
msgid "Network"
|
471
477
|
msgstr "網路"
|
472
478
|
|
@@ -485,9 +491,6 @@ msgstr ""
|
|
485
491
|
msgid "No discovered hosts for the selected period"
|
486
492
|
msgstr ""
|
487
493
|
|
488
|
-
msgid "No discovered hosts found in this context."
|
489
|
-
msgstr ""
|
490
|
-
|
491
494
|
msgid "No discovered hosts to provision"
|
492
495
|
msgstr ""
|
493
496
|
|
@@ -530,6 +533,9 @@ msgstr ""
|
|
530
533
|
msgid "PXELinux template to be used when pinning a host to discovery"
|
531
534
|
msgstr ""
|
532
535
|
|
536
|
+
msgid "Parameter value"
|
537
|
+
msgstr ""
|
538
|
+
|
533
539
|
msgid "Please Confirm"
|
534
540
|
msgstr "請確認"
|
535
541
|
|
@@ -677,15 +683,15 @@ msgstr "下列主機尚未刪除:%s"
|
|
677
683
|
msgid "This might take a while, as all hosts, facts and reports will be destroyed as well"
|
678
684
|
msgstr "這可能會花上一段時間,因為所有主機、詳情與報告皆會被刪除"
|
679
685
|
|
680
|
-
msgid "This page shows discovered bare-metal or virtual nodes waiting to be provisioned."
|
681
|
-
msgstr ""
|
682
|
-
|
683
686
|
msgid "Type"
|
684
687
|
msgstr "種類"
|
685
688
|
|
686
689
|
msgid "Type of name generator"
|
687
690
|
msgstr ""
|
688
691
|
|
692
|
+
msgid "Type of value"
|
693
|
+
msgstr ""
|
694
|
+
|
689
695
|
msgid "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
|
690
696
|
msgstr "用來追蹤協調流程任務狀態的 UUID,GET /api/orchestration/:UUID/tasks"
|
691
697
|
|
@@ -770,6 +776,15 @@ msgstr ""
|
|
770
776
|
msgid "represents rule name shown to the users"
|
771
777
|
msgstr ""
|
772
778
|
|
779
|
+
msgid "required if host is managed and custom partition has not been defined"
|
780
|
+
msgstr ""
|
781
|
+
|
782
|
+
msgid "required if host is managed and value is not inherited from host group"
|
783
|
+
msgstr ""
|
784
|
+
|
785
|
+
msgid "required if not imaged based provisioning and host is managed and value is not inherited from host group"
|
786
|
+
msgstr ""
|
787
|
+
|
773
788
|
msgid "required if value is not inherited from host group or default password in settings"
|
774
789
|
msgstr ""
|
775
790
|
|
data/package.json
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
{
|
2
|
+
"name": "foreman_discovery",
|
3
|
+
"version": "16.2.0",
|
4
|
+
"description": "This plugin enables Foreman to do automatic bare-metal discovery of unknown nodes on the provisioning network.",
|
5
|
+
"main": "index.js",
|
6
|
+
"scripts": {
|
7
|
+
"lint": "tfm-lint --plugin -d /webpack",
|
8
|
+
"test": "tfm-test --plugin",
|
9
|
+
"test:watch": "tfm-test --plugin --watchAll",
|
10
|
+
"test:current": "tfm-test --plugin --watch",
|
11
|
+
"publish-coverage": "tfm-publish-coverage",
|
12
|
+
"stories": "tfm-stories --plugin",
|
13
|
+
"stories:build": "tfm-build-stories --plugin",
|
14
|
+
"create-react-component": "yo react-domain"
|
15
|
+
},
|
16
|
+
"repository": {
|
17
|
+
"type": "git",
|
18
|
+
"url": "git+https://github.com/theforeman/foreman_discovery.git"
|
19
|
+
},
|
20
|
+
"bugs": {
|
21
|
+
"url": "http://projects.theforeman.org/projects/foreman_discovery/issues"
|
22
|
+
},
|
23
|
+
"peerDependencies": {
|
24
|
+
"@theforeman/vendor": ">= 4.14.0"
|
25
|
+
},
|
26
|
+
"devDependencies": {
|
27
|
+
"@babel/core": "^7.7.0",
|
28
|
+
"@theforeman/builder": "^4.14.0",
|
29
|
+
"@theforeman/eslint-plugin-foreman": "4.14.0",
|
30
|
+
"@theforeman/stories": "^4.14.0",
|
31
|
+
"@theforeman/test": "^4.14.0",
|
32
|
+
"@theforeman/vendor-dev": "^4.14.0",
|
33
|
+
"babel-eslint": "^10.0.3",
|
34
|
+
"eslint": "^6.7.2",
|
35
|
+
"prettier": "^1.19.1",
|
36
|
+
"stylelint": "^9.3.0",
|
37
|
+
"stylelint-config-standard": "^18.0.0"
|
38
|
+
}
|
39
|
+
}
|
@@ -168,7 +168,7 @@ class DiscoveredHostsControllerTest < ActionController::TestCase
|
|
168
168
|
def test_add_entry_to_nav_menu
|
169
169
|
get :index, params: {}, session: set_session_user
|
170
170
|
assert_response :success
|
171
|
-
assert response.body
|
171
|
+
assert response.body.include?('Discovered Hosts')
|
172
172
|
end
|
173
173
|
|
174
174
|
def test_reboot_success
|