Skip to content

Commit 564b0a4

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Correctly set use_keys when key_file is set" into stable/2025.1
2 parents 10c91e3 + b849617 commit 564b0a4

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

devstack/plugin.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ function add_generic_switch_to_ml2_config {
183183

184184
if [[ -n "$key_file" ]]; then
185185
populate_ml2_config $GENERIC_SWITCH_INI_FILE $switch_name key_file=$key_file
186+
populate_ml2_config $GENERIC_SWITCH_INI_FILE $switch_name use_keys=True
186187
elif [[ -n "$password" ]]; then
187188
populate_ml2_config $GENERIC_SWITCH_INI_FILE $switch_name password=$password
188189
fi

doc/source/configuration.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Switch configuration format::
1414
port = <ssh port>
1515
username = <credential username>
1616
password = <credential password>
17+
use_keys = <set to True when key_file is set>
1718
key_file = <ssh key file>
1819
secret = <enable secret>
1920
ngs_allowed_vlans = <comma-separated list of allowed vlans for switch>

0 commit comments

Comments
 (0)