summaryrefslogtreecommitdiff
path: root/releasenotes
diff options
context:
space:
mode:
authorEric Fried <openstack@fried.cc>2019-03-06 11:07:28 -0600
committerKaifeng Wang <kaifeng.w@gmail.com>2019-03-07 02:39:44 +0000
commitae1743d2c194c690c4d4629e51e860b5f5b84252 (patch)
tree109d9c0c279db422e8b3b64fc76e681a2d04a0e1 /releasenotes
parentaa2c7fc9ac0b9c094db0f09bb3b75a09fa92063f (diff)
downloadpython-ironicclient-ae1743d2c194c690c4d4629e51e860b5f5b84252.tar.gz
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
Diffstat (limited to 'releasenotes')
-rw-r--r--releasenotes/notes/accept-valid_interfaces-3b8f5e3e362e04cd.yaml11
1 files changed, 11 insertions, 0 deletions
diff --git a/releasenotes/notes/accept-valid_interfaces-3b8f5e3e362e04cd.yaml b/releasenotes/notes/accept-valid_interfaces-3b8f5e3e362e04cd.yaml
new file mode 100644
index 0000000..adadfbd
--- /dev/null
+++ b/releasenotes/notes/accept-valid_interfaces-3b8f5e3e362e04cd.yaml
@@ -0,0 +1,11 @@
+---
+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``.