Skip to content

Commit

Permalink
Update client to use renamed NetworkDiscovery
Browse files Browse the repository at this point in the history
  • Loading branch information
jrafanie committed Feb 13, 2018
1 parent 0e35e47 commit a8b1d63
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/models/manageiq/providers/microsoft/discovery.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a8b1d63

Please sign in to comment.