foreman_discovery 16.0.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/controllers/api/v2/discovery_rules_controller.rb +1 -1
- data/app/controllers/discovered_hosts_controller.rb +5 -3
- data/app/controllers/discovery_rules_controller.rb +1 -1
- data/app/models/discovery_rule.rb +1 -1
- data/app/models/host/discovered.rb +52 -34
- data/app/models/host/managed_extensions.rb +2 -2
- data/app/models/setting/discovered.rb +3 -1
- data/app/services/foreman_discovery/host_converter.rb +15 -7
- data/app/services/foreman_discovery/host_fact_importer.rb +10 -0
- data/app/services/foreman_discovery/import_hooks/subnet_and_taxonomy.rb +2 -0
- data/app/services/foreman_discovery/node_api/node_resource.rb +1 -0
- data/app/views/api/v2/discovery_rules/create.json.rabl +3 -0
- data/app/views/discovered_hosts/_discovered_host_modal.html.erb +0 -2
- data/app/views/discovered_hosts/welcome.html.erb +15 -9
- data/app/views/discovery_rules/index.html.erb +1 -1
- data/app/views/foreman_discovery/debian_kexec.erb +3 -2
- data/app/views/foreman_discovery/redhat_kexec.erb +2 -1
- data/db/migrate/20150512150432_remove_old_discovery_reader_permissions.rb +1 -1
- data/db/migrate/20151023144501_regenerate_red_hat_kexec.rb +1 -1
- data/db/migrate/20180412124505_add_priority_score_to_discovery_rules.rb +1 -1
- data/extra/discover-host +14 -8
- data/lib/foreman_discovery/engine.rb +5 -4
- 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 +195 -252
- data/locale/ca/foreman_discovery.po +40 -17
- data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/de/foreman_discovery.edit.po +201 -257
- data/locale/de/foreman_discovery.po +46 -23
- data/locale/en/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/en/foreman_discovery.edit.po +141 -111
- data/locale/en/foreman_discovery.po +36 -13
- data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/en_GB/foreman_discovery.edit.po +205 -254
- data/locale/en_GB/foreman_discovery.po +42 -19
- data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/es/foreman_discovery.edit.po +209 -258
- data/locale/es/foreman_discovery.po +46 -23
- data/locale/foreman_discovery.pot +150 -117
- data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/fr/foreman_discovery.edit.po +203 -255
- data/locale/fr/foreman_discovery.po +44 -21
- data/locale/gl/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/gl/foreman_discovery.edit.po +190 -250
- data/locale/gl/foreman_discovery.po +38 -15
- data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/it/foreman_discovery.edit.po +193 -253
- data/locale/it/foreman_discovery.po +41 -18
- data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/ja/foreman_discovery.edit.po +207 -256
- data/locale/ja/foreman_discovery.po +44 -21
- data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/ko/foreman_discovery.edit.po +196 -255
- data/locale/ko/foreman_discovery.po +44 -21
- data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/pt_BR/foreman_discovery.edit.po +205 -256
- data/locale/pt_BR/foreman_discovery.po +44 -21
- data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/ru/foreman_discovery.edit.po +199 -257
- data/locale/ru/foreman_discovery.po +44 -21
- data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/sv_SE/foreman_discovery.edit.po +190 -250
- data/locale/sv_SE/foreman_discovery.po +38 -15
- data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/zh_CN/foreman_discovery.edit.po +207 -256
- data/locale/zh_CN/foreman_discovery.po +44 -21
- data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/zh_TW/foreman_discovery.edit.po +196 -254
- data/locale/zh_TW/foreman_discovery.po +42 -19
- data/package.json +39 -0
- data/test/facts/only-ipv6.json +205 -0
- data/test/facts/skylake-ipv6.json +223 -0
- data/test/functional/api/v2/settings_controller_test.rb +2 -2
- data/test/functional/discovered_hosts_controller_test.rb +16 -7
- data/test/functional/discovery_rules_controller_test.rb +1 -1
- data/test/unit/discovered_extensions_test.rb +6 -1
- data/test/unit/host_discovered_test.rb +0 -16
- data/test/unit/managed_extensions_test.rb +1 -0
- 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 +42 -28
@@ -6,10 +6,10 @@ class Api::V2::SettingsControllerTest < ActionController::TestCase
|
|
6
6
|
end
|
7
7
|
|
8
8
|
test_attributes :pid => '2c5ecb7e-87bc-4980-9620-7ae00e3f360e'
|
9
|
-
test "should update hostname prefix without value" do
|
9
|
+
test "should not update hostname prefix without value" do
|
10
10
|
setting = Setting.find_by_name("discovery_prefix")
|
11
11
|
put :update, params: { :id => setting.id, :setting => { :value => '' } }
|
12
|
-
|
12
|
+
assert_nil JSON.parse(@response.body)['value']
|
13
13
|
end
|
14
14
|
|
15
15
|
test_attributes :pid => '4969994d-f934-4f0e-9a98-476b87eb0527'
|
@@ -8,7 +8,7 @@ class DiscoveredHostsControllerTest < ActionController::TestCase
|
|
8
8
|
setup do
|
9
9
|
assert discovered_notification_blueprint
|
10
10
|
@request.env['HTTP_REFERER'] = '/discovery_rules'
|
11
|
-
FactoryBot.create(:subnet, :network => "192.168.100.1", :mask => "255.255.255.0", :locations => [location_one], :organizations => [organization_one])
|
11
|
+
FactoryBot.create(:subnet, :dhcp, :network => "192.168.100.1", :mask => "255.255.255.0", :locations => [location_one], :organizations => [organization_one])
|
12
12
|
@facts = {
|
13
13
|
"interfaces" => "lo,eth0",
|
14
14
|
"ipaddress" => "192.168.100.42",
|
@@ -115,7 +115,7 @@ class DiscoveredHostsControllerTest < ActionController::TestCase
|
|
115
115
|
} }, session: set_session_user_default_manager
|
116
116
|
# all inherit buttons are pressed
|
117
117
|
assert_select('button[name=is_overridden_btn]') do |e|
|
118
|
-
e.attribute("class") =~ /active/
|
118
|
+
e.attribute("class").to_s =~ /active/
|
119
119
|
end
|
120
120
|
# particular fields are set
|
121
121
|
assert_select '#host_hostgroup_id [selected]' do |e|
|
@@ -140,6 +140,7 @@ class DiscoveredHostsControllerTest < ActionController::TestCase
|
|
140
140
|
|
141
141
|
def test_update_inheritance
|
142
142
|
host = discover_host_from_facts(@facts)
|
143
|
+
ForemanDiscovery::HostConverter.stubs(:unused_ip_for_subnet).returns(host.ip)
|
143
144
|
hostgroup = setup_hostgroup(host)
|
144
145
|
put :update, params: {
|
145
146
|
commit: 'Update',
|
@@ -167,7 +168,7 @@ class DiscoveredHostsControllerTest < ActionController::TestCase
|
|
167
168
|
def test_add_entry_to_nav_menu
|
168
169
|
get :index, params: {}, session: set_session_user
|
169
170
|
assert_response :success
|
170
|
-
assert response.body
|
171
|
+
assert response.body.include?('Discovered Hosts')
|
171
172
|
end
|
172
173
|
|
173
174
|
def test_reboot_success
|
@@ -186,7 +187,7 @@ class DiscoveredHostsControllerTest < ActionController::TestCase
|
|
186
187
|
::ForemanDiscovery::NodeAPI::PowerService.any_instance.expects(:reboot).returns(false)
|
187
188
|
post :reboot, params: { :id => host.id }, session: set_session_user_default_manager
|
188
189
|
assert_redirected_to discovered_hosts_url
|
189
|
-
|
190
|
+
assert_match(/ERF42-4036/, flash[:error])
|
190
191
|
end
|
191
192
|
|
192
193
|
def test_reboot_error
|
@@ -195,7 +196,7 @@ class DiscoveredHostsControllerTest < ActionController::TestCase
|
|
195
196
|
::ForemanDiscovery::NodeAPI::PowerService.any_instance.expects(:reboot).raises("request failed")
|
196
197
|
post :reboot, params: { :id => host.id }, session: set_session_user_default_manager
|
197
198
|
assert_redirected_to discovered_hosts_url
|
198
|
-
assert_match(/
|
199
|
+
assert_match(/ERF42-4036/, flash[:error])
|
199
200
|
end
|
200
201
|
|
201
202
|
def test_auto_provision_success
|
@@ -274,7 +275,7 @@ class DiscoveredHostsControllerTest < ActionController::TestCase
|
|
274
275
|
::ForemanDiscovery::NodeAPI::PowerService.any_instance.expects(:reboot).returns(false)
|
275
276
|
post :submit_multiple_reboot, params: {:host_ids => host.id}, session: set_session_user(User.current)
|
276
277
|
assert_redirected_to discovered_hosts_url
|
277
|
-
|
278
|
+
assert_match(/ERF42-4036/, flash[:error])
|
278
279
|
assert_nil flash[:success]
|
279
280
|
end
|
280
281
|
|
@@ -284,12 +285,15 @@ class DiscoveredHostsControllerTest < ActionController::TestCase
|
|
284
285
|
::ForemanDiscovery::NodeAPI::PowerService.any_instance.expects(:reboot).raises("request failed")
|
285
286
|
post :submit_multiple_reboot, params: {:host_ids => host.id}, session: set_session_user(User.current)
|
286
287
|
assert_redirected_to discovered_hosts_url
|
287
|
-
assert_match(/
|
288
|
+
assert_match(/ERF42-4036/, flash[:error])
|
288
289
|
assert_nil flash[:success]
|
289
290
|
end
|
290
291
|
|
291
292
|
def test_no_dns_rebuild_if_dns_pending
|
292
293
|
host = discover_host_from_facts(@facts)
|
294
|
+
ForemanDiscovery::HostConverter.stubs(:unused_ip_for_subnet).returns(host.ip)
|
295
|
+
Nic::Managed.any_instance.stubs(:dhcp_update_required?).returns(false)
|
296
|
+
Net::DHCP::Record.any_instance.stubs(:conflicting?).returns(false)
|
293
297
|
hostgroup = prepare_hostgroup_for_dns_rebuild(host)
|
294
298
|
Nic::Managed.any_instance.expects(:rebuild_dns).never
|
295
299
|
Host::Managed.any_instance.stubs(:skip_orchestration?).returns(false)
|
@@ -306,6 +310,9 @@ class DiscoveredHostsControllerTest < ActionController::TestCase
|
|
306
310
|
|
307
311
|
def test_dns_rebuild
|
308
312
|
host = prepare_host_for_dns_rebuild
|
313
|
+
ForemanDiscovery::HostConverter.stubs(:unused_ip_for_subnet).returns(host.ip)
|
314
|
+
Nic::Managed.any_instance.stubs(:dhcp_update_required?).returns(false)
|
315
|
+
Net::DHCP::Record.any_instance.stubs(:conflicting?).returns(false)
|
309
316
|
hostgroup = prepare_hostgroup_for_dns_rebuild(host)
|
310
317
|
Nic::Managed.any_instance.expects(:rebuild_dns)
|
311
318
|
Host::Managed.any_instance.stubs(:skip_orchestration?).returns(false)
|
@@ -319,6 +326,8 @@ class DiscoveredHostsControllerTest < ActionController::TestCase
|
|
319
326
|
|
320
327
|
def test_dns_rebuild_with_auto_provision
|
321
328
|
host = prepare_host_for_dns_rebuild
|
329
|
+
ForemanDiscovery::HostConverter.stubs(:unused_ip_for_subnet).returns(host.ip)
|
330
|
+
Nic::Managed.any_instance.stubs(:dhcp_update_required?).returns(false)
|
322
331
|
hostgroup = prepare_hostgroup_for_dns_rebuild(host)
|
323
332
|
Nic::Managed.any_instance.expects(:rebuild_dns)
|
324
333
|
Host::Managed.any_instance.stubs(:skip_orchestration?).returns(false)
|
@@ -6,7 +6,7 @@ class DiscoveryRulesControllerTest < ActionController::TestCase
|
|
6
6
|
test "should add a link to navigation" do
|
7
7
|
get :index, params: {}, session: set_session_user
|
8
8
|
assert_response :success
|
9
|
-
assert response.body =~
|
9
|
+
assert response.body =~ /\/discovery_rules/
|
10
10
|
end
|
11
11
|
|
12
12
|
test "reader role should get index" do
|
@@ -9,6 +9,7 @@ class DiscoveredExtensionsTest < ActiveSupport::TestCase
|
|
9
9
|
@facts = facts_simple_network100_42
|
10
10
|
@facts_ipv6 = facts_network_2001_db8
|
11
11
|
set_default_settings
|
12
|
+
ProxyAPI::DHCP.any_instance.stubs(:record).returns(nil)
|
12
13
|
::ForemanDiscovery::HostConverter.stubs(:unused_ip_for_host)
|
13
14
|
end
|
14
15
|
|
@@ -204,6 +205,8 @@ class DiscoveredExtensionsTest < ActiveSupport::TestCase
|
|
204
205
|
assert_empty host.errors
|
205
206
|
assert managed_host
|
206
207
|
assert_empty managed_host.errors
|
208
|
+
refute_nil hostgroup.subnet
|
209
|
+
refute_nil managed_host.subnet
|
207
210
|
assert_equal hostgroup.subnet, managed_host.subnet
|
208
211
|
assert_equal "192.168.101.13", managed_host.ip
|
209
212
|
end
|
@@ -224,7 +227,9 @@ class DiscoveredExtensionsTest < ActiveSupport::TestCase
|
|
224
227
|
assert_empty host.errors
|
225
228
|
assert managed_host
|
226
229
|
assert_empty managed_host.errors
|
227
|
-
|
230
|
+
refute_nil hostgroup.subnet6
|
231
|
+
refute_nil managed_host.subnet6
|
232
|
+
assert_equal hostgroup.subnet6, managed_host.subnet6
|
228
233
|
assert_equal "2001:db9::a8bb:ccff:fedd:eefa", managed_host.ip6
|
229
234
|
end
|
230
235
|
|
@@ -260,12 +260,6 @@ class HostDiscoveredTest < ActiveSupport::TestCase
|
|
260
260
|
assert_equal 'teste41f13cc3658', host.name
|
261
261
|
end
|
262
262
|
|
263
|
-
test "should create discovered host without prefix" do
|
264
|
-
Setting[:discovery_prefix] = ''
|
265
|
-
host = discover_host_from_facts(@facts)
|
266
|
-
assert_equal 'e41f13cc3658',host.name
|
267
|
-
end
|
268
|
-
|
269
263
|
test "should refresh facts and NICs of an existing discovered host" do
|
270
264
|
host1 = discover_host_from_facts(@facts)
|
271
265
|
assert_equal 'mace41f13cc3658', host1.name
|
@@ -290,16 +284,6 @@ class HostDiscoveredTest < ActiveSupport::TestCase
|
|
290
284
|
assert_match(/Invalid facts: hash does not contain a valid value for any of the facts in the discovery_hostname setting:/, exception.message)
|
291
285
|
end
|
292
286
|
|
293
|
-
test "should raise when hostname cannot be computed due to normlization and no prefix" do
|
294
|
-
@facts['invalidhostnamefact'] = '...'
|
295
|
-
Setting[:discovery_hostname] = 'invalidhostnamefact'
|
296
|
-
Setting[:discovery_prefix] = ''
|
297
|
-
exception = assert_raises(::Foreman::Exception) do
|
298
|
-
discover_host_from_facts(@facts)
|
299
|
-
end
|
300
|
-
assert_match(/Invalid hostname: Could not normalize the hostname/, exception.message)
|
301
|
-
end
|
302
|
-
|
303
287
|
test 'discovered host can be searched in multiple taxonomies' do
|
304
288
|
org1 = FactoryBot.create(:organization)
|
305
289
|
org2 = FactoryBot.create(:organization)
|
data/webpack/index.js
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
/* eslint import/no-unresolved: [2, { ignore: [foremanReact/*] }] */
|
2
|
+
/* eslint-disable import/no-extraneous-dependencies */
|
3
|
+
/* eslint-disable import/extensions */
|
4
|
+
import componentRegistry from "foremanReact/components/componentRegistry";
|
5
|
+
import { registerReducer } from "foremanReact/common/MountingService";
|
6
|
+
import reducers from "./src/reducers";
|
7
|
+
import DiscoveredHosts from "./src/ForemanDiscovery/DiscoveredHosts";
|
8
|
+
|
9
|
+
// register reducers
|
10
|
+
Object.entries(reducers).forEach(([key, reducer]) =>
|
11
|
+
registerReducer(key, reducer)
|
12
|
+
);
|
13
|
+
|
14
|
+
// register components for erb mounting
|
15
|
+
componentRegistry.register({
|
16
|
+
name: "DiscoveredHosts",
|
17
|
+
type: DiscoveredHosts,
|
18
|
+
});
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import React from "react";
|
2
|
+
import PropTypes from "prop-types";
|
3
|
+
import { translate as __ } from "foremanReact/common/I18n";
|
4
|
+
import ForemanEmptyState from "foremanReact/components/common/EmptyState";
|
5
|
+
|
6
|
+
const EmptyState = (props) => {
|
7
|
+
const description = __(
|
8
|
+
"No discovered hosts found in this context. This page shows discovered bare-metal or virtual nodes waiting to be provisioned."
|
9
|
+
);
|
10
|
+
const documentation = {
|
11
|
+
url: props.docUrl,
|
12
|
+
};
|
13
|
+
return (
|
14
|
+
<ForemanEmptyState
|
15
|
+
header="Foreman Discovery"
|
16
|
+
description={description}
|
17
|
+
icon="gears"
|
18
|
+
iconType="fa"
|
19
|
+
documentation={documentation}
|
20
|
+
/>
|
21
|
+
);
|
22
|
+
};
|
23
|
+
|
24
|
+
EmptyState.propTypes = {
|
25
|
+
docUrl: PropTypes.string,
|
26
|
+
};
|
27
|
+
|
28
|
+
export default EmptyState;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default } from "./EmptyState";
|
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: 16.
|
4
|
+
version: 16.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aditi Puntambekar
|
@@ -9,6 +9,7 @@ authors:
|
|
9
9
|
- Alon Goldboim
|
10
10
|
- amirfefer
|
11
11
|
- Amit Karsale
|
12
|
+
- Amit Upadhye
|
12
13
|
- Amos Benari
|
13
14
|
- Avi Sharvit
|
14
15
|
- Bryan Kearney
|
@@ -34,6 +35,7 @@ authors:
|
|
34
35
|
- kgaikwad
|
35
36
|
- Lars Berntzon
|
36
37
|
- ldjebran
|
38
|
+
- Leos Stejskal
|
37
39
|
- Lukas Zapletal
|
38
40
|
- Lukáš Zapletal
|
39
41
|
- Marek Hulan
|
@@ -69,7 +71,7 @@ authors:
|
|
69
71
|
autorequire:
|
70
72
|
bindir: bin
|
71
73
|
cert_chain: []
|
72
|
-
date:
|
74
|
+
date: 2020-10-29 00:00:00.000000000 Z
|
73
75
|
dependencies: []
|
74
76
|
description: MaaS Discovery Plugin engine for Foreman
|
75
77
|
email: gsutclif@redhat.com
|
@@ -104,6 +106,7 @@ files:
|
|
104
106
|
- app/models/setting/discovered.rb
|
105
107
|
- app/services/foreman_discovery/fact_parser.rb
|
106
108
|
- app/services/foreman_discovery/host_converter.rb
|
109
|
+
- app/services/foreman_discovery/host_fact_importer.rb
|
107
110
|
- app/services/foreman_discovery/import_hook.rb
|
108
111
|
- app/services/foreman_discovery/import_hook_service.rb
|
109
112
|
- app/services/foreman_discovery/import_hooks/discovery_attribute.rb
|
@@ -124,6 +127,7 @@ files:
|
|
124
127
|
- app/views/api/v2/discovered_hosts/show.json.rabl
|
125
128
|
- app/views/api/v2/discovered_hosts/update.json.rabl
|
126
129
|
- app/views/api/v2/discovery_rules/base.json.rabl
|
130
|
+
- app/views/api/v2/discovery_rules/create.json.rabl
|
127
131
|
- app/views/api/v2/discovery_rules/index.json.rabl
|
128
132
|
- app/views/api/v2/discovery_rules/main.json.rabl
|
129
133
|
- app/views/api/v2/discovery_rules/show.json.rabl
|
@@ -234,6 +238,7 @@ files:
|
|
234
238
|
- locale/zh_TW/LC_MESSAGES/foreman_discovery.mo
|
235
239
|
- locale/zh_TW/foreman_discovery.edit.po
|
236
240
|
- locale/zh_TW/foreman_discovery.po
|
241
|
+
- package.json
|
237
242
|
- test/factories/discovery_host_related.rb
|
238
243
|
- test/factories/discovery_rule_related.rb
|
239
244
|
- test/facts/bond0-eth0-eth1-active-passive.json
|
@@ -242,12 +247,14 @@ files:
|
|
242
247
|
- test/facts/dell_vlan.json
|
243
248
|
- test/facts/facts_with_lldp.json
|
244
249
|
- test/facts/facts_with_lldp_bond_candidate.json
|
250
|
+
- test/facts/only-ipv6.json
|
245
251
|
- test/facts/pxeless-vlan.json
|
246
252
|
- test/facts/regular_host.json
|
247
253
|
- test/facts/rhel-dl380-1kdisks.json
|
248
254
|
- test/facts/rhel-r730.json
|
249
255
|
- test/facts/rhel7-vlan.json
|
250
256
|
- test/facts/simple-bond.json
|
257
|
+
- test/facts/skylake-ipv6.json
|
251
258
|
- test/facts/suse-vmware.json
|
252
259
|
- test/facts/vmware_local.json
|
253
260
|
- test/functional/api/v2/discovered_hosts_controller_test.rb
|
@@ -273,6 +280,11 @@ files:
|
|
273
280
|
- test/unit/setting_discovered_test.rb
|
274
281
|
- test/unit/ui_notifications/destroy_host_test.rb
|
275
282
|
- test/unit/ui_notifications/new_host_test.rb
|
283
|
+
- webpack/index.js
|
284
|
+
- webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/EmptyState.js
|
285
|
+
- webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/index.js
|
286
|
+
- webpack/src/ForemanDiscovery/DiscoveredHosts/index.js
|
287
|
+
- webpack/src/reducers.js
|
276
288
|
homepage: https://github.com/theforeman/foreman_discovery
|
277
289
|
licenses:
|
278
290
|
- GPL-3.0
|
@@ -292,47 +304,49 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
292
304
|
- !ruby/object:Gem::Version
|
293
305
|
version: '0'
|
294
306
|
requirements: []
|
295
|
-
rubygems_version: 3.
|
307
|
+
rubygems_version: 3.1.2
|
296
308
|
signing_key:
|
297
309
|
specification_version: 4
|
298
310
|
summary: MaaS Discovery Plugin for Foreman
|
299
311
|
test_files:
|
300
|
-
- test/
|
301
|
-
- test/
|
302
|
-
- test/functional/api/v2/discovered_hosts_controller_test.rb
|
303
|
-
- test/functional/api/v2/fact_value_extensions_test.rb
|
304
|
-
- test/functional/api/v2/settings_controller_test.rb
|
305
|
-
- test/functional/api/v2/discovery_rules_controller_test.rb
|
306
|
-
- test/functional/discovery_rules_controller_test.rb
|
307
|
-
- test/integration/discovered_hosts_test.rb
|
308
|
-
- test/test_plugin_helper.rb
|
309
|
-
- test/facts/facts_with_lldp.json
|
310
|
-
- test/facts/dell_vlan.json
|
312
|
+
- test/factories/discovery_host_related.rb
|
313
|
+
- test/factories/discovery_rule_related.rb
|
311
314
|
- test/facts/bond0-eth0-eth1-active-passive.json
|
312
|
-
- test/facts/
|
313
|
-
- test/facts/rhel-r730.json
|
315
|
+
- test/facts/default.json
|
314
316
|
- test/facts/dell_npars.json
|
317
|
+
- test/facts/dell_vlan.json
|
318
|
+
- test/facts/facts_with_lldp.json
|
319
|
+
- test/facts/facts_with_lldp_bond_candidate.json
|
315
320
|
- test/facts/pxeless-vlan.json
|
316
321
|
- test/facts/regular_host.json
|
317
|
-
- test/facts/facts_with_lldp_bond_candidate.json
|
318
|
-
- test/facts/rhel7-vlan.json
|
319
|
-
- test/facts/default.json
|
320
322
|
- test/facts/rhel-dl380-1kdisks.json
|
323
|
+
- test/facts/rhel-r730.json
|
324
|
+
- test/facts/rhel7-vlan.json
|
325
|
+
- test/facts/simple-bond.json
|
321
326
|
- test/facts/suse-vmware.json
|
322
327
|
- test/facts/vmware_local.json
|
328
|
+
- test/facts/only-ipv6.json
|
329
|
+
- test/facts/skylake-ipv6.json
|
330
|
+
- test/functional/api/v2/discovered_hosts_controller_test.rb
|
331
|
+
- test/functional/api/v2/discovery_rules_controller_test.rb
|
332
|
+
- test/functional/api/v2/fact_value_extensions_test.rb
|
333
|
+
- test/functional/api/v2/settings_controller_test.rb
|
334
|
+
- test/functional/foreman_discovery/concerns/hosts_controller_extensions_test.rb
|
335
|
+
- test/functional/discovery_rules_controller_test.rb
|
336
|
+
- test/functional/discovered_hosts_controller_test.rb
|
337
|
+
- test/integration/discovered_hosts_test.rb
|
338
|
+
- test/models/setting_test.rb
|
339
|
+
- test/test_helper_discovery.rb
|
340
|
+
- test/test_plugin_helper.rb
|
341
|
+
- test/unit/discovered_mailer_test.rb
|
342
|
+
- test/unit/discovery_attribute_set_test.rb
|
323
343
|
- test/unit/discovery_rule_test.rb
|
324
344
|
- test/unit/discovery_taxonomy_extensions_test.rb
|
325
|
-
- test/unit/discovered_mailer_test.rb
|
326
345
|
- test/unit/fact_parser_test.rb
|
327
|
-
- test/unit/discovered_extensions_test.rb
|
328
|
-
- test/unit/setting_discovered_test.rb
|
329
|
-
- test/unit/host_discovered_test.rb
|
330
346
|
- test/unit/lldp_neighbors_test.rb
|
347
|
+
- test/unit/setting_discovered_test.rb
|
331
348
|
- test/unit/ui_notifications/destroy_host_test.rb
|
332
349
|
- test/unit/ui_notifications/new_host_test.rb
|
333
|
-
- test/unit/
|
350
|
+
- test/unit/discovered_extensions_test.rb
|
334
351
|
- test/unit/managed_extensions_test.rb
|
335
|
-
- test/
|
336
|
-
- test/test_helper_discovery.rb
|
337
|
-
- test/factories/discovery_rule_related.rb
|
338
|
-
- test/factories/discovery_host_related.rb
|
352
|
+
- test/unit/host_discovered_test.rb
|