foreman_discovery 12.0.2 → 13.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/mailers/discovered_mailer.rb +12 -1
- data/app/models/host/discovered.rb +20 -7
- data/app/models/setting/discovered.rb +2 -0
- data/app/services/foreman_discovery/fact_parser.rb +8 -2
- data/app/services/foreman_discovery/lldp_neighbors.rb +104 -0
- data/app/views/discovery_rules/index.html.erb +1 -1
- data/extra/discovery/pxeless-vlan.json +217 -0
- data/lib/foreman_discovery/engine.rb +1 -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 +143 -58
- data/locale/ca/foreman_discovery.po +4 -4
- data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/de/foreman_discovery.edit.po +145 -59
- data/locale/de/foreman_discovery.po +7 -7
- data/locale/en/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/en/foreman_discovery.edit.po +90 -58
- data/locale/en/foreman_discovery.po +28 -4
- data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/en_GB/foreman_discovery.edit.po +151 -66
- data/locale/en_GB/foreman_discovery.po +12 -12
- data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/es/foreman_discovery.edit.po +155 -70
- data/locale/es/foreman_discovery.po +16 -16
- data/locale/foreman_discovery.pot +93 -59
- data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/fr/foreman_discovery.edit.po +287 -200
- data/locale/fr/foreman_discovery.po +149 -148
- data/locale/gl/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/gl/foreman_discovery.edit.po +144 -59
- data/locale/gl/foreman_discovery.po +5 -5
- data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/it/foreman_discovery.edit.po +144 -59
- data/locale/it/foreman_discovery.po +5 -5
- data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/ja/foreman_discovery.edit.po +153 -68
- data/locale/ja/foreman_discovery.po +16 -14
- data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/ko/foreman_discovery.edit.po +143 -59
- data/locale/ko/foreman_discovery.po +5 -5
- data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/pt_BR/foreman_discovery.edit.po +155 -70
- data/locale/pt_BR/foreman_discovery.po +16 -16
- data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/ru/foreman_discovery.edit.po +146 -63
- data/locale/ru/foreman_discovery.po +6 -6
- data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/sv_SE/foreman_discovery.edit.po +144 -59
- data/locale/sv_SE/foreman_discovery.po +5 -5
- data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/zh_CN/foreman_discovery.edit.po +150 -69
- data/locale/zh_CN/foreman_discovery.po +13 -15
- data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/zh_TW/foreman_discovery.edit.po +227 -144
- data/locale/zh_TW/foreman_discovery.po +88 -88
- data/test/functional/api/v2/discovery_rules_controller_test.rb +8 -0
- data/test/functional/api/v2/settings_controller_test.rb +2 -0
- data/test/test_helper_discovery.rb +2 -0
- data/test/unit/discovered_mailer_test.rb +14 -0
- data/test/unit/discovery_rule_test.rb +3 -0
- data/test/unit/facts_with_lldp.json +107 -0
- data/test/unit/facts_with_lldp_bond_candidate.json +107 -0
- data/test/unit/host_discovered_test.rb +72 -1
- data/test/unit/lldp_neighbors_test.rb +56 -0
- metadata +11 -2
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: 13.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- alongoldboim
|
@@ -58,13 +58,14 @@ authors:
|
|
58
58
|
- Swapnil Abnave
|
59
59
|
- Thomas Gelf
|
60
60
|
- Timo Goebel
|
61
|
+
- Tomas Strych
|
61
62
|
- Tom Caspy
|
62
63
|
- Tomer Brisker
|
63
64
|
- Yann Cézard
|
64
65
|
autorequire:
|
65
66
|
bindir: bin
|
66
67
|
cert_chain: []
|
67
|
-
date: 2018-07
|
68
|
+
date: 2018-08-07 00:00:00.000000000 Z
|
68
69
|
dependencies: []
|
69
70
|
description: MaaS Discovery Plugin engine for Foreman
|
70
71
|
email: gsutclif@redhat.com
|
@@ -99,6 +100,7 @@ files:
|
|
99
100
|
- app/models/setting/discovered.rb
|
100
101
|
- app/services/foreman_discovery/fact_parser.rb
|
101
102
|
- app/services/foreman_discovery/host_converter.rb
|
103
|
+
- app/services/foreman_discovery/lldp_neighbors.rb
|
102
104
|
- app/services/foreman_discovery/node_api/inventory.rb
|
103
105
|
- app/services/foreman_discovery/node_api/node_resource.rb
|
104
106
|
- app/services/foreman_discovery/node_api/power.rb
|
@@ -171,6 +173,7 @@ files:
|
|
171
173
|
- extra/discover-host
|
172
174
|
- extra/discovery/default.json
|
173
175
|
- extra/discovery/many_ems.json
|
176
|
+
- extra/discovery/pxeless-vlan.json
|
174
177
|
- extra/discovery/rhel-dl380-1kdisks.json
|
175
178
|
- extra/discovery/rhel-r730.json
|
176
179
|
- extra/discovery/rhel7-vlan.json
|
@@ -248,7 +251,10 @@ files:
|
|
248
251
|
- test/unit/discovery_taxonomy_extensions_test.rb
|
249
252
|
- test/unit/fact_parser_test.rb
|
250
253
|
- test/unit/facts.json
|
254
|
+
- test/unit/facts_with_lldp.json
|
255
|
+
- test/unit/facts_with_lldp_bond_candidate.json
|
251
256
|
- test/unit/host_discovered_test.rb
|
257
|
+
- test/unit/lldp_neighbors_test.rb
|
252
258
|
- test/unit/managed_extensions_test.rb
|
253
259
|
- test/unit/setting_discovered_test.rb
|
254
260
|
- test/unit/ui_notifications/destroy_host_test.rb
|
@@ -282,6 +288,8 @@ test_files:
|
|
282
288
|
- test/test_plugin_helper.rb
|
283
289
|
- test/test_helper_discovery.rb
|
284
290
|
- test/integration/discovered_hosts_test.rb
|
291
|
+
- test/unit/facts_with_lldp.json
|
292
|
+
- test/unit/lldp_neighbors_test.rb
|
285
293
|
- test/unit/discovery_attribute_set_test.rb
|
286
294
|
- test/unit/facts.json
|
287
295
|
- test/unit/discovered_mailer_test.rb
|
@@ -294,6 +302,7 @@ test_files:
|
|
294
302
|
- test/unit/setting_discovered_test.rb
|
295
303
|
- test/unit/host_discovered_test.rb
|
296
304
|
- test/unit/fact_parser_test.rb
|
305
|
+
- test/unit/facts_with_lldp_bond_candidate.json
|
297
306
|
- test/factories/discovery_host_related.rb
|
298
307
|
- test/factories/discovery_rule_related.rb
|
299
308
|
- test/functional/foreman_discovery/concerns/hosts_controller_extensions_test.rb
|