python-ironicclient/releasenotes/notes/osc-node-list-unassociated-60e46958a0abc3e5.yaml
Ukesh Kumar Vasudevan 9f788f480e Extend OSC "node list" cmd to fetch nodes without instance UUID
The openstackclient command to get a list of nodes is 'openstack baremetal
node list'. It has the optional argument '--associated'. If this is
specified, it will return nodes that are associated with instances
(ie, node.instance_uuid is set to some UUID). However, there is no way to
filter the nodes to get ones that are NOT associated with instances.

Added "--unassociated" option and unit testcase for this.

Change-Id: Iad60e92335bab4eb4a71aedb4e90d34d0186c5cc
Closes-bug: #1619091
2016-10-19 12:16:00 +00:00

8 lines
211 B
YAML

---
features:
- |
Adds an option ``--unassociated`` to the
``openstack baremetal node list`` command. It provides the
ability to get a list of the nodes that are not associated
with instances.