diff options
author | Zuul <zuul@review.openstack.org> | 2019-02-25 18:54:29 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2019-02-25 18:54:29 +0000 |
commit | fc9a989c287a92177e3cda33307b00e776ef0fad (patch) | |
tree | f47ca45cb766f0ec03fa9223c50514fadab17df2 /devstack | |
parent | 8701cd069a08abfab9698bc167ed9a123128631a (diff) | |
parent | a9d7d8fd99870e28a741800259a9916111370e81 (diff) | |
download | ironic-fc9a989c287a92177e3cda33307b00e776ef0fad.tar.gz |
Merge "Set available_nodes in tempest conf"
Diffstat (limited to 'devstack')
-rw-r--r-- | devstack/lib/ironic | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/devstack/lib/ironic b/devstack/lib/ironic index 899559d82..1a41eb1ea 100644 --- a/devstack/lib/ironic +++ b/devstack/lib/ironic @@ -2465,6 +2465,9 @@ function ironic_configure_tempest { if [[ -n "$TEMPEST_BAREMETAL_MAX_MICROVERSION" ]]; then iniset $TEMPEST_CONFIG baremetal max_microversion $TEMPEST_BAREMETAL_MAX_MICROVERSION fi + if [[ -n "$IRONIC_VM_COUNT" ]]; then + iniset $TEMPEST_CONFIG baremetal available_nodes $IRONIC_VM_COUNT + fi if [[ -n "$IRONIC_PING_TIMEOUT" ]]; then iniset $TEMPEST_CONFIG validation ping_timeout $IRONIC_PING_TIMEOUT fi |