Sha256: 649339b97aed99f79e1666a130dc5ba646a8cc11b9d8a69e0ed1e694326b4b5d

Contents?: true

Size: 308 Bytes

Versions: 51

Compression:

Stored size: 308 Bytes

Contents

# Automatically bonds interfaces based on lldp facts
module ForemanDiscovery
  module ImportHooks
    class LldpNeighbor < ImportHook
      def after_populate
        return unless Setting[:discovery_auto_bond]
        ::ForemanDiscovery::LldpNeighbors.eventually_make_bond(host)
      end
    end
  end
end

Version data entries

51 entries across 51 versions & 1 rubygems

Version Path
foreman_discovery-25.0.0 app/services/foreman_discovery/import_hooks/lldp_neighbor.rb
foreman_discovery-24.0.2 app/services/foreman_discovery/import_hooks/lldp_neighbor.rb
foreman_discovery-23.0.2 app/services/foreman_discovery/import_hooks/lldp_neighbor.rb
foreman_discovery-24.0.1 app/services/foreman_discovery/import_hooks/lldp_neighbor.rb
foreman_discovery-24.0.0 app/services/foreman_discovery/import_hooks/lldp_neighbor.rb
foreman_discovery-23.0.1 app/services/foreman_discovery/import_hooks/lldp_neighbor.rb
foreman_discovery-23.0.0 app/services/foreman_discovery/import_hooks/lldp_neighbor.rb
foreman_discovery-22.0.4 app/services/foreman_discovery/import_hooks/lldp_neighbor.rb
foreman_discovery-21.0.5 app/services/foreman_discovery/import_hooks/lldp_neighbor.rb
foreman_discovery-22.0.2 app/services/foreman_discovery/import_hooks/lldp_neighbor.rb
foreman_discovery-21.0.4 app/services/foreman_discovery/import_hooks/lldp_neighbor.rb
foreman_discovery-21.0.3 app/services/foreman_discovery/import_hooks/lldp_neighbor.rb
foreman_discovery-21.0.2 app/services/foreman_discovery/import_hooks/lldp_neighbor.rb
foreman_discovery-19.0.5 app/services/foreman_discovery/import_hooks/lldp_neighbor.rb
foreman_discovery-19.0.4 app/services/foreman_discovery/import_hooks/lldp_neighbor.rb
foreman_discovery-21.0.1 app/services/foreman_discovery/import_hooks/lldp_neighbor.rb
foreman_discovery-19.0.3 app/services/foreman_discovery/import_hooks/lldp_neighbor.rb
foreman_discovery-21.0.0 app/services/foreman_discovery/import_hooks/lldp_neighbor.rb
foreman_discovery-19.0.2 app/services/foreman_discovery/import_hooks/lldp_neighbor.rb
foreman_discovery-20.0.1 app/services/foreman_discovery/import_hooks/lldp_neighbor.rb