Skip to content
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

add dell-wsman-reset-components task/base-task/job #557

Merged
merged 1 commit into from
Nov 21, 2017

Conversation

lanchongyizu
Copy link
Member

Background
Based on the previous investigation result, develop to port Graph.Dell.Racadm.ResetComponents and /Systems/{identifier}/Bios.ResetBios to use WSMAN API.
https://rackhd.atlassian.net/browse/RAC-6481

Done
add dell-wsman-reset-components task/base-task/job

@RackHD/corecommitters @nortonluo

@@ -8,7 +8,7 @@ var di = require('di');
module.exports = DellWsmanDiscoveryJobFactory;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's better to put wsman-discovery Refine in another PR(Including the unit test). Although this bios reset PR depends on wsman discover function to find a valid node. But from unit test perspective, there is no tight coupling.

"type": "array",
"description": "A list of components that will be reset",
"items": {
"type": "string",
Copy link
Contributor

@nortonluo nortonluo Nov 16, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use enum could be better.
The parameter could only be bios, diag, drvpack, idrac and lcdata

Copy link
Member Author

@lanchongyizu lanchongyizu Nov 16, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The component name is case-insensitive, it can be BiOs.

@lanchongyizu lanchongyizu force-pushed the story/RAC-6481 branch 2 times, most recently from 4298a4a to 0bd3bbd Compare November 17, 2017 10:19
@JenkinsRHD
Copy link
Contributor

BUILD on-tasks #151 : FAILURE

@anhou anhou merged commit 69aa974 into RackHD:master Nov 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants