Merge "Fix filter_query in drac/power interface"

This commit is contained in:
Jenkins 2015-01-27 16:12:02 +00:00 committed by Gerrit Code Review
commit cee9594382

View File

@ -51,7 +51,7 @@ def _get_power_state(node):
"""
client = drac_client.get_wsman_client(node)
filter_query = ('select EnabledState,ElementName from CIM_ComputerSystem '
filter_query = ('select EnabledState,ElementName from DCIM_ComputerSystem '
'where Name="srv:system"')
try:
doc = client.wsman_enumerate(resource_uris.DCIM_ComputerSystem,