2014-01-21 19:38:54 |
aeva black |
description |
http://git.openstack.org/cgit/openstack/ironic/tree/ironic/db/sqlalchemy/api.py?id=3af35b4093a07eb2a36a4493b0ff863aa95d3fed#n184
There are currently 5 separate methods to get a node or list of nodes, based on some filter paramter. And there's one method (get_nodeinfo_list) which is much more flexible and returns a dict of fields rather than a node object.
We should consolidate the following methods into something more maintainable and flexible.
- get_node
- get_node_list
- get_nodeinfo_list
- get_node_by_instance
- get_associated_nodes
- get_unassociated_nodes
- get_nodes_by_chassis |
http://git.openstack.org/cgit/openstack/ironic/tree/ironic/db/sqlalchemy/api.py?id=3af35b4093a07eb2a36a4493b0ff863aa95d3fed#n184
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_by_instance
- get_associated_nodes
- get_unassociated_nodes
- get_nodes_by_chassis |
|