Skip to content

Commit

Permalink
Merge pull request #18749 from pemcg/add_migration_analytics_reports
Browse files Browse the repository at this point in the history
Add migration analytics reports
  • Loading branch information
Fryguy authored May 23, 2019
2 parents a1d0023 + ddde500 commit 21ec615
Show file tree
Hide file tree
Showing 3 changed files with 178 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
---
title: VMware VM Summary
rpt_type: Custom
priority:
db: Vm
cols:
- name
- v_owning_datacenter
- allocated_disk_storage
- mem_cpu
- cpu_total_cores
include:
operating_system:
columns:
- product_name
ext_management_system:
columns:
- name
host:
columns:
- name
col_order:
- name
- operating_system.product_name
- ext_management_system.name
- v_owning_datacenter
- host.name
- allocated_disk_storage
- mem_cpu
- cpu_total_cores
headers:
- VM Name
- Operating System
- Provider
- Datacenter
- Hypervisor
- Storage
- Memory
- CPU Cores
conditions: !ruby/object:MiqExpression
exp:
and:
- IS NOT EMPTY:
field: Vm.ext_management_system-name
value: ''
- "=":
field: Vm-type
value: ManageIQ::Providers::Vmware::InfraManager::Vm
context_type:
order: Ascending
sortby:
- ext_management_system.name
- v_owning_datacenter
group: y
graph:
dims:
categories: []
timeline:
template_type: report
where_clause:
db_options: {}
generate_cols:
generate_rows:
col_formats:
-
-
-
-
-
-
-
-
tz:
time_profile_id:
display_filter:
col_options:
name:
:break_label: 'Provider : Name: '
:break_format: :model_name
allocated_disk_storage:
:grouping:
- :total
mem_cpu:
:grouping:
- :total
cpu_total_cores:
:grouping:
- :total
rpt_options:
:pdf:
:page_size: A4 - 210mm x 297mm (default)
:queue_timeout:
:summary:
:hide_detail_rows: false
menu_name: VMware VM Summary
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
---
title: VMware Environment Summary
rpt_type: Custom
priority: 10
db: Host
cols:
- name
- vmm_product
- vmm_version
- num_cpu
- v_total_vms
include:
ext_management_system:
columns:
- name
- api_version
col_order:
- ext_management_system.name
- ext_management_system.api_version
- name
- vmm_product
- vmm_version
- num_cpu
- v_total_vms
headers:
- Provider
- vSphere Version
- Hypervisor
- Product
- Version
- CPU Sockets
- VMs
conditions: !ruby/object:MiqExpression
exp:
"=":
field: Host.ext_management_system-type
value: ManageIQ::Providers::Vmware::InfraManager
context_type:
order: Ascending
sortby:
- ext_management_system.name
- name
group: c
graph:
dims:
categories: []
timeline:
template_type: report
where_clause:
db_options: {}
generate_cols:
generate_rows:
col_formats:
-
-
-
-
-
-
-
tz:
time_profile_id:
display_filter:
col_options:
vmm_version:
:break_label: 'VMM Version: '
num_cpu:
:grouping:
- :total
v_total_vms:
:grouping:
- :total
name:
:break_label: 'Provider : Name: '
:break_format: :model_name
rpt_options:
:pdf:
:page_size: A4 - 210mm x 297mm (default)
:queue_timeout:
:summary:
:hide_detail_rows: false
menu_name: VMware Environment Summary
2 changes: 1 addition & 1 deletion spec/models/miq_report/seeding_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

describe MiqReport do
describe "::Seeding" do
include_examples(".seed called multiple times", 143)
include_examples(".seed called multiple times", 145)

describe ".seed" do
let(:tmpdir) { Pathname.new(Dir.mktmpdir) }
Expand Down

0 comments on commit 21ec615

Please sign in to comment.