2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 01:22:00 +00:00

Add missing nodepower statuses

This commit is contained in:
Jarrod Johnson 2022-05-26 17:41:54 -04:00
parent b638bb69f9
commit 9c7e23f29e

View File

@ -55,7 +55,7 @@ if len(args) > 1:
if setstate == 'softoff':
setstate = 'shutdown'
if setstate not in (None, 'on', 'off', 'shutdown', 'boot', 'reset', 'pdu_status', 'pdu_stat', 'pdu_on', 'pdu_off'):
if setstate not in (None, 'on', 'off', 'shutdown', 'boot', 'reset', 'pdu_status', 'pdu_stat', 'pdu_on', 'pdu_off', 'status', 'stat', 'state'):
argparser.print_help()
sys.exit(1)
session = client.Command()