From 3915eaad8edbab0c2afb94914851f7bf2b2627ff Mon Sep 17 00:00:00 2001 From: Yufei Date: Fri, 13 Jan 2017 00:36:50 +0800 Subject: [PATCH] Fix wrong payload in set boot source The vaild boot source parameter is: '{"Boot": {"BootSourceOverrideTarget": "Pxe", "BootSourceOverrideEnabled" : "Once"}}' not: '{"Boot": {"BootSourceOverrideTarget": "Pxe"}, {"BootSourceOverrideEnabled" : "Once"}}' Change-Id: I319376f818b532a1511248a9f17ecd0a41540e88 --- redfish/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redfish/types.py b/redfish/types.py index 3a5b4fc..27e3b8d 100644 --- a/redfish/types.py +++ b/redfish/types.py @@ -674,7 +674,7 @@ class Systems(Device): ''' return self.set_parameter_json( '{"Boot": {"BootSourceOverrideTarget": "' + - target + '"},{"BootSourceOverrideEnabled" : "' + enabled + '"}}') + target + '", "BootSourceOverrideEnabled" : "' + enabled + '"}}') class SystemsCollection(BaseCollection):