From a8b1d63475f28ff255b3de0c4c9fcce454e8f1d4 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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/models/manageiq/providers/microsoft/discovery.rb b/app/models/manageiq/providers/microsoft/discovery.rb index 05314ed..b8b7f64 100644 --- a/app/models/manageiq/providers/microsoft/discovery.rb +++ b/app/models/manageiq/providers/microsoft/discovery.rb @@ -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