Files
python-ironicclient/releasenotes/notes/accept-valid_interfaces-3b8f5e3e362e04cd.yaml
Eric Fried ae1743d2c1 Accept 'valid_interfaces' in client setup
The consumer of ironicclient may be deriving their get_client kwargs
from config inherited from ksa, where the 'interface' option has been
deprecated in favor of 'valid_interfaces'. To accomodate this, we accept
'valid_interfaces' as a kwarg, giving it precedence over 'interface'.
However, we still accept 'interface', as the consumer may be deriving
kwargs from a non-conf source (such as an already-created ksa Adapter
where 'valid_interfaces' has already been translated to 'interfaces'.

Co-Authored-By: guang-yee <guang.yee@suse.com>

Change-Id: I3b6fa53005f143d34f03bb1ed71c0aa04b7fce7b
2019-03-07 02:39:44 +00:00

12 lines
566 B
YAML

---
features:
- |
The consumer of ironicclient may be deriving their ``get_client`` kwargs
from config inherited from ksa, where the ``interface`` option has been
deprecated in favor of ``valid_interfaces``. To accomodate this, we now
accept ``valid_interfaces`` as a kwarg, giving it precedence over
``interface``. However, we still accept ``interface``, as the consumer may
be deriving kwargs from a non-conf source (such as an already-created ksa
Adapter where ``valid_interfaces`` has already been translated to
``interfaces``.