forked from ManageIQ/manageiq
-
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.
Merge pull request ManageIQ#13587 from juliancheal/ph_infra_pages
[WIP] Adding Physical Infra Providers Menu Item
- Loading branch information
Showing
4 changed files
with
202 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
::EmsPhysicalInfra = ::ManageIQ::Providers::PhysicalInfraManager |
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
84 changes: 84 additions & 0 deletions
84
product/views/ManageIQ_Providers_PhysicalInfraManager.yaml
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 |
---|---|---|
@@ -0,0 +1,84 @@ | ||
# | ||
# This is an MIQ Report configuration file | ||
# Single value parameters are specified as: | ||
# single_value_parm: value | ||
# Multiple value parameters are specified as: | ||
# multi_value_parm: | ||
# - value 1 | ||
# - value 2 | ||
# | ||
|
||
# Report title | ||
title: Physical Infrastructure Providers | ||
# Menu name | ||
name: EmsPhysicalInfra | ||
# Main DB table report is based on | ||
db: EmsPhysicalInfra | ||
# Columns to fetch from the main table | ||
cols: | ||
- name | ||
- hostname | ||
- ipaddress | ||
- emstype_description | ||
- port | ||
- total_hosts | ||
- total_storages | ||
- total_vms | ||
- total_miq_templates | ||
- region_description | ||
# Included tables (joined, has_one, has_many) and columns | ||
include: | ||
zone: | ||
columns: | ||
- name | ||
# Included tables and columns for query performance | ||
include_for_find: | ||
:zone: {} | ||
:tags: {} | ||
# Order of columns (from all tables) | ||
col_order: | ||
- name | ||
- hostname | ||
- ipaddress | ||
- emstype_description | ||
- zone.name | ||
- total_hosts | ||
- total_storages | ||
- total_vms | ||
- total_miq_templates | ||
- region_description | ||
# Column titles, in order | ||
headers: | ||
- Name | ||
- Hostname | ||
- Discovered IP Address | ||
- Type | ||
- EVM Zone | ||
- Hosts | ||
- Datastores | ||
- VMs | ||
- Templates | ||
- Region | ||
# Condition(s) string for the SQL query | ||
conditions: | ||
# Order string for the SQL query | ||
order: Ascending | ||
# Columns to sort the report on, in order | ||
sortby: | ||
- name | ||
# Group rows (y=yes,n=no,c=count) | ||
group: n | ||
# Graph type | ||
# Bar | ||
# Column | ||
# ColumnThreed | ||
# ParallelThreedColumn | ||
# Pie | ||
# PieThreed | ||
# StackedBar | ||
# StackedColumn | ||
# StackedThreedColumn | ||
graph: | ||
# Dimensions of graph (1 or 2) | ||
# Note: specifying 2 for a single dimension graph may not return expected results | ||
dims: |