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
This commit is contained in:
parent
c5aca3c996
commit
787412ce6c
@ -574,6 +574,11 @@ function configure_tempest {
|
|||||||
DISABLE_NETWORK_API_EXTENSIONS+=", metering"
|
DISABLE_NETWORK_API_EXTENSIONS+=", metering"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# disable l3_agent_scheduler if we didn't enable L3 agent
|
||||||
|
if ! is_service_enabled q-l3; then
|
||||||
|
DISABLE_NETWORK_API_EXTENSIONS+=", l3_agent_scheduler"
|
||||||
|
fi
|
||||||
|
|
||||||
local network_api_extensions=${NETWORK_API_EXTENSIONS:-"all"}
|
local network_api_extensions=${NETWORK_API_EXTENSIONS:-"all"}
|
||||||
if [[ ! -z "$DISABLE_NETWORK_API_EXTENSIONS" ]]; then
|
if [[ ! -z "$DISABLE_NETWORK_API_EXTENSIONS" ]]; then
|
||||||
# Enabled extensions are either the ones explicitly specified or those available on the API endpoint
|
# Enabled extensions are either the ones explicitly specified or those available on the API endpoint
|
||||||
|
Loading…
Reference in New Issue
Block a user