[RFE] port list should have --node argument
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-ironicclient |
Won't Fix
|
Wishlist
|
Ruby Loo |
Bug Description
The ironic REST API GET /v1/ports has 'node' (value is name or UUID) and 'node_uuid' query parameters [1], used to filter the results to only ports of the specified node. The ironic CLI 'ironic port-list' should also allow for that via an optional --node argument (which maps to the API's 'node' query parameter).
We already have 'ironic node-port-list' which provides the same functionality. Do we want to provide two different CLIs to do the same thing? I am hoping that one day in the future, everyone will be using the openstackclient plugin, and we will deprecate and then remove the ironic CLI. So I'm not too worried about the ironic CLI. The actual intention of this RFE is to add --node to the python API, so that we could implement 'openstack baremetal port list --node' instead of implementing 'openstack baremetal node port list'. The latter doesn't seem to fit with the way the OSC commands are meant to be structured [2].
[1] http://
[2] http://
description: | updated |
description: | updated |
Changed in python-ironicclient: | |
status: | In Progress → Won't Fix |
Fix proposed to branch: master /review. openstack. org/359520
Review: https:/