foreman_discovery 20.0.0 → 21.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/host/discovered.rb +10 -1
- data/app/models/setting/discovered.rb +1 -43
- data/app/services/foreman_discovery/host_converter.rb +9 -2
- data/app/views/foreman_discovery/debian_kexec.erb +14 -13
- data/app/views/foreman_discovery/redhat_kexec.erb +16 -15
- data/lib/foreman_discovery/engine.rb +195 -32
- data/lib/foreman_discovery/version.rb +1 -1
- data/locale/ca/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/ca/foreman_discovery.po +17 -11
- data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/de/foreman_discovery.po +9 -3
- data/locale/en/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/en/foreman_discovery.po +7 -1
- data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/en_GB/foreman_discovery.po +9 -3
- data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/es/foreman_discovery.po +9 -3
- data/locale/foreman_discovery.pot +23 -9
- data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/fr/foreman_discovery.po +39 -33
- data/locale/gl/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/gl/foreman_discovery.po +19 -13
- data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/it/foreman_discovery.po +9 -3
- data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/ja/foreman_discovery.po +11 -5
- data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/ko/foreman_discovery.po +9 -3
- data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/pt_BR/foreman_discovery.po +9 -3
- data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/ru/foreman_discovery.po +9 -3
- data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/sv_SE/foreman_discovery.po +19 -13
- data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/zh_CN/foreman_discovery.po +11 -5
- data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/zh_TW/foreman_discovery.po +9 -3
- data/package.json +5 -7
- data/test/unit/discovered_extensions_test.rb +14 -1
- data/test/unit/host_discovered_test.rb +7 -1
- data/test/unit/managed_extensions_test.rb +1 -1
- metadata +13 -27
- data/locale/ca/foreman_discovery.edit.po +0 -1099
- data/locale/de/foreman_discovery.edit.po +0 -1106
- data/locale/en/foreman_discovery.edit.po +0 -1091
- data/locale/en_GB/foreman_discovery.edit.po +0 -1102
- data/locale/es/foreman_discovery.edit.po +0 -1103
- data/locale/fr/foreman_discovery.edit.po +0 -1099
- data/locale/gl/foreman_discovery.edit.po +0 -1097
- data/locale/it/foreman_discovery.edit.po +0 -1099
- data/locale/ja/foreman_discovery.edit.po +0 -1096
- data/locale/ko/foreman_discovery.edit.po +0 -1096
- data/locale/messages.mo +0 -0
- data/locale/pt_BR/foreman_discovery.edit.po +0 -1105
- data/locale/ru/foreman_discovery.edit.po +0 -1108
- data/locale/sv_SE/foreman_discovery.edit.po +0 -1100
- data/locale/zh_CN/foreman_discovery.edit.po +0 -1094
- data/locale/zh_TW/foreman_discovery.edit.po +0 -1097
Binary file
|
@@ -10,10 +10,10 @@
|
|
10
10
|
# Yulia <yulia.poyarkova@redhat.com>, 2016
|
11
11
|
msgid ""
|
12
12
|
msgstr ""
|
13
|
-
"Project-Id-Version: foreman_discovery
|
13
|
+
"Project-Id-Version: foreman_discovery 21.0.0\n"
|
14
14
|
"Report-Msgid-Bugs-To: \n"
|
15
|
-
"PO-Revision-Date:
|
16
|
-
"Last-Translator:
|
15
|
+
"PO-Revision-Date: 2013-11-15 17:25+0000\n"
|
16
|
+
"Last-Translator: Yulia <yulia.poyarkova@redhat.com>, 2016\n"
|
17
17
|
"Language-Team: Russian (http://www.transifex.com/foreman/foreman/language/ru/)"
|
18
18
|
"\n"
|
19
19
|
"MIME-Version: 1.0\n"
|
@@ -520,12 +520,18 @@ msgstr ""
|
|
520
520
|
msgid "New in the last 24 hours"
|
521
521
|
msgstr "Новое за последние 24 часа"
|
522
522
|
|
523
|
+
msgid "No Discovery Rules found in this context. Create Discovery Rules to perform automated provisioning on Discovered Hosts"
|
524
|
+
msgstr ""
|
525
|
+
|
523
526
|
msgid "No discovered hosts available"
|
524
527
|
msgstr "Нет обнаруженных узлов"
|
525
528
|
|
526
529
|
msgid "No discovered hosts for the selected period"
|
527
530
|
msgstr "За указанный период времени новых узлов не обнаружено"
|
528
531
|
|
532
|
+
msgid "No discovered hosts found in this context. This page shows discovered bare-metal or virtual nodes waiting to be provisioned."
|
533
|
+
msgstr ""
|
534
|
+
|
529
535
|
msgid "No discovered hosts to provision"
|
530
536
|
msgstr "Нет обнаруженных узлов"
|
531
537
|
|
Binary file
|
@@ -8,10 +8,10 @@
|
|
8
8
|
# johnny.westerlund <johnny.westerlund@gmail.com>, 2014
|
9
9
|
msgid ""
|
10
10
|
msgstr ""
|
11
|
-
"Project-Id-Version: foreman_discovery
|
11
|
+
"Project-Id-Version: foreman_discovery 21.0.0\n"
|
12
12
|
"Report-Msgid-Bugs-To: \n"
|
13
|
-
"PO-Revision-Date:
|
14
|
-
"Last-Translator:
|
13
|
+
"PO-Revision-Date: 2013-11-15 17:25+0000\n"
|
14
|
+
"Last-Translator: johnny.westerlund <johnny.westerlund@gmail.com>, 2014\n"
|
15
15
|
"Language-Team: Swedish (Sweden) (http://www.transifex.com/foreman/foreman/lang"
|
16
16
|
"uage/sv_SE/)\n"
|
17
17
|
"MIME-Version: 1.0\n"
|
@@ -66,7 +66,7 @@ msgid "Automatically reboot or kexec discovered host during provisioning"
|
|
66
66
|
msgstr ""
|
67
67
|
|
68
68
|
msgid "Back"
|
69
|
-
msgstr ""
|
69
|
+
msgstr "Tillbaka"
|
70
70
|
|
71
71
|
msgid "CPUs"
|
72
72
|
msgstr "CPUer"
|
@@ -135,7 +135,7 @@ msgid "Destroyed selected hosts"
|
|
135
135
|
msgstr "Förstör markerade värdar"
|
136
136
|
|
137
137
|
msgid "Details"
|
138
|
-
msgstr ""
|
138
|
+
msgstr "Detaljer"
|
139
139
|
|
140
140
|
msgid "Disable"
|
141
141
|
msgstr ""
|
@@ -311,7 +311,7 @@ msgid "Foreman discovered hosts summary"
|
|
311
311
|
msgstr ""
|
312
312
|
|
313
313
|
msgid "Hardware"
|
314
|
-
msgstr ""
|
314
|
+
msgstr "Hårdvara"
|
315
315
|
|
316
316
|
msgid "Hardware facts"
|
317
317
|
msgstr ""
|
@@ -366,7 +366,7 @@ msgid "Hostnames must not start with numbers. A good approach is to use unique i
|
|
366
366
|
msgstr ""
|
367
367
|
|
368
368
|
msgid "Hosts"
|
369
|
-
msgstr ""
|
369
|
+
msgstr "Värdar"
|
370
370
|
|
371
371
|
msgid "Hosts Limit"
|
372
372
|
msgstr ""
|
@@ -456,7 +456,7 @@ msgid "Location"
|
|
456
456
|
msgstr "Lokation"
|
457
457
|
|
458
458
|
msgid "Locations"
|
459
|
-
msgstr ""
|
459
|
+
msgstr "Lokationer"
|
460
460
|
|
461
461
|
msgid "Lock PXE"
|
462
462
|
msgstr ""
|
@@ -498,7 +498,7 @@ msgid "Name of the parameter"
|
|
498
498
|
msgstr "Parameterns namn"
|
499
499
|
|
500
500
|
msgid "Network"
|
501
|
-
msgstr ""
|
501
|
+
msgstr "Nätverk"
|
502
502
|
|
503
503
|
msgid "Network facts"
|
504
504
|
msgstr ""
|
@@ -512,12 +512,18 @@ msgstr ""
|
|
512
512
|
msgid "New in the last 24 hours"
|
513
513
|
msgstr ""
|
514
514
|
|
515
|
+
msgid "No Discovery Rules found in this context. Create Discovery Rules to perform automated provisioning on Discovered Hosts"
|
516
|
+
msgstr ""
|
517
|
+
|
515
518
|
msgid "No discovered hosts available"
|
516
519
|
msgstr ""
|
517
520
|
|
518
521
|
msgid "No discovered hosts for the selected period"
|
519
522
|
msgstr ""
|
520
523
|
|
524
|
+
msgid "No discovered hosts found in this context. This page shows discovered bare-metal or virtual nodes waiting to be provisioned."
|
525
|
+
msgstr ""
|
526
|
+
|
521
527
|
msgid "No discovered hosts to provision"
|
522
528
|
msgstr ""
|
523
529
|
|
@@ -549,7 +555,7 @@ msgid "Organization"
|
|
549
555
|
msgstr "Organisation"
|
550
556
|
|
551
557
|
msgid "Organizations"
|
552
|
-
msgstr ""
|
558
|
+
msgstr "Organisationer"
|
553
559
|
|
554
560
|
msgid "PXEGrub template to be used when pinning a host to discovery"
|
555
561
|
msgstr ""
|
@@ -573,7 +579,7 @@ msgid "Prefer IPv6 to IPv4 when calling discovered nodes"
|
|
573
579
|
msgstr ""
|
574
580
|
|
575
581
|
msgid "Primary"
|
576
|
-
msgstr ""
|
582
|
+
msgstr "Primär"
|
577
583
|
|
578
584
|
msgid "Provision"
|
579
585
|
msgstr "Provisionera"
|
@@ -678,7 +684,7 @@ msgid "Specify target hostname template pattern in the same syntax as in Provisi
|
|
678
684
|
msgstr ""
|
679
685
|
|
680
686
|
msgid "Storage"
|
681
|
-
msgstr ""
|
687
|
+
msgstr "Lagring"
|
682
688
|
|
683
689
|
msgid "Storage facts"
|
684
690
|
msgstr ""
|
@@ -717,7 +723,7 @@ msgid "This might take a while, as all hosts, facts and reports will be destroye
|
|
717
723
|
msgstr "Detta kan dröja då alla värdar, fakta och rapporter också kommer bli förstörda"
|
718
724
|
|
719
725
|
msgid "Type"
|
720
|
-
msgstr ""
|
726
|
+
msgstr "Typ"
|
721
727
|
|
722
728
|
msgid "Type of name generator"
|
723
729
|
msgstr ""
|
Binary file
|
@@ -5,10 +5,10 @@
|
|
5
5
|
# Translators:
|
6
6
|
msgid ""
|
7
7
|
msgstr ""
|
8
|
-
"Project-Id-Version: foreman_discovery
|
8
|
+
"Project-Id-Version: foreman_discovery 21.0.0\n"
|
9
9
|
"Report-Msgid-Bugs-To: \n"
|
10
|
-
"PO-Revision-Date:
|
11
|
-
"Last-Translator:
|
10
|
+
"PO-Revision-Date: 2013-11-15 17:25+0000\n"
|
11
|
+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
12
12
|
"Language-Team: Chinese (China) (http://www.transifex.com/foreman/foreman/langu"
|
13
13
|
"age/zh_CN/)\n"
|
14
14
|
"MIME-Version: 1.0\n"
|
@@ -506,12 +506,18 @@ msgstr "新主机"
|
|
506
506
|
msgid "New in the last 24 hours"
|
507
507
|
msgstr "在最近 24 小时之内新建"
|
508
508
|
|
509
|
+
msgid "No Discovery Rules found in this context. Create Discovery Rules to perform automated provisioning on Discovered Hosts"
|
510
|
+
msgstr ""
|
511
|
+
|
509
512
|
msgid "No discovered hosts available"
|
510
513
|
msgstr "没有可用的发现主机"
|
511
514
|
|
512
515
|
msgid "No discovered hosts for the selected period"
|
513
516
|
msgstr "选定时间段内没有发现主机"
|
514
517
|
|
518
|
+
msgid "No discovered hosts found in this context. This page shows discovered bare-metal or virtual nodes waiting to be provisioned."
|
519
|
+
msgstr ""
|
520
|
+
|
515
521
|
msgid "No discovered hosts to provision"
|
516
522
|
msgstr "没有要置备的发现主机"
|
517
523
|
|
@@ -561,10 +567,10 @@ msgid "Please Confirm"
|
|
561
567
|
msgstr "请确认"
|
562
568
|
|
563
569
|
msgid "Prefer IPv6"
|
564
|
-
msgstr ""
|
570
|
+
msgstr "首选使用 IPv6"
|
565
571
|
|
566
572
|
msgid "Prefer IPv6 to IPv4 when calling discovered nodes"
|
567
|
-
msgstr ""
|
573
|
+
msgstr "在调用发现节点时,首选 IPv6 而不是 IPv4"
|
568
574
|
|
569
575
|
msgid "Primary"
|
570
576
|
msgstr "主"
|
Binary file
|
@@ -5,10 +5,10 @@
|
|
5
5
|
# Translators:
|
6
6
|
msgid ""
|
7
7
|
msgstr ""
|
8
|
-
"Project-Id-Version: foreman_discovery
|
8
|
+
"Project-Id-Version: foreman_discovery 21.0.0\n"
|
9
9
|
"Report-Msgid-Bugs-To: \n"
|
10
|
-
"PO-Revision-Date:
|
11
|
-
"Last-Translator:
|
10
|
+
"PO-Revision-Date: 2013-11-15 17:25+0000\n"
|
11
|
+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
12
12
|
"Language-Team: Chinese (Taiwan) (http://www.transifex.com/foreman/foreman/lang"
|
13
13
|
"uage/zh_TW/)\n"
|
14
14
|
"MIME-Version: 1.0\n"
|
@@ -509,12 +509,18 @@ msgstr ""
|
|
509
509
|
msgid "New in the last 24 hours"
|
510
510
|
msgstr ""
|
511
511
|
|
512
|
+
msgid "No Discovery Rules found in this context. Create Discovery Rules to perform automated provisioning on Discovered Hosts"
|
513
|
+
msgstr ""
|
514
|
+
|
512
515
|
msgid "No discovered hosts available"
|
513
516
|
msgstr ""
|
514
517
|
|
515
518
|
msgid "No discovered hosts for the selected period"
|
516
519
|
msgstr ""
|
517
520
|
|
521
|
+
msgid "No discovered hosts found in this context. This page shows discovered bare-metal or virtual nodes waiting to be provisioned."
|
522
|
+
msgstr ""
|
523
|
+
|
518
524
|
msgid "No discovered hosts to provision"
|
519
525
|
msgstr ""
|
520
526
|
|
data/package.json
CHANGED
@@ -21,16 +21,14 @@
|
|
21
21
|
"url": "http://projects.theforeman.org/projects/foreman_discovery/issues"
|
22
22
|
},
|
23
23
|
"peerDependencies": {
|
24
|
-
"@theforeman/vendor": "
|
24
|
+
"@theforeman/vendor": ">= 0"
|
25
25
|
},
|
26
26
|
"devDependencies": {
|
27
27
|
"@babel/core": "^7.7.0",
|
28
|
-
"@theforeman/builder": "
|
29
|
-
"@theforeman/eslint-plugin-foreman": "
|
30
|
-
"@theforeman/stories": "
|
31
|
-
"@theforeman/test": "
|
32
|
-
"@theforeman/vendor-dev": "^6.0.0",
|
33
|
-
"babel-eslint": "^10.0.3",
|
28
|
+
"@theforeman/builder": ">= 0",
|
29
|
+
"@theforeman/eslint-plugin-foreman": ">= 0",
|
30
|
+
"@theforeman/stories": ">= 0",
|
31
|
+
"@theforeman/test": ">= 0",
|
34
32
|
"eslint": "^6.7.2",
|
35
33
|
"prettier": "^1.19.1",
|
36
34
|
"stylelint": "^9.3.0",
|
@@ -196,6 +196,19 @@ class DiscoveredExtensionsTest < ActiveSupport::TestCase
|
|
196
196
|
def suggest_ip
|
197
197
|
"192.168.101.13"
|
198
198
|
end
|
199
|
+
|
200
|
+
def ip_addr
|
201
|
+
@ip_addr ||= IPAddr.new("#{suggest_ip}/24")
|
202
|
+
end
|
203
|
+
|
204
|
+
|
205
|
+
def subnet_range
|
206
|
+
@subnet_range ||= ip_addr.to_range
|
207
|
+
end
|
208
|
+
|
209
|
+
def ip_include?(ip)
|
210
|
+
ip_addr.include?(ip)
|
211
|
+
end
|
199
212
|
end
|
200
213
|
|
201
214
|
test "subnet is changed and unused_ip called" do
|
@@ -208,7 +221,7 @@ class DiscoveredExtensionsTest < ActiveSupport::TestCase
|
|
208
221
|
assert_equal subnet, host.subnet
|
209
222
|
hostgroup = FactoryBot.create(:hostgroup, :with_rootpass, :with_os, :pxe_loader => "PXELinux BIOS", :subnet => subnet2, :domain => domain)
|
210
223
|
r1 = FactoryBot.create(:discovery_rule, :priority => 1, :search => "facts.somefact = abc", :organizations => [host.organization], :locations => [host.location], :hostgroup => hostgroup)
|
211
|
-
Subnet.any_instance.expects(:unused_ip).with(host.mac).returns(StubIPAM.new)
|
224
|
+
Subnet.any_instance.expects(:unused_ip).at_least_once.with(host.mac).returns(StubIPAM.new)
|
212
225
|
host.primary_interface.stubs(:queue_tftp)
|
213
226
|
host.primary_interface.stubs(:queue_dhcp)
|
214
227
|
managed_host = perform_auto_provision(host, r1)
|
@@ -408,12 +408,18 @@ class HostDiscoveredTest < ActiveSupport::TestCase
|
|
408
408
|
assert_match(/Invalid hostname: Could not normalize the hostname/, exception.message)
|
409
409
|
end
|
410
410
|
|
411
|
-
test "
|
411
|
+
test "choosing the first valid fact from array of fact names" do
|
412
412
|
facts = {"custom_hostname" => "testhostname","notmyfact" => "notusedfactvalue"}
|
413
413
|
discovery_hostname_fact_array = ['macaddress','custom_hostname','someotherfact']
|
414
414
|
assert_equal Host::Discovered.return_first_valid_fact(discovery_hostname_fact_array,facts),"testhostname"
|
415
415
|
end
|
416
416
|
|
417
|
+
test "choosing the first valid MAC address from array of fact names" do
|
418
|
+
facts = {"custom_hostname" => "testhostname","macaddress" => "e5:17:4e:28:02:4c","notmyfact" => "notusedfactvalue"}
|
419
|
+
discovery_hostname_fact_array = ['custom_hostname','macaddress','someotherfact']
|
420
|
+
assert_equal Host::Discovered.return_first_valid_mac(discovery_hostname_fact_array,facts),"e5:17:4e:28:02:4c"
|
421
|
+
end
|
422
|
+
|
417
423
|
context 'notification recipients' do
|
418
424
|
setup do
|
419
425
|
@admins = User.except_hidden.where(:admin => true).pluck(:id)
|
@@ -91,7 +91,7 @@ class ManagedExtensionsTest < ActiveSupport::TestCase
|
|
91
91
|
|
92
92
|
test "kexec template is correctly rendered" do
|
93
93
|
expected = {
|
94
|
-
"append" => "ks=http://foreman.
|
94
|
+
"append" => "inst.ks=http://foreman.example.com/unattended/provision&static=yes inst.ks.sendmac ip=::::::none nameserver= ksdevice=bootif BOOTIF= nomodeset nokaslr nomodeset",
|
95
95
|
"extra" => []
|
96
96
|
}
|
97
97
|
assert @host.operatingsystem.respond_to?(:pxe_type)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman_discovery
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 21.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aditi Puntambekar
|
@@ -31,6 +31,8 @@ authors:
|
|
31
31
|
- imriz
|
32
32
|
- Imri Zvik
|
33
33
|
- Ivan Nečas
|
34
|
+
- Jan Matusz
|
35
|
+
- John Mazzie
|
34
36
|
- Joseph Mitchell Magen
|
35
37
|
- June Zhang
|
36
38
|
- kgaikwad
|
@@ -74,7 +76,7 @@ authors:
|
|
74
76
|
autorequire:
|
75
77
|
bindir: bin
|
76
78
|
cert_chain: []
|
77
|
-
date:
|
79
|
+
date: 2022-04-27 00:00:00.000000000 Z
|
78
80
|
dependencies: []
|
79
81
|
description: MaaS Discovery Plugin engine for Foreman
|
80
82
|
email: gsutclif@redhat.com
|
@@ -201,51 +203,35 @@ files:
|
|
201
203
|
- lib/foreman_discovery/engine.rb
|
202
204
|
- lib/foreman_discovery/version.rb
|
203
205
|
- locale/ca/LC_MESSAGES/foreman_discovery.mo
|
204
|
-
- locale/ca/foreman_discovery.edit.po
|
205
206
|
- locale/ca/foreman_discovery.po
|
206
207
|
- locale/de/LC_MESSAGES/foreman_discovery.mo
|
207
|
-
- locale/de/foreman_discovery.edit.po
|
208
208
|
- locale/de/foreman_discovery.po
|
209
209
|
- locale/en/LC_MESSAGES/foreman_discovery.mo
|
210
|
-
- locale/en/foreman_discovery.edit.po
|
211
210
|
- locale/en/foreman_discovery.po
|
212
211
|
- locale/en_GB/LC_MESSAGES/foreman_discovery.mo
|
213
|
-
- locale/en_GB/foreman_discovery.edit.po
|
214
212
|
- locale/en_GB/foreman_discovery.po
|
215
213
|
- locale/es/LC_MESSAGES/foreman_discovery.mo
|
216
|
-
- locale/es/foreman_discovery.edit.po
|
217
214
|
- locale/es/foreman_discovery.po
|
218
215
|
- locale/foreman_discovery.pot
|
219
216
|
- locale/fr/LC_MESSAGES/foreman_discovery.mo
|
220
|
-
- locale/fr/foreman_discovery.edit.po
|
221
217
|
- locale/fr/foreman_discovery.po
|
222
218
|
- locale/gl/LC_MESSAGES/foreman_discovery.mo
|
223
|
-
- locale/gl/foreman_discovery.edit.po
|
224
219
|
- locale/gl/foreman_discovery.po
|
225
220
|
- locale/it/LC_MESSAGES/foreman_discovery.mo
|
226
|
-
- locale/it/foreman_discovery.edit.po
|
227
221
|
- locale/it/foreman_discovery.po
|
228
222
|
- locale/ja/LC_MESSAGES/foreman_discovery.mo
|
229
|
-
- locale/ja/foreman_discovery.edit.po
|
230
223
|
- locale/ja/foreman_discovery.po
|
231
224
|
- locale/ko/LC_MESSAGES/foreman_discovery.mo
|
232
|
-
- locale/ko/foreman_discovery.edit.po
|
233
225
|
- locale/ko/foreman_discovery.po
|
234
|
-
- locale/messages.mo
|
235
226
|
- locale/pt_BR/LC_MESSAGES/foreman_discovery.mo
|
236
|
-
- locale/pt_BR/foreman_discovery.edit.po
|
237
227
|
- locale/pt_BR/foreman_discovery.po
|
238
228
|
- locale/ru/LC_MESSAGES/foreman_discovery.mo
|
239
|
-
- locale/ru/foreman_discovery.edit.po
|
240
229
|
- locale/ru/foreman_discovery.po
|
241
230
|
- locale/sv_SE/LC_MESSAGES/foreman_discovery.mo
|
242
|
-
- locale/sv_SE/foreman_discovery.edit.po
|
243
231
|
- locale/sv_SE/foreman_discovery.po
|
244
232
|
- locale/zh_CN/LC_MESSAGES/foreman_discovery.mo
|
245
|
-
- locale/zh_CN/foreman_discovery.edit.po
|
246
233
|
- locale/zh_CN/foreman_discovery.po
|
247
234
|
- locale/zh_TW/LC_MESSAGES/foreman_discovery.mo
|
248
|
-
- locale/zh_TW/foreman_discovery.edit.po
|
249
235
|
- locale/zh_TW/foreman_discovery.po
|
250
236
|
- package.json
|
251
237
|
- test/factories/discovery_host_related.rb
|
@@ -332,10 +318,12 @@ summary: MaaS Discovery Plugin for Foreman
|
|
332
318
|
test_files:
|
333
319
|
- test/factories/discovery_host_related.rb
|
334
320
|
- test/factories/discovery_rule_related.rb
|
321
|
+
- test/facts/bond0-eth0-eth1-active-passive.json
|
335
322
|
- test/facts/default.json
|
336
323
|
- test/facts/dell_npars.json
|
337
324
|
- test/facts/dell_vlan.json
|
338
325
|
- test/facts/facts_with_lldp.json
|
326
|
+
- test/facts/facts_with_lldp_bond_candidate.json
|
339
327
|
- test/facts/pxeless-vlan.json
|
340
328
|
- test/facts/regular_host.json
|
341
329
|
- test/facts/rhel-dl380-1kdisks.json
|
@@ -344,28 +332,26 @@ test_files:
|
|
344
332
|
- test/facts/simple-bond.json
|
345
333
|
- test/facts/suse-vmware.json
|
346
334
|
- test/facts/vmware_local.json
|
347
|
-
- test/facts/bond0-eth0-eth1-active-passive.json
|
348
|
-
- test/facts/facts_with_lldp_bond_candidate.json
|
349
335
|
- test/facts/only-ipv6.json
|
350
336
|
- test/facts/skylake-ipv6.json
|
351
337
|
- test/functional/api/v2/discovery_rules_controller_test.rb
|
352
338
|
- test/functional/api/v2/discovered_hosts_controller_test.rb
|
353
339
|
- test/functional/api/v2/fact_value_extensions_test.rb
|
354
340
|
- test/functional/foreman_discovery/concerns/hosts_controller_extensions_test.rb
|
355
|
-
- test/functional/discovery_rules_controller_test.rb
|
356
341
|
- test/functional/discovered_hosts_controller_test.rb
|
342
|
+
- test/functional/discovery_rules_controller_test.rb
|
357
343
|
- test/integration/discovered_hosts_test.rb
|
358
|
-
- test/unit/ui_notifications/destroy_host_test.rb
|
359
|
-
- test/unit/ui_notifications/new_host_test.rb
|
360
344
|
- test/unit/discovered_mailer_test.rb
|
361
345
|
- test/unit/discovery_taxonomy_extensions_test.rb
|
362
346
|
- test/unit/lldp_neighbors_test.rb
|
363
|
-
- test/unit/
|
364
|
-
- test/unit/
|
365
|
-
- test/unit/managed_extensions_test.rb
|
366
|
-
- test/unit/host_discovered_test.rb
|
347
|
+
- test/unit/ui_notifications/destroy_host_test.rb
|
348
|
+
- test/unit/ui_notifications/new_host_test.rb
|
367
349
|
- test/unit/discovered_extensions_test.rb
|
368
350
|
- test/unit/discovery_attribute_set_test.rb
|
351
|
+
- test/unit/discovery_rule_test.rb
|
369
352
|
- test/unit/fact_parser_test.rb
|
353
|
+
- test/unit/fact_to_category_resolver_test.rb
|
354
|
+
- test/unit/host_discovered_test.rb
|
355
|
+
- test/unit/managed_extensions_test.rb
|
370
356
|
- test/test_helper_discovery.rb
|
371
357
|
- test/test_plugin_helper.rb
|