From 18e83c2108d16431eda9932a684805e799fe7f35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Hal=C3=A1sz?= Date: Mon, 22 Oct 2018 18:13:04 +0200 Subject: [PATCH] Display Vm power state in the related grid views Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1460798 --- ...nageIQ_Providers_CloudManager_Vm-all_vms_and_templates.yaml | 3 +++ product/views/ManageIQ_Providers_CloudManager_Vm-vms.yaml | 3 +++ product/views/ManageIQ_Providers_CloudManager_Vm.yaml | 3 +++ product/views/ManageIQ_Providers_InfraManager_Vm.yaml | 3 +++ product/views/Vm-all_vms.yaml | 3 +++ product/views/Vm.yaml | 3 +++ product/views/VmOrTemplate-all_vms_and_templates.yaml | 3 +++ product/views/VmOrTemplate.yaml | 3 +++ product/views/Vm__restricted.yaml | 3 +++ 9 files changed, 27 insertions(+) diff --git a/product/views/ManageIQ_Providers_CloudManager_Vm-all_vms_and_templates.yaml b/product/views/ManageIQ_Providers_CloudManager_Vm-all_vms_and_templates.yaml index 2cdf94605a1d..d1ba735797be 100644 --- a/product/views/ManageIQ_Providers_CloudManager_Vm-all_vms_and_templates.yaml +++ b/product/views/ManageIQ_Providers_CloudManager_Vm-all_vms_and_templates.yaml @@ -24,6 +24,7 @@ cols: - last_compliance_status - allocated_disk_storage - last_scan_on +- normalized_state # Included tables (joined, has_one, has_many) and columns include: @@ -46,6 +47,7 @@ include_for_find: # Order of columns (from all tables) col_order: - name +- normalized_state - availability_zone.name - flavor.name - ipaddresses @@ -57,6 +59,7 @@ col_order: # Column titles, in order headers: - Name +- Power State - Availability Zone - Flavor - IP Addresses diff --git a/product/views/ManageIQ_Providers_CloudManager_Vm-vms.yaml b/product/views/ManageIQ_Providers_CloudManager_Vm-vms.yaml index cf9be3933dc1..9d97edf7b9ba 100644 --- a/product/views/ManageIQ_Providers_CloudManager_Vm-vms.yaml +++ b/product/views/ManageIQ_Providers_CloudManager_Vm-vms.yaml @@ -24,6 +24,7 @@ cols: - last_compliance_status - allocated_disk_storage - last_scan_on +- normalized_state # Included tables (joined, has_one, has_many) and columns include: @@ -46,6 +47,7 @@ include_for_find: # Order of columns (from all tables) col_order: - name +- normalized_state - availability_zone.name - flavor.name - ipaddresses @@ -57,6 +59,7 @@ col_order: # Column titles, in order headers: - Name +- Power State - Availability Zone - Flavor - IP Addresses diff --git a/product/views/ManageIQ_Providers_CloudManager_Vm.yaml b/product/views/ManageIQ_Providers_CloudManager_Vm.yaml index 38eb7023bf03..2a08f466e778 100644 --- a/product/views/ManageIQ_Providers_CloudManager_Vm.yaml +++ b/product/views/ManageIQ_Providers_CloudManager_Vm.yaml @@ -26,6 +26,7 @@ cols: - last_scan_on - load_balancer_health_check_state - region_description +- normalized_state # Included tables (joined, has_one, has_many) and columns include: @@ -51,6 +52,7 @@ include_for_find: # Order of columns (from all tables) col_order: - name +- normalized_state - ext_management_system.name - availability_zone.name - flavor.name @@ -65,6 +67,7 @@ col_order: # Column titles, in order headers: - Name +- Power State - Provider - Availability Zone - Flavor diff --git a/product/views/ManageIQ_Providers_InfraManager_Vm.yaml b/product/views/ManageIQ_Providers_InfraManager_Vm.yaml index b268f11d8561..1bee082e778a 100644 --- a/product/views/ManageIQ_Providers_InfraManager_Vm.yaml +++ b/product/views/ManageIQ_Providers_InfraManager_Vm.yaml @@ -26,6 +26,7 @@ cols: - allocated_disk_storage - last_scan_on - region_description +- normalized_state # Included tables (joined, has_one, has_many) and columns include: @@ -50,6 +51,7 @@ include_for_find: # Order of columns (from all tables) col_order: - name +- normalized_state - ext_management_system.name - ems_cluster_name - host.name @@ -63,6 +65,7 @@ col_order: # Column titles, in order headers: - Name +- Power State - Provider - Cluster - Host diff --git a/product/views/Vm-all_vms.yaml b/product/views/Vm-all_vms.yaml index 3b1a7b34c052..85b0128d69f3 100644 --- a/product/views/Vm-all_vms.yaml +++ b/product/views/Vm-all_vms.yaml @@ -24,6 +24,7 @@ cols: - last_compliance_status - v_total_snapshots - last_scan_on +- normalized_state # Included tables (joined, has_one, has_many) and columns include: @@ -45,6 +46,7 @@ include_for_find: # Order of columns (from all tables) col_order: - name +- normalized_state - ems_cluster_name - host.name - storage.name @@ -55,6 +57,7 @@ col_order: # Column titles, in order headers: - Name +- Power State - Cluster - Host - Datastore diff --git a/product/views/Vm.yaml b/product/views/Vm.yaml index 4d99cbd8ad44..c4a6f76b35e5 100644 --- a/product/views/Vm.yaml +++ b/product/views/Vm.yaml @@ -26,6 +26,7 @@ cols: - allocated_disk_storage - last_scan_on - cloud +- normalized_state # Included tables (joined, has_one, has_many) and columns include: @@ -41,6 +42,7 @@ include_for_find: # Order of columns (from all tables) col_order: - name +- normalized_state - ipaddresses - last_compliance_status - v_total_snapshots @@ -51,6 +53,7 @@ col_order: # Column titles, in order headers: - Name +- Power State - IP Addresses - Compliant - Total Snapshots diff --git a/product/views/VmOrTemplate-all_vms_and_templates.yaml b/product/views/VmOrTemplate-all_vms_and_templates.yaml index 34849502caaf..0f36103ffdd0 100644 --- a/product/views/VmOrTemplate-all_vms_and_templates.yaml +++ b/product/views/VmOrTemplate-all_vms_and_templates.yaml @@ -26,6 +26,7 @@ cols: - v_total_snapshots - allocated_disk_storage - last_scan_on +- normalized_state # Included tables (joined, has_one, has_many) and columns include: @@ -47,6 +48,7 @@ include_for_find: # Order of columns (from all tables) col_order: - name +- normalized_state - ems_cluster_name - host.name - ipaddresses @@ -59,6 +61,7 @@ col_order: # Column titles, in order headers: - Name +- Power State - Cluster - Host - IP Addresses diff --git a/product/views/VmOrTemplate.yaml b/product/views/VmOrTemplate.yaml index a6f81cf48748..506c43ea601f 100644 --- a/product/views/VmOrTemplate.yaml +++ b/product/views/VmOrTemplate.yaml @@ -27,6 +27,7 @@ cols: - allocated_disk_storage - last_scan_on - region_description +- normalized_state # Included tables (joined, has_one, has_many) and columns include: @@ -51,6 +52,7 @@ include_for_find: # Order of columns (from all tables) col_order: - name +- normalized_state - ext_management_system.name - ems_cluster_name - host.name @@ -65,6 +67,7 @@ col_order: # Column titles, in order headers: - Name +- Power State - Provider - Cluster - Host diff --git a/product/views/Vm__restricted.yaml b/product/views/Vm__restricted.yaml index 97511cd41769..cf751688c6c7 100644 --- a/product/views/Vm__restricted.yaml +++ b/product/views/Vm__restricted.yaml @@ -26,6 +26,7 @@ cols: - mem_cpu - allocated_disk_storage - used_disk_storage +- normalized_state # Included tables (joined, has_one, has_many) and columns include: @@ -44,6 +45,7 @@ include_for_find: # Order of columns (from all tables) col_order: - name +- normalized_state - ipaddresses - evm_owner.name - miq_group.description @@ -56,6 +58,7 @@ col_order: # Column titles, in order headers: - Name +- Power State - IP Addresses - Owner - Group