From d651733b2cf9a2f540bae05f64d7547463869d10 Mon Sep 17 00:00:00 2001 From: GabrielSVinha Date: Thu, 20 Jul 2017 13:32:23 -0300 Subject: [PATCH] Add physical infra types for lenovo discovery --- app/models/ext_management_system.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/models/ext_management_system.rb b/app/models/ext_management_system.rb index a2365752a00..2a4f86b1542 100644 --- a/app/models/ext_management_system.rb +++ b/app/models/ext_management_system.rb @@ -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)