01c0466d74
For now it only supports q-qos service that is used to configure QoS service plugin. It also adds ability to enable l2 agent extensions. To check that it works, I am enabling QoS tests back for API job. Partially-Implements: blueprint quantum-qos-api Change-Id: I19e4fe0cf5ecc55397628017631c3ff6718ce36f
19 lines
353 B
Bash
19 lines
353 B
Bash
LIBDIR=$DEST/neutron/devstack/lib
|
|
|
|
source $LIBDIR/l2_agent
|
|
source $LIBDIR/ml2
|
|
source $LIBDIR/qos
|
|
|
|
|
|
if [[ "$1" == "stack" && "$2" == "install" ]]; then
|
|
if is_service_enabled q-qos; then
|
|
configure_qos
|
|
fi
|
|
fi
|
|
|
|
if [[ "$1" == "stack" && "$2" == "post-config" ]]; then
|
|
if is_service_enabled q-agt; then
|
|
configure_l2_agent
|
|
fi
|
|
fi
|