From bfc7ea2b51d455b09ef6fea18b56940f39f75dab Mon Sep 17 00:00:00 2001 From: Victor Hu Date: Wed, 6 May 2015 11:55:07 -0400 Subject: [PATCH] Add "shutdown" as a valid InputPowerMessage to prevent this Bad Request Error: Error: Bad Request - shutdown is not one of reset,on,boot,off --- confluent_server/confluent/messages.py | 1 + 1 file changed, 1 insertion(+) diff --git a/confluent_server/confluent/messages.py b/confluent_server/confluent/messages.py index 03175cc3..b1878a0b 100644 --- a/confluent_server/confluent/messages.py +++ b/confluent_server/confluent/messages.py @@ -421,6 +421,7 @@ class InputPowerMessage(ConfluentInputMessage): 'off', 'reset', 'boot', + 'shutdown', ]) def powerstate(self, node):