diff --git a/app/models/manageiq/providers/azure/network_manager.rb b/app/models/manageiq/providers/azure/network_manager.rb index af962d1a..3369b756 100644 --- a/app/models/manageiq/providers/azure/network_manager.rb +++ b/app/models/manageiq/providers/azure/network_manager.rb @@ -25,6 +25,10 @@ class ManageIQ::Providers::Azure::NetworkManager < ManageIQ::Providers::NetworkM :to => :parent_manager, :allow_nil => true + class << self + delegate :refresh_ems, :to => ManageIQ::Providers::Azure::CloudManager + end + def self.ems_type @ems_type ||= "azure_network".freeze end diff --git a/config/settings.yml b/config/settings.yml index 7c851b4d..ddf66624 100644 --- a/config/settings.yml +++ b/config/settings.yml @@ -72,6 +72,9 @@ # Strategy for saving, another allowed is batch, doing batch SQL queries [Graph refresh only] :saver_strategy: default :azure_network: + # Disable scheduled full refresh for the network manager as this will be + # refreshed automatically by the parent cloud manager. + :refresh_interval: 0 :inventory_collections: :saver_strategy: default :http_proxy: