d401c94848
This change extends the 'baremetal node set' command with a new family of arguments --reset-XXX-interface. They reset the XXX_interface field to its calculated default. This feature is primarily needed to make changing hardware types simpler, but is also useful on its own. Refactored the set command code to avoid excessive copy-paste. Change-Id: I7be88975cea4cae33e84c2b69e3a0cc4fb04ba22 Story: #2002868 Task: #22821
9 lines
335 B
YAML
9 lines
335 B
YAML
---
|
|
features:
|
|
- |
|
|
Adds new family of arguments to the ``openstack baremetal node set``
|
|
command: ``--reset-XXX-interface``, where ``XXX`` is a name of a hardware
|
|
interface. This argument resets the node's ``XXX_interface`` field to its
|
|
calculated default (based on the node's hardware type and the
|
|
configuration).
|