[RFE] support GET /v1/drivers/?fields=...

Bug #1674775 reported by Ruby Loo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Confirmed
Wishlist
Madhuri Kumari

Bug Description

Now that the drivers have a lot of interface-related fields, it would be useful to allow requests for lists of drivers, to specify the fields they'd like in the response. This is similar to what is done with the other resources: nodes, chassis, ports, and port groups.

Support the 'fields' query parameter to the GET /v1/drivers/ request.

This involves a microversion bump.

python-ironicclient should be updated as well -- python API and OSC CLI. (Not ironic CLI since it is deprecated.)

Tags: rfe-approved
Ruby Loo (rloo)
summary: - [RFE] allow GET /v1/drivers/?fields=...
+ [RFE] support GET /v1/drivers/?fields=...
Changed in ironic:
assignee: nobody → Madhuri Kumari (madhuri-rai07)
Revision history for this message
Madhuri Kumari (madhuri-rai07) wrote :

Hi Ruby,

Can I work on this bug in case you're not working on it?

Thanks,
Madhuri

Revision history for this message
Ruby Loo (rloo) wrote :

Hi Madhuri, sure, it is all yours. Thanks!

Revision history for this message
Ruby Loo (rloo) wrote :

I was going to ask for a spec because API changes require a spec, but there should really be minimal changes for this. The API and osc CLI should be similar/consistent with how this is handled for the other ironic resources. Will see what others think, I'm good w/o one.

tags: added: needs-spec
tags: removed: needs-spec
Revision history for this message
Ruby Loo (rloo) wrote :
tags: added: rfe-approved
removed: rfe
description: updated
milan k (vetrisko)
Changed in ironic:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.