Start zun-cni-daemon in devstack
Change-Id: I2afe6eba3cfd9687a0eea390f23e95a75888aaec
This commit is contained in:
parent
428f9f8375
commit
69844fe9c7
@ -333,6 +333,8 @@ function start_zun_api {
|
|||||||
function start_zun_compute {
|
function start_zun_compute {
|
||||||
echo "Start zun compute..."
|
echo "Start zun compute..."
|
||||||
run_process zun-compute "$ZUN_BIN_DIR/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
|
# start_zun() - Start running processes, including screen
|
||||||
@ -355,6 +357,9 @@ function stop_zun {
|
|||||||
if is_service_enabled zun-wsproxy; then
|
if is_service_enabled zun-wsproxy; then
|
||||||
stop_process zun-wsproxy
|
stop_process zun-wsproxy
|
||||||
fi
|
fi
|
||||||
|
if is_service_enabled zun-cni-daemon; then
|
||||||
|
stop_process zun-cni-daemon
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# Restore xtrace
|
# Restore xtrace
|
||||||
|
@ -22,6 +22,8 @@ if [[ ${HOST_IP} == ${SERVICE_HOST} ]] || [[ "[${HOST_IPV6}]" == "${SERVICE_HOST
|
|||||||
enable_service zun-api
|
enable_service zun-api
|
||||||
enable_service zun-compute
|
enable_service zun-compute
|
||||||
enable_service zun-wsproxy
|
enable_service zun-wsproxy
|
||||||
|
enable_service zun-cni-daemon
|
||||||
else
|
else
|
||||||
enable_service zun-compute
|
enable_service zun-compute
|
||||||
|
enable_service zun-cni-daemon
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user