Class: ForemanDiscovery::ImportHooks::LldpNeighbor
- Inherits:
-
ForemanDiscovery::ImportHook
- Object
- ForemanDiscovery::ImportHook
- ForemanDiscovery::ImportHooks::LldpNeighbor
- Defined in:
- app/services/foreman_discovery/import_hooks/lldp_neighbor.rb
Instance Attribute Summary
Attributes inherited from ForemanDiscovery::ImportHook
Instance Method Summary collapse
Methods inherited from ForemanDiscovery::ImportHook
Constructor Details
This class inherits a constructor from ForemanDiscovery::ImportHook
Instance Method Details
#after_populate ⇒ Object
5 6 7 8 |
# File 'app/services/foreman_discovery/import_hooks/lldp_neighbor.rb', line 5 def after_populate return unless Setting[:discovery_auto_bond] ::ForemanDiscovery::LldpNeighbors.eventually_make_bond(host) end |