-
Notifications
You must be signed in to change notification settings - Fork 77
RAC-4177, RAC-4909, RAC-4901 #646
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
lib/api/redfish-1.0/systems.js
Outdated
| name: graphName, | ||
| options: graphOptions | ||
| }).spread(function(result) { | ||
| return nodeApi.setNodeWorkflowById({ name: result.name, options: result.options }, 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.
Line is too long.
lib/api/redfish-1.0/systems.js
Outdated
| }; | ||
| for (var key in payload.Attributes) { | ||
| if (payload.Attributes.hasOwnProperty(key)) { | ||
| graphOptions.defaults.serverComponents[0].attributes.push({name: key, value: payload.Attributes[key]}); |
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.
Line is too long.
|
BUILD on-http #143 : FAILURE BUILD on-http #143 Error Logs ▼Test Name: test_node_put_obm_by_node_id Error Details: (400) Reason: Bad Request HTTP response headers: HTTPHeaderDict({'Content-Length': '125', 'X-Powered-By': 'Express', 'Connection': 'keep-alive', 'ETag': 'W/"7d-VMXX+wYjOzxBoJQdHJZM6eU0/mE"', 'Date': 'Thu, 11 May 2017 19:40:15 GMT', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset=utf-8'}) HTTP response body: {"message":"ValidationError: Missing required property: nodeId","status":"400","UUID":"a39c5701-3345-4e33-9acb-f9c94ed26f48"}-------------------- >> begin captured logging << -------------------- |
lib/api/redfish-1.0/systems.js
Outdated
| } | ||
| }); | ||
| if(dellFound){ | ||
| var results = { name: "Graph.Dell.Wsman.UpdateSystemComponents", options: {} } |
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.
|
BUILD on-http #146 : FAILURE BUILD on-http #146 Error Logs ▼Test Name: test09_check_discovery Error Details: Node discovery not completed -------------------- >> begin captured stdout << --------------------- restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Status code = 200restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4/workflows --------------------- >> end captured stdout << ---------------------- --------------------- >> end captured logging << --------------------- Test Name: test10_apply_obm_settings restful: Action = put , URL = http://localhost:9090/api/2.0/workflows/graphs restful: Action = put , URL = http://localhost:9090/api/2.0/workflows/graphs restful: Action = put , URL = http://localhost:9090/api/2.0/workflows/graphs restful: Action = get , URL = http://localhost:9090/api/2.0/skus restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4 restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e907ded06f810b3044e5 restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e90bded06f810b3044e6 restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4 restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e907ded06f810b3044e5 restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e90bded06f810b3044e6 restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4 restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e907ded06f810b3044e5 restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e90bded06f810b3044e6 **** Node(s) OBM status: restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4 restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e907ded06f810b3044e5 restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e90bded06f810b3044e6 restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4 restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e907ded06f810b3044e5 restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e90bded06f810b3044e6 **** Node(s) OBM status: restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4 restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e907ded06f810b3044e5 restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e90bded06f810b3044e6 restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4 restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e907ded06f810b3044e5 restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e90bded06f810b3044e6 **** Node(s) OBM status: restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4 restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e907ded06f810b3044e5 restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e90bded06f810b3044e6 restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4 restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e907ded06f810b3044e5 restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e90bded06f810b3044e6 **** Node(s) OBM status: restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4 restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e907ded06f810b3044e5 restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e90bded06f810b3044e6 restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4 restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e907ded06f810b3044e5 restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e90bded06f810b3044e6 **** Node(s) OBM status: restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4 restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e907ded06f810b3044e5 restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e90bded06f810b3044e6 restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4 restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e907ded06f810b3044e5 restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e90bded06f810b3044e6 **** Node(s) OBM status: restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4 restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e907ded06f810b3044e5 restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e90bded06f810b3044e6 restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4 restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e907ded06f810b3044e5 restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e90bded06f810b3044e6 **** Node(s) OBM status: restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4 restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e907ded06f810b3044e5 restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e90bded06f810b3044e6 restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4 restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e907ded06f810b3044e5 restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e90bded06f810b3044e6 **** Node(s) OBM status: restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4 restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e907ded06f810b3044e5 restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e90bded06f810b3044e6 restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4 restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e907ded06f810b3044e5 restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e90bded06f810b3044e6 **** Node(s) OBM status: restful: Action = get , URL = http://localhost:9090/api/2.0/nodes restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4 restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e907ded06f810b3044e5 restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e90bded06f810b3044e6 restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e900ded06f810b3044e4 restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e907ded06f810b3044e5 restful: Action = get , URL = http://localhost:9090/api/2.0/nodes/5914e90bded06f810b3044e6 **** Node(s) OBM status: --------------------- >> end captured stdout << ---------------------- Test Name: test12_check_pollers --------------------- >> end captured stdout << ---------------------- |
Added the following endpoints:
GET /redfish/v1/Systems/{identifier}/Bios
GET /redfish/v1/Systems/{identifier}/Bios/Settings
PATCH /redfish/v1/Systems/{identifier}/Bios/Settings
- This implements redfish systems bios settings for Dell
nodes only.
|
Closing this PR temporarily to let me merge UT PR , will re-open this later |
Added the following endpoints:
GET /redfish/v1/Systems/{identifier}/Bios
GET /redfish/v1/Systems/{identifier}/Bios/Settings
PATCH /redfish/v1/Systems/{identifier}/Bios/Settings
nodes only.