bc2c3a2367
This adds support for the traits APIs in both the node portion of the SDK, and the openstackclient plugin. We also bump the last known API version to 1.37 to get access to the new API. Change-Id: I72017d51dea194ec062a66cb19d718ba827e7427 Partial-Bug: #1722194 Depends-On: I313fa01fbf20bf0ff19f102ea63b02e72ac2b856
21 lines
668 B
YAML
21 lines
668 B
YAML
---
|
|
features:
|
|
- |
|
|
Adds support for reading and modifying traits for a node, including adding
|
|
traits to the detailed output of a node. This is available starting
|
|
with Bare Metal API version 1.37.
|
|
|
|
The new commands are:
|
|
|
|
* ``openstack baremetal node trait list <node>``
|
|
* ``openstack baremetal node add trait <node> <trait> [...]``
|
|
* ``openstack baremetal node remove trait <node> [<trait> [...]] [--all]``
|
|
|
|
It also adds the following methods to the Python SDK:
|
|
|
|
* ``NodeManager.get_traits``
|
|
* ``NodeManager.add_trait``
|
|
* ``NodeManager.set_traits``
|
|
* ``NodeManager.remove_trait``
|
|
* ``NodeManager.remove_all_traits``
|