From dcc2fe14dc754d1bf4085cebe831332f51dc6f5b Mon Sep 17 00:00:00 2001 From: Joe Rafaniello Date: Tue, 13 Feb 2018 14:02:04 -0500 Subject: [PATCH] Update client to use renamed NetworkDiscovery https://github.com/ManageIQ/manageiq/pull/16994 --- app/models/manageiq/providers/microsoft/discovery.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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