Skip to content

Add missing bios interface fields to Ironic API#2164

Merged
jtopjian merged 1 commit intogophercloud:masterfrom
bfournie:missing-bios-interface
May 21, 2021
Merged

Add missing bios interface fields to Ironic API#2164
jtopjian merged 1 commit intogophercloud:masterfrom
bfournie:missing-bios-interface

Conversation

@bfournie
Copy link
Copy Markdown
Contributor

A few bios interface fields are in the Ironic API but were missing from
the Ironic API documentation and not included in gophercloud. This
change adds in the bios interface to the node create, node list,
and node driver validation APIs.

For #[2163]

Links to the line numbers/files in the OpenStack source code that support the
code in this PR:
https://github.com/openstack/ironic/blob/master/ironic/api/controllers/v1/node.py#L143
https://github.com/openstack/ironic/blob/master/ironic/api/controllers/v1/node.py#L1225
https://github.com/openstack/ironic/blob/master/ironic/api/controllers/v1/utils.py#L1262

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci bot commented May 19, 2021

Build failed.

@jtopjian
Copy link
Copy Markdown
Contributor

@bfournie Thank you for submitting this. The OpenLab failure can be ignored - it looks like an issue with OpenLab itself.

It looks like you need to run gofmt on some of these files. Once that's done, this should be good to merge. Please let me know if you have any questions.

@bfournie bfournie force-pushed the missing-bios-interface branch 2 times, most recently from d96bdb4 to c135730 Compare May 20, 2021 19:25
@bfournie
Copy link
Copy Markdown
Contributor Author

@bfournie Thank you for submitting this. The OpenLab failure can be ignored - it looks like an issue with OpenLab itself.

It looks like you need to run gofmt on some of these files. Once that's done, this should be good to merge. Please let me know if you have any questions.

Thank you. Yes, I forgot to run gofmt, I've updated the files now.

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci bot commented May 20, 2021

Build failed.

The bios interface fields are in the Ironic API but were missing from
the Ironic API documentation and not included in gophercloud. This
change adds in the bios interface to the node create, node list,
and node driver validation APIs.

For reference, these are the Ironic updates to the api-ref
documentation:
https://review.opendev.org/c/openstack/ironic/+/757353
https://review.opendev.org/c/openstack/ironic/+/791493
https://review.opendev.org/c/openstack/ironic/+/792210
@bfournie bfournie force-pushed the missing-bios-interface branch from c135730 to fefddf5 Compare May 20, 2021 20:09
@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci bot commented May 20, 2021

Build failed.

@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 79.877% when pulling fefddf5 on bfournie:missing-bios-interface into 0be823b on gophercloud:master.

Copy link
Copy Markdown
Contributor

@jtopjian jtopjian left a comment

Choose a reason for hiding this comment

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

LGTM - thank you!

@jtopjian
Copy link
Copy Markdown
Contributor

I think this is safe to merge without the OpenLab test passing - I don't think this field would end up causing an error. However, if it does, we'll get it fixed quickly.

Thanks again for working on this.

@jtopjian jtopjian merged commit 965c560 into gophercloud:master May 21, 2021
@bfournie bfournie deleted the missing-bios-interface branch May 21, 2021 11:55
@bfournie
Copy link
Copy Markdown
Contributor Author

I think this is safe to merge without the OpenLab test passing - I don't think this field would end up causing an error. However, if it does, we'll get it fixed quickly.

Thanks again for working on this.

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants