Skip to content

Commit 787412c

Browse files
committed
tempest: Disable l3_agent_scheduler when running without L3 agent
Dragonflow can operate without L3 agent, and does not advertise L3 agent scheduler extension when running this way Change-Id: I23d0e558c8454636fcde0a1903c78965b70bc324
1 parent c5aca3c commit 787412c

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

lib/tempest

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -574,6 +574,11 @@ function configure_tempest {
574574
DISABLE_NETWORK_API_EXTENSIONS+=", metering"
575575
fi
576576

577+
# disable l3_agent_scheduler if we didn't enable L3 agent
578+
if ! is_service_enabled q-l3; then
579+
DISABLE_NETWORK_API_EXTENSIONS+=", l3_agent_scheduler"
580+
fi
581+
577582
local network_api_extensions=${NETWORK_API_EXTENSIONS:-"all"}
578583
if [[ ! -z "$DISABLE_NETWORK_API_EXTENSIONS" ]]; then
579584
# Enabled extensions are either the ones explicitly specified or those available on the API endpoint

0 commit comments

Comments
 (0)