Consolidate get_*nodes* functions
Bug #1271291 reported by
aeva black
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Fix Released
|
Low
|
Yuriy Zveryanskyy |
Bug Description
There are currently 5 separate methods to get a node or list of nodes, based on some filter paramter, which return a node object. There's one method (get_nodeinfo_list) which is much more flexible and returns a dict of fields, but takes many filter parameters and covers the same functionality as the other 5 methods.
We should consolidate the following methods into something more maintainable and flexible.
- get_node
- get_node_list
- get_nodeinfo_list
- get_node_
- get_associated_
- get_unassociate
- get_nodes_
Changed in ironic: | |
status: | New → Triaged |
importance: | Undecided → Low |
tags: | added: low-hanging-fruit |
description: | updated |
Changed in ironic: | |
assignee: | nobody → Michael Davies (mrda) |
Changed in ironic: | |
status: | Triaged → In Progress |
Changed in ironic: | |
assignee: | nobody → Yuriy Zveryanskyy (yzveryanskyy) |
Changed in ironic: | |
status: | In Progress → Fix Committed |
Changed in ironic: | |
milestone: | none → icehouse-3 |
status: | Fix Committed → Fix Released |
Changed in ironic: | |
milestone: | icehouse-3 → 2014.1 |
To post a comment you must log in.
This bug has has significant overlap with the implementation of bug/1260099 (refer https:/ /review. openstack. org/#/c/ 63937/7), so should be considered as part of that fix.