Start zun-cni-daemon in devstack

Change-Id: I2afe6eba3cfd9687a0eea390f23e95a75888aaec
This commit is contained in:
Hongbin Lu 2020-01-26 22:33:19 +00:00
parent 428f9f8375
commit 69844fe9c7
2 changed files with 7 additions and 0 deletions

View File

@ -333,6 +333,8 @@ function start_zun_api {
function start_zun_compute {
echo "Start zun compute..."
run_process zun-compute "$ZUN_BIN_DIR/zun-compute"
echo "Start zun cni daemon..."
run_process zun-cni-daemon "$ZUN_BIN_DIR/zun-cni-daemon"
}
# start_zun() - Start running processes, including screen
@ -355,6 +357,9 @@ function stop_zun {
if is_service_enabled zun-wsproxy; then
stop_process zun-wsproxy
fi
if is_service_enabled zun-cni-daemon; then
stop_process zun-cni-daemon
fi
}
# Restore xtrace

View File

@ -22,6 +22,8 @@ if [[ ${HOST_IP} == ${SERVICE_HOST} ]] || [[ "[${HOST_IPV6}]" == "${SERVICE_HOST
enable_service zun-api
enable_service zun-compute
enable_service zun-wsproxy
enable_service zun-cni-daemon
else
enable_service zun-compute
enable_service zun-cni-daemon
fi