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-20.0.0 app/services/foreman_discovery/import_hooks/lldp_neighbor.rb
foreman_discovery-19.0.1 app/services/foreman_discovery/import_hooks/lldp_neighbor.rb
foreman_discovery-19.0.0 app/services/foreman_discovery/import_hooks/lldp_neighbor.rb
foreman_discovery-18.0.5 app/services/foreman_discovery/import_hooks/lldp_neighbor.rb
foreman_discovery-18.0.4 app/services/foreman_discovery/import_hooks/lldp_neighbor.rb
foreman_discovery-18.0.3 app/services/foreman_discovery/import_hooks/lldp_neighbor.rb
foreman_discovery-17.0.5 app/services/foreman_discovery/import_hooks/lldp_neighbor.rb
foreman_discovery-18.0.2 app/services/foreman_discovery/import_hooks/lldp_neighbor.rb
foreman_discovery-17.0.4 app/services/foreman_discovery/import_hooks/lldp_neighbor.rb
foreman_discovery-17.0.3 app/services/foreman_discovery/import_hooks/lldp_neighbor.rb
foreman_discovery-17.0.2 app/services/foreman_discovery/import_hooks/lldp_neighbor.rb
foreman_discovery-18.0.0 app/services/foreman_discovery/import_hooks/lldp_neighbor.rb
foreman_discovery-17.0.1 app/services/foreman_discovery/import_hooks/lldp_neighbor.rb
foreman_discovery-16.3.6 app/services/foreman_discovery/import_hooks/lldp_neighbor.rb
foreman_discovery-17.0.0 app/services/foreman_discovery/import_hooks/lldp_neighbor.rb
foreman_discovery-16.3.5 app/services/foreman_discovery/import_hooks/lldp_neighbor.rb
foreman_discovery-16.1.4 app/services/foreman_discovery/import_hooks/lldp_neighbor.rb
foreman_discovery-16.1.3 app/services/foreman_discovery/import_hooks/lldp_neighbor.rb
foreman_discovery-16.3.4 app/services/foreman_discovery/import_hooks/lldp_neighbor.rb
foreman_discovery-16.3.1 app/services/foreman_discovery/import_hooks/lldp_neighbor.rb