Print warning for unimplemented function

Instead of noop'ing on a power_reset request to the bmc, print a
message so it is obvious that we received something that couldn't
be handled.
This commit is contained in:
Ben Nemec 2018-03-16 11:50:57 -05:00
parent af0ea9b4b5
commit d43ce6228a
1 changed files with 1 additions and 1 deletions

View File

@ -200,7 +200,7 @@ class OpenStackBmc(bmc.Bmc):
def power_reset(self):
"""Not implemented"""
pass
print('WARNING: Received request for unimplemented action power_reset')
def power_shutdown(self):
"""Stop the managed instance"""