Add extra dhcp options tests

Tests moved from downstream plugin with minimal adjustments.
These tests require nmcli inside the server so advanced image
changed to rocky-9 cloud image. Other alternative, e.g. centos-9
does not have a default user and requires additional customization
for setting the user.
Additionally, moved utils.py and constants.py.
From config.py and base.py only relevant subset of code moved.

Change-Id: I6b538c13a15e94d072091b3218b2cd48ff20a70c
This commit is contained in:
Roman Safronov
2023-12-06 12:06:57 +02:00
parent b53e623b63
commit fa2d7457a8
8 changed files with 841 additions and 7 deletions

3
devstack/plugin.sh Normal file
View File

@@ -0,0 +1,3 @@
if [[ "$1" == "stack" ]] && [[ "$2" == "install" ]]; then
echo "tempest ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/99_tempest
fi