Skip to content

Commit

Permalink
filter out archived and orphaned VMs in 'Running VMs' filter
Browse files Browse the repository at this point in the history
  • Loading branch information
yrudman committed Mar 21, 2018
1 parent 5c2a182 commit 74bb818
Showing 1 changed file with 21 additions and 9 deletions.
30 changes: 21 additions & 9 deletions db/fixtures/miq_searches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,13 @@
description: Status / Running
filter: !ruby/object:MiqExpression
exp:
"=":
field: Vm-power_state
value: "on"
and:
- "=":
field: Vm-power_state
value: "on"
- "=":
field: Vm-active
value: "true"
search_type: default
db: Vm
- attributes:
Expand Down Expand Up @@ -673,9 +677,13 @@
description: Status / Running
filter: !ruby/object:MiqExpression
exp:
"=":
field: TemplateInfra-power_state
value: "on"
and:
- "=":
field: TemplateInfra-power_state
value: "on"
- "=":
field: VTemplateInfra-active
value: "true"
search_type: default
db: ManageIQ::Providers::InfraManager::Template
- attributes:
Expand Down Expand Up @@ -1125,9 +1133,13 @@
description: Status / Running
filter: !ruby/object:MiqExpression
exp:
"=":
field: VmInfra-power_state
value: "on"
and:
- "=":
field: VmInfra-power_state
value: "on"
- "=":
field: VmInfra-active
value: "true"
search_type: default
db: ManageIQ::Providers::InfraManager::Vm
- attributes:
Expand Down

0 comments on commit 74bb818

Please sign in to comment.