-
Notifications
You must be signed in to change notification settings - Fork 77
Add Redfish UEFI Secure Boot functionality #648
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| racadm.runCommand.resolves( "test=SecureBoot=Disabled" ); | ||
| return helper.request().post('/redfish/v1/Systems/12345678/SecureBoot') | ||
| .send({"SecureBootEnable": true}) | ||
| .expect(202) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing semicolon.
| return helper.request().get('/redfish/v1/Systems/12345678/SecureBoot') | ||
| .expect('Content-Type', /^application\/json/) | ||
| .expect(200) | ||
| .expect(function(res) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'res' is defined but never used.
lib/api/redfish-1.0/systems.js
Outdated
| */ | ||
| var setSecureBoot = controller(function(req, res) { | ||
| var identifier = req.swagger.params.identifier.value; | ||
| var options = redfish.makeOptions(req, res, identifier); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'options' is defined but never used.
lib/api/redfish-1.0/systems.js
Outdated
| 'set bios.SysSecurity.SecureBoot ' + command | ||
| ); | ||
| }) | ||
| .then(function(output) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'output' is defined but never used.
|
jenkins: depends on RackHD/RackHD#751 |
static/redfish.yaml
Outdated
| swagger: "2.0" | ||
| info: | ||
| version: "1.1.1" | ||
| version: "1.2.1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dalebremner I think this should be 1.2.0
brianparry
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Looks good. Just one minor comment
No description provided.