forked from openstack/neutron
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add rally hook to neutron devstack plugin
This allows us to configure neutron when running the rally job in the gate. This effort stems from patch [1]. Blame Kevin for not wanting to squash the two together. [1] I12aaf6121b677e9696131601b3539a7091e2858c Change-Id: I006957784ac7900021bcfee57cbc83b5a6c533c4
- Loading branch information
1 parent
efe8715
commit f5e30ab
Showing
4 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/bash | ||
|
||
RALLY_EXTRA_DIR="$DEST/neutron/rally-jobs/extra" | ||
|
||
# If rally has been configured, .setup files can be sourced to control the | ||
# neutron configuration required to run the scenario plugins. | ||
if [[ "$DEVSTACK_PLUGINS" =~ "rally" ]]; | ||
then | ||
for file in $(ls $RALLY_EXTRA_DIR/*.setup); | ||
do | ||
source $file | ||
done | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
enable_service q-trunk |