Skip to content

Commit

Permalink
Add physical infra types for lenovo discovery
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielsvinha committed Jul 20, 2017
1 parent 046c679 commit d651733
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/models/ext_management_system.rb
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,10 @@ def self.ems_infra_discovery_types
@ems_infra_discovery_types ||= %w(virtualcenter scvmm rhevm)
end

def self.ems_physical_infra_discovery_types
@ems_physical_infra_discovery_types ||= %w(lxca)
end

def disable!
_log.info "Disabling EMS [#{name}] id [#{id}]."
update!(:enabled => false)
Expand Down

0 comments on commit d651733

Please sign in to comment.