Skip to content

Commit

Permalink
Merge pull request #352 from mansam/fix-cindermanager-inventory-impor…
Browse files Browse the repository at this point in the history
…t-path

Add StorageManager modules to fix CinderManager import paths
  • Loading branch information
aufi authored Sep 13, 2018
2 parents 954a5d0 + a4f1517 commit c6b66fa
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class ManageIQ::Providers::Openstack::Inventory::Collector < ManageIQ::Providers

require_nested :CloudManager
require_nested :NetworkManager
require_nested :CinderManager
require_nested :StorageManager
require_nested :TargetCollection

attr_reader :availability_zones
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module ManageIQ::Providers::Openstack::Inventory::Collector::StorageManager
require_nested :CinderManager
end
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
class ManageIQ::Providers::Openstack::Inventory::Parser < ManageIQ::Providers::Inventory::Parser
require_nested :CloudManager
require_nested :NetworkManager
require_nested :CinderManager
require_nested :StorageManager
end
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module ManageIQ::Providers::Openstack::Inventory::Parser::StorageManager
require_nested :CinderManager
end
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
class ManageIQ::Providers::Openstack::Inventory::Persister < ManageIQ::Providers::Inventory::Persister
require_nested :CloudManager
require_nested :NetworkManager
require_nested :CinderManager
require_nested :StorageManager
require_nested :TargetCollection

# TODO(lsmola) figure out a way to pass collector info, probably via target, then remove the below
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module ManageIQ::Providers::Openstack::Inventory::Persister::StorageManager
require_nested :CinderManager
end

0 comments on commit c6b66fa

Please sign in to comment.