diff --git a/app/models/manageiq/providers/microsoft/discovery.rb b/app/models/manageiq/providers/microsoft/discovery.rb index 05314ed..71c7c8c 100644 --- a/app/models/manageiq/providers/microsoft/discovery.rb +++ b/app/models/manageiq/providers/microsoft/discovery.rb @@ -1,4 +1,4 @@ -require 'manageiq/network/port' +require 'manageiq/network_discovery/port' module ManageIQ module Providers @@ -16,9 +16,9 @@ class Discovery VIRTUAL_SERVER_PORT = 5900 # Microsoft Virtual Machine Remote Control Client def self.probe(ost) - ost.hypervisor << :msvirtualserver if ManageIQ::Network::Port.open?(ost, VIRTUAL_SERVER_PORT) - ost.hypervisor << :scvmm if ManageIQ::Network::Port.all_open?(ost, SCVMM_PORTS) - ost.os << :mswin if ManageIQ::Network::Port.all_open?(ost, MSWIN_PORTS) + ost.hypervisor << :msvirtualserver if ManageIQ::NetworkDiscovery::Port.open?(ost, VIRTUAL_SERVER_PORT) + ost.hypervisor << :scvmm if ManageIQ::NetworkDiscovery::Port.all_open?(ost, SCVMM_PORTS) + ost.os << :mswin if ManageIQ::NetworkDiscovery::Port.all_open?(ost, MSWIN_PORTS) end end end