forked from ManageIQ/manageiq-providers-redfish
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New functionality from this commit stores information that is not strictly related to the physical server to asset_details table that serves as a source of data for summary view in ManageIQ UI. Please take note that asset details mapping is fairly raw right now, since mapping tree-like Redfish structures into flat array of XClarity properties is not trivial and will probably need some tweaking based on real data that we will get from test bed before we get it right.
- Loading branch information
Tadej Borovšak
committed
May 30, 2018
1 parent
52b5b3e
commit 146e89e
Showing
7 changed files
with
249 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 5 additions & 1 deletion
6
app/models/manageiq/providers/redfish/inventory/persister/physical_infra_manager.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
module ManageIQ::Providers::Redfish | ||
class Inventory::Persister::PhysicalInfraManager < Inventory::Persister | ||
def initialize_inventory_collections | ||
add_inventory_collections(physical_infra, %i(physical_servers)) | ||
collections = %i( | ||
physical_servers | ||
physical_server_details | ||
) | ||
add_inventory_collections(physical_infra, collections) | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.