From bf15f12a1c24d2760698ba819d79cc36f90d4c6a Mon Sep 17 00:00:00 2001 From: Jarrod Johnon Date: Fri, 14 Nov 2014 16:41:47 -0500 Subject: [PATCH] Manage the bootmode of nextdevice Plugins may implement bootmode as appropriate. Currently, the only example usage is how IPMI can indicate BIOS style versus UEFI style boot. Additionally, limitations of the ChoiceMessage base object around handling multi-parameter pieces of data are addressed. --- confluent_server/confluent/messages.py | 41 ++++++++++++++++--- .../plugins/hardwaremanagement/ipmi.py | 10 ++++- 2 files changed, 44 insertions(+), 7 deletions(-) diff --git a/confluent_server/confluent/messages.py b/confluent_server/confluent/messages.py index c13b520b..0c9ed55f 100644 --- a/confluent_server/confluent/messages.py +++ b/confluent_server/confluent/messages.py @@ -169,22 +169,25 @@ class DeletedResource(ConfluentMessage): class ConfluentChoiceMessage(ConfluentMessage): valid_values = set() + valid_paramset = {} def html(self, extension=''): snippet = "" for key in self.kvpairs.iterkeys(): val = self.kvpairs[key] snippet += key + ':' snippet += '